From 3703f7f014846b8bf83e08a8bf25450dd0dcd7af Mon Sep 17 00:00:00 2001 From: Jesse Hall Date: Tue, 13 May 2014 21:52:56 -0700 Subject: [PATCH] opengl: Update GLES headers and generate *.in from registry XML Import GLES headers from Khronos SVN r26322: https://cvs.khronos.org/svn/repos/registry/trunk/public/gles/api There are many non-functional whitespace and parameter name changes included here. These were introduced upstream when converting from the old .spec registry to the new XML registry. There are also some new extensions added. Unfortunately there isn't a version of the XML that matches the headers the previous versions of the *.in files were generated from, so I can't separate out the non-functional changes from the new extensions (other than temporarily hacking them out of the XML). See below for a list. Finally, I had to hack the official glext.h. Khronos hasn't updated the official GLES1 headers since switching to the XML registry, and there is one critical difference: a "const void**" parameter in the official header is "const void* const*" in the registry. I changed the header to avoid build errors with code generated from the registry. Dependencies on the *.in files required manually updating some GLES_trace/ files as well: - gltrace_api.{h,cpp} must be manually re-generated using tools/genapi.py. - New GL prototypes must be manually added to gltrace.proto. - gltrace.pb.{h,cpp} must be regenerated using aprotoc (see dev.make) New GLES extensions in libs/GLES_CM/glext_api.in: - GL_OES_byte_coordinates - GL_EXT_map_buffer_range - GL_APPLE_copy_texture_levels - GL_APPLE_sync New GLES2 extensions in libs/GLES2/gl2ext_api.in: - GL_KHR_blend_equation_advanced - GL_KHR_debug - GL_OES_sample_shading - GL_OES_texture_storage_multisample_2d_array - GL_EXT_disjoint_timer_query - GL_EXT_draw_buffers - GL_EXT_draw_instanced - GL_EXT_instanced_arrays - GL_EXT_map_buffer_range - GL_EXT_map_buffer_range - GL_EXT_multiview_draw_buffers - GL_EXT_separate_shader_objects - GL_ANGLE_instanced_arrays - GL_ANGLE_translated_shader_source - GL_APPLE_copy_texture_levels - GL_APPLE_sync - GL_INTEL_performance_query - GL_NV_blend_equation_advanced - GL_NV_copy_buffer - GL_NV_draw_instanced - GL_NV_framebuffer_blit - GL_NV_framebuffer_multisample - GL_NV_instanced_arrays - GL_NV_non_square_matrices Bug: 15028495 Change-Id: I902517c23354e14f9c63b1584db286d682315bb5 --- opengl/include/GLES/glext.h | 157 +- opengl/include/GLES2/gl2.h | 583 +- opengl/include/GLES2/gl2ext.h | 2391 +++--- opengl/include/GLES2/gl2platform.h | 2 +- opengl/include/GLES3/gl3.h | 1920 ++--- opengl/libs/GLES2/gl2_api.in | 360 +- opengl/libs/GLES2/gl2ext_api.in | 461 +- opengl/libs/GLES_CM/gl_api.in | 183 +- opengl/libs/GLES_CM/glext_api.in | 348 +- opengl/libs/GLES_trace/gltrace.proto | 101 +- opengl/libs/GLES_trace/src/gltrace.pb.cpp | 200 + opengl/libs/GLES_trace/src/gltrace.pb.h | 200 + opengl/libs/GLES_trace/src/gltrace_api.cpp | 8978 +++++++++++++++----- opengl/libs/GLES_trace/src/gltrace_api.h | 728 +- opengl/libs/GLES_trace/tools/genapi.py | 15 +- opengl/libs/entries.in | 724 +- opengl/libs/enums.in | 1445 ++-- opengl/libs/trace.in | 724 +- opengl/tools/glgen2/.gitignore | 1 + opengl/tools/glgen2/glgen.py | 254 + 20 files changed, 12915 insertions(+), 6860 deletions(-) create mode 100644 opengl/tools/glgen2/.gitignore create mode 100755 opengl/tools/glgen2/glgen.py diff --git a/opengl/include/GLES/glext.h b/opengl/include/GLES/glext.h index 54afaab7e..5843d5eac 100644 --- a/opengl/include/GLES/glext.h +++ b/opengl/include/GLES/glext.h @@ -1,7 +1,7 @@ #ifndef __glext_h_ #define __glext_h_ -/* $Revision: 16481 $ on $Date:: 2012-01-04 10:43:56 -0800 #$ */ +/* $Revision: 20798 $ on $Date:: 2013-03-07 01:19:34 -0800 #$ */ #ifdef __cplusplus extern "C" { @@ -165,6 +165,9 @@ typedef void* GLeglImageOES; #define GL_DEPTH24_STENCIL8_OES 0x88F0 #endif +/* GL_OES_required_internalformat */ +/* No new tokens introduced by this extension. */ + /* GL_OES_rgb8_rgba8 */ #ifndef GL_OES_rgb8_rgba8 #define GL_RGB8_OES 0x8051 @@ -240,7 +243,7 @@ typedef void* GLeglImageOES; * APPLE extension tokens *------------------------------------------------------------------------*/ -/* GL_APPLE_texture_2D_limited_npot */ +/* GL_APPLE_copy_texture_levels */ /* No new tokens introduced by this extension. */ /* GL_APPLE_framebuffer_multisample */ @@ -254,6 +257,41 @@ typedef void* GLeglImageOES; #define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA #endif +/* GL_APPLE_sync */ +#ifndef GL_APPLE_sync + +/* These types are defined with reference to + * in the Apple extension spec, but here we use the Khronos + * portable types in khrplatform.h, and assume those types + * are always defined. + * If any other extensions using these types are defined, + * the typedefs must move out of this block and be shared. + */ +typedef khronos_int64_t GLint64; +typedef khronos_uint64_t GLuint64; +typedef struct __GLsync *GLsync; + +#define GL_SYNC_OBJECT_APPLE 0x8A53 +#define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE 0x9111 +#define GL_OBJECT_TYPE_APPLE 0x9112 +#define GL_SYNC_CONDITION_APPLE 0x9113 +#define GL_SYNC_STATUS_APPLE 0x9114 +#define GL_SYNC_FLAGS_APPLE 0x9115 +#define GL_SYNC_FENCE_APPLE 0x9116 +#define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE 0x9117 +#define GL_UNSIGNALED_APPLE 0x9118 +#define GL_SIGNALED_APPLE 0x9119 +#define GL_ALREADY_SIGNALED_APPLE 0x911A +#define GL_TIMEOUT_EXPIRED_APPLE 0x911B +#define GL_CONDITION_SATISFIED_APPLE 0x911C +#define GL_WAIT_FAILED_APPLE 0x911D +#define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE 0x00000001 +#define GL_TIMEOUT_IGNORED_APPLE 0xFFFFFFFFFFFFFFFFull +#endif + +/* GL_APPLE_texture_2D_limited_npot */ +/* No new tokens introduced by this extension. */ + /* GL_APPLE_texture_format_BGRA8888 */ #ifndef GL_APPLE_texture_format_BGRA8888 #define GL_BGRA_EXT 0x80E1 @@ -288,12 +326,23 @@ typedef void* GLeglImageOES; #define GL_STENCIL_EXT 0x1802 #endif +/* GL_EXT_map_buffer_range */ +#ifndef GL_EXT_map_buffer_range +#define GL_MAP_READ_BIT_EXT 0x0001 +#define GL_MAP_WRITE_BIT_EXT 0x0002 +#define GL_MAP_INVALIDATE_RANGE_BIT_EXT 0x0004 +#define GL_MAP_INVALIDATE_BUFFER_BIT_EXT 0x0008 +#define GL_MAP_FLUSH_EXPLICIT_BIT_EXT 0x0010 +#define GL_MAP_UNSYNCHRONIZED_BIT_EXT 0x0020 +#endif + /* GL_EXT_multisampled_render_to_texture */ #ifndef GL_EXT_multisampled_render_to_texture #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C -#define GL_RENDERBUFFER_SAMPLES_EXT 0x9133 -#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x9134 -#define GL_MAX_SAMPLES_EXT 0x9135 +/* reuse values from GL_EXT_framebuffer_multisample (desktop extension) */ +#define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB +#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 +#define GL_MAX_SAMPLES_EXT 0x8D57 #endif /* GL_EXT_multi_draw_arrays */ @@ -353,10 +402,10 @@ typedef void* GLeglImageOES; /* GL_EXT_texture_storage */ #ifndef GL_EXT_texture_storage #define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F -#define GL_ALPHA8_EXT 0x803C +#define GL_ALPHA8_EXT 0x803C #define GL_LUMINANCE8_EXT 0x8040 #define GL_LUMINANCE8_ALPHA8_EXT 0x8045 -#define GL_RGBA32F_EXT 0x8814 +#define GL_RGBA32F_EXT 0x8814 #define GL_RGB32F_EXT 0x8815 #define GL_ALPHA32F_EXT 0x8816 #define GL_LUMINANCE32F_EXT 0x8818 @@ -366,7 +415,7 @@ typedef void* GLeglImageOES; #define GL_ALPHA16F_EXT 0x881C #define GL_LUMINANCE16F_EXT 0x881E #define GL_LUMINANCE_ALPHA16F_EXT 0x881F -#define GL_RGB10_A2_EXT 0x8059 +#define GL_RGB10_A2_EXT 0x8059 #define GL_RGB10_EXT 0x8052 #define GL_BGRA8_EXT 0x93A1 #endif @@ -771,6 +820,11 @@ typedef void (GL_APIENTRYP PFNGLWEIGHTPOINTEROESPROC) (GLint size, GLenum type, #define GL_OES_packed_depth_stencil 1 #endif +/* GL_OES_required_internalformat */ +#ifndef GL_OES_required_internalformat +#define GL_OES_required_internalformat 1 +#endif + /* GL_OES_query_matrix */ #ifndef GL_OES_query_matrix #define GL_OES_query_matrix 1 @@ -892,22 +946,52 @@ typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array); * APPLE extension functions *------------------------------------------------------------------------*/ -/* GL_APPLE_texture_2D_limited_npot */ -#ifndef GL_APPLE_texture_2D_limited_npot -#define GL_APPLE_texture_2D_limited_npot 1 +/* GL_APPLE_copy_texture_levels */ +#ifndef GL_APPLE_copy_texture_levels +#define GL_APPLE_copy_texture_levels 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_API void GL_APIENTRY glCopyTextureLevelsAPPLE (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); +#endif +typedef void (GL_APIENTRYP PFNGLCOPYTEXTURELEVELSAPPLEPROC) (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); #endif /* GL_APPLE_framebuffer_multisample */ #ifndef GL_APPLE_framebuffer_multisample #define GL_APPLE_framebuffer_multisample 1 #ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +GL_API void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum, GLsizei, GLenum, GLsizei, GLsizei); GL_API void GL_APIENTRY glResolveMultisampleFramebufferAPPLE (void); #endif /* GL_GLEXT_PROTOTYPES */ typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void); #endif +/* GL_APPLE_sync */ +#ifndef GL_APPLE_sync +#define GL_APPLE_sync 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_API GLsync GL_APIENTRY glFenceSyncAPPLE (GLenum condition, GLbitfield flags); +GL_API GLboolean GL_APIENTRY glIsSyncAPPLE (GLsync sync); +GL_API void GL_APIENTRY glDeleteSyncAPPLE (GLsync sync); +GL_API GLenum GL_APIENTRY glClientWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); +GL_API void GL_APIENTRY glWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); +GL_API void GL_APIENTRY glGetInteger64vAPPLE (GLenum pname, GLint64 *params); +GL_API void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); +#endif +typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCAPPLEPROC) (GLenum condition, GLbitfield flags); +typedef GLboolean (GL_APIENTRYP PFNGLISSYNCAPPLEPROC) (GLsync sync); +typedef void (GL_APIENTRYP PFNGLDELETESYNCAPPLEPROC) (GLsync sync); +typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); +typedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); +typedef void (GL_APIENTRYP PFNGLGETINTEGER64VAPPLEPROC) (GLenum pname, GLint64 *params); +typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); +#endif + +/* GL_APPLE_texture_2D_limited_npot */ +#ifndef GL_APPLE_texture_2D_limited_npot +#define GL_APPLE_texture_2D_limited_npot 1 +#endif + /* GL_APPLE_texture_format_BGRA8888 */ #ifndef GL_APPLE_texture_format_BGRA8888 #define GL_APPLE_texture_format_BGRA8888 1 @@ -945,12 +1029,23 @@ GL_API void GL_APIENTRY glDiscardFramebufferEXT (GLenum target, GLsizei numAttac typedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments); #endif +/* GL_EXT_map_buffer_range */ +#ifndef GL_EXT_map_buffer_range +#define GL_EXT_map_buffer_range 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_API void GL_APIENTRY *glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); +GL_API void GL_APIENTRY glFlushMappedBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length); +#endif +typedef void* (GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); +typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length); +#endif + /* GL_EXT_multisampled_render_to_texture */ #ifndef GL_EXT_multisampled_render_to_texture #define GL_EXT_multisampled_render_to_texture 1 #ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -GL_API void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); +GL_API void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum, GLsizei, GLenum, GLsizei, GLsizei); +GL_API void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum, GLenum, GLenum, GLuint, GLint, GLsizei); #endif typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); @@ -960,11 +1055,11 @@ typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum #ifndef GL_EXT_multi_draw_arrays #define GL_EXT_multi_draw_arrays 1 #ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glMultiDrawArraysEXT (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); -GL_API void GL_APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); +GL_API void GL_APIENTRY glMultiDrawArraysEXT (GLenum, const GLint *, const GLsizei *, GLsizei); +GL_API void GL_APIENTRY glMultiDrawElementsEXT (GLenum, const GLsizei *, GLenum, const GLvoid* const*, GLsizei); #endif /* GL_GLEXT_PROTOTYPES */ -typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); -typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); +typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); +typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const*indices, GLsizei primcount); #endif /* GL_EXT_read_format_bgra */ @@ -1054,8 +1149,8 @@ typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum #ifndef GL_IMG_user_clip_plane #define GL_IMG_user_clip_plane 1 #ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glClipPlanefIMG (GLenum p, const GLfloat *eqn); -GL_API void GL_APIENTRY glClipPlanexIMG (GLenum p, const GLfixed *eqn); +GL_API void GL_APIENTRY glClipPlanefIMG (GLenum, const GLfloat *); +GL_API void GL_APIENTRY glClipPlanexIMG (GLenum, const GLfixed *); #endif typedef void (GL_APIENTRYP PFNGLCLIPPLANEFIMGPROC) (GLenum p, const GLfloat *eqn); typedef void (GL_APIENTRYP PFNGLCLIPPLANEXIMGPROC) (GLenum p, const GLfixed *eqn); @@ -1065,11 +1160,11 @@ typedef void (GL_APIENTRYP PFNGLCLIPPLANEXIMGPROC) (GLenum p, const GLfixed *eqn #ifndef GL_IMG_multisampled_render_to_texture #define GL_IMG_multisampled_render_to_texture 1 #ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -GL_API void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); +GL_API void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum, GLsizei, GLenum, GLsizei, GLsizei); +GL_API void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum, GLenum, GLenum, GLuint, GLint, GLsizei); #endif -typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMG) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMG) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); +typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); #endif /*------------------------------------------------------------------------* @@ -1080,13 +1175,13 @@ typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMG) (GLenum targ #ifndef GL_NV_fence #define GL_NV_fence 1 #ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences); -GL_API void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences); -GL_API GLboolean GL_APIENTRY glIsFenceNV (GLuint fence); -GL_API GLboolean GL_APIENTRY glTestFenceNV (GLuint fence); -GL_API void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params); -GL_API void GL_APIENTRY glFinishFenceNV (GLuint fence); -GL_API void GL_APIENTRY glSetFenceNV (GLuint fence, GLenum condition); +GL_API void GL_APIENTRY glDeleteFencesNV (GLsizei, const GLuint *); +GL_API void GL_APIENTRY glGenFencesNV (GLsizei, GLuint *); +GL_API GLboolean GL_APIENTRY glIsFenceNV (GLuint); +GL_API GLboolean GL_APIENTRY glTestFenceNV (GLuint); +GL_API void GL_APIENTRY glGetFenceivNV (GLuint, GLenum, GLint *); +GL_API void GL_APIENTRY glFinishFenceNV (GLuint); +GL_API void GL_APIENTRY glSetFenceNV (GLuint, GLenum); #endif typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); diff --git a/opengl/include/GLES2/gl2.h b/opengl/include/GLES2/gl2.h index c2d835726..64229ff35 100644 --- a/opengl/include/GLES2/gl2.h +++ b/opengl/include/GLES2/gl2.h @@ -1,56 +1,83 @@ #ifndef __gl2_h_ -#define __gl2_h_ - -/* $Revision: 20555 $ on $Date:: 2013-02-12 14:32:47 -0800 #$ */ - -#include +#define __gl2_h_ 1 #ifdef __cplusplus extern "C" { #endif /* - * This document is licensed under the SGI Free Software B License Version - * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . +** Copyright (c) 2013-2014 The Khronos Group Inc. +** +** Permission is hereby granted, free of charge, to any person obtaining a +** copy of this software and/or associated documentation files (the +** "Materials"), to deal in the Materials without restriction, including +** without limitation the rights to use, copy, modify, merge, publish, +** distribute, sublicense, and/or sell copies of the Materials, and to +** permit persons to whom the Materials are furnished to do so, subject to +** the following conditions: +** +** The above copyright notice and this permission notice shall be included +** in all copies or substantial portions of the Materials. +** +** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. +*/ +/* +** This header is generated from the Khronos OpenGL / OpenGL ES XML +** API Registry. The current version of the Registry, generator scripts +** used to make the header, and the header can be found at +** http://www.opengl.org/registry/ +** +** Khronos $Revision: 26320 $ on $Date: 2014-04-17 03:07:07 -0700 (Thu, 17 Apr 2014) $ +*/ + +#include + +/* Generated on date 20140417 */ + +/* Generated C header for: + * API: gles2 + * Profile: common + * Versions considered: 2\.[0-9] + * Versions emitted: .* + * Default extensions included: None + * Additional extensions included: _nomatch_^ + * Extensions removed: _nomatch_^ */ -/*------------------------------------------------------------------------- - * Data type definitions - *-----------------------------------------------------------------------*/ - -typedef void GLvoid; -typedef char GLchar; -typedef unsigned int GLenum; -typedef unsigned char GLboolean; -typedef unsigned int GLbitfield; -typedef khronos_int8_t GLbyte; -typedef short GLshort; -typedef int GLint; -typedef int GLsizei; -typedef khronos_uint8_t GLubyte; -typedef unsigned short GLushort; -typedef unsigned int GLuint; -typedef khronos_float_t GLfloat; -typedef khronos_float_t GLclampf; -typedef khronos_int32_t GLfixed; - -/* GL types for handling large vertex buffer objects */ +#ifndef GL_ES_VERSION_2_0 +#define GL_ES_VERSION_2_0 1 +#include +typedef khronos_int8_t GLbyte; +typedef khronos_float_t GLclampf; +typedef khronos_int32_t GLfixed; +typedef short GLshort; +typedef unsigned short GLushort; +typedef void GLvoid; +typedef struct __GLsync *GLsync; +typedef khronos_int64_t GLint64; +typedef khronos_uint64_t GLuint64; +typedef unsigned int GLenum; +typedef unsigned int GLuint; +typedef char GLchar; +typedef khronos_float_t GLfloat; +typedef khronos_ssize_t GLsizeiptr; typedef khronos_intptr_t GLintptr; -typedef khronos_ssize_t GLsizeiptr; - -/* OpenGL ES core versions */ -#define GL_ES_VERSION_2_0 1 - -/* ClearBufferMask */ +typedef unsigned int GLbitfield; +typedef int GLint; +typedef unsigned char GLboolean; +typedef int GLsizei; +typedef khronos_uint8_t GLubyte; #define GL_DEPTH_BUFFER_BIT 0x00000100 #define GL_STENCIL_BUFFER_BIT 0x00000400 #define GL_COLOR_BUFFER_BIT 0x00004000 - -/* Boolean */ #define GL_FALSE 0 #define GL_TRUE 1 - -/* BeginMode */ #define GL_POINTS 0x0000 #define GL_LINES 0x0001 #define GL_LINE_LOOP 0x0002 @@ -58,18 +85,6 @@ typedef khronos_ssize_t GLsizeiptr; #define GL_TRIANGLES 0x0004 #define GL_TRIANGLE_STRIP 0x0005 #define GL_TRIANGLE_FAN 0x0006 - -/* AlphaFunction (not supported in ES20) */ -/* GL_NEVER */ -/* GL_LESS */ -/* GL_EQUAL */ -/* GL_LEQUAL */ -/* GL_GREATER */ -/* GL_NOTEQUAL */ -/* GL_GEQUAL */ -/* GL_ALWAYS */ - -/* BlendingFactorDest */ #define GL_ZERO 0 #define GL_ONE 1 #define GL_SRC_COLOR 0x0300 @@ -78,29 +93,15 @@ typedef khronos_ssize_t GLsizeiptr; #define GL_ONE_MINUS_SRC_ALPHA 0x0303 #define GL_DST_ALPHA 0x0304 #define GL_ONE_MINUS_DST_ALPHA 0x0305 - -/* BlendingFactorSrc */ -/* GL_ZERO */ -/* GL_ONE */ #define GL_DST_COLOR 0x0306 #define GL_ONE_MINUS_DST_COLOR 0x0307 #define GL_SRC_ALPHA_SATURATE 0x0308 -/* GL_SRC_ALPHA */ -/* GL_ONE_MINUS_SRC_ALPHA */ -/* GL_DST_ALPHA */ -/* GL_ONE_MINUS_DST_ALPHA */ - -/* BlendEquationSeparate */ #define GL_FUNC_ADD 0x8006 #define GL_BLEND_EQUATION 0x8009 -#define GL_BLEND_EQUATION_RGB 0x8009 /* same as BLEND_EQUATION */ +#define GL_BLEND_EQUATION_RGB 0x8009 #define GL_BLEND_EQUATION_ALPHA 0x883D - -/* BlendSubtract */ #define GL_FUNC_SUBTRACT 0x800A #define GL_FUNC_REVERSE_SUBTRACT 0x800B - -/* Separate Blend Functions */ #define GL_BLEND_DST_RGB 0x80C8 #define GL_BLEND_SRC_RGB 0x80C9 #define GL_BLEND_DST_ALPHA 0x80CA @@ -110,38 +111,19 @@ typedef khronos_ssize_t GLsizeiptr; #define GL_CONSTANT_ALPHA 0x8003 #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 #define GL_BLEND_COLOR 0x8005 - -/* Buffer Objects */ #define GL_ARRAY_BUFFER 0x8892 #define GL_ELEMENT_ARRAY_BUFFER 0x8893 #define GL_ARRAY_BUFFER_BINDING 0x8894 #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 - #define GL_STREAM_DRAW 0x88E0 #define GL_STATIC_DRAW 0x88E4 #define GL_DYNAMIC_DRAW 0x88E8 - #define GL_BUFFER_SIZE 0x8764 #define GL_BUFFER_USAGE 0x8765 - #define GL_CURRENT_VERTEX_ATTRIB 0x8626 - -/* CullFaceMode */ #define GL_FRONT 0x0404 #define GL_BACK 0x0405 #define GL_FRONT_AND_BACK 0x0408 - -/* DepthFunction */ -/* GL_NEVER */ -/* GL_LESS */ -/* GL_EQUAL */ -/* GL_LEQUAL */ -/* GL_GREATER */ -/* GL_NOTEQUAL */ -/* GL_GEQUAL */ -/* GL_ALWAYS */ - -/* EnableCap */ #define GL_TEXTURE_2D 0x0DE1 #define GL_CULL_FACE 0x0B44 #define GL_BLEND 0x0BE2 @@ -152,19 +134,13 @@ typedef khronos_ssize_t GLsizeiptr; #define GL_POLYGON_OFFSET_FILL 0x8037 #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E #define GL_SAMPLE_COVERAGE 0x80A0 - -/* ErrorCode */ #define GL_NO_ERROR 0 #define GL_INVALID_ENUM 0x0500 #define GL_INVALID_VALUE 0x0501 #define GL_INVALID_OPERATION 0x0502 #define GL_OUT_OF_MEMORY 0x0505 - -/* FrontFaceDirection */ #define GL_CW 0x0900 #define GL_CCW 0x0901 - -/* GetPName */ #define GL_LINE_WIDTH 0x0B21 #define GL_ALIASED_POINT_SIZE_RANGE 0x846D #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E @@ -191,7 +167,6 @@ typedef khronos_ssize_t GLsizeiptr; #define GL_STENCIL_BACK_WRITEMASK 0x8CA5 #define GL_VIEWPORT 0x0BA2 #define GL_SCISSOR_BOX 0x0C10 -/* GL_SCISSOR_TEST */ #define GL_COLOR_CLEAR_VALUE 0x0C22 #define GL_COLOR_WRITEMASK 0x0C23 #define GL_UNPACK_ALIGNMENT 0x0CF5 @@ -206,32 +181,18 @@ typedef khronos_ssize_t GLsizeiptr; #define GL_DEPTH_BITS 0x0D56 #define GL_STENCIL_BITS 0x0D57 #define GL_POLYGON_OFFSET_UNITS 0x2A00 -/* GL_POLYGON_OFFSET_FILL */ #define GL_POLYGON_OFFSET_FACTOR 0x8038 #define GL_TEXTURE_BINDING_2D 0x8069 #define GL_SAMPLE_BUFFERS 0x80A8 #define GL_SAMPLES 0x80A9 #define GL_SAMPLE_COVERAGE_VALUE 0x80AA #define GL_SAMPLE_COVERAGE_INVERT 0x80AB - -/* GetTextureParameter */ -/* GL_TEXTURE_MAG_FILTER */ -/* GL_TEXTURE_MIN_FILTER */ -/* GL_TEXTURE_WRAP_S */ -/* GL_TEXTURE_WRAP_T */ - #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 - -/* HintMode */ #define GL_DONT_CARE 0x1100 #define GL_FASTEST 0x1101 #define GL_NICEST 0x1102 - -/* HintTarget */ -#define GL_GENERATE_MIPMAP_HINT 0x8192 - -/* DataType */ +#define GL_GENERATE_MIPMAP_HINT 0x8192 #define GL_BYTE 0x1400 #define GL_UNSIGNED_BYTE 0x1401 #define GL_SHORT 0x1402 @@ -240,44 +201,35 @@ typedef khronos_ssize_t GLsizeiptr; #define GL_UNSIGNED_INT 0x1405 #define GL_FLOAT 0x1406 #define GL_FIXED 0x140C - -/* PixelFormat */ #define GL_DEPTH_COMPONENT 0x1902 #define GL_ALPHA 0x1906 #define GL_RGB 0x1907 #define GL_RGBA 0x1908 #define GL_LUMINANCE 0x1909 #define GL_LUMINANCE_ALPHA 0x190A - -/* PixelType */ -/* GL_UNSIGNED_BYTE */ #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 #define GL_UNSIGNED_SHORT_5_6_5 0x8363 - -/* Shaders */ -#define GL_FRAGMENT_SHADER 0x8B30 -#define GL_VERTEX_SHADER 0x8B31 -#define GL_MAX_VERTEX_ATTRIBS 0x8869 -#define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB -#define GL_MAX_VARYING_VECTORS 0x8DFC +#define GL_FRAGMENT_SHADER 0x8B30 +#define GL_VERTEX_SHADER 0x8B31 +#define GL_MAX_VERTEX_ATTRIBS 0x8869 +#define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB +#define GL_MAX_VARYING_VECTORS 0x8DFC #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D -#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C -#define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 -#define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD -#define GL_SHADER_TYPE 0x8B4F -#define GL_DELETE_STATUS 0x8B80 -#define GL_LINK_STATUS 0x8B82 -#define GL_VALIDATE_STATUS 0x8B83 -#define GL_ATTACHED_SHADERS 0x8B85 -#define GL_ACTIVE_UNIFORMS 0x8B86 -#define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 -#define GL_ACTIVE_ATTRIBUTES 0x8B89 -#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A -#define GL_SHADING_LANGUAGE_VERSION 0x8B8C -#define GL_CURRENT_PROGRAM 0x8B8D - -/* StencilFunction */ +#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C +#define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 +#define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD +#define GL_SHADER_TYPE 0x8B4F +#define GL_DELETE_STATUS 0x8B80 +#define GL_LINK_STATUS 0x8B82 +#define GL_VALIDATE_STATUS 0x8B83 +#define GL_ATTACHED_SHADERS 0x8B85 +#define GL_ACTIVE_UNIFORMS 0x8B86 +#define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 +#define GL_ACTIVE_ATTRIBUTES 0x8B89 +#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A +#define GL_SHADING_LANGUAGE_VERSION 0x8B8C +#define GL_CURRENT_PROGRAM 0x8B8D #define GL_NEVER 0x0200 #define GL_LESS 0x0201 #define GL_EQUAL 0x0202 @@ -286,9 +238,6 @@ typedef khronos_ssize_t GLsizeiptr; #define GL_NOTEQUAL 0x0205 #define GL_GEQUAL 0x0206 #define GL_ALWAYS 0x0207 - -/* StencilOp */ -/* GL_ZERO */ #define GL_KEEP 0x1E00 #define GL_REPLACE 0x1E01 #define GL_INCR 0x1E02 @@ -296,35 +245,21 @@ typedef khronos_ssize_t GLsizeiptr; #define GL_INVERT 0x150A #define GL_INCR_WRAP 0x8507 #define GL_DECR_WRAP 0x8508 - -/* StringName */ #define GL_VENDOR 0x1F00 #define GL_RENDERER 0x1F01 #define GL_VERSION 0x1F02 #define GL_EXTENSIONS 0x1F03 - -/* TextureMagFilter */ #define GL_NEAREST 0x2600 #define GL_LINEAR 0x2601 - -/* TextureMinFilter */ -/* GL_NEAREST */ -/* GL_LINEAR */ #define GL_NEAREST_MIPMAP_NEAREST 0x2700 #define GL_LINEAR_MIPMAP_NEAREST 0x2701 #define GL_NEAREST_MIPMAP_LINEAR 0x2702 #define GL_LINEAR_MIPMAP_LINEAR 0x2703 - -/* TextureParameterName */ #define GL_TEXTURE_MAG_FILTER 0x2800 #define GL_TEXTURE_MIN_FILTER 0x2801 #define GL_TEXTURE_WRAP_S 0x2802 #define GL_TEXTURE_WRAP_T 0x2803 - -/* TextureTarget */ -/* GL_TEXTURE_2D */ #define GL_TEXTURE 0x1702 - #define GL_TEXTURE_CUBE_MAP 0x8513 #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 @@ -334,8 +269,6 @@ typedef khronos_ssize_t GLsizeiptr; #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C - -/* TextureUnit */ #define GL_TEXTURE0 0x84C0 #define GL_TEXTURE1 0x84C1 #define GL_TEXTURE2 0x84C2 @@ -369,13 +302,9 @@ typedef khronos_ssize_t GLsizeiptr; #define GL_TEXTURE30 0x84DE #define GL_TEXTURE31 0x84DF #define GL_ACTIVE_TEXTURE 0x84E0 - -/* TextureWrapMode */ #define GL_REPEAT 0x2901 #define GL_CLAMP_TO_EDGE 0x812F #define GL_MIRRORED_REPEAT 0x8370 - -/* Uniform Types */ #define GL_FLOAT_VEC2 0x8B50 #define GL_FLOAT_VEC3 0x8B51 #define GL_FLOAT_VEC4 0x8B52 @@ -391,48 +320,34 @@ typedef khronos_ssize_t GLsizeiptr; #define GL_FLOAT_MAT4 0x8B5C #define GL_SAMPLER_2D 0x8B5E #define GL_SAMPLER_CUBE 0x8B60 - -/* Vertex Arrays */ -#define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 -#define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 -#define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 -#define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 -#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A -#define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 +#define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 +#define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 +#define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 +#define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 +#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A +#define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F - -/* Read Format */ -#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A +#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B - -/* Shader Source */ #define GL_COMPILE_STATUS 0x8B81 #define GL_INFO_LOG_LENGTH 0x8B84 #define GL_SHADER_SOURCE_LENGTH 0x8B88 #define GL_SHADER_COMPILER 0x8DFA - -/* Shader Binary */ #define GL_SHADER_BINARY_FORMATS 0x8DF8 #define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9 - -/* Shader Precision-Specified Types */ #define GL_LOW_FLOAT 0x8DF0 #define GL_MEDIUM_FLOAT 0x8DF1 #define GL_HIGH_FLOAT 0x8DF2 #define GL_LOW_INT 0x8DF3 #define GL_MEDIUM_INT 0x8DF4 #define GL_HIGH_INT 0x8DF5 - -/* Framebuffer Object. */ #define GL_FRAMEBUFFER 0x8D40 #define GL_RENDERBUFFER 0x8D41 - #define GL_RGBA4 0x8056 #define GL_RGB5_A1 0x8057 #define GL_RGB565 0x8D62 #define GL_DEPTH_COMPONENT16 0x81A5 #define GL_STENCIL_INDEX8 0x8D48 - #define GL_RENDERBUFFER_WIDTH 0x8D42 #define GL_RENDERBUFFER_HEIGHT 0x8D43 #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 @@ -442,179 +357,169 @@ typedef khronos_ssize_t GLsizeiptr; #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 - -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 +#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 +#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3 - #define GL_COLOR_ATTACHMENT0 0x8CE0 #define GL_DEPTH_ATTACHMENT 0x8D00 #define GL_STENCIL_ATTACHMENT 0x8D20 - #define GL_NONE 0 - -#define GL_FRAMEBUFFER_COMPLETE 0x8CD5 -#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 +#define GL_FRAMEBUFFER_COMPLETE 0x8CD5 +#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 -#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9 -#define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD - +#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9 +#define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD #define GL_FRAMEBUFFER_BINDING 0x8CA6 #define GL_RENDERBUFFER_BINDING 0x8CA7 #define GL_MAX_RENDERBUFFER_SIZE 0x84E8 - #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 - -/*------------------------------------------------------------------------- - * GL core functions. - *-----------------------------------------------------------------------*/ - -GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture); -GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); -GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar* name); -GL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); -GL_APICALL void GL_APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer); -GL_APICALL void GL_APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer); -GL_APICALL void GL_APIENTRY glBindTexture (GLenum target, GLuint texture); -GL_APICALL void GL_APIENTRY glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); -GL_APICALL void GL_APIENTRY glBlendEquation ( GLenum mode ); -GL_APICALL void GL_APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha); -GL_APICALL void GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); -GL_APICALL void GL_APIENTRY glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -GL_APICALL void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage); -GL_APICALL void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data); -GL_APICALL GLenum GL_APIENTRY glCheckFramebufferStatus (GLenum target); -GL_APICALL void GL_APIENTRY glClear (GLbitfield mask); -GL_APICALL void GL_APIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); -GL_APICALL void GL_APIENTRY glClearDepthf (GLclampf depth); -GL_APICALL void GL_APIENTRY glClearStencil (GLint s); -GL_APICALL void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); -GL_APICALL void GL_APIENTRY glCompileShader (GLuint shader); -GL_APICALL void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data); -GL_APICALL void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data); -GL_APICALL void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -GL_APICALL void GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -GL_APICALL GLuint GL_APIENTRY glCreateProgram (void); -GL_APICALL GLuint GL_APIENTRY glCreateShader (GLenum type); -GL_APICALL void GL_APIENTRY glCullFace (GLenum mode); -GL_APICALL void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint* buffers); -GL_APICALL void GL_APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint* framebuffers); -GL_APICALL void GL_APIENTRY glDeleteProgram (GLuint program); -GL_APICALL void GL_APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint* renderbuffers); -GL_APICALL void GL_APIENTRY glDeleteShader (GLuint shader); -GL_APICALL void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint* textures); -GL_APICALL void GL_APIENTRY glDepthFunc (GLenum func); -GL_APICALL void GL_APIENTRY glDepthMask (GLboolean flag); -GL_APICALL void GL_APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar); -GL_APICALL void GL_APIENTRY glDetachShader (GLuint program, GLuint shader); -GL_APICALL void GL_APIENTRY glDisable (GLenum cap); -GL_APICALL void GL_APIENTRY glDisableVertexAttribArray (GLuint index); -GL_APICALL void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); -GL_APICALL void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid* indices); -GL_APICALL void GL_APIENTRY glEnable (GLenum cap); -GL_APICALL void GL_APIENTRY glEnableVertexAttribArray (GLuint index); -GL_APICALL void GL_APIENTRY glFinish (void); -GL_APICALL void GL_APIENTRY glFlush (void); -GL_APICALL void GL_APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -GL_APICALL void GL_APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -GL_APICALL void GL_APIENTRY glFrontFace (GLenum mode); -GL_APICALL void GL_APIENTRY glGenBuffers (GLsizei n, GLuint* buffers); -GL_APICALL void GL_APIENTRY glGenerateMipmap (GLenum target); -GL_APICALL void GL_APIENTRY glGenFramebuffers (GLsizei n, GLuint* framebuffers); -GL_APICALL void GL_APIENTRY glGenRenderbuffers (GLsizei n, GLuint* renderbuffers); -GL_APICALL void GL_APIENTRY glGenTextures (GLsizei n, GLuint* textures); -GL_APICALL void GL_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name); -GL_APICALL void GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name); -GL_APICALL void GL_APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders); -GL_APICALL GLint GL_APIENTRY glGetAttribLocation (GLuint program, const GLchar* name); -GL_APICALL void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean* params); -GL_APICALL void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint* params); -GL_APICALL GLenum GL_APIENTRY glGetError (void); -GL_APICALL void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat* params); -GL_APICALL void GL_APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint* params); -GL_APICALL void GL_APIENTRY glGetIntegerv (GLenum pname, GLint* params); -GL_APICALL void GL_APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint* params); -GL_APICALL void GL_APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog); -GL_APICALL void GL_APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint* params); -GL_APICALL void GL_APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint* params); -GL_APICALL void GL_APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog); -GL_APICALL void GL_APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision); -GL_APICALL void GL_APIENTRY glGetShaderSource (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source); -GL_APICALL const GLubyte* GL_APIENTRY glGetString (GLenum name); -GL_APICALL void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat* params); -GL_APICALL void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint* params); -GL_APICALL void GL_APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat* params); -GL_APICALL void GL_APIENTRY glGetUniformiv (GLuint program, GLint location, GLint* params); -GL_APICALL GLint GL_APIENTRY glGetUniformLocation (GLuint program, const GLchar* name); -GL_APICALL void GL_APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat* params); -GL_APICALL void GL_APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint* params); -GL_APICALL void GL_APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, GLvoid** pointer); -GL_APICALL void GL_APIENTRY glHint (GLenum target, GLenum mode); -GL_APICALL GLboolean GL_APIENTRY glIsBuffer (GLuint buffer); -GL_APICALL GLboolean GL_APIENTRY glIsEnabled (GLenum cap); -GL_APICALL GLboolean GL_APIENTRY glIsFramebuffer (GLuint framebuffer); -GL_APICALL GLboolean GL_APIENTRY glIsProgram (GLuint program); -GL_APICALL GLboolean GL_APIENTRY glIsRenderbuffer (GLuint renderbuffer); -GL_APICALL GLboolean GL_APIENTRY glIsShader (GLuint shader); -GL_APICALL GLboolean GL_APIENTRY glIsTexture (GLuint texture); -GL_APICALL void GL_APIENTRY glLineWidth (GLfloat width); -GL_APICALL void GL_APIENTRY glLinkProgram (GLuint program); -GL_APICALL void GL_APIENTRY glPixelStorei (GLenum pname, GLint param); -GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units); -GL_APICALL void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels); -GL_APICALL void GL_APIENTRY glReleaseShaderCompiler (void); -GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glSampleCoverage (GLclampf value, GLboolean invert); -GL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length); -GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar* const* string, const GLint* length); -GL_APICALL void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); -GL_APICALL void GL_APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); -GL_APICALL void GL_APIENTRY glStencilMask (GLuint mask); -GL_APICALL void GL_APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask); -GL_APICALL void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); -GL_APICALL void GL_APIENTRY glStencilOpSeparate (GLenum face, GLenum fail, GLenum zfail, GLenum zpass); -GL_APICALL void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels); -GL_APICALL void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); -GL_APICALL void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat* params); -GL_APICALL void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param); -GL_APICALL void GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint* params); -GL_APICALL void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels); -GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat x); -GL_APICALL void GL_APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat* v); -GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint x); -GL_APICALL void GL_APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint* v); -GL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat x, GLfloat y); -GL_APICALL void GL_APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat* v); -GL_APICALL void GL_APIENTRY glUniform2i (GLint location, GLint x, GLint y); -GL_APICALL void GL_APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint* v); -GL_APICALL void GL_APIENTRY glUniform3f (GLint location, GLfloat x, GLfloat y, GLfloat z); -GL_APICALL void GL_APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat* v); -GL_APICALL void GL_APIENTRY glUniform3i (GLint location, GLint x, GLint y, GLint z); -GL_APICALL void GL_APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint* v); -GL_APICALL void GL_APIENTRY glUniform4f (GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -GL_APICALL void GL_APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat* v); -GL_APICALL void GL_APIENTRY glUniform4i (GLint location, GLint x, GLint y, GLint z, GLint w); -GL_APICALL void GL_APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint* v); -GL_APICALL void GL_APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -GL_APICALL void GL_APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -GL_APICALL void GL_APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -GL_APICALL void GL_APIENTRY glUseProgram (GLuint program); -GL_APICALL void GL_APIENTRY glValidateProgram (GLuint program); -GL_APICALL void GL_APIENTRY glVertexAttrib1f (GLuint indx, GLfloat x); -GL_APICALL void GL_APIENTRY glVertexAttrib1fv (GLuint indx, const GLfloat* values); -GL_APICALL void GL_APIENTRY glVertexAttrib2f (GLuint indx, GLfloat x, GLfloat y); -GL_APICALL void GL_APIENTRY glVertexAttrib2fv (GLuint indx, const GLfloat* values); -GL_APICALL void GL_APIENTRY glVertexAttrib3f (GLuint indx, GLfloat x, GLfloat y, GLfloat z); -GL_APICALL void GL_APIENTRY glVertexAttrib3fv (GLuint indx, const GLfloat* values); -GL_APICALL void GL_APIENTRY glVertexAttrib4f (GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -GL_APICALL void GL_APIENTRY glVertexAttrib4fv (GLuint indx, const GLfloat* values); -GL_APICALL void GL_APIENTRY glVertexAttribPointer (GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr); -GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture); +GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); +GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name); +GL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); +GL_APICALL void GL_APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer); +GL_APICALL void GL_APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer); +GL_APICALL void GL_APIENTRY glBindTexture (GLenum target, GLuint texture); +GL_APICALL void GL_APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +GL_APICALL void GL_APIENTRY glBlendEquation (GLenum mode); +GL_APICALL void GL_APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha); +GL_APICALL void GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); +GL_APICALL void GL_APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); +GL_APICALL void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage); +GL_APICALL void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); +GL_APICALL GLenum GL_APIENTRY glCheckFramebufferStatus (GLenum target); +GL_APICALL void GL_APIENTRY glClear (GLbitfield mask); +GL_APICALL void GL_APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +GL_APICALL void GL_APIENTRY glClearDepthf (GLfloat d); +GL_APICALL void GL_APIENTRY glClearStencil (GLint s); +GL_APICALL void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); +GL_APICALL void GL_APIENTRY glCompileShader (GLuint shader); +GL_APICALL void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); +GL_APICALL void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); +GL_APICALL void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); +GL_APICALL void GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); +GL_APICALL GLuint GL_APIENTRY glCreateProgram (void); +GL_APICALL GLuint GL_APIENTRY glCreateShader (GLenum type); +GL_APICALL void GL_APIENTRY glCullFace (GLenum mode); +GL_APICALL void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers); +GL_APICALL void GL_APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers); +GL_APICALL void GL_APIENTRY glDeleteProgram (GLuint program); +GL_APICALL void GL_APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers); +GL_APICALL void GL_APIENTRY glDeleteShader (GLuint shader); +GL_APICALL void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures); +GL_APICALL void GL_APIENTRY glDepthFunc (GLenum func); +GL_APICALL void GL_APIENTRY glDepthMask (GLboolean flag); +GL_APICALL void GL_APIENTRY glDepthRangef (GLfloat n, GLfloat f); +GL_APICALL void GL_APIENTRY glDetachShader (GLuint program, GLuint shader); +GL_APICALL void GL_APIENTRY glDisable (GLenum cap); +GL_APICALL void GL_APIENTRY glDisableVertexAttribArray (GLuint index); +GL_APICALL void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); +GL_APICALL void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices); +GL_APICALL void GL_APIENTRY glEnable (GLenum cap); +GL_APICALL void GL_APIENTRY glEnableVertexAttribArray (GLuint index); +GL_APICALL void GL_APIENTRY glFinish (void); +GL_APICALL void GL_APIENTRY glFlush (void); +GL_APICALL void GL_APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); +GL_APICALL void GL_APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +GL_APICALL void GL_APIENTRY glFrontFace (GLenum mode); +GL_APICALL void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers); +GL_APICALL void GL_APIENTRY glGenerateMipmap (GLenum target); +GL_APICALL void GL_APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers); +GL_APICALL void GL_APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers); +GL_APICALL void GL_APIENTRY glGenTextures (GLsizei n, GLuint *textures); +GL_APICALL void GL_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); +GL_APICALL void GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); +GL_APICALL void GL_APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); +GL_APICALL GLint GL_APIENTRY glGetAttribLocation (GLuint program, const GLchar *name); +GL_APICALL void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean *data); +GL_APICALL void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params); +GL_APICALL GLenum GL_APIENTRY glGetError (void); +GL_APICALL void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat *data); +GL_APICALL void GL_APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetIntegerv (GLenum pname, GLint *data); +GL_APICALL void GL_APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +GL_APICALL void GL_APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +GL_APICALL void GL_APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); +GL_APICALL void GL_APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); +GL_APICALL const GLubyte *GL_APIENTRY glGetString (GLenum name); +GL_APICALL void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params); +GL_APICALL void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params); +GL_APICALL void GL_APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params); +GL_APICALL GLint GL_APIENTRY glGetUniformLocation (GLuint program, const GLchar *name); +GL_APICALL void GL_APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params); +GL_APICALL void GL_APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer); +GL_APICALL void GL_APIENTRY glHint (GLenum target, GLenum mode); +GL_APICALL GLboolean GL_APIENTRY glIsBuffer (GLuint buffer); +GL_APICALL GLboolean GL_APIENTRY glIsEnabled (GLenum cap); +GL_APICALL GLboolean GL_APIENTRY glIsFramebuffer (GLuint framebuffer); +GL_APICALL GLboolean GL_APIENTRY glIsProgram (GLuint program); +GL_APICALL GLboolean GL_APIENTRY glIsRenderbuffer (GLuint renderbuffer); +GL_APICALL GLboolean GL_APIENTRY glIsShader (GLuint shader); +GL_APICALL GLboolean GL_APIENTRY glIsTexture (GLuint texture); +GL_APICALL void GL_APIENTRY glLineWidth (GLfloat width); +GL_APICALL void GL_APIENTRY glLinkProgram (GLuint program); +GL_APICALL void GL_APIENTRY glPixelStorei (GLenum pname, GLint param); +GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units); +GL_APICALL void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); +GL_APICALL void GL_APIENTRY glReleaseShaderCompiler (void); +GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glSampleCoverage (GLfloat value, GLboolean invert); +GL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); +GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); +GL_APICALL void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); +GL_APICALL void GL_APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); +GL_APICALL void GL_APIENTRY glStencilMask (GLuint mask); +GL_APICALL void GL_APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask); +GL_APICALL void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); +GL_APICALL void GL_APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); +GL_APICALL void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); +GL_APICALL void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); +GL_APICALL void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params); +GL_APICALL void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param); +GL_APICALL void GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params); +GL_APICALL void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); +GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat v0); +GL_APICALL void GL_APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint v0); +GL_APICALL void GL_APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1); +GL_APICALL void GL_APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniform2i (GLint location, GLint v0, GLint v1); +GL_APICALL void GL_APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +GL_APICALL void GL_APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2); +GL_APICALL void GL_APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +GL_APICALL void GL_APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +GL_APICALL void GL_APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUseProgram (GLuint program); +GL_APICALL void GL_APIENTRY glValidateProgram (GLuint program); +GL_APICALL void GL_APIENTRY glVertexAttrib1f (GLuint index, GLfloat x); +GL_APICALL void GL_APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v); +GL_APICALL void GL_APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y); +GL_APICALL void GL_APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v); +GL_APICALL void GL_APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z); +GL_APICALL void GL_APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v); +GL_APICALL void GL_APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +GL_APICALL void GL_APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v); +GL_APICALL void GL_APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); +GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); +#endif /* GL_ES_VERSION_2_0 */ #ifdef __cplusplus } #endif -#endif /* __gl2_h_ */ +#endif diff --git a/opengl/include/GLES2/gl2ext.h b/opengl/include/GLES2/gl2ext.h index 8f8d80a1f..7f13ad758 100644 --- a/opengl/include/GLES2/gl2ext.h +++ b/opengl/include/GLES2/gl2ext.h @@ -1,1160 +1,1151 @@ #ifndef __gl2ext_h_ -#define __gl2ext_h_ - -/* $Revision: 16619 $ on $Date:: 2012-01-18 10:00:14 -0800 #$ */ +#define __gl2ext_h_ 1 #ifdef __cplusplus extern "C" { #endif /* - * This document is licensed under the SGI Free Software B License Version - * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . - */ +** Copyright (c) 2013-2014 The Khronos Group Inc. +** +** Permission is hereby granted, free of charge, to any person obtaining a +** copy of this software and/or associated documentation files (the +** "Materials"), to deal in the Materials without restriction, including +** without limitation the rights to use, copy, modify, merge, publish, +** distribute, sublicense, and/or sell copies of the Materials, and to +** permit persons to whom the Materials are furnished to do so, subject to +** the following conditions: +** +** The above copyright notice and this permission notice shall be included +** in all copies or substantial portions of the Materials. +** +** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. +*/ +/* +** This header is generated from the Khronos OpenGL / OpenGL ES XML +** API Registry. The current version of the Registry, generator scripts +** used to make the header, and the header can be found at +** http://www.opengl.org/registry/ +** +** Khronos $Revision: 26320 $ on $Date: 2014-04-17 03:07:07 -0700 (Thu, 17 Apr 2014) $ +*/ #ifndef GL_APIENTRYP -# define GL_APIENTRYP GL_APIENTRY* -#endif - -/*------------------------------------------------------------------------* - * OES extension tokens - *------------------------------------------------------------------------*/ - -/* GL_OES_compressed_ETC1_RGB8_texture */ -#ifndef GL_OES_compressed_ETC1_RGB8_texture -#define GL_ETC1_RGB8_OES 0x8D64 -#endif - -/* GL_OES_compressed_paletted_texture */ -#ifndef GL_OES_compressed_paletted_texture -#define GL_PALETTE4_RGB8_OES 0x8B90 -#define GL_PALETTE4_RGBA8_OES 0x8B91 -#define GL_PALETTE4_R5_G6_B5_OES 0x8B92 -#define GL_PALETTE4_RGBA4_OES 0x8B93 -#define GL_PALETTE4_RGB5_A1_OES 0x8B94 -#define GL_PALETTE8_RGB8_OES 0x8B95 -#define GL_PALETTE8_RGBA8_OES 0x8B96 -#define GL_PALETTE8_R5_G6_B5_OES 0x8B97 -#define GL_PALETTE8_RGBA4_OES 0x8B98 -#define GL_PALETTE8_RGB5_A1_OES 0x8B99 -#endif - -/* GL_OES_depth24 */ -#ifndef GL_OES_depth24 -#define GL_DEPTH_COMPONENT24_OES 0x81A6 -#endif - -/* GL_OES_depth32 */ -#ifndef GL_OES_depth32 -#define GL_DEPTH_COMPONENT32_OES 0x81A7 -#endif - -/* GL_OES_depth_texture */ -/* No new tokens introduced by this extension. */ - -/* GL_OES_EGL_image */ -#ifndef GL_OES_EGL_image -typedef void* GLeglImageOES; -#endif - -/* GL_OES_EGL_image_external */ -#ifndef GL_OES_EGL_image_external -/* GLeglImageOES defined in GL_OES_EGL_image already. */ -#define GL_TEXTURE_EXTERNAL_OES 0x8D65 -#define GL_SAMPLER_EXTERNAL_OES 0x8D66 -#define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 -#define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68 -#endif - -/* GL_OES_element_index_uint */ -#ifndef GL_OES_element_index_uint -#define GL_UNSIGNED_INT 0x1405 -#endif - -/* GL_OES_get_program_binary */ -#ifndef GL_OES_get_program_binary -#define GL_PROGRAM_BINARY_LENGTH_OES 0x8741 -#define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE -#define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF -#endif - -/* GL_OES_mapbuffer */ -#ifndef GL_OES_mapbuffer -#define GL_WRITE_ONLY_OES 0x88B9 -#define GL_BUFFER_ACCESS_OES 0x88BB -#define GL_BUFFER_MAPPED_OES 0x88BC -#define GL_BUFFER_MAP_POINTER_OES 0x88BD -#endif - -/* GL_OES_packed_depth_stencil */ -#ifndef GL_OES_packed_depth_stencil -#define GL_DEPTH_STENCIL_OES 0x84F9 -#define GL_UNSIGNED_INT_24_8_OES 0x84FA -#define GL_DEPTH24_STENCIL8_OES 0x88F0 -#endif - -/* GL_OES_rgb8_rgba8 */ -#ifndef GL_OES_rgb8_rgba8 -#define GL_RGB8_OES 0x8051 -#define GL_RGBA8_OES 0x8058 -#endif - -/* GL_OES_standard_derivatives */ -#ifndef GL_OES_standard_derivatives -#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B -#endif - -/* GL_OES_stencil1 */ -#ifndef GL_OES_stencil1 -#define GL_STENCIL_INDEX1_OES 0x8D46 -#endif - -/* GL_OES_stencil4 */ -#ifndef GL_OES_stencil4 -#define GL_STENCIL_INDEX4_OES 0x8D47 -#endif - -/* GL_OES_texture_3D */ -#ifndef GL_OES_texture_3D -#define GL_TEXTURE_WRAP_R_OES 0x8072 -#define GL_TEXTURE_3D_OES 0x806F -#define GL_TEXTURE_BINDING_3D_OES 0x806A -#define GL_MAX_3D_TEXTURE_SIZE_OES 0x8073 -#define GL_SAMPLER_3D_OES 0x8B5F -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES 0x8CD4 -#endif - -/* GL_OES_texture_float */ -/* No new tokens introduced by this extension. */ - -/* GL_OES_texture_float_linear */ -/* No new tokens introduced by this extension. */ - -/* GL_OES_texture_half_float */ -#ifndef GL_OES_texture_half_float -#define GL_HALF_FLOAT_OES 0x8D61 -#endif - -/* GL_OES_texture_half_float_linear */ -/* No new tokens introduced by this extension. */ - -/* GL_OES_texture_npot */ -/* No new tokens introduced by this extension. */ - -/* GL_OES_vertex_array_object */ -#ifndef GL_OES_vertex_array_object -#define GL_VERTEX_ARRAY_BINDING_OES 0x85B5 -#endif - -/* GL_OES_vertex_half_float */ -/* GL_HALF_FLOAT_OES defined in GL_OES_texture_half_float already. */ - -/* GL_OES_vertex_type_10_10_10_2 */ -#ifndef GL_OES_vertex_type_10_10_10_2 -#define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6 -#define GL_INT_10_10_10_2_OES 0x8DF7 -#endif - -/*------------------------------------------------------------------------* - * AMD extension tokens - *------------------------------------------------------------------------*/ - -/* GL_AMD_compressed_3DC_texture */ -#ifndef GL_AMD_compressed_3DC_texture -#define GL_3DC_X_AMD 0x87F9 -#define GL_3DC_XY_AMD 0x87FA -#endif - -/* GL_AMD_compressed_ATC_texture */ -#ifndef GL_AMD_compressed_ATC_texture -#define GL_ATC_RGB_AMD 0x8C92 -#define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93 -#define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE -#endif - -/* GL_AMD_performance_monitor */ -#ifndef GL_AMD_performance_monitor -#define GL_COUNTER_TYPE_AMD 0x8BC0 -#define GL_COUNTER_RANGE_AMD 0x8BC1 -#define GL_UNSIGNED_INT64_AMD 0x8BC2 -#define GL_PERCENTAGE_AMD 0x8BC3 -#define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4 -#define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5 -#define GL_PERFMON_RESULT_AMD 0x8BC6 -#endif - -/* GL_AMD_program_binary_Z400 */ -#ifndef GL_AMD_program_binary_Z400 -#define GL_Z400_BINARY_AMD 0x8740 -#endif - -/*------------------------------------------------------------------------* - * ANGLE extension tokens - *------------------------------------------------------------------------*/ - -/* GL_ANGLE_framebuffer_blit */ -#ifndef GL_ANGLE_framebuffer_blit -#define GL_READ_FRAMEBUFFER_ANGLE 0x8CA8 -#define GL_DRAW_FRAMEBUFFER_ANGLE 0x8CA9 -#define GL_DRAW_FRAMEBUFFER_BINDING_ANGLE 0x8CA6 -#define GL_READ_FRAMEBUFFER_BINDING_ANGLE 0x8CAA -#endif - -/* GL_ANGLE_framebuffer_multisample */ -#ifndef GL_ANGLE_framebuffer_multisample -#define GL_RENDERBUFFER_SAMPLES_ANGLE 0x8CAB -#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE 0x8D56 -#define GL_MAX_SAMPLES_ANGLE 0x8D57 -#endif - -/*------------------------------------------------------------------------* - * APPLE extension tokens - *------------------------------------------------------------------------*/ - -/* GL_APPLE_rgb_422 */ -#ifndef GL_APPLE_rgb_422 -#define GL_RGB_422_APPLE 0x8A1F -#define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA -#define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB -#endif - -/* GL_APPLE_framebuffer_multisample */ -#ifndef GL_APPLE_framebuffer_multisample -#define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB -#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56 -#define GL_MAX_SAMPLES_APPLE 0x8D57 -#define GL_READ_FRAMEBUFFER_APPLE 0x8CA8 -#define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9 -#define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6 -#define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA -#endif - -/* GL_APPLE_texture_format_BGRA8888 */ -#ifndef GL_APPLE_texture_format_BGRA8888 -#define GL_BGRA_EXT 0x80E1 -#endif - -/* GL_APPLE_texture_max_level */ -#ifndef GL_APPLE_texture_max_level -#define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D -#endif - -/*------------------------------------------------------------------------* - * ARM extension tokens - *------------------------------------------------------------------------*/ - -/* GL_ARM_mali_shader_binary */ -#ifndef GL_ARM_mali_shader_binary -#define GL_MALI_SHADER_BINARY_ARM 0x8F60 -#endif - -/* GL_ARM_rgba8 */ -/* No new tokens introduced by this extension. */ - -/*------------------------------------------------------------------------* - * EXT extension tokens - *------------------------------------------------------------------------*/ - -/* GL_EXT_blend_minmax */ -#ifndef GL_EXT_blend_minmax -#define GL_MIN_EXT 0x8007 -#define GL_MAX_EXT 0x8008 -#endif - -/* GL_EXT_color_buffer_half_float */ -#ifndef GL_EXT_color_buffer_half_float -#define GL_RGBA16F_EXT 0x881A -#define GL_RGB16F_EXT 0x881B -#define GL_RG16F_EXT 0x822F -#define GL_R16F_EXT 0x822D -#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT 0x8211 -#define GL_UNSIGNED_NORMALIZED_EXT 0x8C17 -#endif - -/* GL_EXT_debug_label */ -#ifndef GL_EXT_debug_label -#define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F -#define GL_PROGRAM_OBJECT_EXT 0x8B40 -#define GL_SHADER_OBJECT_EXT 0x8B48 -#define GL_BUFFER_OBJECT_EXT 0x9151 -#define GL_QUERY_OBJECT_EXT 0x9153 -#define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154 -#endif - -/* GL_EXT_debug_marker */ -/* No new tokens introduced by this extension. */ - -/* GL_EXT_discard_framebuffer */ -#ifndef GL_EXT_discard_framebuffer -#define GL_COLOR_EXT 0x1800 -#define GL_DEPTH_EXT 0x1801 -#define GL_STENCIL_EXT 0x1802 -#endif - -/* GL_EXT_multisampled_render_to_texture */ -#ifndef GL_EXT_multisampled_render_to_texture -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C -#define GL_RENDERBUFFER_SAMPLES_EXT 0x9133 -#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x9134 -#define GL_MAX_SAMPLES_EXT 0x9135 -#endif - -/* GL_EXT_multi_draw_arrays */ -/* No new tokens introduced by this extension. */ - -/* GL_EXT_occlusion_query_boolean */ -#ifndef GL_EXT_occlusion_query_boolean -#define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F -#define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A -#define GL_CURRENT_QUERY_EXT 0x8865 -#define GL_QUERY_RESULT_EXT 0x8866 -#define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867 -#endif - -/* GL_EXT_read_format_bgra */ -#ifndef GL_EXT_read_format_bgra -#define GL_BGRA_EXT 0x80E1 -#define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365 -#define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366 -#endif - -/* GL_EXT_robustness */ -#ifndef GL_EXT_robustness -/* reuse GL_NO_ERROR */ -#define GL_GUILTY_CONTEXT_RESET_EXT 0x8253 -#define GL_INNOCENT_CONTEXT_RESET_EXT 0x8254 -#define GL_UNKNOWN_CONTEXT_RESET_EXT 0x8255 -#define GL_CONTEXT_ROBUST_ACCESS_EXT 0x90F3 -#define GL_RESET_NOTIFICATION_STRATEGY_EXT 0x8256 -#define GL_LOSE_CONTEXT_ON_RESET_EXT 0x8252 -#define GL_NO_RESET_NOTIFICATION_EXT 0x8261 -#endif - -/* GL_EXT_separate_shader_objects */ -#ifndef GL_EXT_separate_shader_objects -#define GL_VERTEX_SHADER_BIT_EXT 0x00000001 -#define GL_FRAGMENT_SHADER_BIT_EXT 0x00000002 -#define GL_ALL_SHADER_BITS_EXT 0xFFFFFFFF -#define GL_PROGRAM_SEPARABLE_EXT 0x8258 -#define GL_ACTIVE_PROGRAM_EXT 0x8259 -#define GL_PROGRAM_PIPELINE_BINDING_EXT 0x825A -#endif - -/* GL_EXT_shader_texture_lod */ -/* No new tokens introduced by this extension. */ - -/* GL_EXT_shadow_samplers */ -#ifndef GL_EXT_shadow_samplers -#define GL_TEXTURE_COMPARE_MODE_EXT 0x884C -#define GL_TEXTURE_COMPARE_FUNC_EXT 0x884D -#define GL_COMPARE_REF_TO_TEXTURE_EXT 0x884E -#define GL_SAMPLER_2D_SHADOW_EXT 0x8B62 -#endif - -/* GL_EXT_sRGB */ -#ifndef GL_EXT_sRGB -#define GL_SRGB_EXT 0x8C40 -#define GL_SRGB_ALPHA_EXT 0x8C42 -#define GL_SRGB8_ALPHA8_EXT 0x8C43 -#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210 -#endif - -/* GL_EXT_texture_compression_dxt1 */ -#ifndef GL_EXT_texture_compression_dxt1 -#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 -#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 -#endif - -/* GL_EXT_texture_filter_anisotropic */ -#ifndef GL_EXT_texture_filter_anisotropic -#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE -#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF -#endif - -/* GL_EXT_texture_format_BGRA8888 */ -#ifndef GL_EXT_texture_format_BGRA8888 -#define GL_BGRA_EXT 0x80E1 -#endif - -/* GL_EXT_texture_rg */ -#ifndef GL_EXT_texture_rg -#define GL_RED_EXT 0x1903 -#define GL_RG_EXT 0x8227 -#define GL_R8_EXT 0x8229 -#define GL_RG8_EXT 0x822B -#endif - -/* GL_EXT_texture_storage */ -#ifndef GL_EXT_texture_storage -#define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F -#define GL_ALPHA8_EXT 0x803C -#define GL_LUMINANCE8_EXT 0x8040 -#define GL_LUMINANCE8_ALPHA8_EXT 0x8045 -#define GL_RGBA32F_EXT 0x8814 -#define GL_RGB32F_EXT 0x8815 -#define GL_ALPHA32F_EXT 0x8816 -#define GL_LUMINANCE32F_EXT 0x8818 -#define GL_LUMINANCE_ALPHA32F_EXT 0x8819 -/* reuse GL_RGBA16F_EXT */ -#define GL_RGB16F_EXT 0x881B -#define GL_ALPHA16F_EXT 0x881C -#define GL_LUMINANCE16F_EXT 0x881E -#define GL_LUMINANCE_ALPHA16F_EXT 0x881F -#define GL_RGB10_A2_EXT 0x8059 -#define GL_RGB10_EXT 0x8052 -#define GL_BGRA8_EXT 0x93A1 -#endif - -/* GL_EXT_texture_type_2_10_10_10_REV */ -#ifndef GL_EXT_texture_type_2_10_10_10_REV -#define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368 -#endif - -/* GL_EXT_unpack_subimage */ -#ifndef GL_EXT_unpack_subimage -#define GL_UNPACK_ROW_LENGTH 0x0CF2 -#define GL_UNPACK_SKIP_ROWS 0x0CF3 -#define GL_UNPACK_SKIP_PIXELS 0x0CF4 -#endif - -/*------------------------------------------------------------------------* - * DMP extension tokens - *------------------------------------------------------------------------*/ - -/* GL_DMP_shader_binary */ -#ifndef GL_DMP_shader_binary -#define GL_SHADER_BINARY_DMP 0x9250 -#endif - -/*------------------------------------------------------------------------* - * IMG extension tokens - *------------------------------------------------------------------------*/ - -/* GL_IMG_program_binary */ -#ifndef GL_IMG_program_binary -#define GL_SGX_PROGRAM_BINARY_IMG 0x9130 -#endif - -/* GL_IMG_read_format */ -#ifndef GL_IMG_read_format -#define GL_BGRA_IMG 0x80E1 -#define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365 -#endif - -/* GL_IMG_shader_binary */ -#ifndef GL_IMG_shader_binary -#define GL_SGX_BINARY_IMG 0x8C0A -#endif - -/* GL_IMG_texture_compression_pvrtc */ -#ifndef GL_IMG_texture_compression_pvrtc -#define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00 -#define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01 -#define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02 -#define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03 -#endif - -/* GL_IMG_multisampled_render_to_texture */ -#ifndef GL_IMG_multisampled_render_to_texture -#define GL_RENDERBUFFER_SAMPLES_IMG 0x9133 -#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134 -#define GL_MAX_SAMPLES_IMG 0x9135 -#define GL_TEXTURE_SAMPLES_IMG 0x9136 -#endif - -/*------------------------------------------------------------------------* - * NV extension tokens - *------------------------------------------------------------------------*/ - -/* GL_NV_coverage_sample */ -#ifndef GL_NV_coverage_sample -#define GL_COVERAGE_COMPONENT_NV 0x8ED0 -#define GL_COVERAGE_COMPONENT4_NV 0x8ED1 -#define GL_COVERAGE_ATTACHMENT_NV 0x8ED2 -#define GL_COVERAGE_BUFFERS_NV 0x8ED3 -#define GL_COVERAGE_SAMPLES_NV 0x8ED4 -#define GL_COVERAGE_ALL_FRAGMENTS_NV 0x8ED5 -#define GL_COVERAGE_EDGE_FRAGMENTS_NV 0x8ED6 -#define GL_COVERAGE_AUTOMATIC_NV 0x8ED7 -#define GL_COVERAGE_BUFFER_BIT_NV 0x8000 -#endif - -/* GL_NV_depth_nonlinear */ -#ifndef GL_NV_depth_nonlinear -#define GL_DEPTH_COMPONENT16_NONLINEAR_NV 0x8E2C -#endif - -/* GL_NV_draw_buffers */ -#ifndef GL_NV_draw_buffers -#define GL_MAX_DRAW_BUFFERS_NV 0x8824 -#define GL_DRAW_BUFFER0_NV 0x8825 -#define GL_DRAW_BUFFER1_NV 0x8826 -#define GL_DRAW_BUFFER2_NV 0x8827 -#define GL_DRAW_BUFFER3_NV 0x8828 -#define GL_DRAW_BUFFER4_NV 0x8829 -#define GL_DRAW_BUFFER5_NV 0x882A -#define GL_DRAW_BUFFER6_NV 0x882B -#define GL_DRAW_BUFFER7_NV 0x882C -#define GL_DRAW_BUFFER8_NV 0x882D -#define GL_DRAW_BUFFER9_NV 0x882E -#define GL_DRAW_BUFFER10_NV 0x882F -#define GL_DRAW_BUFFER11_NV 0x8830 -#define GL_DRAW_BUFFER12_NV 0x8831 -#define GL_DRAW_BUFFER13_NV 0x8832 -#define GL_DRAW_BUFFER14_NV 0x8833 -#define GL_DRAW_BUFFER15_NV 0x8834 -#define GL_COLOR_ATTACHMENT0_NV 0x8CE0 -#define GL_COLOR_ATTACHMENT1_NV 0x8CE1 -#define GL_COLOR_ATTACHMENT2_NV 0x8CE2 -#define GL_COLOR_ATTACHMENT3_NV 0x8CE3 -#define GL_COLOR_ATTACHMENT4_NV 0x8CE4 -#define GL_COLOR_ATTACHMENT5_NV 0x8CE5 -#define GL_COLOR_ATTACHMENT6_NV 0x8CE6 -#define GL_COLOR_ATTACHMENT7_NV 0x8CE7 -#define GL_COLOR_ATTACHMENT8_NV 0x8CE8 -#define GL_COLOR_ATTACHMENT9_NV 0x8CE9 -#define GL_COLOR_ATTACHMENT10_NV 0x8CEA -#define GL_COLOR_ATTACHMENT11_NV 0x8CEB -#define GL_COLOR_ATTACHMENT12_NV 0x8CEC -#define GL_COLOR_ATTACHMENT13_NV 0x8CED -#define GL_COLOR_ATTACHMENT14_NV 0x8CEE -#define GL_COLOR_ATTACHMENT15_NV 0x8CEF -#endif - -/* GL_NV_fbo_color_attachments */ -#ifndef GL_NV_fbo_color_attachments -#define GL_MAX_COLOR_ATTACHMENTS_NV 0x8CDF -/* GL_COLOR_ATTACHMENT{0-15}_NV defined in GL_NV_draw_buffers already. */ -#endif - -/* GL_NV_fence */ -#ifndef GL_NV_fence -#define GL_ALL_COMPLETED_NV 0x84F2 -#define GL_FENCE_STATUS_NV 0x84F3 -#define GL_FENCE_CONDITION_NV 0x84F4 -#endif - -/* GL_NV_read_buffer */ -#ifndef GL_NV_read_buffer -#define GL_READ_BUFFER_NV 0x0C02 -#endif - -/* GL_NV_read_buffer_front */ -/* No new tokens introduced by this extension. */ - -/* GL_NV_read_depth */ -/* No new tokens introduced by this extension. */ - -/* GL_NV_read_depth_stencil */ -/* No new tokens introduced by this extension. */ - -/* GL_NV_read_stencil */ -/* No new tokens introduced by this extension. */ - -/* GL_NV_texture_compression_s3tc_update */ -/* No new tokens introduced by this extension. */ - -/* GL_NV_texture_npot_2D_mipmap */ -/* No new tokens introduced by this extension. */ - -/*------------------------------------------------------------------------* - * QCOM extension tokens - *------------------------------------------------------------------------*/ - -/* GL_QCOM_alpha_test */ -#ifndef GL_QCOM_alpha_test -#define GL_ALPHA_TEST_QCOM 0x0BC0 -#define GL_ALPHA_TEST_FUNC_QCOM 0x0BC1 -#define GL_ALPHA_TEST_REF_QCOM 0x0BC2 -#endif - -/* GL_QCOM_driver_control */ -/* No new tokens introduced by this extension. */ - -/* GL_QCOM_extended_get */ -#ifndef GL_QCOM_extended_get -#define GL_TEXTURE_WIDTH_QCOM 0x8BD2 -#define GL_TEXTURE_HEIGHT_QCOM 0x8BD3 -#define GL_TEXTURE_DEPTH_QCOM 0x8BD4 -#define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5 -#define GL_TEXTURE_FORMAT_QCOM 0x8BD6 -#define GL_TEXTURE_TYPE_QCOM 0x8BD7 -#define GL_TEXTURE_IMAGE_VALID_QCOM 0x8BD8 -#define GL_TEXTURE_NUM_LEVELS_QCOM 0x8BD9 -#define GL_TEXTURE_TARGET_QCOM 0x8BDA -#define GL_TEXTURE_OBJECT_VALID_QCOM 0x8BDB -#define GL_STATE_RESTORE 0x8BDC -#endif - -/* GL_QCOM_extended_get2 */ -/* No new tokens introduced by this extension. */ - -/* GL_QCOM_perfmon_global_mode */ -#ifndef GL_QCOM_perfmon_global_mode -#define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0 -#endif - -/* GL_QCOM_writeonly_rendering */ -#ifndef GL_QCOM_writeonly_rendering -#define GL_WRITEONLY_RENDERING_QCOM 0x8823 -#endif - -/* GL_QCOM_tiled_rendering */ -#ifndef GL_QCOM_tiled_rendering -#define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001 -#define GL_COLOR_BUFFER_BIT1_QCOM 0x00000002 -#define GL_COLOR_BUFFER_BIT2_QCOM 0x00000004 -#define GL_COLOR_BUFFER_BIT3_QCOM 0x00000008 -#define GL_COLOR_BUFFER_BIT4_QCOM 0x00000010 -#define GL_COLOR_BUFFER_BIT5_QCOM 0x00000020 -#define GL_COLOR_BUFFER_BIT6_QCOM 0x00000040 -#define GL_COLOR_BUFFER_BIT7_QCOM 0x00000080 -#define GL_DEPTH_BUFFER_BIT0_QCOM 0x00000100 -#define GL_DEPTH_BUFFER_BIT1_QCOM 0x00000200 -#define GL_DEPTH_BUFFER_BIT2_QCOM 0x00000400 -#define GL_DEPTH_BUFFER_BIT3_QCOM 0x00000800 -#define GL_DEPTH_BUFFER_BIT4_QCOM 0x00001000 -#define GL_DEPTH_BUFFER_BIT5_QCOM 0x00002000 -#define GL_DEPTH_BUFFER_BIT6_QCOM 0x00004000 -#define GL_DEPTH_BUFFER_BIT7_QCOM 0x00008000 -#define GL_STENCIL_BUFFER_BIT0_QCOM 0x00010000 -#define GL_STENCIL_BUFFER_BIT1_QCOM 0x00020000 -#define GL_STENCIL_BUFFER_BIT2_QCOM 0x00040000 -#define GL_STENCIL_BUFFER_BIT3_QCOM 0x00080000 -#define GL_STENCIL_BUFFER_BIT4_QCOM 0x00100000 -#define GL_STENCIL_BUFFER_BIT5_QCOM 0x00200000 -#define GL_STENCIL_BUFFER_BIT6_QCOM 0x00400000 -#define GL_STENCIL_BUFFER_BIT7_QCOM 0x00800000 -#define GL_MULTISAMPLE_BUFFER_BIT0_QCOM 0x01000000 -#define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000 -#define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000 -#define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000 -#define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000 -#define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000 -#define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000 -#define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000 -#endif - -/*------------------------------------------------------------------------* - * VIV extension tokens - *------------------------------------------------------------------------*/ - -/* GL_VIV_shader_binary */ -#ifndef GL_VIV_shader_binary -#define GL_SHADER_BINARY_VIV 0x8FC4 -#endif - -/*------------------------------------------------------------------------* - * End of extension tokens, start of corresponding extension functions - *------------------------------------------------------------------------*/ - -/*------------------------------------------------------------------------* - * OES extension functions - *------------------------------------------------------------------------*/ - -/* GL_OES_compressed_ETC1_RGB8_texture */ -#ifndef GL_OES_compressed_ETC1_RGB8_texture -#define GL_OES_compressed_ETC1_RGB8_texture 1 -#endif - -/* GL_OES_compressed_paletted_texture */ -#ifndef GL_OES_compressed_paletted_texture -#define GL_OES_compressed_paletted_texture 1 -#endif - -/* GL_OES_depth24 */ -#ifndef GL_OES_depth24 -#define GL_OES_depth24 1 -#endif - -/* GL_OES_depth32 */ -#ifndef GL_OES_depth32 -#define GL_OES_depth32 1 -#endif - -/* GL_OES_depth_texture */ -#ifndef GL_OES_depth_texture -#define GL_OES_depth_texture 1 -#endif +#define GL_APIENTRYP GL_APIENTRY* +#endif + +/* Generated on date 20140417 */ + +/* Generated C header for: + * API: gles2 + * Profile: common + * Versions considered: 2\.[0-9] + * Versions emitted: _nomatch_^ + * Default extensions included: gles2 + * Additional extensions included: _nomatch_^ + * Extensions removed: _nomatch_^ + */ + +#ifndef GL_KHR_blend_equation_advanced +#define GL_KHR_blend_equation_advanced 1 +#define GL_BLEND_ADVANCED_COHERENT_KHR 0x9285 +#define GL_MULTIPLY_KHR 0x9294 +#define GL_SCREEN_KHR 0x9295 +#define GL_OVERLAY_KHR 0x9296 +#define GL_DARKEN_KHR 0x9297 +#define GL_LIGHTEN_KHR 0x9298 +#define GL_COLORDODGE_KHR 0x9299 +#define GL_COLORBURN_KHR 0x929A +#define GL_HARDLIGHT_KHR 0x929B +#define GL_SOFTLIGHT_KHR 0x929C +#define GL_DIFFERENCE_KHR 0x929E +#define GL_EXCLUSION_KHR 0x92A0 +#define GL_HSL_HUE_KHR 0x92AD +#define GL_HSL_SATURATION_KHR 0x92AE +#define GL_HSL_COLOR_KHR 0x92AF +#define GL_HSL_LUMINOSITY_KHR 0x92B0 +typedef void (GL_APIENTRYP PFNGLBLENDBARRIERKHRPROC) (void); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glBlendBarrierKHR (void); +#endif +#endif /* GL_KHR_blend_equation_advanced */ + +#ifndef GL_KHR_debug +#define GL_KHR_debug 1 +typedef void (GL_APIENTRY *GLDEBUGPROCKHR)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); +#define GL_SAMPLER 0x82E6 +#define GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR 0x8242 +#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR 0x8243 +#define GL_DEBUG_CALLBACK_FUNCTION_KHR 0x8244 +#define GL_DEBUG_CALLBACK_USER_PARAM_KHR 0x8245 +#define GL_DEBUG_SOURCE_API_KHR 0x8246 +#define GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR 0x8247 +#define GL_DEBUG_SOURCE_SHADER_COMPILER_KHR 0x8248 +#define GL_DEBUG_SOURCE_THIRD_PARTY_KHR 0x8249 +#define GL_DEBUG_SOURCE_APPLICATION_KHR 0x824A +#define GL_DEBUG_SOURCE_OTHER_KHR 0x824B +#define GL_DEBUG_TYPE_ERROR_KHR 0x824C +#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR 0x824D +#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR 0x824E +#define GL_DEBUG_TYPE_PORTABILITY_KHR 0x824F +#define GL_DEBUG_TYPE_PERFORMANCE_KHR 0x8250 +#define GL_DEBUG_TYPE_OTHER_KHR 0x8251 +#define GL_DEBUG_TYPE_MARKER_KHR 0x8268 +#define GL_DEBUG_TYPE_PUSH_GROUP_KHR 0x8269 +#define GL_DEBUG_TYPE_POP_GROUP_KHR 0x826A +#define GL_DEBUG_SEVERITY_NOTIFICATION_KHR 0x826B +#define GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR 0x826C +#define GL_DEBUG_GROUP_STACK_DEPTH_KHR 0x826D +#define GL_BUFFER_KHR 0x82E0 +#define GL_SHADER_KHR 0x82E1 +#define GL_PROGRAM_KHR 0x82E2 +#define GL_VERTEX_ARRAY_KHR 0x8074 +#define GL_QUERY_KHR 0x82E3 +#define GL_SAMPLER_KHR 0x82E6 +#define GL_MAX_LABEL_LENGTH_KHR 0x82E8 +#define GL_MAX_DEBUG_MESSAGE_LENGTH_KHR 0x9143 +#define GL_MAX_DEBUG_LOGGED_MESSAGES_KHR 0x9144 +#define GL_DEBUG_LOGGED_MESSAGES_KHR 0x9145 +#define GL_DEBUG_SEVERITY_HIGH_KHR 0x9146 +#define GL_DEBUG_SEVERITY_MEDIUM_KHR 0x9147 +#define GL_DEBUG_SEVERITY_LOW_KHR 0x9148 +#define GL_DEBUG_OUTPUT_KHR 0x92E0 +#define GL_CONTEXT_FLAG_DEBUG_BIT_KHR 0x00000002 +#define GL_STACK_OVERFLOW_KHR 0x0503 +#define GL_STACK_UNDERFLOW_KHR 0x0504 +typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECONTROLKHRPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); +typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGEINSERTKHRPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); +typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECALLBACKKHRPROC) (GLDEBUGPROCKHR callback, const void *userParam); +typedef GLuint (GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); +typedef void (GL_APIENTRYP PFNGLPUSHDEBUGGROUPKHRPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message); +typedef void (GL_APIENTRYP PFNGLPOPDEBUGGROUPKHRPROC) (void); +typedef void (GL_APIENTRYP PFNGLOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); +typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); +typedef void (GL_APIENTRYP PFNGLOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei length, const GLchar *label); +typedef void (GL_APIENTRYP PFNGLGETOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); +typedef void (GL_APIENTRYP PFNGLGETPOINTERVKHRPROC) (GLenum pname, void **params); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glDebugMessageControlKHR (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); +GL_APICALL void GL_APIENTRY glDebugMessageInsertKHR (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); +GL_APICALL void GL_APIENTRY glDebugMessageCallbackKHR (GLDEBUGPROCKHR callback, const void *userParam); +GL_APICALL GLuint GL_APIENTRY glGetDebugMessageLogKHR (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); +GL_APICALL void GL_APIENTRY glPushDebugGroupKHR (GLenum source, GLuint id, GLsizei length, const GLchar *message); +GL_APICALL void GL_APIENTRY glPopDebugGroupKHR (void); +GL_APICALL void GL_APIENTRY glObjectLabelKHR (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); +GL_APICALL void GL_APIENTRY glGetObjectLabelKHR (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); +GL_APICALL void GL_APIENTRY glObjectPtrLabelKHR (const void *ptr, GLsizei length, const GLchar *label); +GL_APICALL void GL_APIENTRY glGetObjectPtrLabelKHR (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); +GL_APICALL void GL_APIENTRY glGetPointervKHR (GLenum pname, void **params); +#endif +#endif /* GL_KHR_debug */ + +#ifndef GL_KHR_texture_compression_astc_hdr +#define GL_KHR_texture_compression_astc_hdr 1 +#define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0 +#define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1 +#define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2 +#define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3 +#define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4 +#define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5 +#define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6 +#define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7 +#define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8 +#define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9 +#define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA +#define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB +#define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC +#define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD +#endif /* GL_KHR_texture_compression_astc_hdr */ + +#ifndef GL_KHR_texture_compression_astc_ldr +#define GL_KHR_texture_compression_astc_ldr 1 +#endif /* GL_KHR_texture_compression_astc_ldr */ -/* GL_OES_EGL_image */ #ifndef GL_OES_EGL_image #define GL_OES_EGL_image 1 +typedef void *GLeglImageOES; +typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image); +typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image); GL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image); #endif -typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image); -typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image); -#endif +#endif /* GL_OES_EGL_image */ -/* GL_OES_EGL_image_external */ #ifndef GL_OES_EGL_image_external #define GL_OES_EGL_image_external 1 -/* glEGLImageTargetTexture2DOES defined in GL_OES_EGL_image already. */ -#endif +#define GL_TEXTURE_EXTERNAL_OES 0x8D65 +#define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 +#define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68 +#define GL_SAMPLER_EXTERNAL_OES 0x8D66 +#endif /* GL_OES_EGL_image_external */ + +#ifndef GL_OES_compressed_ETC1_RGB8_texture +#define GL_OES_compressed_ETC1_RGB8_texture 1 +#define GL_ETC1_RGB8_OES 0x8D64 +#endif /* GL_OES_compressed_ETC1_RGB8_texture */ + +#ifndef GL_OES_compressed_paletted_texture +#define GL_OES_compressed_paletted_texture 1 +#define GL_PALETTE4_RGB8_OES 0x8B90 +#define GL_PALETTE4_RGBA8_OES 0x8B91 +#define GL_PALETTE4_R5_G6_B5_OES 0x8B92 +#define GL_PALETTE4_RGBA4_OES 0x8B93 +#define GL_PALETTE4_RGB5_A1_OES 0x8B94 +#define GL_PALETTE8_RGB8_OES 0x8B95 +#define GL_PALETTE8_RGBA8_OES 0x8B96 +#define GL_PALETTE8_R5_G6_B5_OES 0x8B97 +#define GL_PALETTE8_RGBA4_OES 0x8B98 +#define GL_PALETTE8_RGB5_A1_OES 0x8B99 +#endif /* GL_OES_compressed_paletted_texture */ + +#ifndef GL_OES_depth24 +#define GL_OES_depth24 1 +#define GL_DEPTH_COMPONENT24_OES 0x81A6 +#endif /* GL_OES_depth24 */ + +#ifndef GL_OES_depth32 +#define GL_OES_depth32 1 +#define GL_DEPTH_COMPONENT32_OES 0x81A7 +#endif /* GL_OES_depth32 */ + +#ifndef GL_OES_depth_texture +#define GL_OES_depth_texture 1 +#endif /* GL_OES_depth_texture */ -/* GL_OES_element_index_uint */ #ifndef GL_OES_element_index_uint #define GL_OES_element_index_uint 1 -#endif +#endif /* GL_OES_element_index_uint */ -/* GL_OES_fbo_render_mipmap */ #ifndef GL_OES_fbo_render_mipmap #define GL_OES_fbo_render_mipmap 1 -#endif +#endif /* GL_OES_fbo_render_mipmap */ -/* GL_OES_fragment_precision_high */ #ifndef GL_OES_fragment_precision_high #define GL_OES_fragment_precision_high 1 -#endif +#endif /* GL_OES_fragment_precision_high */ -/* GL_OES_get_program_binary */ #ifndef GL_OES_get_program_binary #define GL_OES_get_program_binary 1 +#define GL_PROGRAM_BINARY_LENGTH_OES 0x8741 +#define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE +#define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF +typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); +typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLint length); #ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary); -GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length); -#endif -typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary); -typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length); +GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); +GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const void *binary, GLint length); #endif +#endif /* GL_OES_get_program_binary */ -/* GL_OES_mapbuffer */ #ifndef GL_OES_mapbuffer #define GL_OES_mapbuffer 1 -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void* GL_APIENTRY glMapBufferOES (GLenum target, GLenum access); -GL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target); -GL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, GLvoid** params); -#endif -typedef void* (GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access); +#define GL_WRITE_ONLY_OES 0x88B9 +#define GL_BUFFER_ACCESS_OES 0x88BB +#define GL_BUFFER_MAPPED_OES 0x88BC +#define GL_BUFFER_MAP_POINTER_OES 0x88BD +typedef void *(GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access); typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target); -typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, GLvoid** params); +typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, void **params); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void *GL_APIENTRY glMapBufferOES (GLenum target, GLenum access); +GL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target); +GL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, void **params); #endif +#endif /* GL_OES_mapbuffer */ -/* GL_OES_packed_depth_stencil */ #ifndef GL_OES_packed_depth_stencil #define GL_OES_packed_depth_stencil 1 -#endif +#define GL_DEPTH_STENCIL_OES 0x84F9 +#define GL_UNSIGNED_INT_24_8_OES 0x84FA +#define GL_DEPTH24_STENCIL8_OES 0x88F0 +#endif /* GL_OES_packed_depth_stencil */ + +#ifndef GL_OES_required_internalformat +#define GL_OES_required_internalformat 1 +#define GL_ALPHA8_OES 0x803C +#define GL_DEPTH_COMPONENT16_OES 0x81A5 +#define GL_LUMINANCE4_ALPHA4_OES 0x8043 +#define GL_LUMINANCE8_ALPHA8_OES 0x8045 +#define GL_LUMINANCE8_OES 0x8040 +#define GL_RGBA4_OES 0x8056 +#define GL_RGB5_A1_OES 0x8057 +#define GL_RGB565_OES 0x8D62 +#define GL_RGB8_OES 0x8051 +#define GL_RGBA8_OES 0x8058 +#define GL_RGB10_EXT 0x8052 +#define GL_RGB10_A2_EXT 0x8059 +#endif /* GL_OES_required_internalformat */ -/* GL_OES_rgb8_rgba8 */ #ifndef GL_OES_rgb8_rgba8 #define GL_OES_rgb8_rgba8 1 -#endif +#endif /* GL_OES_rgb8_rgba8 */ + +#ifndef GL_OES_sample_shading +#define GL_OES_sample_shading 1 +#define GL_SAMPLE_SHADING_OES 0x8C36 +#define GL_MIN_SAMPLE_SHADING_VALUE_OES 0x8C37 +typedef void (GL_APIENTRYP PFNGLMINSAMPLESHADINGOESPROC) (GLfloat value); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glMinSampleShadingOES (GLfloat value); +#endif +#endif /* GL_OES_sample_shading */ + +#ifndef GL_OES_sample_variables +#define GL_OES_sample_variables 1 +#endif /* GL_OES_sample_variables */ + +#ifndef GL_OES_shader_image_atomic +#define GL_OES_shader_image_atomic 1 +#endif /* GL_OES_shader_image_atomic */ + +#ifndef GL_OES_shader_multisample_interpolation +#define GL_OES_shader_multisample_interpolation 1 +#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_OES 0x8E5B +#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_OES 0x8E5C +#define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS_OES 0x8E5D +#endif /* GL_OES_shader_multisample_interpolation */ -/* GL_OES_standard_derivatives */ #ifndef GL_OES_standard_derivatives #define GL_OES_standard_derivatives 1 -#endif +#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B +#endif /* GL_OES_standard_derivatives */ -/* GL_OES_stencil1 */ #ifndef GL_OES_stencil1 #define GL_OES_stencil1 1 -#endif +#define GL_STENCIL_INDEX1_OES 0x8D46 +#endif /* GL_OES_stencil1 */ -/* GL_OES_stencil4 */ #ifndef GL_OES_stencil4 #define GL_OES_stencil4 1 -#endif +#define GL_STENCIL_INDEX4_OES 0x8D47 +#endif /* GL_OES_stencil4 */ + +#ifndef GL_OES_surfaceless_context +#define GL_OES_surfaceless_context 1 +#define GL_FRAMEBUFFER_UNDEFINED_OES 0x8219 +#endif /* GL_OES_surfaceless_context */ -/* GL_OES_texture_3D */ #ifndef GL_OES_texture_3D #define GL_OES_texture_3D 1 +#define GL_TEXTURE_WRAP_R_OES 0x8072 +#define GL_TEXTURE_3D_OES 0x806F +#define GL_TEXTURE_BINDING_3D_OES 0x806A +#define GL_MAX_3D_TEXTURE_SIZE_OES 0x8073 +#define GL_SAMPLER_3D_OES 0x8B5F +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES 0x8CD4 +typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); +typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); +typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); +typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); #ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels); -GL_APICALL void GL_APIENTRY glTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels); +GL_APICALL void GL_APIENTRY glTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); +GL_APICALL void GL_APIENTRY glTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); GL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data); -GL_APICALL void GL_APIENTRY glCompressedTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data); +GL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); +GL_APICALL void GL_APIENTRY glCompressedTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); GL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); #endif -typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels); -typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels); -typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data); -typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data); -typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOES) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); -#endif +#endif /* GL_OES_texture_3D */ + +#ifndef GL_OES_texture_compression_astc +#define GL_OES_texture_compression_astc 1 +#define GL_COMPRESSED_RGBA_ASTC_3x3x3_OES 0x93C0 +#define GL_COMPRESSED_RGBA_ASTC_4x3x3_OES 0x93C1 +#define GL_COMPRESSED_RGBA_ASTC_4x4x3_OES 0x93C2 +#define GL_COMPRESSED_RGBA_ASTC_4x4x4_OES 0x93C3 +#define GL_COMPRESSED_RGBA_ASTC_5x4x4_OES 0x93C4 +#define GL_COMPRESSED_RGBA_ASTC_5x5x4_OES 0x93C5 +#define GL_COMPRESSED_RGBA_ASTC_5x5x5_OES 0x93C6 +#define GL_COMPRESSED_RGBA_ASTC_6x5x5_OES 0x93C7 +#define GL_COMPRESSED_RGBA_ASTC_6x6x5_OES 0x93C8 +#define GL_COMPRESSED_RGBA_ASTC_6x6x6_OES 0x93C9 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES 0x93E0 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES 0x93E1 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES 0x93E2 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES 0x93E3 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES 0x93E4 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES 0x93E5 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES 0x93E6 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES 0x93E7 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES 0x93E8 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES 0x93E9 +#endif /* GL_OES_texture_compression_astc */ -/* GL_OES_texture_float */ #ifndef GL_OES_texture_float #define GL_OES_texture_float 1 -#endif +#endif /* GL_OES_texture_float */ -/* GL_OES_texture_float_linear */ #ifndef GL_OES_texture_float_linear #define GL_OES_texture_float_linear 1 -#endif +#endif /* GL_OES_texture_float_linear */ -/* GL_OES_texture_half_float */ #ifndef GL_OES_texture_half_float #define GL_OES_texture_half_float 1 -#endif +#define GL_HALF_FLOAT_OES 0x8D61 +#endif /* GL_OES_texture_half_float */ -/* GL_OES_texture_half_float_linear */ #ifndef GL_OES_texture_half_float_linear #define GL_OES_texture_half_float_linear 1 -#endif +#endif /* GL_OES_texture_half_float_linear */ -/* GL_OES_texture_npot */ #ifndef GL_OES_texture_npot #define GL_OES_texture_npot 1 -#endif +#endif /* GL_OES_texture_npot */ + +#ifndef GL_OES_texture_stencil8 +#define GL_OES_texture_stencil8 1 +#define GL_STENCIL_INDEX_OES 0x1901 +#define GL_STENCIL_INDEX8_OES 0x8D48 +#endif /* GL_OES_texture_stencil8 */ + +#ifndef GL_OES_texture_storage_multisample_2d_array +#define GL_OES_texture_storage_multisample_2d_array 1 +#define GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES 0x9102 +#define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY_OES 0x9105 +#define GL_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910B +#define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910C +#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910D +typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glTexStorage3DMultisampleOES (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); +#endif +#endif /* GL_OES_texture_storage_multisample_2d_array */ -/* GL_OES_vertex_array_object */ #ifndef GL_OES_vertex_array_object #define GL_OES_vertex_array_object 1 +#define GL_VERTEX_ARRAY_BINDING_OES 0x85B5 +typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array); +typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint *arrays); +typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arrays); +typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glBindVertexArrayOES (GLuint array); GL_APICALL void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *arrays); GL_APICALL void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays); GL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array); #endif -typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array); -typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint *arrays); -typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arrays); -typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array); -#endif +#endif /* GL_OES_vertex_array_object */ -/* GL_OES_vertex_half_float */ #ifndef GL_OES_vertex_half_float #define GL_OES_vertex_half_float 1 -#endif +#endif /* GL_OES_vertex_half_float */ -/* GL_OES_vertex_type_10_10_10_2 */ #ifndef GL_OES_vertex_type_10_10_10_2 #define GL_OES_vertex_type_10_10_10_2 1 -#endif +#define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6 +#define GL_INT_10_10_10_2_OES 0x8DF7 +#endif /* GL_OES_vertex_type_10_10_10_2 */ -/*------------------------------------------------------------------------* - * AMD extension functions - *------------------------------------------------------------------------*/ - -/* GL_AMD_compressed_3DC_texture */ #ifndef GL_AMD_compressed_3DC_texture #define GL_AMD_compressed_3DC_texture 1 -#endif +#define GL_3DC_X_AMD 0x87F9 +#define GL_3DC_XY_AMD 0x87FA +#endif /* GL_AMD_compressed_3DC_texture */ -/* GL_AMD_compressed_ATC_texture */ #ifndef GL_AMD_compressed_ATC_texture #define GL_AMD_compressed_ATC_texture 1 -#endif +#define GL_ATC_RGB_AMD 0x8C92 +#define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93 +#define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE +#endif /* GL_AMD_compressed_ATC_texture */ -/* AMD_performance_monitor */ #ifndef GL_AMD_performance_monitor #define GL_AMD_performance_monitor 1 +#define GL_COUNTER_TYPE_AMD 0x8BC0 +#define GL_COUNTER_RANGE_AMD 0x8BC1 +#define GL_UNSIGNED_INT64_AMD 0x8BC2 +#define GL_PERCENTAGE_AMD 0x8BC3 +#define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4 +#define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5 +#define GL_PERFMON_RESULT_AMD 0x8BC6 +typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups); +typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); +typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); +typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); +typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data); +typedef void (GL_APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); +typedef void (GL_APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); +typedef void (GL_APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); +typedef void (GL_APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor); +typedef void (GL_APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor); +typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups); GL_APICALL void GL_APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); -GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, GLvoid *data); +GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data); GL_APICALL void GL_APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors); GL_APICALL void GL_APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors); -GL_APICALL void GL_APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList); +GL_APICALL void GL_APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); GL_APICALL void GL_APIENTRY glBeginPerfMonitorAMD (GLuint monitor); GL_APICALL void GL_APIENTRY glEndPerfMonitorAMD (GLuint monitor); GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); #endif -typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups); -typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); -typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); -typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); -typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, GLvoid *data); -typedef void (GL_APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); -typedef void (GL_APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); -typedef void (GL_APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList); -typedef void (GL_APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor); -typedef void (GL_APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor); -typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); -#endif +#endif /* GL_AMD_performance_monitor */ -/* GL_AMD_program_binary_Z400 */ #ifndef GL_AMD_program_binary_Z400 #define GL_AMD_program_binary_Z400 1 -#endif +#define GL_Z400_BINARY_AMD 0x8740 +#endif /* GL_AMD_program_binary_Z400 */ -/*------------------------------------------------------------------------* - * ANGLE extension functions - *------------------------------------------------------------------------*/ +#ifndef GL_ANGLE_depth_texture +#define GL_ANGLE_depth_texture 1 +#endif /* GL_ANGLE_depth_texture */ -/* GL_ANGLE_framebuffer_blit */ #ifndef GL_ANGLE_framebuffer_blit #define GL_ANGLE_framebuffer_blit 1 +#define GL_READ_FRAMEBUFFER_ANGLE 0x8CA8 +#define GL_DRAW_FRAMEBUFFER_ANGLE 0x8CA9 +#define GL_DRAW_FRAMEBUFFER_BINDING_ANGLE 0x8CA6 +#define GL_READ_FRAMEBUFFER_BINDING_ANGLE 0x8CAA +typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERANGLEPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glBlitFramebufferANGLE (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); #endif -typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERANGLEPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -#endif +#endif /* GL_ANGLE_framebuffer_blit */ -/* GL_ANGLE_framebuffer_multisample */ #ifndef GL_ANGLE_framebuffer_multisample #define GL_ANGLE_framebuffer_multisample 1 +#define GL_RENDERBUFFER_SAMPLES_ANGLE 0x8CAB +#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE 0x8D56 +#define GL_MAX_SAMPLES_ANGLE 0x8D57 +typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); #endif -typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +#endif /* GL_ANGLE_framebuffer_multisample */ + +#ifndef GL_ANGLE_instanced_arrays +#define GL_ANGLE_instanced_arrays 1 +#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE 0x88FE +typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); +typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDANGLEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORANGLEPROC) (GLuint index, GLuint divisor); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glDrawArraysInstancedANGLE (GLenum mode, GLint first, GLsizei count, GLsizei primcount); +GL_APICALL void GL_APIENTRY glDrawElementsInstancedANGLE (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); +GL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLE (GLuint index, GLuint divisor); #endif +#endif /* GL_ANGLE_instanced_arrays */ -/*------------------------------------------------------------------------* - * APPLE extension functions - *------------------------------------------------------------------------*/ +#ifndef GL_ANGLE_pack_reverse_row_order +#define GL_ANGLE_pack_reverse_row_order 1 +#define GL_PACK_REVERSE_ROW_ORDER_ANGLE 0x93A4 +#endif /* GL_ANGLE_pack_reverse_row_order */ -/* GL_APPLE_rgb_422 */ -#ifndef GL_APPLE_rgb_422 -#define GL_APPLE_rgb_422 1 +#ifndef GL_ANGLE_program_binary +#define GL_ANGLE_program_binary 1 +#define GL_PROGRAM_BINARY_ANGLE 0x93A6 +#endif /* GL_ANGLE_program_binary */ + +#ifndef GL_ANGLE_texture_compression_dxt3 +#define GL_ANGLE_texture_compression_dxt3 1 +#define GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE 0x83F2 +#endif /* GL_ANGLE_texture_compression_dxt3 */ + +#ifndef GL_ANGLE_texture_compression_dxt5 +#define GL_ANGLE_texture_compression_dxt5 1 +#define GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE 0x83F3 +#endif /* GL_ANGLE_texture_compression_dxt5 */ + +#ifndef GL_ANGLE_texture_usage +#define GL_ANGLE_texture_usage 1 +#define GL_TEXTURE_USAGE_ANGLE 0x93A2 +#define GL_FRAMEBUFFER_ATTACHMENT_ANGLE 0x93A3 +#endif /* GL_ANGLE_texture_usage */ + +#ifndef GL_ANGLE_translated_shader_source +#define GL_ANGLE_translated_shader_source 1 +#define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0 +typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source); #endif +#endif /* GL_ANGLE_translated_shader_source */ + +#ifndef GL_APPLE_copy_texture_levels +#define GL_APPLE_copy_texture_levels 1 +typedef void (GL_APIENTRYP PFNGLCOPYTEXTURELEVELSAPPLEPROC) (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glCopyTextureLevelsAPPLE (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); +#endif +#endif /* GL_APPLE_copy_texture_levels */ -/* GL_APPLE_framebuffer_multisample */ #ifndef GL_APPLE_framebuffer_multisample #define GL_APPLE_framebuffer_multisample 1 +#define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB +#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56 +#define GL_MAX_SAMPLES_APPLE 0x8D57 +#define GL_READ_FRAMEBUFFER_APPLE 0x8CA8 +#define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9 +#define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6 +#define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA +typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); GL_APICALL void GL_APIENTRY glResolveMultisampleFramebufferAPPLE (void); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void); #endif +#endif /* GL_APPLE_framebuffer_multisample */ + +#ifndef GL_APPLE_rgb_422 +#define GL_APPLE_rgb_422 1 +#define GL_RGB_422_APPLE 0x8A1F +#define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA +#define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB +#define GL_RGB_RAW_422_APPLE 0x8A51 +#endif /* GL_APPLE_rgb_422 */ + +#ifndef GL_APPLE_sync +#define GL_APPLE_sync 1 +#define GL_SYNC_OBJECT_APPLE 0x8A53 +#define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE 0x9111 +#define GL_OBJECT_TYPE_APPLE 0x9112 +#define GL_SYNC_CONDITION_APPLE 0x9113 +#define GL_SYNC_STATUS_APPLE 0x9114 +#define GL_SYNC_FLAGS_APPLE 0x9115 +#define GL_SYNC_FENCE_APPLE 0x9116 +#define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE 0x9117 +#define GL_UNSIGNALED_APPLE 0x9118 +#define GL_SIGNALED_APPLE 0x9119 +#define GL_ALREADY_SIGNALED_APPLE 0x911A +#define GL_TIMEOUT_EXPIRED_APPLE 0x911B +#define GL_CONDITION_SATISFIED_APPLE 0x911C +#define GL_WAIT_FAILED_APPLE 0x911D +#define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE 0x00000001 +#define GL_TIMEOUT_IGNORED_APPLE 0xFFFFFFFFFFFFFFFFull +typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCAPPLEPROC) (GLenum condition, GLbitfield flags); +typedef GLboolean (GL_APIENTRYP PFNGLISSYNCAPPLEPROC) (GLsync sync); +typedef void (GL_APIENTRYP PFNGLDELETESYNCAPPLEPROC) (GLsync sync); +typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); +typedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); +typedef void (GL_APIENTRYP PFNGLGETINTEGER64VAPPLEPROC) (GLenum pname, GLint64 *params); +typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL GLsync GL_APIENTRY glFenceSyncAPPLE (GLenum condition, GLbitfield flags); +GL_APICALL GLboolean GL_APIENTRY glIsSyncAPPLE (GLsync sync); +GL_APICALL void GL_APIENTRY glDeleteSyncAPPLE (GLsync sync); +GL_APICALL GLenum GL_APIENTRY glClientWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); +GL_APICALL void GL_APIENTRY glWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); +GL_APICALL void GL_APIENTRY glGetInteger64vAPPLE (GLenum pname, GLint64 *params); +GL_APICALL void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); +#endif +#endif /* GL_APPLE_sync */ -/* GL_APPLE_texture_format_BGRA8888 */ #ifndef GL_APPLE_texture_format_BGRA8888 #define GL_APPLE_texture_format_BGRA8888 1 -#endif +#define GL_BGRA_EXT 0x80E1 +#define GL_BGRA8_EXT 0x93A1 +#endif /* GL_APPLE_texture_format_BGRA8888 */ -/* GL_APPLE_texture_max_level */ #ifndef GL_APPLE_texture_max_level #define GL_APPLE_texture_max_level 1 -#endif +#define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D +#endif /* GL_APPLE_texture_max_level */ -/*------------------------------------------------------------------------* - * ARM extension functions - *------------------------------------------------------------------------*/ +#ifndef GL_ARM_mali_program_binary +#define GL_ARM_mali_program_binary 1 +#define GL_MALI_PROGRAM_BINARY_ARM 0x8F61 +#endif /* GL_ARM_mali_program_binary */ -/* GL_ARM_mali_shader_binary */ #ifndef GL_ARM_mali_shader_binary #define GL_ARM_mali_shader_binary 1 -#endif +#define GL_MALI_SHADER_BINARY_ARM 0x8F60 +#endif /* GL_ARM_mali_shader_binary */ -/* GL_ARM_rgba8 */ #ifndef GL_ARM_rgba8 #define GL_ARM_rgba8 1 -#endif +#endif /* GL_ARM_rgba8 */ -/*------------------------------------------------------------------------* - * EXT extension functions - *------------------------------------------------------------------------*/ +#ifndef GL_ARM_shader_framebuffer_fetch +#define GL_ARM_shader_framebuffer_fetch 1 +#define GL_FETCH_PER_SAMPLE_ARM 0x8F65 +#define GL_FRAGMENT_SHADER_FRAMEBUFFER_FETCH_MRT_ARM 0x8F66 +#endif /* GL_ARM_shader_framebuffer_fetch */ + +#ifndef GL_ARM_shader_framebuffer_fetch_depth_stencil +#define GL_ARM_shader_framebuffer_fetch_depth_stencil 1 +#endif /* GL_ARM_shader_framebuffer_fetch_depth_stencil */ + +#ifndef GL_DMP_shader_binary +#define GL_DMP_shader_binary 1 +#define GL_SHADER_BINARY_DMP 0x9250 +#endif /* GL_DMP_shader_binary */ -/* GL_EXT_blend_minmax */ #ifndef GL_EXT_blend_minmax #define GL_EXT_blend_minmax 1 -#endif +#define GL_MIN_EXT 0x8007 +#define GL_MAX_EXT 0x8008 +#endif /* GL_EXT_blend_minmax */ -/* GL_EXT_color_buffer_half_float */ #ifndef GL_EXT_color_buffer_half_float #define GL_EXT_color_buffer_half_float 1 -#endif +#define GL_RGBA16F_EXT 0x881A +#define GL_RGB16F_EXT 0x881B +#define GL_RG16F_EXT 0x822F +#define GL_R16F_EXT 0x822D +#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT 0x8211 +#define GL_UNSIGNED_NORMALIZED_EXT 0x8C17 +#endif /* GL_EXT_color_buffer_half_float */ -/* GL_EXT_debug_label */ #ifndef GL_EXT_debug_label #define GL_EXT_debug_label 1 +#define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F +#define GL_PROGRAM_OBJECT_EXT 0x8B40 +#define GL_SHADER_OBJECT_EXT 0x8B48 +#define GL_BUFFER_OBJECT_EXT 0x9151 +#define GL_QUERY_OBJECT_EXT 0x9153 +#define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154 +#define GL_TRANSFORM_FEEDBACK 0x8E22 +typedef void (GL_APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label); +typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label); GL_APICALL void GL_APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); #endif -typedef void (GL_APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label); -typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); -#endif +#endif /* GL_EXT_debug_label */ -/* GL_EXT_debug_marker */ #ifndef GL_EXT_debug_marker #define GL_EXT_debug_marker 1 +typedef void (GL_APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker); +typedef void (GL_APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker); +typedef void (GL_APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker); GL_APICALL void GL_APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker); GL_APICALL void GL_APIENTRY glPopGroupMarkerEXT (void); #endif -typedef void (GL_APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker); -typedef void (GL_APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker); -typedef void (GL_APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void); -#endif +#endif /* GL_EXT_debug_marker */ -/* GL_EXT_discard_framebuffer */ #ifndef GL_EXT_discard_framebuffer #define GL_EXT_discard_framebuffer 1 +#define GL_COLOR_EXT 0x1800 +#define GL_DEPTH_EXT 0x1801 +#define GL_STENCIL_EXT 0x1802 +typedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glDiscardFramebufferEXT (GLenum target, GLsizei numAttachments, const GLenum *attachments); #endif -typedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments); -#endif +#endif /* GL_EXT_discard_framebuffer */ -/* GL_EXT_multisampled_render_to_texture */ -#ifndef GL_EXT_multisampled_render_to_texture -#define GL_EXT_multisampled_render_to_texture 1 -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); -#endif -typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); -#endif - -#ifndef GL_EXT_multi_draw_arrays -#define GL_EXT_multi_draw_arrays 1 -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glMultiDrawArraysEXT (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); -GL_APICALL void GL_APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); -typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); -#endif - -/* GL_EXT_occlusion_query_boolean */ -#ifndef GL_EXT_occlusion_query_boolean -#define GL_EXT_occlusion_query_boolean 1 +#ifndef GL_EXT_disjoint_timer_query +#define GL_EXT_disjoint_timer_query 1 +#define GL_QUERY_COUNTER_BITS_EXT 0x8864 +#define GL_CURRENT_QUERY_EXT 0x8865 +#define GL_QUERY_RESULT_EXT 0x8866 +#define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867 +#define GL_TIME_ELAPSED_EXT 0x88BF +#define GL_TIMESTAMP_EXT 0x8E28 +#define GL_GPU_DISJOINT_EXT 0x8FBB +typedef void (GL_APIENTRYP PFNGLGENQUERIESEXTPROC) (GLsizei n, GLuint *ids); +typedef void (GL_APIENTRYP PFNGLDELETEQUERIESEXTPROC) (GLsizei n, const GLuint *ids); +typedef GLboolean (GL_APIENTRYP PFNGLISQUERYEXTPROC) (GLuint id); +typedef void (GL_APIENTRYP PFNGLBEGINQUERYEXTPROC) (GLenum target, GLuint id); +typedef void (GL_APIENTRYP PFNGLENDQUERYEXTPROC) (GLenum target); +typedef void (GL_APIENTRYP PFNGLQUERYCOUNTEREXTPROC) (GLuint id, GLenum target); +typedef void (GL_APIENTRYP PFNGLGETQUERYIVEXTPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTIVEXTPROC) (GLuint id, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVEXTPROC) (GLuint id, GLenum pname, GLuint *params); +typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params); +typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glGenQueriesEXT (GLsizei n, GLuint *ids); GL_APICALL void GL_APIENTRY glDeleteQueriesEXT (GLsizei n, const GLuint *ids); GL_APICALL GLboolean GL_APIENTRY glIsQueryEXT (GLuint id); GL_APICALL void GL_APIENTRY glBeginQueryEXT (GLenum target, GLuint id); GL_APICALL void GL_APIENTRY glEndQueryEXT (GLenum target); +GL_APICALL void GL_APIENTRY glQueryCounterEXT (GLuint id, GLenum target); GL_APICALL void GL_APIENTRY glGetQueryivEXT (GLenum target, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetQueryObjectivEXT (GLuint id, GLenum pname, GLint *params); GL_APICALL void GL_APIENTRY glGetQueryObjectuivEXT (GLuint id, GLenum pname, GLuint *params); +GL_APICALL void GL_APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params); +GL_APICALL void GL_APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params); #endif -typedef void (GL_APIENTRYP PFNGLGENQUERIESEXTPROC) (GLsizei n, GLuint *ids); -typedef void (GL_APIENTRYP PFNGLDELETEQUERIESEXTPROC) (GLsizei n, const GLuint *ids); -typedef GLboolean (GL_APIENTRYP PFNGLISQUERYEXTPROC) (GLuint id); -typedef void (GL_APIENTRYP PFNGLBEGINQUERYEXTPROC) (GLenum target, GLuint id); -typedef void (GL_APIENTRYP PFNGLENDQUERYEXTPROC) (GLenum target); -typedef void (GL_APIENTRYP PFNGLGETQUERYIVEXTPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVEXTPROC) (GLuint id, GLenum pname, GLuint *params); -#endif +#endif /* GL_EXT_disjoint_timer_query */ + +#ifndef GL_EXT_draw_buffers +#define GL_EXT_draw_buffers 1 +#define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF +#define GL_MAX_DRAW_BUFFERS_EXT 0x8824 +#define GL_DRAW_BUFFER0_EXT 0x8825 +#define GL_DRAW_BUFFER1_EXT 0x8826 +#define GL_DRAW_BUFFER2_EXT 0x8827 +#define GL_DRAW_BUFFER3_EXT 0x8828 +#define GL_DRAW_BUFFER4_EXT 0x8829 +#define GL_DRAW_BUFFER5_EXT 0x882A +#define GL_DRAW_BUFFER6_EXT 0x882B +#define GL_DRAW_BUFFER7_EXT 0x882C +#define GL_DRAW_BUFFER8_EXT 0x882D +#define GL_DRAW_BUFFER9_EXT 0x882E +#define GL_DRAW_BUFFER10_EXT 0x882F +#define GL_DRAW_BUFFER11_EXT 0x8830 +#define GL_DRAW_BUFFER12_EXT 0x8831 +#define GL_DRAW_BUFFER13_EXT 0x8832 +#define GL_DRAW_BUFFER14_EXT 0x8833 +#define GL_DRAW_BUFFER15_EXT 0x8834 +#define GL_COLOR_ATTACHMENT0_EXT 0x8CE0 +#define GL_COLOR_ATTACHMENT1_EXT 0x8CE1 +#define GL_COLOR_ATTACHMENT2_EXT 0x8CE2 +#define GL_COLOR_ATTACHMENT3_EXT 0x8CE3 +#define GL_COLOR_ATTACHMENT4_EXT 0x8CE4 +#define GL_COLOR_ATTACHMENT5_EXT 0x8CE5 +#define GL_COLOR_ATTACHMENT6_EXT 0x8CE6 +#define GL_COLOR_ATTACHMENT7_EXT 0x8CE7 +#define GL_COLOR_ATTACHMENT8_EXT 0x8CE8 +#define GL_COLOR_ATTACHMENT9_EXT 0x8CE9 +#define GL_COLOR_ATTACHMENT10_EXT 0x8CEA +#define GL_COLOR_ATTACHMENT11_EXT 0x8CEB +#define GL_COLOR_ATTACHMENT12_EXT 0x8CEC +#define GL_COLOR_ATTACHMENT13_EXT 0x8CED +#define GL_COLOR_ATTACHMENT14_EXT 0x8CEE +#define GL_COLOR_ATTACHMENT15_EXT 0x8CEF +typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSEXTPROC) (GLsizei n, const GLenum *bufs); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glDrawBuffersEXT (GLsizei n, const GLenum *bufs); +#endif +#endif /* GL_EXT_draw_buffers */ + +#ifndef GL_EXT_draw_instanced +#define GL_EXT_draw_instanced 1 +typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount); +typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount); +GL_APICALL void GL_APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); +#endif +#endif /* GL_EXT_draw_instanced */ + +#ifndef GL_EXT_instanced_arrays +#define GL_EXT_instanced_arrays 1 +#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_EXT 0x88FE +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISOREXTPROC) (GLuint index, GLuint divisor); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glVertexAttribDivisorEXT (GLuint index, GLuint divisor); +#endif +#endif /* GL_EXT_instanced_arrays */ + +#ifndef GL_EXT_map_buffer_range +#define GL_EXT_map_buffer_range 1 +#define GL_MAP_READ_BIT_EXT 0x0001 +#define GL_MAP_WRITE_BIT_EXT 0x0002 +#define GL_MAP_INVALIDATE_RANGE_BIT_EXT 0x0004 +#define GL_MAP_INVALIDATE_BUFFER_BIT_EXT 0x0008 +#define GL_MAP_FLUSH_EXPLICIT_BIT_EXT 0x0010 +#define GL_MAP_UNSYNCHRONIZED_BIT_EXT 0x0020 +typedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); +typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void *GL_APIENTRY glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); +GL_APICALL void GL_APIENTRY glFlushMappedBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length); +#endif +#endif /* GL_EXT_map_buffer_range */ + +#ifndef GL_EXT_multi_draw_arrays +#define GL_EXT_multi_draw_arrays 1 +typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); +typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); +GL_APICALL void GL_APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount); +#endif +#endif /* GL_EXT_multi_draw_arrays */ + +#ifndef GL_EXT_multisampled_render_to_texture +#define GL_EXT_multisampled_render_to_texture 1 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C +#define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB +#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 +#define GL_MAX_SAMPLES_EXT 0x8D57 +typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); +#endif +#endif /* GL_EXT_multisampled_render_to_texture */ + +#ifndef GL_EXT_multiview_draw_buffers +#define GL_EXT_multiview_draw_buffers 1 +#define GL_COLOR_ATTACHMENT_EXT 0x90F0 +#define GL_MULTIVIEW_EXT 0x90F1 +#define GL_DRAW_BUFFER_EXT 0x0C01 +#define GL_READ_BUFFER_EXT 0x0C02 +#define GL_MAX_MULTIVIEW_BUFFERS_EXT 0x90F2 +typedef void (GL_APIENTRYP PFNGLREADBUFFERINDEXEDEXTPROC) (GLenum src, GLint index); +typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSINDEXEDEXTPROC) (GLint n, const GLenum *location, const GLint *indices); +typedef void (GL_APIENTRYP PFNGLGETINTEGERI_VEXTPROC) (GLenum target, GLuint index, GLint *data); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glReadBufferIndexedEXT (GLenum src, GLint index); +GL_APICALL void GL_APIENTRY glDrawBuffersIndexedEXT (GLint n, const GLenum *location, const GLint *indices); +GL_APICALL void GL_APIENTRY glGetIntegeri_vEXT (GLenum target, GLuint index, GLint *data); +#endif +#endif /* GL_EXT_multiview_draw_buffers */ + +#ifndef GL_EXT_occlusion_query_boolean +#define GL_EXT_occlusion_query_boolean 1 +#define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F +#define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A +#endif /* GL_EXT_occlusion_query_boolean */ + +#ifndef GL_EXT_pvrtc_sRGB +#define GL_EXT_pvrtc_sRGB 1 +#define GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT 0x8A54 +#define GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT 0x8A55 +#define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT 0x8A56 +#define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT 0x8A57 +#endif /* GL_EXT_pvrtc_sRGB */ -/* GL_EXT_read_format_bgra */ #ifndef GL_EXT_read_format_bgra #define GL_EXT_read_format_bgra 1 -#endif +#define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365 +#define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366 +#endif /* GL_EXT_read_format_bgra */ -/* GL_EXT_robustness */ #ifndef GL_EXT_robustness #define GL_EXT_robustness 1 +#define GL_GUILTY_CONTEXT_RESET_EXT 0x8253 +#define GL_INNOCENT_CONTEXT_RESET_EXT 0x8254 +#define GL_UNKNOWN_CONTEXT_RESET_EXT 0x8255 +#define GL_CONTEXT_ROBUST_ACCESS_EXT 0x90F3 +#define GL_RESET_NOTIFICATION_STRATEGY_EXT 0x8256 +#define GL_LOSE_CONTEXT_ON_RESET_EXT 0x8252 +#define GL_NO_RESET_NOTIFICATION_EXT 0x8261 +typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) (void); +typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); +typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusEXT (void); GL_APICALL void GL_APIENTRY glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); -GL_APICALL void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, float *params); +GL_APICALL void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); GL_APICALL void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint *params); #endif -typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) (void); -typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); -typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, float *params); -typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params); -#endif +#endif /* GL_EXT_robustness */ + +#ifndef GL_EXT_sRGB +#define GL_EXT_sRGB 1 +#define GL_SRGB_EXT 0x8C40 +#define GL_SRGB_ALPHA_EXT 0x8C42 +#define GL_SRGB8_ALPHA8_EXT 0x8C43 +#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210 +#endif /* GL_EXT_sRGB */ + +#ifndef GL_EXT_sRGB_write_control +#define GL_EXT_sRGB_write_control 1 +#define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9 +#endif /* GL_EXT_sRGB_write_control */ -/* GL_EXT_separate_shader_objects */ #ifndef GL_EXT_separate_shader_objects #define GL_EXT_separate_shader_objects 1 -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glUseProgramStagesEXT (GLuint pipeline, GLbitfield stages, GLuint program); -GL_APICALL void GL_APIENTRY glActiveShaderProgramEXT (GLuint pipeline, GLuint program); -GL_APICALL GLuint GL_APIENTRY glCreateShaderProgramvEXT (GLenum type, GLsizei count, const GLchar **strings); -GL_APICALL void GL_APIENTRY glBindProgramPipelineEXT (GLuint pipeline); -GL_APICALL void GL_APIENTRY glDeleteProgramPipelinesEXT (GLsizei n, const GLuint *pipelines); -GL_APICALL void GL_APIENTRY glGenProgramPipelinesEXT (GLsizei n, GLuint *pipelines); -GL_APICALL GLboolean GL_APIENTRY glIsProgramPipelineEXT (GLuint pipeline); -GL_APICALL void GL_APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value); -GL_APICALL void GL_APIENTRY glGetProgramPipelineivEXT (GLuint pipeline, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint x); -GL_APICALL void GL_APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint x, GLint y); -GL_APICALL void GL_APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint x, GLint y, GLint z); -GL_APICALL void GL_APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint x, GLint y, GLint z, GLint w); -GL_APICALL void GL_APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat x); -GL_APICALL void GL_APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat x, GLfloat y); -GL_APICALL void GL_APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z); -GL_APICALL void GL_APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -GL_APICALL void GL_APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); -GL_APICALL void GL_APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); -GL_APICALL void GL_APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); -GL_APICALL void GL_APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); -GL_APICALL void GL_APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glValidateProgramPipelineEXT (GLuint pipeline); -GL_APICALL void GL_APIENTRY glGetProgramPipelineInfoLogEXT (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -#endif -typedef void (GL_APIENTRYP PFNGLUSEPROGRAMSTAGESEXTPROC) (GLuint pipeline, GLbitfield stages, GLuint program); +#define GL_ACTIVE_PROGRAM_EXT 0x8259 +#define GL_VERTEX_SHADER_BIT_EXT 0x00000001 +#define GL_FRAGMENT_SHADER_BIT_EXT 0x00000002 +#define GL_ALL_SHADER_BITS_EXT 0xFFFFFFFF +#define GL_PROGRAM_SEPARABLE_EXT 0x8258 +#define GL_PROGRAM_PIPELINE_BINDING_EXT 0x825A typedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMEXTPROC) (GLuint pipeline, GLuint program); -typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROGRAMVEXTPROC) (GLenum type, GLsizei count, const GLchar **strings); typedef void (GL_APIENTRYP PFNGLBINDPROGRAMPIPELINEEXTPROC) (GLuint pipeline); +typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROGRAMVEXTPROC) (GLenum type, GLsizei count, const GLchar **strings); typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPIPELINESEXTPROC) (GLsizei n, const GLuint *pipelines); typedef void (GL_APIENTRYP PFNGLGENPROGRAMPIPELINESEXTPROC) (GLsizei n, GLuint *pipelines); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEIVEXTPROC) (GLuint pipeline, GLenum pname, GLint *params); typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPIPELINEEXTPROC) (GLuint pipeline); typedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value); -typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEIVEXTPROC) (GLuint pipeline, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint x); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint x, GLint y); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint x, GLint y, GLint z); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint x, GLint y, GLint z, GLint w); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat x); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat x, GLfloat y); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0); typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1); typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUSEPROGRAMSTAGESEXTPROC) (GLuint pipeline, GLbitfield stages, GLuint program); typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEEXTPROC) (GLuint pipeline); -typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glActiveShaderProgramEXT (GLuint pipeline, GLuint program); +GL_APICALL void GL_APIENTRY glBindProgramPipelineEXT (GLuint pipeline); +GL_APICALL GLuint GL_APIENTRY glCreateShaderProgramvEXT (GLenum type, GLsizei count, const GLchar **strings); +GL_APICALL void GL_APIENTRY glDeleteProgramPipelinesEXT (GLsizei n, const GLuint *pipelines); +GL_APICALL void GL_APIENTRY glGenProgramPipelinesEXT (GLsizei n, GLuint *pipelines); +GL_APICALL void GL_APIENTRY glGetProgramPipelineInfoLogEXT (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +GL_APICALL void GL_APIENTRY glGetProgramPipelineivEXT (GLuint pipeline, GLenum pname, GLint *params); +GL_APICALL GLboolean GL_APIENTRY glIsProgramPipelineEXT (GLuint pipeline); +GL_APICALL void GL_APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value); +GL_APICALL void GL_APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0); +GL_APICALL void GL_APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0); +GL_APICALL void GL_APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1); +GL_APICALL void GL_APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1); +GL_APICALL void GL_APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +GL_APICALL void GL_APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); +GL_APICALL void GL_APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +GL_APICALL void GL_APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +GL_APICALL void GL_APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUseProgramStagesEXT (GLuint pipeline, GLbitfield stages, GLuint program); +GL_APICALL void GL_APIENTRY glValidateProgramPipelineEXT (GLuint pipeline); +GL_APICALL void GL_APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0); +GL_APICALL void GL_APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1); +GL_APICALL void GL_APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); +GL_APICALL void GL_APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); +GL_APICALL void GL_APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); +GL_APICALL void GL_APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); +GL_APICALL void GL_APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); +GL_APICALL void GL_APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); +GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); #endif +#endif /* GL_EXT_separate_shader_objects */ + +#ifndef GL_EXT_shader_framebuffer_fetch +#define GL_EXT_shader_framebuffer_fetch 1 +#define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52 +#endif /* GL_EXT_shader_framebuffer_fetch */ + +#ifndef GL_EXT_shader_integer_mix +#define GL_EXT_shader_integer_mix 1 +#endif /* GL_EXT_shader_integer_mix */ + +#ifndef GL_EXT_shader_pixel_local_storage +#define GL_EXT_shader_pixel_local_storage 1 +#define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_FAST_SIZE_EXT 0x8F63 +#define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_SIZE_EXT 0x8F67 +#define GL_SHADER_PIXEL_LOCAL_STORAGE_EXT 0x8F64 +#endif /* GL_EXT_shader_pixel_local_storage */ -/* GL_EXT_shader_texture_lod */ #ifndef GL_EXT_shader_texture_lod #define GL_EXT_shader_texture_lod 1 -#endif +#endif /* GL_EXT_shader_texture_lod */ -/* GL_EXT_shadow_samplers */ #ifndef GL_EXT_shadow_samplers #define GL_EXT_shadow_samplers 1 -#endif +#define GL_TEXTURE_COMPARE_MODE_EXT 0x884C +#define GL_TEXTURE_COMPARE_FUNC_EXT 0x884D +#define GL_COMPARE_REF_TO_TEXTURE_EXT 0x884E +#define GL_SAMPLER_2D_SHADOW_EXT 0x8B62 +#endif /* GL_EXT_shadow_samplers */ -/* GL_EXT_sRGB */ -#ifndef GL_EXT_sRGB -#define GL_EXT_sRGB 1 -#endif - -/* GL_EXT_texture_compression_dxt1 */ #ifndef GL_EXT_texture_compression_dxt1 #define GL_EXT_texture_compression_dxt1 1 -#endif +#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 +#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 +#endif /* GL_EXT_texture_compression_dxt1 */ + +#ifndef GL_EXT_texture_compression_s3tc +#define GL_EXT_texture_compression_s3tc 1 +#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 +#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 +#endif /* GL_EXT_texture_compression_s3tc */ -/* GL_EXT_texture_filter_anisotropic */ #ifndef GL_EXT_texture_filter_anisotropic #define GL_EXT_texture_filter_anisotropic 1 -#endif +#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE +#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF +#endif /* GL_EXT_texture_filter_anisotropic */ -/* GL_EXT_texture_format_BGRA8888 */ #ifndef GL_EXT_texture_format_BGRA8888 #define GL_EXT_texture_format_BGRA8888 1 -#endif +#endif /* GL_EXT_texture_format_BGRA8888 */ -/* GL_EXT_texture_rg */ #ifndef GL_EXT_texture_rg #define GL_EXT_texture_rg 1 -#endif +#define GL_RED_EXT 0x1903 +#define GL_RG_EXT 0x8227 +#define GL_R8_EXT 0x8229 +#define GL_RG8_EXT 0x822B +#endif /* GL_EXT_texture_rg */ + +#ifndef GL_EXT_texture_sRGB_decode +#define GL_EXT_texture_sRGB_decode 1 +#define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48 +#define GL_DECODE_EXT 0x8A49 +#define GL_SKIP_DECODE_EXT 0x8A4A +#endif /* GL_EXT_texture_sRGB_decode */ -/* GL_EXT_texture_storage */ #ifndef GL_EXT_texture_storage #define GL_EXT_texture_storage 1 +#define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F +#define GL_ALPHA8_EXT 0x803C +#define GL_LUMINANCE8_EXT 0x8040 +#define GL_LUMINANCE8_ALPHA8_EXT 0x8045 +#define GL_RGBA32F_EXT 0x8814 +#define GL_RGB32F_EXT 0x8815 +#define GL_ALPHA32F_EXT 0x8816 +#define GL_LUMINANCE32F_EXT 0x8818 +#define GL_LUMINANCE_ALPHA32F_EXT 0x8819 +#define GL_ALPHA16F_EXT 0x881C +#define GL_LUMINANCE16F_EXT 0x881E +#define GL_LUMINANCE_ALPHA16F_EXT 0x881F +#define GL_R32F_EXT 0x822E +#define GL_RG32F_EXT 0x8230 +typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); +typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); +typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); +typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); GL_APICALL void GL_APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); @@ -1163,105 +1154,285 @@ GL_APICALL void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target GL_APICALL void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); GL_APICALL void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); #endif -typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); -typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); -typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -#endif +#endif /* GL_EXT_texture_storage */ -/* GL_EXT_texture_type_2_10_10_10_REV */ #ifndef GL_EXT_texture_type_2_10_10_10_REV #define GL_EXT_texture_type_2_10_10_10_REV 1 -#endif +#define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368 +#endif /* GL_EXT_texture_type_2_10_10_10_REV */ -/* GL_EXT_unpack_subimage */ #ifndef GL_EXT_unpack_subimage #define GL_EXT_unpack_subimage 1 -#endif +#define GL_UNPACK_ROW_LENGTH_EXT 0x0CF2 +#define GL_UNPACK_SKIP_ROWS_EXT 0x0CF3 +#define GL_UNPACK_SKIP_PIXELS_EXT 0x0CF4 +#endif /* GL_EXT_unpack_subimage */ -/*------------------------------------------------------------------------* - * DMP extension functions - *------------------------------------------------------------------------*/ +#ifndef GL_FJ_shader_binary_GCCSO +#define GL_FJ_shader_binary_GCCSO 1 +#define GL_GCCSO_SHADER_BINARY_FJ 0x9260 +#endif /* GL_FJ_shader_binary_GCCSO */ -/* GL_DMP_shader_binary */ -#ifndef GL_DMP_shader_binary -#define GL_DMP_shader_binary 1 -#endif - -/*------------------------------------------------------------------------* - * IMG extension functions - *------------------------------------------------------------------------*/ - -/* GL_IMG_program_binary */ -#ifndef GL_IMG_program_binary -#define GL_IMG_program_binary 1 -#endif - -/* GL_IMG_read_format */ -#ifndef GL_IMG_read_format -#define GL_IMG_read_format 1 -#endif - -/* GL_IMG_shader_binary */ -#ifndef GL_IMG_shader_binary -#define GL_IMG_shader_binary 1 -#endif - -/* GL_IMG_texture_compression_pvrtc */ -#ifndef GL_IMG_texture_compression_pvrtc -#define GL_IMG_texture_compression_pvrtc 1 -#endif - -/* GL_IMG_multisampled_render_to_texture */ #ifndef GL_IMG_multisampled_render_to_texture #define GL_IMG_multisampled_render_to_texture 1 +#define GL_RENDERBUFFER_SAMPLES_IMG 0x9133 +#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134 +#define GL_MAX_SAMPLES_IMG 0x9135 +#define GL_TEXTURE_SAMPLES_IMG 0x9136 +typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); #endif -typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMG) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMG) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); +#endif /* GL_IMG_multisampled_render_to_texture */ + +#ifndef GL_IMG_program_binary +#define GL_IMG_program_binary 1 +#define GL_SGX_PROGRAM_BINARY_IMG 0x9130 +#endif /* GL_IMG_program_binary */ + +#ifndef GL_IMG_read_format +#define GL_IMG_read_format 1 +#define GL_BGRA_IMG 0x80E1 +#define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365 +#endif /* GL_IMG_read_format */ + +#ifndef GL_IMG_shader_binary +#define GL_IMG_shader_binary 1 +#define GL_SGX_BINARY_IMG 0x8C0A +#endif /* GL_IMG_shader_binary */ + +#ifndef GL_IMG_texture_compression_pvrtc +#define GL_IMG_texture_compression_pvrtc 1 +#define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00 +#define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01 +#define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02 +#define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03 +#endif /* GL_IMG_texture_compression_pvrtc */ + +#ifndef GL_IMG_texture_compression_pvrtc2 +#define GL_IMG_texture_compression_pvrtc2 1 +#define GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG 0x9137 +#define GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG 0x9138 +#endif /* GL_IMG_texture_compression_pvrtc2 */ + +#ifndef GL_INTEL_performance_query +#define GL_INTEL_performance_query 1 +#define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000 +#define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001 +#define GL_PERFQUERY_WAIT_INTEL 0x83FB +#define GL_PERFQUERY_FLUSH_INTEL 0x83FA +#define GL_PERFQUERY_DONOT_FLUSH_INTEL 0x83F9 +#define GL_PERFQUERY_COUNTER_EVENT_INTEL 0x94F0 +#define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1 +#define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2 +#define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3 +#define GL_PERFQUERY_COUNTER_RAW_INTEL 0x94F4 +#define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5 +#define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8 +#define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9 +#define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA +#define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB +#define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC +#define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD +#define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE +#define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF +#define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500 +typedef void (GL_APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle); +typedef void (GL_APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint *queryHandle); +typedef void (GL_APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle); +typedef void (GL_APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle); +typedef void (GL_APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId); +typedef void (GL_APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId); +typedef void (GL_APIENTRYP PFNGLGETPERFCOUNTERINFOINTELPROC) (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue); +typedef void (GL_APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten); +typedef void (GL_APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId); +typedef void (GL_APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle); +GL_APICALL void GL_APIENTRY glCreatePerfQueryINTEL (GLuint queryId, GLuint *queryHandle); +GL_APICALL void GL_APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle); +GL_APICALL void GL_APIENTRY glEndPerfQueryINTEL (GLuint queryHandle); +GL_APICALL void GL_APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId); +GL_APICALL void GL_APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId); +GL_APICALL void GL_APIENTRY glGetPerfCounterInfoINTEL (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue); +GL_APICALL void GL_APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten); +GL_APICALL void GL_APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId); +GL_APICALL void GL_APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask); #endif +#endif /* GL_INTEL_performance_query */ -/*------------------------------------------------------------------------* - * NV extension functions - *------------------------------------------------------------------------*/ +#ifndef GL_NV_blend_equation_advanced +#define GL_NV_blend_equation_advanced 1 +#define GL_BLEND_OVERLAP_NV 0x9281 +#define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280 +#define GL_BLUE_NV 0x1905 +#define GL_COLORBURN_NV 0x929A +#define GL_COLORDODGE_NV 0x9299 +#define GL_CONJOINT_NV 0x9284 +#define GL_CONTRAST_NV 0x92A1 +#define GL_DARKEN_NV 0x9297 +#define GL_DIFFERENCE_NV 0x929E +#define GL_DISJOINT_NV 0x9283 +#define GL_DST_ATOP_NV 0x928F +#define GL_DST_IN_NV 0x928B +#define GL_DST_NV 0x9287 +#define GL_DST_OUT_NV 0x928D +#define GL_DST_OVER_NV 0x9289 +#define GL_EXCLUSION_NV 0x92A0 +#define GL_GREEN_NV 0x1904 +#define GL_HARDLIGHT_NV 0x929B +#define GL_HARDMIX_NV 0x92A9 +#define GL_HSL_COLOR_NV 0x92AF +#define GL_HSL_HUE_NV 0x92AD +#define GL_HSL_LUMINOSITY_NV 0x92B0 +#define GL_HSL_SATURATION_NV 0x92AE +#define GL_INVERT_OVG_NV 0x92B4 +#define GL_INVERT_RGB_NV 0x92A3 +#define GL_LIGHTEN_NV 0x9298 +#define GL_LINEARBURN_NV 0x92A5 +#define GL_LINEARDODGE_NV 0x92A4 +#define GL_LINEARLIGHT_NV 0x92A7 +#define GL_MINUS_CLAMPED_NV 0x92B3 +#define GL_MINUS_NV 0x929F +#define GL_MULTIPLY_NV 0x9294 +#define GL_OVERLAY_NV 0x9296 +#define GL_PINLIGHT_NV 0x92A8 +#define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2 +#define GL_PLUS_CLAMPED_NV 0x92B1 +#define GL_PLUS_DARKER_NV 0x9292 +#define GL_PLUS_NV 0x9291 +#define GL_RED_NV 0x1903 +#define GL_SCREEN_NV 0x9295 +#define GL_SOFTLIGHT_NV 0x929C +#define GL_SRC_ATOP_NV 0x928E +#define GL_SRC_IN_NV 0x928A +#define GL_SRC_NV 0x9286 +#define GL_SRC_OUT_NV 0x928C +#define GL_SRC_OVER_NV 0x9288 +#define GL_UNCORRELATED_NV 0x9282 +#define GL_VIVIDLIGHT_NV 0x92A6 +#define GL_XOR_NV 0x1506 +typedef void (GL_APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value); +typedef void (GL_APIENTRYP PFNGLBLENDBARRIERNVPROC) (void); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glBlendParameteriNV (GLenum pname, GLint value); +GL_APICALL void GL_APIENTRY glBlendBarrierNV (void); +#endif +#endif /* GL_NV_blend_equation_advanced */ + +#ifndef GL_NV_blend_equation_advanced_coherent +#define GL_NV_blend_equation_advanced_coherent 1 +#define GL_BLEND_ADVANCED_COHERENT_NV 0x9285 +#endif /* GL_NV_blend_equation_advanced_coherent */ + +#ifndef GL_NV_copy_buffer +#define GL_NV_copy_buffer 1 +#define GL_COPY_READ_BUFFER_NV 0x8F36 +#define GL_COPY_WRITE_BUFFER_NV 0x8F37 +typedef void (GL_APIENTRYP PFNGLCOPYBUFFERSUBDATANVPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glCopyBufferSubDataNV (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); +#endif +#endif /* GL_NV_copy_buffer */ -/* GL_NV_coverage_sample */ #ifndef GL_NV_coverage_sample #define GL_NV_coverage_sample 1 +#define GL_COVERAGE_COMPONENT_NV 0x8ED0 +#define GL_COVERAGE_COMPONENT4_NV 0x8ED1 +#define GL_COVERAGE_ATTACHMENT_NV 0x8ED2 +#define GL_COVERAGE_BUFFERS_NV 0x8ED3 +#define GL_COVERAGE_SAMPLES_NV 0x8ED4 +#define GL_COVERAGE_ALL_FRAGMENTS_NV 0x8ED5 +#define GL_COVERAGE_EDGE_FRAGMENTS_NV 0x8ED6 +#define GL_COVERAGE_AUTOMATIC_NV 0x8ED7 +#define GL_COVERAGE_BUFFER_BIT_NV 0x00008000 +typedef void (GL_APIENTRYP PFNGLCOVERAGEMASKNVPROC) (GLboolean mask); +typedef void (GL_APIENTRYP PFNGLCOVERAGEOPERATIONNVPROC) (GLenum operation); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glCoverageMaskNV (GLboolean mask); GL_APICALL void GL_APIENTRY glCoverageOperationNV (GLenum operation); #endif -typedef void (GL_APIENTRYP PFNGLCOVERAGEMASKNVPROC) (GLboolean mask); -typedef void (GL_APIENTRYP PFNGLCOVERAGEOPERATIONNVPROC) (GLenum operation); -#endif +#endif /* GL_NV_coverage_sample */ -/* GL_NV_depth_nonlinear */ #ifndef GL_NV_depth_nonlinear #define GL_NV_depth_nonlinear 1 -#endif +#define GL_DEPTH_COMPONENT16_NONLINEAR_NV 0x8E2C +#endif /* GL_NV_depth_nonlinear */ -/* GL_NV_draw_buffers */ #ifndef GL_NV_draw_buffers #define GL_NV_draw_buffers 1 +#define GL_MAX_DRAW_BUFFERS_NV 0x8824 +#define GL_DRAW_BUFFER0_NV 0x8825 +#define GL_DRAW_BUFFER1_NV 0x8826 +#define GL_DRAW_BUFFER2_NV 0x8827 +#define GL_DRAW_BUFFER3_NV 0x8828 +#define GL_DRAW_BUFFER4_NV 0x8829 +#define GL_DRAW_BUFFER5_NV 0x882A +#define GL_DRAW_BUFFER6_NV 0x882B +#define GL_DRAW_BUFFER7_NV 0x882C +#define GL_DRAW_BUFFER8_NV 0x882D +#define GL_DRAW_BUFFER9_NV 0x882E +#define GL_DRAW_BUFFER10_NV 0x882F +#define GL_DRAW_BUFFER11_NV 0x8830 +#define GL_DRAW_BUFFER12_NV 0x8831 +#define GL_DRAW_BUFFER13_NV 0x8832 +#define GL_DRAW_BUFFER14_NV 0x8833 +#define GL_DRAW_BUFFER15_NV 0x8834 +#define GL_COLOR_ATTACHMENT0_NV 0x8CE0 +#define GL_COLOR_ATTACHMENT1_NV 0x8CE1 +#define GL_COLOR_ATTACHMENT2_NV 0x8CE2 +#define GL_COLOR_ATTACHMENT3_NV 0x8CE3 +#define GL_COLOR_ATTACHMENT4_NV 0x8CE4 +#define GL_COLOR_ATTACHMENT5_NV 0x8CE5 +#define GL_COLOR_ATTACHMENT6_NV 0x8CE6 +#define GL_COLOR_ATTACHMENT7_NV 0x8CE7 +#define GL_COLOR_ATTACHMENT8_NV 0x8CE8 +#define GL_COLOR_ATTACHMENT9_NV 0x8CE9 +#define GL_COLOR_ATTACHMENT10_NV 0x8CEA +#define GL_COLOR_ATTACHMENT11_NV 0x8CEB +#define GL_COLOR_ATTACHMENT12_NV 0x8CEC +#define GL_COLOR_ATTACHMENT13_NV 0x8CED +#define GL_COLOR_ATTACHMENT14_NV 0x8CEE +#define GL_COLOR_ATTACHMENT15_NV 0x8CEF +typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSNVPROC) (GLsizei n, const GLenum *bufs); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glDrawBuffersNV (GLsizei n, const GLenum *bufs); #endif -typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSNVPROC) (GLsizei n, const GLenum *bufs); -#endif +#endif /* GL_NV_draw_buffers */ + +#ifndef GL_NV_draw_instanced +#define GL_NV_draw_instanced 1 +typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDNVPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); +typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDNVPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glDrawArraysInstancedNV (GLenum mode, GLint first, GLsizei count, GLsizei primcount); +GL_APICALL void GL_APIENTRY glDrawElementsInstancedNV (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); +#endif +#endif /* GL_NV_draw_instanced */ + +#ifndef GL_NV_explicit_attrib_location +#define GL_NV_explicit_attrib_location 1 +#endif /* GL_NV_explicit_attrib_location */ -/* GL_NV_fbo_color_attachments */ #ifndef GL_NV_fbo_color_attachments #define GL_NV_fbo_color_attachments 1 -#endif +#define GL_MAX_COLOR_ATTACHMENTS_NV 0x8CDF +#endif /* GL_NV_fbo_color_attachments */ -/* GL_NV_fence */ #ifndef GL_NV_fence #define GL_NV_fence 1 +#define GL_ALL_COMPLETED_NV 0x84F2 +#define GL_FENCE_STATUS_NV 0x84F3 +#define GL_FENCE_CONDITION_NV 0x84F4 +typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); +typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); +typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence); +typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence); +typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence); +typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences); GL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences); @@ -1271,85 +1442,185 @@ GL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *p GL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint fence); GL_APICALL void GL_APIENTRY glSetFenceNV (GLuint fence, GLenum condition); #endif -typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); -typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); -typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence); -typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence); -typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence); -typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition); -#endif +#endif /* GL_NV_fence */ + +#ifndef GL_NV_framebuffer_blit +#define GL_NV_framebuffer_blit 1 +#define GL_READ_FRAMEBUFFER_NV 0x8CA8 +#define GL_DRAW_FRAMEBUFFER_NV 0x8CA9 +#define GL_DRAW_FRAMEBUFFER_BINDING_NV 0x8CA6 +#define GL_READ_FRAMEBUFFER_BINDING_NV 0x8CAA +typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERNVPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glBlitFramebufferNV (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); +#endif +#endif /* GL_NV_framebuffer_blit */ + +#ifndef GL_NV_framebuffer_multisample +#define GL_NV_framebuffer_multisample 1 +#define GL_RENDERBUFFER_SAMPLES_NV 0x8CAB +#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV 0x8D56 +#define GL_MAX_SAMPLES_NV 0x8D57 +typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleNV (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +#endif +#endif /* GL_NV_framebuffer_multisample */ + +#ifndef GL_NV_generate_mipmap_sRGB +#define GL_NV_generate_mipmap_sRGB 1 +#endif /* GL_NV_generate_mipmap_sRGB */ + +#ifndef GL_NV_instanced_arrays +#define GL_NV_instanced_arrays 1 +#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV 0x88FE +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORNVPROC) (GLuint index, GLuint divisor); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glVertexAttribDivisorNV (GLuint index, GLuint divisor); +#endif +#endif /* GL_NV_instanced_arrays */ + +#ifndef GL_NV_non_square_matrices +#define GL_NV_non_square_matrices 1 +#define GL_FLOAT_MAT2x3_NV 0x8B65 +#define GL_FLOAT_MAT2x4_NV 0x8B66 +#define GL_FLOAT_MAT3x2_NV 0x8B67 +#define GL_FLOAT_MAT3x4_NV 0x8B68 +#define GL_FLOAT_MAT4x2_NV 0x8B69 +#define GL_FLOAT_MAT4x3_NV 0x8B6A +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X3FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X2FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X4FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X2FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X4FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X3FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glUniformMatrix2x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniformMatrix3x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniformMatrix2x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniformMatrix4x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniformMatrix3x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniformMatrix4x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +#endif +#endif /* GL_NV_non_square_matrices */ -/* GL_NV_read_buffer */ #ifndef GL_NV_read_buffer #define GL_NV_read_buffer 1 +#define GL_READ_BUFFER_NV 0x0C02 +typedef void (GL_APIENTRYP PFNGLREADBUFFERNVPROC) (GLenum mode); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glReadBufferNV (GLenum mode); #endif -typedef void (GL_APIENTRYP PFNGLREADBUFFERNVPROC) (GLenum mode); -#endif +#endif /* GL_NV_read_buffer */ -/* GL_NV_read_buffer_front */ #ifndef GL_NV_read_buffer_front #define GL_NV_read_buffer_front 1 -#endif +#endif /* GL_NV_read_buffer_front */ -/* GL_NV_read_depth */ #ifndef GL_NV_read_depth #define GL_NV_read_depth 1 -#endif +#endif /* GL_NV_read_depth */ -/* GL_NV_read_depth_stencil */ #ifndef GL_NV_read_depth_stencil #define GL_NV_read_depth_stencil 1 -#endif +#endif /* GL_NV_read_depth_stencil */ -/* GL_NV_read_stencil */ #ifndef GL_NV_read_stencil #define GL_NV_read_stencil 1 -#endif +#endif /* GL_NV_read_stencil */ + +#ifndef GL_NV_sRGB_formats +#define GL_NV_sRGB_formats 1 +#define GL_SLUMINANCE_NV 0x8C46 +#define GL_SLUMINANCE_ALPHA_NV 0x8C44 +#define GL_SRGB8_NV 0x8C41 +#define GL_SLUMINANCE8_NV 0x8C47 +#define GL_SLUMINANCE8_ALPHA8_NV 0x8C45 +#define GL_COMPRESSED_SRGB_S3TC_DXT1_NV 0x8C4C +#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV 0x8C4D +#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV 0x8C4E +#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV 0x8C4F +#define GL_ETC1_SRGB8_NV 0x88EE +#endif /* GL_NV_sRGB_formats */ + +#ifndef GL_NV_shadow_samplers_array +#define GL_NV_shadow_samplers_array 1 +#define GL_SAMPLER_2D_ARRAY_SHADOW_NV 0x8DC4 +#endif /* GL_NV_shadow_samplers_array */ + +#ifndef GL_NV_shadow_samplers_cube +#define GL_NV_shadow_samplers_cube 1 +#define GL_SAMPLER_CUBE_SHADOW_NV 0x8DC5 +#endif /* GL_NV_shadow_samplers_cube */ + +#ifndef GL_NV_texture_border_clamp +#define GL_NV_texture_border_clamp 1 +#define GL_TEXTURE_BORDER_COLOR_NV 0x1004 +#define GL_CLAMP_TO_BORDER_NV 0x812D +#endif /* GL_NV_texture_border_clamp */ -/* GL_NV_texture_compression_s3tc_update */ #ifndef GL_NV_texture_compression_s3tc_update #define GL_NV_texture_compression_s3tc_update 1 -#endif +#endif /* GL_NV_texture_compression_s3tc_update */ -/* GL_NV_texture_npot_2D_mipmap */ #ifndef GL_NV_texture_npot_2D_mipmap #define GL_NV_texture_npot_2D_mipmap 1 -#endif +#endif /* GL_NV_texture_npot_2D_mipmap */ -/*------------------------------------------------------------------------* - * QCOM extension functions - *------------------------------------------------------------------------*/ - -/* GL_QCOM_alpha_test */ #ifndef GL_QCOM_alpha_test #define GL_QCOM_alpha_test 1 +#define GL_ALPHA_TEST_QCOM 0x0BC0 +#define GL_ALPHA_TEST_FUNC_QCOM 0x0BC1 +#define GL_ALPHA_TEST_REF_QCOM 0x0BC2 +typedef void (GL_APIENTRYP PFNGLALPHAFUNCQCOMPROC) (GLenum func, GLclampf ref); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glAlphaFuncQCOM (GLenum func, GLclampf ref); #endif -typedef void (GL_APIENTRYP PFNGLALPHAFUNCQCOMPROC) (GLenum func, GLclampf ref); -#endif +#endif /* GL_QCOM_alpha_test */ + +#ifndef GL_QCOM_binning_control +#define GL_QCOM_binning_control 1 +#define GL_BINNING_CONTROL_HINT_QCOM 0x8FB0 +#define GL_CPU_OPTIMIZED_QCOM 0x8FB1 +#define GL_GPU_OPTIMIZED_QCOM 0x8FB2 +#define GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM 0x8FB3 +#endif /* GL_QCOM_binning_control */ -/* GL_QCOM_driver_control */ #ifndef GL_QCOM_driver_control #define GL_QCOM_driver_control 1 +typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei size, GLuint *driverControls); +typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); +typedef void (GL_APIENTRYP PFNGLENABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); +typedef void (GL_APIENTRYP PFNGLDISABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glGetDriverControlsQCOM (GLint *num, GLsizei size, GLuint *driverControls); GL_APICALL void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); GL_APICALL void GL_APIENTRY glEnableDriverControlQCOM (GLuint driverControl); GL_APICALL void GL_APIENTRY glDisableDriverControlQCOM (GLuint driverControl); #endif -typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei size, GLuint *driverControls); -typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); -typedef void (GL_APIENTRYP PFNGLENABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); -typedef void (GL_APIENTRYP PFNGLDISABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); -#endif +#endif /* GL_QCOM_driver_control */ -/* GL_QCOM_extended_get */ #ifndef GL_QCOM_extended_get #define GL_QCOM_extended_get 1 +#define GL_TEXTURE_WIDTH_QCOM 0x8BD2 +#define GL_TEXTURE_HEIGHT_QCOM 0x8BD3 +#define GL_TEXTURE_DEPTH_QCOM 0x8BD4 +#define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5 +#define GL_TEXTURE_FORMAT_QCOM 0x8BD6 +#define GL_TEXTURE_TYPE_QCOM 0x8BD7 +#define GL_TEXTURE_IMAGE_VALID_QCOM 0x8BD8 +#define GL_TEXTURE_NUM_LEVELS_QCOM 0x8BD9 +#define GL_TEXTURE_TARGET_QCOM 0x8BDA +#define GL_TEXTURE_OBJECT_VALID_QCOM 0x8BDB +#define GL_STATE_RESTORE 0x8BDC +typedef void (GL_APIENTRYP PFNGLEXTGETTEXTURESQCOMPROC) (GLuint *textures, GLint maxTextures, GLint *numTextures); +typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); +typedef void (GL_APIENTRYP PFNGLEXTGETRENDERBUFFERSQCOMPROC) (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); +typedef void (GL_APIENTRYP PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); +typedef void (GL_APIENTRYP PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (GLenum target, GLenum pname, GLint param); +typedef void (GL_APIENTRYP PFNGLEXTGETTEXSUBIMAGEQCOMPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels); +typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, void **params); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glExtGetTexturesQCOM (GLuint *textures, GLint maxTextures, GLint *numTextures); GL_APICALL void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); @@ -1357,66 +1628,84 @@ GL_APICALL void GL_APIENTRY glExtGetRenderbuffersQCOM (GLuint *renderbuffers, GL GL_APICALL void GL_APIENTRY glExtGetFramebuffersQCOM (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); GL_APICALL void GL_APIENTRY glExtGetTexLevelParameterivQCOM (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); GL_APICALL void GL_APIENTRY glExtTexObjectStateOverrideiQCOM (GLenum target, GLenum pname, GLint param); -GL_APICALL void GL_APIENTRY glExtGetTexSubImageQCOM (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels); -GL_APICALL void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target, GLvoid **params); -#endif -typedef void (GL_APIENTRYP PFNGLEXTGETTEXTURESQCOMPROC) (GLuint *textures, GLint maxTextures, GLint *numTextures); -typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); -typedef void (GL_APIENTRYP PFNGLEXTGETRENDERBUFFERSQCOMPROC) (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); -typedef void (GL_APIENTRYP PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); -typedef void (GL_APIENTRYP PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (GLenum target, GLenum pname, GLint param); -typedef void (GL_APIENTRYP PFNGLEXTGETTEXSUBIMAGEQCOMPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels); -typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, GLvoid **params); +GL_APICALL void GL_APIENTRY glExtGetTexSubImageQCOM (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels); +GL_APICALL void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target, void **params); #endif +#endif /* GL_QCOM_extended_get */ -/* GL_QCOM_extended_get2 */ #ifndef GL_QCOM_extended_get2 #define GL_QCOM_extended_get2 1 +typedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) (GLuint *shaders, GLint maxShaders, GLint *numShaders); +typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint *programs, GLint maxPrograms, GLint *numPrograms); +typedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program); +typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint program, GLenum shadertype, GLchar *source, GLint *length); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glExtGetShadersQCOM (GLuint *shaders, GLint maxShaders, GLint *numShaders); GL_APICALL void GL_APIENTRY glExtGetProgramsQCOM (GLuint *programs, GLint maxPrograms, GLint *numPrograms); GL_APICALL GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program); GL_APICALL void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLchar *source, GLint *length); #endif -typedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) (GLuint *shaders, GLint maxShaders, GLint *numShaders); -typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint *programs, GLint maxPrograms, GLint *numPrograms); -typedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program); -typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint program, GLenum shadertype, GLchar *source, GLint *length); -#endif +#endif /* GL_QCOM_extended_get2 */ -/* GL_QCOM_perfmon_global_mode */ #ifndef GL_QCOM_perfmon_global_mode #define GL_QCOM_perfmon_global_mode 1 -#endif +#define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0 +#endif /* GL_QCOM_perfmon_global_mode */ -/* GL_QCOM_writeonly_rendering */ -#ifndef GL_QCOM_writeonly_rendering -#define GL_QCOM_writeonly_rendering 1 -#endif - -/* GL_QCOM_tiled_rendering */ #ifndef GL_QCOM_tiled_rendering #define GL_QCOM_tiled_rendering 1 +#define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001 +#define GL_COLOR_BUFFER_BIT1_QCOM 0x00000002 +#define GL_COLOR_BUFFER_BIT2_QCOM 0x00000004 +#define GL_COLOR_BUFFER_BIT3_QCOM 0x00000008 +#define GL_COLOR_BUFFER_BIT4_QCOM 0x00000010 +#define GL_COLOR_BUFFER_BIT5_QCOM 0x00000020 +#define GL_COLOR_BUFFER_BIT6_QCOM 0x00000040 +#define GL_COLOR_BUFFER_BIT7_QCOM 0x00000080 +#define GL_DEPTH_BUFFER_BIT0_QCOM 0x00000100 +#define GL_DEPTH_BUFFER_BIT1_QCOM 0x00000200 +#define GL_DEPTH_BUFFER_BIT2_QCOM 0x00000400 +#define GL_DEPTH_BUFFER_BIT3_QCOM 0x00000800 +#define GL_DEPTH_BUFFER_BIT4_QCOM 0x00001000 +#define GL_DEPTH_BUFFER_BIT5_QCOM 0x00002000 +#define GL_DEPTH_BUFFER_BIT6_QCOM 0x00004000 +#define GL_DEPTH_BUFFER_BIT7_QCOM 0x00008000 +#define GL_STENCIL_BUFFER_BIT0_QCOM 0x00010000 +#define GL_STENCIL_BUFFER_BIT1_QCOM 0x00020000 +#define GL_STENCIL_BUFFER_BIT2_QCOM 0x00040000 +#define GL_STENCIL_BUFFER_BIT3_QCOM 0x00080000 +#define GL_STENCIL_BUFFER_BIT4_QCOM 0x00100000 +#define GL_STENCIL_BUFFER_BIT5_QCOM 0x00200000 +#define GL_STENCIL_BUFFER_BIT6_QCOM 0x00400000 +#define GL_STENCIL_BUFFER_BIT7_QCOM 0x00800000 +#define GL_MULTISAMPLE_BUFFER_BIT0_QCOM 0x01000000 +#define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000 +#define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000 +#define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000 +#define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000 +#define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000 +#define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000 +#define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000 +typedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); +typedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); GL_APICALL void GL_APIENTRY glEndTilingQCOM (GLbitfield preserveMask); #endif -typedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); -typedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask); -#endif +#endif /* GL_QCOM_tiled_rendering */ -/*------------------------------------------------------------------------* - * VIV extension tokens - *------------------------------------------------------------------------*/ +#ifndef GL_QCOM_writeonly_rendering +#define GL_QCOM_writeonly_rendering 1 +#define GL_WRITEONLY_RENDERING_QCOM 0x8823 +#endif /* GL_QCOM_writeonly_rendering */ -/* GL_VIV_shader_binary */ #ifndef GL_VIV_shader_binary #define GL_VIV_shader_binary 1 -#endif +#define GL_SHADER_BINARY_VIV 0x8FC4 +#endif /* GL_VIV_shader_binary */ #ifdef __cplusplus } #endif -#endif /* __gl2ext_h_ */ +#endif diff --git a/opengl/include/GLES2/gl2platform.h b/opengl/include/GLES2/gl2platform.h index c9fa3c4d6..89d4d44dc 100644 --- a/opengl/include/GLES2/gl2platform.h +++ b/opengl/include/GLES2/gl2platform.h @@ -1,7 +1,7 @@ #ifndef __gl2platform_h_ #define __gl2platform_h_ -/* $Revision: 10602 $ on $Date:: 2010-03-04 22:35:34 -0800 #$ */ +/* $Revision: 23328 $ on $Date:: 2013-10-02 02:28:28 -0700 #$ */ /* * This document is licensed under the SGI Free Software B License Version diff --git a/opengl/include/GLES3/gl3.h b/opengl/include/GLES3/gl3.h index 9c79862c0..c32a0a046 100644 --- a/opengl/include/GLES3/gl3.h +++ b/opengl/include/GLES3/gl3.h @@ -1,18 +1,12 @@ #ifndef __gl3_h_ -#define __gl3_h_ - -/* - * gl3.h last updated on $Date: 2013-02-12 14:37:24 -0800 (Tue, 12 Feb 2013) $ - */ - -#include +#define __gl3_h_ 1 #ifdef __cplusplus extern "C" { #endif /* -** Copyright (c) 2007-2013 The Khronos Group Inc. +** Copyright (c) 2013-2014 The Khronos Group Inc. ** ** Permission is hereby granted, free of charge, to any person obtaining a ** copy of this software and/or associated documentation files (the @@ -33,1026 +27,910 @@ extern "C" { ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. */ +/* +** This header is generated from the Khronos OpenGL / OpenGL ES XML +** API Registry. The current version of the Registry, generator scripts +** used to make the header, and the header can be found at +** http://www.opengl.org/registry/ +** +** Khronos $Revision: 26320 $ on $Date: 2014-04-17 03:07:07 -0700 (Thu, 17 Apr 2014) $ +*/ -/*------------------------------------------------------------------------- - * Data type definitions - *-----------------------------------------------------------------------*/ +#include -/* OpenGL ES 2.0 */ +/* Generated on date 20140417 */ -typedef void GLvoid; -typedef char GLchar; -typedef unsigned int GLenum; -typedef unsigned char GLboolean; -typedef unsigned int GLbitfield; -typedef khronos_int8_t GLbyte; -typedef short GLshort; -typedef int GLint; -typedef int GLsizei; -typedef khronos_uint8_t GLubyte; -typedef unsigned short GLushort; -typedef unsigned int GLuint; -typedef khronos_float_t GLfloat; -typedef khronos_float_t GLclampf; -typedef khronos_int32_t GLfixed; -typedef khronos_intptr_t GLintptr; -typedef khronos_ssize_t GLsizeiptr; +/* Generated C header for: + * API: gles2 + * Profile: common + * Versions considered: 2\.[0-9]|3.0 + * Versions emitted: .* + * Default extensions included: None + * Additional extensions included: _nomatch_^ + * Extensions removed: _nomatch_^ + */ -/* OpenGL ES 3.0 */ - -typedef unsigned short GLhalf; -typedef khronos_int64_t GLint64; -typedef khronos_uint64_t GLuint64; +#ifndef GL_ES_VERSION_2_0 +#define GL_ES_VERSION_2_0 1 +#include +typedef khronos_int8_t GLbyte; +typedef khronos_float_t GLclampf; +typedef khronos_int32_t GLfixed; +typedef short GLshort; +typedef unsigned short GLushort; +typedef void GLvoid; typedef struct __GLsync *GLsync; +typedef khronos_int64_t GLint64; +typedef khronos_uint64_t GLuint64; +typedef unsigned int GLenum; +typedef unsigned int GLuint; +typedef char GLchar; +typedef khronos_float_t GLfloat; +typedef khronos_ssize_t GLsizeiptr; +typedef khronos_intptr_t GLintptr; +typedef unsigned int GLbitfield; +typedef int GLint; +typedef unsigned char GLboolean; +typedef int GLsizei; +typedef khronos_uint8_t GLubyte; +#define GL_DEPTH_BUFFER_BIT 0x00000100 +#define GL_STENCIL_BUFFER_BIT 0x00000400 +#define GL_COLOR_BUFFER_BIT 0x00004000 +#define GL_FALSE 0 +#define GL_TRUE 1 +#define GL_POINTS 0x0000 +#define GL_LINES 0x0001 +#define GL_LINE_LOOP 0x0002 +#define GL_LINE_STRIP 0x0003 +#define GL_TRIANGLES 0x0004 +#define GL_TRIANGLE_STRIP 0x0005 +#define GL_TRIANGLE_FAN 0x0006 +#define GL_ZERO 0 +#define GL_ONE 1 +#define GL_SRC_COLOR 0x0300 +#define GL_ONE_MINUS_SRC_COLOR 0x0301 +#define GL_SRC_ALPHA 0x0302 +#define GL_ONE_MINUS_SRC_ALPHA 0x0303 +#define GL_DST_ALPHA 0x0304 +#define GL_ONE_MINUS_DST_ALPHA 0x0305 +#define GL_DST_COLOR 0x0306 +#define GL_ONE_MINUS_DST_COLOR 0x0307 +#define GL_SRC_ALPHA_SATURATE 0x0308 +#define GL_FUNC_ADD 0x8006 +#define GL_BLEND_EQUATION 0x8009 +#define GL_BLEND_EQUATION_RGB 0x8009 +#define GL_BLEND_EQUATION_ALPHA 0x883D +#define GL_FUNC_SUBTRACT 0x800A +#define GL_FUNC_REVERSE_SUBTRACT 0x800B +#define GL_BLEND_DST_RGB 0x80C8 +#define GL_BLEND_SRC_RGB 0x80C9 +#define GL_BLEND_DST_ALPHA 0x80CA +#define GL_BLEND_SRC_ALPHA 0x80CB +#define GL_CONSTANT_COLOR 0x8001 +#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 +#define GL_CONSTANT_ALPHA 0x8003 +#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 +#define GL_BLEND_COLOR 0x8005 +#define GL_ARRAY_BUFFER 0x8892 +#define GL_ELEMENT_ARRAY_BUFFER 0x8893 +#define GL_ARRAY_BUFFER_BINDING 0x8894 +#define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 +#define GL_STREAM_DRAW 0x88E0 +#define GL_STATIC_DRAW 0x88E4 +#define GL_DYNAMIC_DRAW 0x88E8 +#define GL_BUFFER_SIZE 0x8764 +#define GL_BUFFER_USAGE 0x8765 +#define GL_CURRENT_VERTEX_ATTRIB 0x8626 +#define GL_FRONT 0x0404 +#define GL_BACK 0x0405 +#define GL_FRONT_AND_BACK 0x0408 +#define GL_TEXTURE_2D 0x0DE1 +#define GL_CULL_FACE 0x0B44 +#define GL_BLEND 0x0BE2 +#define GL_DITHER 0x0BD0 +#define GL_STENCIL_TEST 0x0B90 +#define GL_DEPTH_TEST 0x0B71 +#define GL_SCISSOR_TEST 0x0C11 +#define GL_POLYGON_OFFSET_FILL 0x8037 +#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E +#define GL_SAMPLE_COVERAGE 0x80A0 +#define GL_NO_ERROR 0 +#define GL_INVALID_ENUM 0x0500 +#define GL_INVALID_VALUE 0x0501 +#define GL_INVALID_OPERATION 0x0502 +#define GL_OUT_OF_MEMORY 0x0505 +#define GL_CW 0x0900 +#define GL_CCW 0x0901 +#define GL_LINE_WIDTH 0x0B21 +#define GL_ALIASED_POINT_SIZE_RANGE 0x846D +#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E +#define GL_CULL_FACE_MODE 0x0B45 +#define GL_FRONT_FACE 0x0B46 +#define GL_DEPTH_RANGE 0x0B70 +#define GL_DEPTH_WRITEMASK 0x0B72 +#define GL_DEPTH_CLEAR_VALUE 0x0B73 +#define GL_DEPTH_FUNC 0x0B74 +#define GL_STENCIL_CLEAR_VALUE 0x0B91 +#define GL_STENCIL_FUNC 0x0B92 +#define GL_STENCIL_FAIL 0x0B94 +#define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 +#define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 +#define GL_STENCIL_REF 0x0B97 +#define GL_STENCIL_VALUE_MASK 0x0B93 +#define GL_STENCIL_WRITEMASK 0x0B98 +#define GL_STENCIL_BACK_FUNC 0x8800 +#define GL_STENCIL_BACK_FAIL 0x8801 +#define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 +#define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 +#define GL_STENCIL_BACK_REF 0x8CA3 +#define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 +#define GL_STENCIL_BACK_WRITEMASK 0x8CA5 +#define GL_VIEWPORT 0x0BA2 +#define GL_SCISSOR_BOX 0x0C10 +#define GL_COLOR_CLEAR_VALUE 0x0C22 +#define GL_COLOR_WRITEMASK 0x0C23 +#define GL_UNPACK_ALIGNMENT 0x0CF5 +#define GL_PACK_ALIGNMENT 0x0D05 +#define GL_MAX_TEXTURE_SIZE 0x0D33 +#define GL_MAX_VIEWPORT_DIMS 0x0D3A +#define GL_SUBPIXEL_BITS 0x0D50 +#define GL_RED_BITS 0x0D52 +#define GL_GREEN_BITS 0x0D53 +#define GL_BLUE_BITS 0x0D54 +#define GL_ALPHA_BITS 0x0D55 +#define GL_DEPTH_BITS 0x0D56 +#define GL_STENCIL_BITS 0x0D57 +#define GL_POLYGON_OFFSET_UNITS 0x2A00 +#define GL_POLYGON_OFFSET_FACTOR 0x8038 +#define GL_TEXTURE_BINDING_2D 0x8069 +#define GL_SAMPLE_BUFFERS 0x80A8 +#define GL_SAMPLES 0x80A9 +#define GL_SAMPLE_COVERAGE_VALUE 0x80AA +#define GL_SAMPLE_COVERAGE_INVERT 0x80AB +#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 +#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 +#define GL_DONT_CARE 0x1100 +#define GL_FASTEST 0x1101 +#define GL_NICEST 0x1102 +#define GL_GENERATE_MIPMAP_HINT 0x8192 +#define GL_BYTE 0x1400 +#define GL_UNSIGNED_BYTE 0x1401 +#define GL_SHORT 0x1402 +#define GL_UNSIGNED_SHORT 0x1403 +#define GL_INT 0x1404 +#define GL_UNSIGNED_INT 0x1405 +#define GL_FLOAT 0x1406 +#define GL_FIXED 0x140C +#define GL_DEPTH_COMPONENT 0x1902 +#define GL_ALPHA 0x1906 +#define GL_RGB 0x1907 +#define GL_RGBA 0x1908 +#define GL_LUMINANCE 0x1909 +#define GL_LUMINANCE_ALPHA 0x190A +#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 +#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 +#define GL_UNSIGNED_SHORT_5_6_5 0x8363 +#define GL_FRAGMENT_SHADER 0x8B30 +#define GL_VERTEX_SHADER 0x8B31 +#define GL_MAX_VERTEX_ATTRIBS 0x8869 +#define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB +#define GL_MAX_VARYING_VECTORS 0x8DFC +#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D +#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C +#define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 +#define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD +#define GL_SHADER_TYPE 0x8B4F +#define GL_DELETE_STATUS 0x8B80 +#define GL_LINK_STATUS 0x8B82 +#define GL_VALIDATE_STATUS 0x8B83 +#define GL_ATTACHED_SHADERS 0x8B85 +#define GL_ACTIVE_UNIFORMS 0x8B86 +#define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 +#define GL_ACTIVE_ATTRIBUTES 0x8B89 +#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A +#define GL_SHADING_LANGUAGE_VERSION 0x8B8C +#define GL_CURRENT_PROGRAM 0x8B8D +#define GL_NEVER 0x0200 +#define GL_LESS 0x0201 +#define GL_EQUAL 0x0202 +#define GL_LEQUAL 0x0203 +#define GL_GREATER 0x0204 +#define GL_NOTEQUAL 0x0205 +#define GL_GEQUAL 0x0206 +#define GL_ALWAYS 0x0207 +#define GL_KEEP 0x1E00 +#define GL_REPLACE 0x1E01 +#define GL_INCR 0x1E02 +#define GL_DECR 0x1E03 +#define GL_INVERT 0x150A +#define GL_INCR_WRAP 0x8507 +#define GL_DECR_WRAP 0x8508 +#define GL_VENDOR 0x1F00 +#define GL_RENDERER 0x1F01 +#define GL_VERSION 0x1F02 +#define GL_EXTENSIONS 0x1F03 +#define GL_NEAREST 0x2600 +#define GL_LINEAR 0x2601 +#define GL_NEAREST_MIPMAP_NEAREST 0x2700 +#define GL_LINEAR_MIPMAP_NEAREST 0x2701 +#define GL_NEAREST_MIPMAP_LINEAR 0x2702 +#define GL_LINEAR_MIPMAP_LINEAR 0x2703 +#define GL_TEXTURE_MAG_FILTER 0x2800 +#define GL_TEXTURE_MIN_FILTER 0x2801 +#define GL_TEXTURE_WRAP_S 0x2802 +#define GL_TEXTURE_WRAP_T 0x2803 +#define GL_TEXTURE 0x1702 +#define GL_TEXTURE_CUBE_MAP 0x8513 +#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A +#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C +#define GL_TEXTURE0 0x84C0 +#define GL_TEXTURE1 0x84C1 +#define GL_TEXTURE2 0x84C2 +#define GL_TEXTURE3 0x84C3 +#define GL_TEXTURE4 0x84C4 +#define GL_TEXTURE5 0x84C5 +#define GL_TEXTURE6 0x84C6 +#define GL_TEXTURE7 0x84C7 +#define GL_TEXTURE8 0x84C8 +#define GL_TEXTURE9 0x84C9 +#define GL_TEXTURE10 0x84CA +#define GL_TEXTURE11 0x84CB +#define GL_TEXTURE12 0x84CC +#define GL_TEXTURE13 0x84CD +#define GL_TEXTURE14 0x84CE +#define GL_TEXTURE15 0x84CF +#define GL_TEXTURE16 0x84D0 +#define GL_TEXTURE17 0x84D1 +#define GL_TEXTURE18 0x84D2 +#define GL_TEXTURE19 0x84D3 +#define GL_TEXTURE20 0x84D4 +#define GL_TEXTURE21 0x84D5 +#define GL_TEXTURE22 0x84D6 +#define GL_TEXTURE23 0x84D7 +#define GL_TEXTURE24 0x84D8 +#define GL_TEXTURE25 0x84D9 +#define GL_TEXTURE26 0x84DA +#define GL_TEXTURE27 0x84DB +#define GL_TEXTURE28 0x84DC +#define GL_TEXTURE29 0x84DD +#define GL_TEXTURE30 0x84DE +#define GL_TEXTURE31 0x84DF +#define GL_ACTIVE_TEXTURE 0x84E0 +#define GL_REPEAT 0x2901 +#define GL_CLAMP_TO_EDGE 0x812F +#define GL_MIRRORED_REPEAT 0x8370 +#define GL_FLOAT_VEC2 0x8B50 +#define GL_FLOAT_VEC3 0x8B51 +#define GL_FLOAT_VEC4 0x8B52 +#define GL_INT_VEC2 0x8B53 +#define GL_INT_VEC3 0x8B54 +#define GL_INT_VEC4 0x8B55 +#define GL_BOOL 0x8B56 +#define GL_BOOL_VEC2 0x8B57 +#define GL_BOOL_VEC3 0x8B58 +#define GL_BOOL_VEC4 0x8B59 +#define GL_FLOAT_MAT2 0x8B5A +#define GL_FLOAT_MAT3 0x8B5B +#define GL_FLOAT_MAT4 0x8B5C +#define GL_SAMPLER_2D 0x8B5E +#define GL_SAMPLER_CUBE 0x8B60 +#define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 +#define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 +#define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 +#define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 +#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A +#define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 +#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F +#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A +#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B +#define GL_COMPILE_STATUS 0x8B81 +#define GL_INFO_LOG_LENGTH 0x8B84 +#define GL_SHADER_SOURCE_LENGTH 0x8B88 +#define GL_SHADER_COMPILER 0x8DFA +#define GL_SHADER_BINARY_FORMATS 0x8DF8 +#define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9 +#define GL_LOW_FLOAT 0x8DF0 +#define GL_MEDIUM_FLOAT 0x8DF1 +#define GL_HIGH_FLOAT 0x8DF2 +#define GL_LOW_INT 0x8DF3 +#define GL_MEDIUM_INT 0x8DF4 +#define GL_HIGH_INT 0x8DF5 +#define GL_FRAMEBUFFER 0x8D40 +#define GL_RENDERBUFFER 0x8D41 +#define GL_RGBA4 0x8056 +#define GL_RGB5_A1 0x8057 +#define GL_RGB565 0x8D62 +#define GL_DEPTH_COMPONENT16 0x81A5 +#define GL_STENCIL_INDEX8 0x8D48 +#define GL_RENDERBUFFER_WIDTH 0x8D42 +#define GL_RENDERBUFFER_HEIGHT 0x8D43 +#define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 +#define GL_RENDERBUFFER_RED_SIZE 0x8D50 +#define GL_RENDERBUFFER_GREEN_SIZE 0x8D51 +#define GL_RENDERBUFFER_BLUE_SIZE 0x8D52 +#define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 +#define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 +#define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 +#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 +#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3 +#define GL_COLOR_ATTACHMENT0 0x8CE0 +#define GL_DEPTH_ATTACHMENT 0x8D00 +#define GL_STENCIL_ATTACHMENT 0x8D20 +#define GL_NONE 0 +#define GL_FRAMEBUFFER_COMPLETE 0x8CD5 +#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 +#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 +#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9 +#define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD +#define GL_FRAMEBUFFER_BINDING 0x8CA6 +#define GL_RENDERBUFFER_BINDING 0x8CA7 +#define GL_MAX_RENDERBUFFER_SIZE 0x84E8 +#define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 +GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture); +GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); +GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name); +GL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); +GL_APICALL void GL_APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer); +GL_APICALL void GL_APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer); +GL_APICALL void GL_APIENTRY glBindTexture (GLenum target, GLuint texture); +GL_APICALL void GL_APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +GL_APICALL void GL_APIENTRY glBlendEquation (GLenum mode); +GL_APICALL void GL_APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha); +GL_APICALL void GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); +GL_APICALL void GL_APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); +GL_APICALL void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage); +GL_APICALL void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); +GL_APICALL GLenum GL_APIENTRY glCheckFramebufferStatus (GLenum target); +GL_APICALL void GL_APIENTRY glClear (GLbitfield mask); +GL_APICALL void GL_APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +GL_APICALL void GL_APIENTRY glClearDepthf (GLfloat d); +GL_APICALL void GL_APIENTRY glClearStencil (GLint s); +GL_APICALL void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); +GL_APICALL void GL_APIENTRY glCompileShader (GLuint shader); +GL_APICALL void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); +GL_APICALL void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); +GL_APICALL void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); +GL_APICALL void GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); +GL_APICALL GLuint GL_APIENTRY glCreateProgram (void); +GL_APICALL GLuint GL_APIENTRY glCreateShader (GLenum type); +GL_APICALL void GL_APIENTRY glCullFace (GLenum mode); +GL_APICALL void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers); +GL_APICALL void GL_APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers); +GL_APICALL void GL_APIENTRY glDeleteProgram (GLuint program); +GL_APICALL void GL_APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers); +GL_APICALL void GL_APIENTRY glDeleteShader (GLuint shader); +GL_APICALL void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures); +GL_APICALL void GL_APIENTRY glDepthFunc (GLenum func); +GL_APICALL void GL_APIENTRY glDepthMask (GLboolean flag); +GL_APICALL void GL_APIENTRY glDepthRangef (GLfloat n, GLfloat f); +GL_APICALL void GL_APIENTRY glDetachShader (GLuint program, GLuint shader); +GL_APICALL void GL_APIENTRY glDisable (GLenum cap); +GL_APICALL void GL_APIENTRY glDisableVertexAttribArray (GLuint index); +GL_APICALL void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); +GL_APICALL void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices); +GL_APICALL void GL_APIENTRY glEnable (GLenum cap); +GL_APICALL void GL_APIENTRY glEnableVertexAttribArray (GLuint index); +GL_APICALL void GL_APIENTRY glFinish (void); +GL_APICALL void GL_APIENTRY glFlush (void); +GL_APICALL void GL_APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); +GL_APICALL void GL_APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +GL_APICALL void GL_APIENTRY glFrontFace (GLenum mode); +GL_APICALL void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers); +GL_APICALL void GL_APIENTRY glGenerateMipmap (GLenum target); +GL_APICALL void GL_APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers); +GL_APICALL void GL_APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers); +GL_APICALL void GL_APIENTRY glGenTextures (GLsizei n, GLuint *textures); +GL_APICALL void GL_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); +GL_APICALL void GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); +GL_APICALL void GL_APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); +GL_APICALL GLint GL_APIENTRY glGetAttribLocation (GLuint program, const GLchar *name); +GL_APICALL void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean *data); +GL_APICALL void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params); +GL_APICALL GLenum GL_APIENTRY glGetError (void); +GL_APICALL void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat *data); +GL_APICALL void GL_APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetIntegerv (GLenum pname, GLint *data); +GL_APICALL void GL_APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +GL_APICALL void GL_APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +GL_APICALL void GL_APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); +GL_APICALL void GL_APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); +GL_APICALL const GLubyte *GL_APIENTRY glGetString (GLenum name); +GL_APICALL void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params); +GL_APICALL void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params); +GL_APICALL void GL_APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params); +GL_APICALL GLint GL_APIENTRY glGetUniformLocation (GLuint program, const GLchar *name); +GL_APICALL void GL_APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params); +GL_APICALL void GL_APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer); +GL_APICALL void GL_APIENTRY glHint (GLenum target, GLenum mode); +GL_APICALL GLboolean GL_APIENTRY glIsBuffer (GLuint buffer); +GL_APICALL GLboolean GL_APIENTRY glIsEnabled (GLenum cap); +GL_APICALL GLboolean GL_APIENTRY glIsFramebuffer (GLuint framebuffer); +GL_APICALL GLboolean GL_APIENTRY glIsProgram (GLuint program); +GL_APICALL GLboolean GL_APIENTRY glIsRenderbuffer (GLuint renderbuffer); +GL_APICALL GLboolean GL_APIENTRY glIsShader (GLuint shader); +GL_APICALL GLboolean GL_APIENTRY glIsTexture (GLuint texture); +GL_APICALL void GL_APIENTRY glLineWidth (GLfloat width); +GL_APICALL void GL_APIENTRY glLinkProgram (GLuint program); +GL_APICALL void GL_APIENTRY glPixelStorei (GLenum pname, GLint param); +GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units); +GL_APICALL void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); +GL_APICALL void GL_APIENTRY glReleaseShaderCompiler (void); +GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glSampleCoverage (GLfloat value, GLboolean invert); +GL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); +GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); +GL_APICALL void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); +GL_APICALL void GL_APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); +GL_APICALL void GL_APIENTRY glStencilMask (GLuint mask); +GL_APICALL void GL_APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask); +GL_APICALL void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); +GL_APICALL void GL_APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); +GL_APICALL void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); +GL_APICALL void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); +GL_APICALL void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params); +GL_APICALL void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param); +GL_APICALL void GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params); +GL_APICALL void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); +GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat v0); +GL_APICALL void GL_APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint v0); +GL_APICALL void GL_APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1); +GL_APICALL void GL_APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniform2i (GLint location, GLint v0, GLint v1); +GL_APICALL void GL_APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +GL_APICALL void GL_APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2); +GL_APICALL void GL_APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +GL_APICALL void GL_APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +GL_APICALL void GL_APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUseProgram (GLuint program); +GL_APICALL void GL_APIENTRY glValidateProgram (GLuint program); +GL_APICALL void GL_APIENTRY glVertexAttrib1f (GLuint index, GLfloat x); +GL_APICALL void GL_APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v); +GL_APICALL void GL_APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y); +GL_APICALL void GL_APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v); +GL_APICALL void GL_APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z); +GL_APICALL void GL_APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v); +GL_APICALL void GL_APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +GL_APICALL void GL_APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v); +GL_APICALL void GL_APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); +GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); +#endif /* GL_ES_VERSION_2_0 */ -/*------------------------------------------------------------------------- - * Token definitions - *-----------------------------------------------------------------------*/ - -/* OpenGL ES core versions */ -#define GL_ES_VERSION_3_0 1 -#define GL_ES_VERSION_2_0 1 - -/* OpenGL ES 2.0 */ - -/* ClearBufferMask */ -#define GL_DEPTH_BUFFER_BIT 0x00000100 -#define GL_STENCIL_BUFFER_BIT 0x00000400 -#define GL_COLOR_BUFFER_BIT 0x00004000 - -/* Boolean */ -#define GL_FALSE 0 -#define GL_TRUE 1 - -/* BeginMode */ -#define GL_POINTS 0x0000 -#define GL_LINES 0x0001 -#define GL_LINE_LOOP 0x0002 -#define GL_LINE_STRIP 0x0003 -#define GL_TRIANGLES 0x0004 -#define GL_TRIANGLE_STRIP 0x0005 -#define GL_TRIANGLE_FAN 0x0006 - -/* BlendingFactorDest */ -#define GL_ZERO 0 -#define GL_ONE 1 -#define GL_SRC_COLOR 0x0300 -#define GL_ONE_MINUS_SRC_COLOR 0x0301 -#define GL_SRC_ALPHA 0x0302 -#define GL_ONE_MINUS_SRC_ALPHA 0x0303 -#define GL_DST_ALPHA 0x0304 -#define GL_ONE_MINUS_DST_ALPHA 0x0305 - -/* BlendingFactorSrc */ -/* GL_ZERO */ -/* GL_ONE */ -#define GL_DST_COLOR 0x0306 -#define GL_ONE_MINUS_DST_COLOR 0x0307 -#define GL_SRC_ALPHA_SATURATE 0x0308 -/* GL_SRC_ALPHA */ -/* GL_ONE_MINUS_SRC_ALPHA */ -/* GL_DST_ALPHA */ -/* GL_ONE_MINUS_DST_ALPHA */ - -/* BlendEquationSeparate */ -#define GL_FUNC_ADD 0x8006 -#define GL_BLEND_EQUATION 0x8009 -#define GL_BLEND_EQUATION_RGB 0x8009 /* same as BLEND_EQUATION */ -#define GL_BLEND_EQUATION_ALPHA 0x883D - -/* BlendSubtract */ -#define GL_FUNC_SUBTRACT 0x800A -#define GL_FUNC_REVERSE_SUBTRACT 0x800B - -/* Separate Blend Functions */ -#define GL_BLEND_DST_RGB 0x80C8 -#define GL_BLEND_SRC_RGB 0x80C9 -#define GL_BLEND_DST_ALPHA 0x80CA -#define GL_BLEND_SRC_ALPHA 0x80CB -#define GL_CONSTANT_COLOR 0x8001 -#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 -#define GL_CONSTANT_ALPHA 0x8003 -#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 -#define GL_BLEND_COLOR 0x8005 - -/* Buffer Objects */ -#define GL_ARRAY_BUFFER 0x8892 -#define GL_ELEMENT_ARRAY_BUFFER 0x8893 -#define GL_ARRAY_BUFFER_BINDING 0x8894 -#define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 - -#define GL_STREAM_DRAW 0x88E0 -#define GL_STATIC_DRAW 0x88E4 -#define GL_DYNAMIC_DRAW 0x88E8 - -#define GL_BUFFER_SIZE 0x8764 -#define GL_BUFFER_USAGE 0x8765 - -#define GL_CURRENT_VERTEX_ATTRIB 0x8626 - -/* CullFaceMode */ -#define GL_FRONT 0x0404 -#define GL_BACK 0x0405 -#define GL_FRONT_AND_BACK 0x0408 - -/* DepthFunction */ -/* GL_NEVER */ -/* GL_LESS */ -/* GL_EQUAL */ -/* GL_LEQUAL */ -/* GL_GREATER */ -/* GL_NOTEQUAL */ -/* GL_GEQUAL */ -/* GL_ALWAYS */ - -/* EnableCap */ -#define GL_TEXTURE_2D 0x0DE1 -#define GL_CULL_FACE 0x0B44 -#define GL_BLEND 0x0BE2 -#define GL_DITHER 0x0BD0 -#define GL_STENCIL_TEST 0x0B90 -#define GL_DEPTH_TEST 0x0B71 -#define GL_SCISSOR_TEST 0x0C11 -#define GL_POLYGON_OFFSET_FILL 0x8037 -#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E -#define GL_SAMPLE_COVERAGE 0x80A0 - -/* ErrorCode */ -#define GL_NO_ERROR 0 -#define GL_INVALID_ENUM 0x0500 -#define GL_INVALID_VALUE 0x0501 -#define GL_INVALID_OPERATION 0x0502 -#define GL_OUT_OF_MEMORY 0x0505 - -/* FrontFaceDirection */ -#define GL_CW 0x0900 -#define GL_CCW 0x0901 - -/* GetPName */ -#define GL_LINE_WIDTH 0x0B21 -#define GL_ALIASED_POINT_SIZE_RANGE 0x846D -#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E -#define GL_CULL_FACE_MODE 0x0B45 -#define GL_FRONT_FACE 0x0B46 -#define GL_DEPTH_RANGE 0x0B70 -#define GL_DEPTH_WRITEMASK 0x0B72 -#define GL_DEPTH_CLEAR_VALUE 0x0B73 -#define GL_DEPTH_FUNC 0x0B74 -#define GL_STENCIL_CLEAR_VALUE 0x0B91 -#define GL_STENCIL_FUNC 0x0B92 -#define GL_STENCIL_FAIL 0x0B94 -#define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 -#define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 -#define GL_STENCIL_REF 0x0B97 -#define GL_STENCIL_VALUE_MASK 0x0B93 -#define GL_STENCIL_WRITEMASK 0x0B98 -#define GL_STENCIL_BACK_FUNC 0x8800 -#define GL_STENCIL_BACK_FAIL 0x8801 -#define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 -#define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 -#define GL_STENCIL_BACK_REF 0x8CA3 -#define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 -#define GL_STENCIL_BACK_WRITEMASK 0x8CA5 -#define GL_VIEWPORT 0x0BA2 -#define GL_SCISSOR_BOX 0x0C10 -/* GL_SCISSOR_TEST */ -#define GL_COLOR_CLEAR_VALUE 0x0C22 -#define GL_COLOR_WRITEMASK 0x0C23 -#define GL_UNPACK_ALIGNMENT 0x0CF5 -#define GL_PACK_ALIGNMENT 0x0D05 -#define GL_MAX_TEXTURE_SIZE 0x0D33 -#define GL_MAX_VIEWPORT_DIMS 0x0D3A -#define GL_SUBPIXEL_BITS 0x0D50 -#define GL_RED_BITS 0x0D52 -#define GL_GREEN_BITS 0x0D53 -#define GL_BLUE_BITS 0x0D54 -#define GL_ALPHA_BITS 0x0D55 -#define GL_DEPTH_BITS 0x0D56 -#define GL_STENCIL_BITS 0x0D57 -#define GL_POLYGON_OFFSET_UNITS 0x2A00 -/* GL_POLYGON_OFFSET_FILL */ -#define GL_POLYGON_OFFSET_FACTOR 0x8038 -#define GL_TEXTURE_BINDING_2D 0x8069 -#define GL_SAMPLE_BUFFERS 0x80A8 -#define GL_SAMPLES 0x80A9 -#define GL_SAMPLE_COVERAGE_VALUE 0x80AA -#define GL_SAMPLE_COVERAGE_INVERT 0x80AB - -/* GetTextureParameter */ -/* GL_TEXTURE_MAG_FILTER */ -/* GL_TEXTURE_MIN_FILTER */ -/* GL_TEXTURE_WRAP_S */ -/* GL_TEXTURE_WRAP_T */ - -#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 -#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 - -/* HintMode */ -#define GL_DONT_CARE 0x1100 -#define GL_FASTEST 0x1101 -#define GL_NICEST 0x1102 - -/* HintTarget */ -#define GL_GENERATE_MIPMAP_HINT 0x8192 - -/* DataType */ -#define GL_BYTE 0x1400 -#define GL_UNSIGNED_BYTE 0x1401 -#define GL_SHORT 0x1402 -#define GL_UNSIGNED_SHORT 0x1403 -#define GL_INT 0x1404 -#define GL_UNSIGNED_INT 0x1405 -#define GL_FLOAT 0x1406 -#define GL_FIXED 0x140C - -/* PixelFormat */ -#define GL_DEPTH_COMPONENT 0x1902 -#define GL_ALPHA 0x1906 -#define GL_RGB 0x1907 -#define GL_RGBA 0x1908 -#define GL_LUMINANCE 0x1909 -#define GL_LUMINANCE_ALPHA 0x190A - -/* PixelType */ -/* GL_UNSIGNED_BYTE */ -#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 -#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 -#define GL_UNSIGNED_SHORT_5_6_5 0x8363 - -/* Shaders */ -#define GL_FRAGMENT_SHADER 0x8B30 -#define GL_VERTEX_SHADER 0x8B31 -#define GL_MAX_VERTEX_ATTRIBS 0x8869 -#define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB -#define GL_MAX_VARYING_VECTORS 0x8DFC -#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D -#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C -#define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 -#define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD -#define GL_SHADER_TYPE 0x8B4F -#define GL_DELETE_STATUS 0x8B80 -#define GL_LINK_STATUS 0x8B82 -#define GL_VALIDATE_STATUS 0x8B83 -#define GL_ATTACHED_SHADERS 0x8B85 -#define GL_ACTIVE_UNIFORMS 0x8B86 -#define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 -#define GL_ACTIVE_ATTRIBUTES 0x8B89 -#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A -#define GL_SHADING_LANGUAGE_VERSION 0x8B8C -#define GL_CURRENT_PROGRAM 0x8B8D - -/* StencilFunction */ -#define GL_NEVER 0x0200 -#define GL_LESS 0x0201 -#define GL_EQUAL 0x0202 -#define GL_LEQUAL 0x0203 -#define GL_GREATER 0x0204 -#define GL_NOTEQUAL 0x0205 -#define GL_GEQUAL 0x0206 -#define GL_ALWAYS 0x0207 - -/* StencilOp */ -/* GL_ZERO */ -#define GL_KEEP 0x1E00 -#define GL_REPLACE 0x1E01 -#define GL_INCR 0x1E02 -#define GL_DECR 0x1E03 -#define GL_INVERT 0x150A -#define GL_INCR_WRAP 0x8507 -#define GL_DECR_WRAP 0x8508 - -/* StringName */ -#define GL_VENDOR 0x1F00 -#define GL_RENDERER 0x1F01 -#define GL_VERSION 0x1F02 -#define GL_EXTENSIONS 0x1F03 - -/* TextureMagFilter */ -#define GL_NEAREST 0x2600 -#define GL_LINEAR 0x2601 - -/* TextureMinFilter */ -/* GL_NEAREST */ -/* GL_LINEAR */ -#define GL_NEAREST_MIPMAP_NEAREST 0x2700 -#define GL_LINEAR_MIPMAP_NEAREST 0x2701 -#define GL_NEAREST_MIPMAP_LINEAR 0x2702 -#define GL_LINEAR_MIPMAP_LINEAR 0x2703 - -/* TextureParameterName */ -#define GL_TEXTURE_MAG_FILTER 0x2800 -#define GL_TEXTURE_MIN_FILTER 0x2801 -#define GL_TEXTURE_WRAP_S 0x2802 -#define GL_TEXTURE_WRAP_T 0x2803 - -/* TextureTarget */ -/* GL_TEXTURE_2D */ -#define GL_TEXTURE 0x1702 - -#define GL_TEXTURE_CUBE_MAP 0x8513 -#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A -#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C - -/* TextureUnit */ -#define GL_TEXTURE0 0x84C0 -#define GL_TEXTURE1 0x84C1 -#define GL_TEXTURE2 0x84C2 -#define GL_TEXTURE3 0x84C3 -#define GL_TEXTURE4 0x84C4 -#define GL_TEXTURE5 0x84C5 -#define GL_TEXTURE6 0x84C6 -#define GL_TEXTURE7 0x84C7 -#define GL_TEXTURE8 0x84C8 -#define GL_TEXTURE9 0x84C9 -#define GL_TEXTURE10 0x84CA -#define GL_TEXTURE11 0x84CB -#define GL_TEXTURE12 0x84CC -#define GL_TEXTURE13 0x84CD -#define GL_TEXTURE14 0x84CE -#define GL_TEXTURE15 0x84CF -#define GL_TEXTURE16 0x84D0 -#define GL_TEXTURE17 0x84D1 -#define GL_TEXTURE18 0x84D2 -#define GL_TEXTURE19 0x84D3 -#define GL_TEXTURE20 0x84D4 -#define GL_TEXTURE21 0x84D5 -#define GL_TEXTURE22 0x84D6 -#define GL_TEXTURE23 0x84D7 -#define GL_TEXTURE24 0x84D8 -#define GL_TEXTURE25 0x84D9 -#define GL_TEXTURE26 0x84DA -#define GL_TEXTURE27 0x84DB -#define GL_TEXTURE28 0x84DC -#define GL_TEXTURE29 0x84DD -#define GL_TEXTURE30 0x84DE -#define GL_TEXTURE31 0x84DF -#define GL_ACTIVE_TEXTURE 0x84E0 - -/* TextureWrapMode */ -#define GL_REPEAT 0x2901 -#define GL_CLAMP_TO_EDGE 0x812F -#define GL_MIRRORED_REPEAT 0x8370 - -/* Uniform Types */ -#define GL_FLOAT_VEC2 0x8B50 -#define GL_FLOAT_VEC3 0x8B51 -#define GL_FLOAT_VEC4 0x8B52 -#define GL_INT_VEC2 0x8B53 -#define GL_INT_VEC3 0x8B54 -#define GL_INT_VEC4 0x8B55 -#define GL_BOOL 0x8B56 -#define GL_BOOL_VEC2 0x8B57 -#define GL_BOOL_VEC3 0x8B58 -#define GL_BOOL_VEC4 0x8B59 -#define GL_FLOAT_MAT2 0x8B5A -#define GL_FLOAT_MAT3 0x8B5B -#define GL_FLOAT_MAT4 0x8B5C -#define GL_SAMPLER_2D 0x8B5E -#define GL_SAMPLER_CUBE 0x8B60 - -/* Vertex Arrays */ -#define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 -#define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 -#define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 -#define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 -#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A -#define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 -#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F - -/* Read Format */ -#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A -#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B - -/* Shader Source */ -#define GL_COMPILE_STATUS 0x8B81 -#define GL_INFO_LOG_LENGTH 0x8B84 -#define GL_SHADER_SOURCE_LENGTH 0x8B88 -#define GL_SHADER_COMPILER 0x8DFA - -/* Shader Binary */ -#define GL_SHADER_BINARY_FORMATS 0x8DF8 -#define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9 - -/* Shader Precision-Specified Types */ -#define GL_LOW_FLOAT 0x8DF0 -#define GL_MEDIUM_FLOAT 0x8DF1 -#define GL_HIGH_FLOAT 0x8DF2 -#define GL_LOW_INT 0x8DF3 -#define GL_MEDIUM_INT 0x8DF4 -#define GL_HIGH_INT 0x8DF5 - -/* Framebuffer Object. */ -#define GL_FRAMEBUFFER 0x8D40 -#define GL_RENDERBUFFER 0x8D41 - -#define GL_RGBA4 0x8056 -#define GL_RGB5_A1 0x8057 -#define GL_RGB565 0x8D62 -#define GL_DEPTH_COMPONENT16 0x81A5 -#define GL_STENCIL_INDEX8 0x8D48 - -#define GL_RENDERBUFFER_WIDTH 0x8D42 -#define GL_RENDERBUFFER_HEIGHT 0x8D43 -#define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 -#define GL_RENDERBUFFER_RED_SIZE 0x8D50 -#define GL_RENDERBUFFER_GREEN_SIZE 0x8D51 -#define GL_RENDERBUFFER_BLUE_SIZE 0x8D52 -#define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 -#define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 -#define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 - -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3 - -#define GL_COLOR_ATTACHMENT0 0x8CE0 -#define GL_DEPTH_ATTACHMENT 0x8D00 -#define GL_STENCIL_ATTACHMENT 0x8D20 - -#define GL_NONE 0 - -#define GL_FRAMEBUFFER_COMPLETE 0x8CD5 -#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 -#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 -#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9 -#define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD - -#define GL_FRAMEBUFFER_BINDING 0x8CA6 -#define GL_RENDERBUFFER_BINDING 0x8CA7 -#define GL_MAX_RENDERBUFFER_SIZE 0x84E8 - -#define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 - -/* OpenGL ES 3.0 */ - -#define GL_READ_BUFFER 0x0C02 -#define GL_UNPACK_ROW_LENGTH 0x0CF2 -#define GL_UNPACK_SKIP_ROWS 0x0CF3 -#define GL_UNPACK_SKIP_PIXELS 0x0CF4 -#define GL_PACK_ROW_LENGTH 0x0D02 -#define GL_PACK_SKIP_ROWS 0x0D03 -#define GL_PACK_SKIP_PIXELS 0x0D04 -#define GL_COLOR 0x1800 -#define GL_DEPTH 0x1801 -#define GL_STENCIL 0x1802 -#define GL_RED 0x1903 -#define GL_RGB8 0x8051 -#define GL_RGBA8 0x8058 -#define GL_RGB10_A2 0x8059 -#define GL_TEXTURE_BINDING_3D 0x806A -#define GL_UNPACK_SKIP_IMAGES 0x806D -#define GL_UNPACK_IMAGE_HEIGHT 0x806E -#define GL_TEXTURE_3D 0x806F -#define GL_TEXTURE_WRAP_R 0x8072 -#define GL_MAX_3D_TEXTURE_SIZE 0x8073 -#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 -#define GL_MAX_ELEMENTS_VERTICES 0x80E8 -#define GL_MAX_ELEMENTS_INDICES 0x80E9 -#define GL_TEXTURE_MIN_LOD 0x813A -#define GL_TEXTURE_MAX_LOD 0x813B -#define GL_TEXTURE_BASE_LEVEL 0x813C -#define GL_TEXTURE_MAX_LEVEL 0x813D -#define GL_MIN 0x8007 -#define GL_MAX 0x8008 -#define GL_DEPTH_COMPONENT24 0x81A6 -#define GL_MAX_TEXTURE_LOD_BIAS 0x84FD -#define GL_TEXTURE_COMPARE_MODE 0x884C -#define GL_TEXTURE_COMPARE_FUNC 0x884D -#define GL_CURRENT_QUERY 0x8865 -#define GL_QUERY_RESULT 0x8866 -#define GL_QUERY_RESULT_AVAILABLE 0x8867 -#define GL_BUFFER_MAPPED 0x88BC -#define GL_BUFFER_MAP_POINTER 0x88BD -#define GL_STREAM_READ 0x88E1 -#define GL_STREAM_COPY 0x88E2 -#define GL_STATIC_READ 0x88E5 -#define GL_STATIC_COPY 0x88E6 -#define GL_DYNAMIC_READ 0x88E9 -#define GL_DYNAMIC_COPY 0x88EA -#define GL_MAX_DRAW_BUFFERS 0x8824 -#define GL_DRAW_BUFFER0 0x8825 -#define GL_DRAW_BUFFER1 0x8826 -#define GL_DRAW_BUFFER2 0x8827 -#define GL_DRAW_BUFFER3 0x8828 -#define GL_DRAW_BUFFER4 0x8829 -#define GL_DRAW_BUFFER5 0x882A -#define GL_DRAW_BUFFER6 0x882B -#define GL_DRAW_BUFFER7 0x882C -#define GL_DRAW_BUFFER8 0x882D -#define GL_DRAW_BUFFER9 0x882E -#define GL_DRAW_BUFFER10 0x882F -#define GL_DRAW_BUFFER11 0x8830 -#define GL_DRAW_BUFFER12 0x8831 -#define GL_DRAW_BUFFER13 0x8832 -#define GL_DRAW_BUFFER14 0x8833 -#define GL_DRAW_BUFFER15 0x8834 -#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49 -#define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A -#define GL_SAMPLER_3D 0x8B5F -#define GL_SAMPLER_2D_SHADOW 0x8B62 -#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B -#define GL_PIXEL_PACK_BUFFER 0x88EB -#define GL_PIXEL_UNPACK_BUFFER 0x88EC -#define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED -#define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF -#define GL_FLOAT_MAT2x3 0x8B65 -#define GL_FLOAT_MAT2x4 0x8B66 -#define GL_FLOAT_MAT3x2 0x8B67 -#define GL_FLOAT_MAT3x4 0x8B68 -#define GL_FLOAT_MAT4x2 0x8B69 -#define GL_FLOAT_MAT4x3 0x8B6A -#define GL_SRGB 0x8C40 -#define GL_SRGB8 0x8C41 -#define GL_SRGB8_ALPHA8 0x8C43 -#define GL_COMPARE_REF_TO_TEXTURE 0x884E -#define GL_MAJOR_VERSION 0x821B -#define GL_MINOR_VERSION 0x821C -#define GL_NUM_EXTENSIONS 0x821D -#define GL_RGBA32F 0x8814 -#define GL_RGB32F 0x8815 -#define GL_RGBA16F 0x881A -#define GL_RGB16F 0x881B -#define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD -#define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF -#define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904 -#define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905 -#define GL_MAX_VARYING_COMPONENTS 0x8B4B -#define GL_TEXTURE_2D_ARRAY 0x8C1A -#define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D -#define GL_R11F_G11F_B10F 0x8C3A -#define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B -#define GL_RGB9_E5 0x8C3D -#define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E -#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76 -#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80 -#define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83 -#define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84 -#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85 -#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88 -#define GL_RASTERIZER_DISCARD 0x8C89 +#ifndef GL_ES_VERSION_3_0 +#define GL_ES_VERSION_3_0 1 +typedef unsigned short GLhalf; +#define GL_READ_BUFFER 0x0C02 +#define GL_UNPACK_ROW_LENGTH 0x0CF2 +#define GL_UNPACK_SKIP_ROWS 0x0CF3 +#define GL_UNPACK_SKIP_PIXELS 0x0CF4 +#define GL_PACK_ROW_LENGTH 0x0D02 +#define GL_PACK_SKIP_ROWS 0x0D03 +#define GL_PACK_SKIP_PIXELS 0x0D04 +#define GL_COLOR 0x1800 +#define GL_DEPTH 0x1801 +#define GL_STENCIL 0x1802 +#define GL_RED 0x1903 +#define GL_RGB8 0x8051 +#define GL_RGBA8 0x8058 +#define GL_RGB10_A2 0x8059 +#define GL_TEXTURE_BINDING_3D 0x806A +#define GL_UNPACK_SKIP_IMAGES 0x806D +#define GL_UNPACK_IMAGE_HEIGHT 0x806E +#define GL_TEXTURE_3D 0x806F +#define GL_TEXTURE_WRAP_R 0x8072 +#define GL_MAX_3D_TEXTURE_SIZE 0x8073 +#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 +#define GL_MAX_ELEMENTS_VERTICES 0x80E8 +#define GL_MAX_ELEMENTS_INDICES 0x80E9 +#define GL_TEXTURE_MIN_LOD 0x813A +#define GL_TEXTURE_MAX_LOD 0x813B +#define GL_TEXTURE_BASE_LEVEL 0x813C +#define GL_TEXTURE_MAX_LEVEL 0x813D +#define GL_MIN 0x8007 +#define GL_MAX 0x8008 +#define GL_DEPTH_COMPONENT24 0x81A6 +#define GL_MAX_TEXTURE_LOD_BIAS 0x84FD +#define GL_TEXTURE_COMPARE_MODE 0x884C +#define GL_TEXTURE_COMPARE_FUNC 0x884D +#define GL_CURRENT_QUERY 0x8865 +#define GL_QUERY_RESULT 0x8866 +#define GL_QUERY_RESULT_AVAILABLE 0x8867 +#define GL_BUFFER_MAPPED 0x88BC +#define GL_BUFFER_MAP_POINTER 0x88BD +#define GL_STREAM_READ 0x88E1 +#define GL_STREAM_COPY 0x88E2 +#define GL_STATIC_READ 0x88E5 +#define GL_STATIC_COPY 0x88E6 +#define GL_DYNAMIC_READ 0x88E9 +#define GL_DYNAMIC_COPY 0x88EA +#define GL_MAX_DRAW_BUFFERS 0x8824 +#define GL_DRAW_BUFFER0 0x8825 +#define GL_DRAW_BUFFER1 0x8826 +#define GL_DRAW_BUFFER2 0x8827 +#define GL_DRAW_BUFFER3 0x8828 +#define GL_DRAW_BUFFER4 0x8829 +#define GL_DRAW_BUFFER5 0x882A +#define GL_DRAW_BUFFER6 0x882B +#define GL_DRAW_BUFFER7 0x882C +#define GL_DRAW_BUFFER8 0x882D +#define GL_DRAW_BUFFER9 0x882E +#define GL_DRAW_BUFFER10 0x882F +#define GL_DRAW_BUFFER11 0x8830 +#define GL_DRAW_BUFFER12 0x8831 +#define GL_DRAW_BUFFER13 0x8832 +#define GL_DRAW_BUFFER14 0x8833 +#define GL_DRAW_BUFFER15 0x8834 +#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49 +#define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A +#define GL_SAMPLER_3D 0x8B5F +#define GL_SAMPLER_2D_SHADOW 0x8B62 +#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B +#define GL_PIXEL_PACK_BUFFER 0x88EB +#define GL_PIXEL_UNPACK_BUFFER 0x88EC +#define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED +#define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF +#define GL_FLOAT_MAT2x3 0x8B65 +#define GL_FLOAT_MAT2x4 0x8B66 +#define GL_FLOAT_MAT3x2 0x8B67 +#define GL_FLOAT_MAT3x4 0x8B68 +#define GL_FLOAT_MAT4x2 0x8B69 +#define GL_FLOAT_MAT4x3 0x8B6A +#define GL_SRGB 0x8C40 +#define GL_SRGB8 0x8C41 +#define GL_SRGB8_ALPHA8 0x8C43 +#define GL_COMPARE_REF_TO_TEXTURE 0x884E +#define GL_MAJOR_VERSION 0x821B +#define GL_MINOR_VERSION 0x821C +#define GL_NUM_EXTENSIONS 0x821D +#define GL_RGBA32F 0x8814 +#define GL_RGB32F 0x8815 +#define GL_RGBA16F 0x881A +#define GL_RGB16F 0x881B +#define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD +#define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF +#define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904 +#define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905 +#define GL_MAX_VARYING_COMPONENTS 0x8B4B +#define GL_TEXTURE_2D_ARRAY 0x8C1A +#define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D +#define GL_R11F_G11F_B10F 0x8C3A +#define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B +#define GL_RGB9_E5 0x8C3D +#define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E +#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76 +#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F +#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80 +#define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83 +#define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84 +#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85 +#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88 +#define GL_RASTERIZER_DISCARD 0x8C89 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B -#define GL_INTERLEAVED_ATTRIBS 0x8C8C -#define GL_SEPARATE_ATTRIBS 0x8C8D -#define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E -#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F -#define GL_RGBA32UI 0x8D70 -#define GL_RGB32UI 0x8D71 -#define GL_RGBA16UI 0x8D76 -#define GL_RGB16UI 0x8D77 -#define GL_RGBA8UI 0x8D7C -#define GL_RGB8UI 0x8D7D -#define GL_RGBA32I 0x8D82 -#define GL_RGB32I 0x8D83 -#define GL_RGBA16I 0x8D88 -#define GL_RGB16I 0x8D89 -#define GL_RGBA8I 0x8D8E -#define GL_RGB8I 0x8D8F -#define GL_RED_INTEGER 0x8D94 -#define GL_RGB_INTEGER 0x8D98 -#define GL_RGBA_INTEGER 0x8D99 -#define GL_SAMPLER_2D_ARRAY 0x8DC1 -#define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4 -#define GL_SAMPLER_CUBE_SHADOW 0x8DC5 -#define GL_UNSIGNED_INT_VEC2 0x8DC6 -#define GL_UNSIGNED_INT_VEC3 0x8DC7 -#define GL_UNSIGNED_INT_VEC4 0x8DC8 -#define GL_INT_SAMPLER_2D 0x8DCA -#define GL_INT_SAMPLER_3D 0x8DCB -#define GL_INT_SAMPLER_CUBE 0x8DCC -#define GL_INT_SAMPLER_2D_ARRAY 0x8DCF -#define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2 -#define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3 -#define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4 -#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7 -#define GL_BUFFER_ACCESS_FLAGS 0x911F -#define GL_BUFFER_MAP_LENGTH 0x9120 -#define GL_BUFFER_MAP_OFFSET 0x9121 -#define GL_DEPTH_COMPONENT32F 0x8CAC -#define GL_DEPTH32F_STENCIL8 0x8CAD -#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD -#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210 -#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211 -#define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212 -#define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213 -#define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214 -#define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215 -#define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216 -#define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217 -#define GL_FRAMEBUFFER_DEFAULT 0x8218 -#define GL_FRAMEBUFFER_UNDEFINED 0x8219 -#define GL_DEPTH_STENCIL_ATTACHMENT 0x821A -#define GL_DEPTH_STENCIL 0x84F9 -#define GL_UNSIGNED_INT_24_8 0x84FA -#define GL_DEPTH24_STENCIL8 0x88F0 -#define GL_UNSIGNED_NORMALIZED 0x8C17 -#define GL_DRAW_FRAMEBUFFER_BINDING GL_FRAMEBUFFER_BINDING -#define GL_READ_FRAMEBUFFER 0x8CA8 -#define GL_DRAW_FRAMEBUFFER 0x8CA9 -#define GL_READ_FRAMEBUFFER_BINDING 0x8CAA -#define GL_RENDERBUFFER_SAMPLES 0x8CAB -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4 -#define GL_MAX_COLOR_ATTACHMENTS 0x8CDF -#define GL_COLOR_ATTACHMENT1 0x8CE1 -#define GL_COLOR_ATTACHMENT2 0x8CE2 -#define GL_COLOR_ATTACHMENT3 0x8CE3 -#define GL_COLOR_ATTACHMENT4 0x8CE4 -#define GL_COLOR_ATTACHMENT5 0x8CE5 -#define GL_COLOR_ATTACHMENT6 0x8CE6 -#define GL_COLOR_ATTACHMENT7 0x8CE7 -#define GL_COLOR_ATTACHMENT8 0x8CE8 -#define GL_COLOR_ATTACHMENT9 0x8CE9 -#define GL_COLOR_ATTACHMENT10 0x8CEA -#define GL_COLOR_ATTACHMENT11 0x8CEB -#define GL_COLOR_ATTACHMENT12 0x8CEC -#define GL_COLOR_ATTACHMENT13 0x8CED -#define GL_COLOR_ATTACHMENT14 0x8CEE -#define GL_COLOR_ATTACHMENT15 0x8CEF -#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 -#define GL_MAX_SAMPLES 0x8D57 -#define GL_HALF_FLOAT 0x140B -#define GL_MAP_READ_BIT 0x0001 -#define GL_MAP_WRITE_BIT 0x0002 -#define GL_MAP_INVALIDATE_RANGE_BIT 0x0004 -#define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008 -#define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010 -#define GL_MAP_UNSYNCHRONIZED_BIT 0x0020 -#define GL_RG 0x8227 -#define GL_RG_INTEGER 0x8228 -#define GL_R8 0x8229 -#define GL_RG8 0x822B -#define GL_R16F 0x822D -#define GL_R32F 0x822E -#define GL_RG16F 0x822F -#define GL_RG32F 0x8230 -#define GL_R8I 0x8231 -#define GL_R8UI 0x8232 -#define GL_R16I 0x8233 -#define GL_R16UI 0x8234 -#define GL_R32I 0x8235 -#define GL_R32UI 0x8236 -#define GL_RG8I 0x8237 -#define GL_RG8UI 0x8238 -#define GL_RG16I 0x8239 -#define GL_RG16UI 0x823A -#define GL_RG32I 0x823B -#define GL_RG32UI 0x823C -#define GL_VERTEX_ARRAY_BINDING 0x85B5 -#define GL_R8_SNORM 0x8F94 -#define GL_RG8_SNORM 0x8F95 -#define GL_RGB8_SNORM 0x8F96 -#define GL_RGBA8_SNORM 0x8F97 -#define GL_SIGNED_NORMALIZED 0x8F9C -#define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69 -#define GL_COPY_READ_BUFFER 0x8F36 -#define GL_COPY_WRITE_BUFFER 0x8F37 -#define GL_COPY_READ_BUFFER_BINDING GL_COPY_READ_BUFFER -#define GL_COPY_WRITE_BUFFER_BINDING GL_COPY_WRITE_BUFFER -#define GL_UNIFORM_BUFFER 0x8A11 -#define GL_UNIFORM_BUFFER_BINDING 0x8A28 -#define GL_UNIFORM_BUFFER_START 0x8A29 -#define GL_UNIFORM_BUFFER_SIZE 0x8A2A -#define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B -#define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D -#define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E -#define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F -#define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30 -#define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31 -#define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33 -#define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34 -#define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35 -#define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36 -#define GL_UNIFORM_TYPE 0x8A37 -#define GL_UNIFORM_SIZE 0x8A38 -#define GL_UNIFORM_NAME_LENGTH 0x8A39 -#define GL_UNIFORM_BLOCK_INDEX 0x8A3A -#define GL_UNIFORM_OFFSET 0x8A3B -#define GL_UNIFORM_ARRAY_STRIDE 0x8A3C -#define GL_UNIFORM_MATRIX_STRIDE 0x8A3D -#define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E -#define GL_UNIFORM_BLOCK_BINDING 0x8A3F -#define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40 -#define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41 -#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42 -#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43 -#define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44 -#define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46 -#define GL_INVALID_INDEX 0xFFFFFFFFu -#define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122 -#define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125 -#define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111 -#define GL_OBJECT_TYPE 0x9112 -#define GL_SYNC_CONDITION 0x9113 -#define GL_SYNC_STATUS 0x9114 -#define GL_SYNC_FLAGS 0x9115 -#define GL_SYNC_FENCE 0x9116 -#define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117 -#define GL_UNSIGNALED 0x9118 -#define GL_SIGNALED 0x9119 -#define GL_ALREADY_SIGNALED 0x911A -#define GL_TIMEOUT_EXPIRED 0x911B -#define GL_CONDITION_SATISFIED 0x911C -#define GL_WAIT_FAILED 0x911D -#define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001 -#define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull -#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE -#define GL_ANY_SAMPLES_PASSED 0x8C2F -#define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A -#define GL_SAMPLER_BINDING 0x8919 -#define GL_RGB10_A2UI 0x906F -#define GL_TEXTURE_SWIZZLE_R 0x8E42 -#define GL_TEXTURE_SWIZZLE_G 0x8E43 -#define GL_TEXTURE_SWIZZLE_B 0x8E44 -#define GL_TEXTURE_SWIZZLE_A 0x8E45 -#define GL_GREEN 0x1904 -#define GL_BLUE 0x1905 -#define GL_INT_2_10_10_10_REV 0x8D9F -#define GL_TRANSFORM_FEEDBACK 0x8E22 -#define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23 -#define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24 -#define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25 -#define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257 -#define GL_PROGRAM_BINARY_LENGTH 0x8741 -#define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE -#define GL_PROGRAM_BINARY_FORMATS 0x87FF -#define GL_COMPRESSED_R11_EAC 0x9270 -#define GL_COMPRESSED_SIGNED_R11_EAC 0x9271 -#define GL_COMPRESSED_RG11_EAC 0x9272 -#define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273 -#define GL_COMPRESSED_RGB8_ETC2 0x9274 -#define GL_COMPRESSED_SRGB8_ETC2 0x9275 -#define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276 -#define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277 -#define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278 -#define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279 -#define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F -#define GL_MAX_ELEMENT_INDEX 0x8D6B -#define GL_NUM_SAMPLE_COUNTS 0x9380 -#define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF - -/*------------------------------------------------------------------------- - * Entrypoint definitions - *-----------------------------------------------------------------------*/ - -/* OpenGL ES 2.0 */ - -GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture); -GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); -GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar* name); -GL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); -GL_APICALL void GL_APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer); -GL_APICALL void GL_APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer); -GL_APICALL void GL_APIENTRY glBindTexture (GLenum target, GLuint texture); -GL_APICALL void GL_APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -GL_APICALL void GL_APIENTRY glBlendEquation (GLenum mode); -GL_APICALL void GL_APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha); -GL_APICALL void GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); -GL_APICALL void GL_APIENTRY glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -GL_APICALL void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage); -GL_APICALL void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data); -GL_APICALL GLenum GL_APIENTRY glCheckFramebufferStatus (GLenum target); -GL_APICALL void GL_APIENTRY glClear (GLbitfield mask); -GL_APICALL void GL_APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -GL_APICALL void GL_APIENTRY glClearDepthf (GLfloat depth); -GL_APICALL void GL_APIENTRY glClearStencil (GLint s); -GL_APICALL void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); -GL_APICALL void GL_APIENTRY glCompileShader (GLuint shader); -GL_APICALL void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data); -GL_APICALL void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data); -GL_APICALL void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -GL_APICALL void GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -GL_APICALL GLuint GL_APIENTRY glCreateProgram (void); -GL_APICALL GLuint GL_APIENTRY glCreateShader (GLenum type); -GL_APICALL void GL_APIENTRY glCullFace (GLenum mode); -GL_APICALL void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint* buffers); -GL_APICALL void GL_APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint* framebuffers); -GL_APICALL void GL_APIENTRY glDeleteProgram (GLuint program); -GL_APICALL void GL_APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint* renderbuffers); -GL_APICALL void GL_APIENTRY glDeleteShader (GLuint shader); -GL_APICALL void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint* textures); -GL_APICALL void GL_APIENTRY glDepthFunc (GLenum func); -GL_APICALL void GL_APIENTRY glDepthMask (GLboolean flag); -GL_APICALL void GL_APIENTRY glDepthRangef (GLfloat n, GLfloat f); -GL_APICALL void GL_APIENTRY glDetachShader (GLuint program, GLuint shader); -GL_APICALL void GL_APIENTRY glDisable (GLenum cap); -GL_APICALL void GL_APIENTRY glDisableVertexAttribArray (GLuint index); -GL_APICALL void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); -GL_APICALL void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid* indices); -GL_APICALL void GL_APIENTRY glEnable (GLenum cap); -GL_APICALL void GL_APIENTRY glEnableVertexAttribArray (GLuint index); -GL_APICALL void GL_APIENTRY glFinish (void); -GL_APICALL void GL_APIENTRY glFlush (void); -GL_APICALL void GL_APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -GL_APICALL void GL_APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -GL_APICALL void GL_APIENTRY glFrontFace (GLenum mode); -GL_APICALL void GL_APIENTRY glGenBuffers (GLsizei n, GLuint* buffers); -GL_APICALL void GL_APIENTRY glGenerateMipmap (GLenum target); -GL_APICALL void GL_APIENTRY glGenFramebuffers (GLsizei n, GLuint* framebuffers); -GL_APICALL void GL_APIENTRY glGenRenderbuffers (GLsizei n, GLuint* renderbuffers); -GL_APICALL void GL_APIENTRY glGenTextures (GLsizei n, GLuint* textures); -GL_APICALL void GL_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name); -GL_APICALL void GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name); -GL_APICALL void GL_APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders); -GL_APICALL GLint GL_APIENTRY glGetAttribLocation (GLuint program, const GLchar* name); -GL_APICALL void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean* params); -GL_APICALL void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint* params); -GL_APICALL GLenum GL_APIENTRY glGetError (void); -GL_APICALL void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat* params); -GL_APICALL void GL_APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint* params); -GL_APICALL void GL_APIENTRY glGetIntegerv (GLenum pname, GLint* params); -GL_APICALL void GL_APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint* params); -GL_APICALL void GL_APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog); -GL_APICALL void GL_APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint* params); -GL_APICALL void GL_APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint* params); -GL_APICALL void GL_APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog); -GL_APICALL void GL_APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision); -GL_APICALL void GL_APIENTRY glGetShaderSource (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source); -GL_APICALL const GLubyte* GL_APIENTRY glGetString (GLenum name); -GL_APICALL void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat* params); -GL_APICALL void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint* params); -GL_APICALL void GL_APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat* params); -GL_APICALL void GL_APIENTRY glGetUniformiv (GLuint program, GLint location, GLint* params); -GL_APICALL GLint GL_APIENTRY glGetUniformLocation (GLuint program, const GLchar* name); -GL_APICALL void GL_APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat* params); -GL_APICALL void GL_APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint* params); -GL_APICALL void GL_APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, GLvoid** pointer); -GL_APICALL void GL_APIENTRY glHint (GLenum target, GLenum mode); -GL_APICALL GLboolean GL_APIENTRY glIsBuffer (GLuint buffer); -GL_APICALL GLboolean GL_APIENTRY glIsEnabled (GLenum cap); -GL_APICALL GLboolean GL_APIENTRY glIsFramebuffer (GLuint framebuffer); -GL_APICALL GLboolean GL_APIENTRY glIsProgram (GLuint program); -GL_APICALL GLboolean GL_APIENTRY glIsRenderbuffer (GLuint renderbuffer); -GL_APICALL GLboolean GL_APIENTRY glIsShader (GLuint shader); -GL_APICALL GLboolean GL_APIENTRY glIsTexture (GLuint texture); -GL_APICALL void GL_APIENTRY glLineWidth (GLfloat width); -GL_APICALL void GL_APIENTRY glLinkProgram (GLuint program); -GL_APICALL void GL_APIENTRY glPixelStorei (GLenum pname, GLint param); -GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units); -GL_APICALL void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels); -GL_APICALL void GL_APIENTRY glReleaseShaderCompiler (void); -GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glSampleCoverage (GLfloat value, GLboolean invert); -GL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length); -GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar* const* string, const GLint* length); -GL_APICALL void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); -GL_APICALL void GL_APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); -GL_APICALL void GL_APIENTRY glStencilMask (GLuint mask); -GL_APICALL void GL_APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask); -GL_APICALL void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); -GL_APICALL void GL_APIENTRY glStencilOpSeparate (GLenum face, GLenum fail, GLenum zfail, GLenum zpass); -GL_APICALL void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels); -GL_APICALL void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); -GL_APICALL void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat* params); -GL_APICALL void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param); -GL_APICALL void GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint* params); -GL_APICALL void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels); -GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat x); -GL_APICALL void GL_APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat* v); -GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint x); -GL_APICALL void GL_APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint* v); -GL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat x, GLfloat y); -GL_APICALL void GL_APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat* v); -GL_APICALL void GL_APIENTRY glUniform2i (GLint location, GLint x, GLint y); -GL_APICALL void GL_APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint* v); -GL_APICALL void GL_APIENTRY glUniform3f (GLint location, GLfloat x, GLfloat y, GLfloat z); -GL_APICALL void GL_APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat* v); -GL_APICALL void GL_APIENTRY glUniform3i (GLint location, GLint x, GLint y, GLint z); -GL_APICALL void GL_APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint* v); -GL_APICALL void GL_APIENTRY glUniform4f (GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -GL_APICALL void GL_APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat* v); -GL_APICALL void GL_APIENTRY glUniform4i (GLint location, GLint x, GLint y, GLint z, GLint w); -GL_APICALL void GL_APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint* v); -GL_APICALL void GL_APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -GL_APICALL void GL_APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -GL_APICALL void GL_APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -GL_APICALL void GL_APIENTRY glUseProgram (GLuint program); -GL_APICALL void GL_APIENTRY glValidateProgram (GLuint program); -GL_APICALL void GL_APIENTRY glVertexAttrib1f (GLuint indx, GLfloat x); -GL_APICALL void GL_APIENTRY glVertexAttrib1fv (GLuint indx, const GLfloat* values); -GL_APICALL void GL_APIENTRY glVertexAttrib2f (GLuint indx, GLfloat x, GLfloat y); -GL_APICALL void GL_APIENTRY glVertexAttrib2fv (GLuint indx, const GLfloat* values); -GL_APICALL void GL_APIENTRY glVertexAttrib3f (GLuint indx, GLfloat x, GLfloat y, GLfloat z); -GL_APICALL void GL_APIENTRY glVertexAttrib3fv (GLuint indx, const GLfloat* values); -GL_APICALL void GL_APIENTRY glVertexAttrib4f (GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -GL_APICALL void GL_APIENTRY glVertexAttrib4fv (GLuint indx, const GLfloat* values); -GL_APICALL void GL_APIENTRY glVertexAttribPointer (GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr); -GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); - -/* OpenGL ES 3.0 */ - -GL_APICALL void GL_APIENTRY glReadBuffer (GLenum mode); -GL_APICALL void GL_APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid* indices); -GL_APICALL void GL_APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels); -GL_APICALL void GL_APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels); -GL_APICALL void GL_APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data); -GL_APICALL void GL_APIENTRY glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data); -GL_APICALL void GL_APIENTRY glGenQueries (GLsizei n, GLuint* ids); -GL_APICALL void GL_APIENTRY glDeleteQueries (GLsizei n, const GLuint* ids); -GL_APICALL GLboolean GL_APIENTRY glIsQuery (GLuint id); -GL_APICALL void GL_APIENTRY glBeginQuery (GLenum target, GLuint id); -GL_APICALL void GL_APIENTRY glEndQuery (GLenum target); -GL_APICALL void GL_APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint* params); -GL_APICALL void GL_APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint* params); -GL_APICALL GLboolean GL_APIENTRY glUnmapBuffer (GLenum target); -GL_APICALL void GL_APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, GLvoid** params); -GL_APICALL void GL_APIENTRY glDrawBuffers (GLsizei n, const GLenum* bufs); -GL_APICALL void GL_APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -GL_APICALL void GL_APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -GL_APICALL void GL_APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -GL_APICALL void GL_APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -GL_APICALL void GL_APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -GL_APICALL void GL_APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -GL_APICALL void GL_APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); -GL_APICALL GLvoid* GL_APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); -GL_APICALL void GL_APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length); -GL_APICALL void GL_APIENTRY glBindVertexArray (GLuint array); -GL_APICALL void GL_APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint* arrays); -GL_APICALL void GL_APIENTRY glGenVertexArrays (GLsizei n, GLuint* arrays); -GL_APICALL GLboolean GL_APIENTRY glIsVertexArray (GLuint array); -GL_APICALL void GL_APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint* data); -GL_APICALL void GL_APIENTRY glBeginTransformFeedback (GLenum primitiveMode); -GL_APICALL void GL_APIENTRY glEndTransformFeedback (void); -GL_APICALL void GL_APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -GL_APICALL void GL_APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer); -GL_APICALL void GL_APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar* const* varyings, GLenum bufferMode); -GL_APICALL void GL_APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei* length, GLsizei* size, GLenum* type, GLchar* name); -GL_APICALL void GL_APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid* pointer); -GL_APICALL void GL_APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint* params); -GL_APICALL void GL_APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint* params); -GL_APICALL void GL_APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w); -GL_APICALL void GL_APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -GL_APICALL void GL_APIENTRY glVertexAttribI4iv (GLuint index, const GLint* v); -GL_APICALL void GL_APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint* v); -GL_APICALL void GL_APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint* params); -GL_APICALL GLint GL_APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name); -GL_APICALL void GL_APIENTRY glUniform1ui (GLint location, GLuint v0); -GL_APICALL void GL_APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1); -GL_APICALL void GL_APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2); -GL_APICALL void GL_APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -GL_APICALL void GL_APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint* value); -GL_APICALL void GL_APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint* value); -GL_APICALL void GL_APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint* value); -GL_APICALL void GL_APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint* value); -GL_APICALL void GL_APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint* value); -GL_APICALL void GL_APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint* value); -GL_APICALL void GL_APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat* value); -GL_APICALL void GL_APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); -GL_APICALL const GLubyte* GL_APIENTRY glGetStringi (GLenum name, GLuint index); -GL_APICALL void GL_APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); -GL_APICALL void GL_APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar* const* uniformNames, GLuint* uniformIndices); -GL_APICALL void GL_APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint* uniformIndices, GLenum pname, GLint* params); -GL_APICALL GLuint GL_APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar* uniformBlockName); -GL_APICALL void GL_APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint* params); -GL_APICALL void GL_APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformBlockName); -GL_APICALL void GL_APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); -GL_APICALL void GL_APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instanceCount); -GL_APICALL void GL_APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const GLvoid* indices, GLsizei instanceCount); -GL_APICALL GLsync GL_APIENTRY glFenceSync (GLenum condition, GLbitfield flags); -GL_APICALL GLboolean GL_APIENTRY glIsSync (GLsync sync); -GL_APICALL void GL_APIENTRY glDeleteSync (GLsync sync); -GL_APICALL GLenum GL_APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); -GL_APICALL void GL_APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); -GL_APICALL void GL_APIENTRY glGetInteger64v (GLenum pname, GLint64* params); -GL_APICALL void GL_APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei* length, GLint* values); -GL_APICALL void GL_APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64* data); -GL_APICALL void GL_APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64* params); -GL_APICALL void GL_APIENTRY glGenSamplers (GLsizei count, GLuint* samplers); -GL_APICALL void GL_APIENTRY glDeleteSamplers (GLsizei count, const GLuint* samplers); -GL_APICALL GLboolean GL_APIENTRY glIsSampler (GLuint sampler); -GL_APICALL void GL_APIENTRY glBindSampler (GLuint unit, GLuint sampler); -GL_APICALL void GL_APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param); -GL_APICALL void GL_APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint* param); -GL_APICALL void GL_APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param); -GL_APICALL void GL_APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat* param); -GL_APICALL void GL_APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint* params); -GL_APICALL void GL_APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat* params); -GL_APICALL void GL_APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor); -GL_APICALL void GL_APIENTRY glBindTransformFeedback (GLenum target, GLuint id); -GL_APICALL void GL_APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint* ids); -GL_APICALL void GL_APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint* ids); -GL_APICALL GLboolean GL_APIENTRY glIsTransformFeedback (GLuint id); -GL_APICALL void GL_APIENTRY glPauseTransformFeedback (void); -GL_APICALL void GL_APIENTRY glResumeTransformFeedback (void); -GL_APICALL void GL_APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei* length, GLenum* binaryFormat, GLvoid* binary); -GL_APICALL void GL_APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const GLvoid* binary, GLsizei length); -GL_APICALL void GL_APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value); -GL_APICALL void GL_APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum* attachments); -GL_APICALL void GL_APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum* attachments, GLint x, GLint y, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -GL_APICALL void GL_APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint* params); +#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B +#define GL_INTERLEAVED_ATTRIBS 0x8C8C +#define GL_SEPARATE_ATTRIBS 0x8C8D +#define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E +#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F +#define GL_RGBA32UI 0x8D70 +#define GL_RGB32UI 0x8D71 +#define GL_RGBA16UI 0x8D76 +#define GL_RGB16UI 0x8D77 +#define GL_RGBA8UI 0x8D7C +#define GL_RGB8UI 0x8D7D +#define GL_RGBA32I 0x8D82 +#define GL_RGB32I 0x8D83 +#define GL_RGBA16I 0x8D88 +#define GL_RGB16I 0x8D89 +#define GL_RGBA8I 0x8D8E +#define GL_RGB8I 0x8D8F +#define GL_RED_INTEGER 0x8D94 +#define GL_RGB_INTEGER 0x8D98 +#define GL_RGBA_INTEGER 0x8D99 +#define GL_SAMPLER_2D_ARRAY 0x8DC1 +#define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4 +#define GL_SAMPLER_CUBE_SHADOW 0x8DC5 +#define GL_UNSIGNED_INT_VEC2 0x8DC6 +#define GL_UNSIGNED_INT_VEC3 0x8DC7 +#define GL_UNSIGNED_INT_VEC4 0x8DC8 +#define GL_INT_SAMPLER_2D 0x8DCA +#define GL_INT_SAMPLER_3D 0x8DCB +#define GL_INT_SAMPLER_CUBE 0x8DCC +#define GL_INT_SAMPLER_2D_ARRAY 0x8DCF +#define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2 +#define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3 +#define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4 +#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7 +#define GL_BUFFER_ACCESS_FLAGS 0x911F +#define GL_BUFFER_MAP_LENGTH 0x9120 +#define GL_BUFFER_MAP_OFFSET 0x9121 +#define GL_DEPTH_COMPONENT32F 0x8CAC +#define GL_DEPTH32F_STENCIL8 0x8CAD +#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD +#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210 +#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211 +#define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212 +#define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213 +#define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214 +#define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215 +#define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216 +#define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217 +#define GL_FRAMEBUFFER_DEFAULT 0x8218 +#define GL_FRAMEBUFFER_UNDEFINED 0x8219 +#define GL_DEPTH_STENCIL_ATTACHMENT 0x821A +#define GL_DEPTH_STENCIL 0x84F9 +#define GL_UNSIGNED_INT_24_8 0x84FA +#define GL_DEPTH24_STENCIL8 0x88F0 +#define GL_UNSIGNED_NORMALIZED 0x8C17 +#define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6 +#define GL_READ_FRAMEBUFFER 0x8CA8 +#define GL_DRAW_FRAMEBUFFER 0x8CA9 +#define GL_READ_FRAMEBUFFER_BINDING 0x8CAA +#define GL_RENDERBUFFER_SAMPLES 0x8CAB +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4 +#define GL_MAX_COLOR_ATTACHMENTS 0x8CDF +#define GL_COLOR_ATTACHMENT1 0x8CE1 +#define GL_COLOR_ATTACHMENT2 0x8CE2 +#define GL_COLOR_ATTACHMENT3 0x8CE3 +#define GL_COLOR_ATTACHMENT4 0x8CE4 +#define GL_COLOR_ATTACHMENT5 0x8CE5 +#define GL_COLOR_ATTACHMENT6 0x8CE6 +#define GL_COLOR_ATTACHMENT7 0x8CE7 +#define GL_COLOR_ATTACHMENT8 0x8CE8 +#define GL_COLOR_ATTACHMENT9 0x8CE9 +#define GL_COLOR_ATTACHMENT10 0x8CEA +#define GL_COLOR_ATTACHMENT11 0x8CEB +#define GL_COLOR_ATTACHMENT12 0x8CEC +#define GL_COLOR_ATTACHMENT13 0x8CED +#define GL_COLOR_ATTACHMENT14 0x8CEE +#define GL_COLOR_ATTACHMENT15 0x8CEF +#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 +#define GL_MAX_SAMPLES 0x8D57 +#define GL_HALF_FLOAT 0x140B +#define GL_MAP_READ_BIT 0x0001 +#define GL_MAP_WRITE_BIT 0x0002 +#define GL_MAP_INVALIDATE_RANGE_BIT 0x0004 +#define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008 +#define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010 +#define GL_MAP_UNSYNCHRONIZED_BIT 0x0020 +#define GL_RG 0x8227 +#define GL_RG_INTEGER 0x8228 +#define GL_R8 0x8229 +#define GL_RG8 0x822B +#define GL_R16F 0x822D +#define GL_R32F 0x822E +#define GL_RG16F 0x822F +#define GL_RG32F 0x8230 +#define GL_R8I 0x8231 +#define GL_R8UI 0x8232 +#define GL_R16I 0x8233 +#define GL_R16UI 0x8234 +#define GL_R32I 0x8235 +#define GL_R32UI 0x8236 +#define GL_RG8I 0x8237 +#define GL_RG8UI 0x8238 +#define GL_RG16I 0x8239 +#define GL_RG16UI 0x823A +#define GL_RG32I 0x823B +#define GL_RG32UI 0x823C +#define GL_VERTEX_ARRAY_BINDING 0x85B5 +#define GL_R8_SNORM 0x8F94 +#define GL_RG8_SNORM 0x8F95 +#define GL_RGB8_SNORM 0x8F96 +#define GL_RGBA8_SNORM 0x8F97 +#define GL_SIGNED_NORMALIZED 0x8F9C +#define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69 +#define GL_COPY_READ_BUFFER 0x8F36 +#define GL_COPY_WRITE_BUFFER 0x8F37 +#define GL_COPY_READ_BUFFER_BINDING 0x8F36 +#define GL_COPY_WRITE_BUFFER_BINDING 0x8F37 +#define GL_UNIFORM_BUFFER 0x8A11 +#define GL_UNIFORM_BUFFER_BINDING 0x8A28 +#define GL_UNIFORM_BUFFER_START 0x8A29 +#define GL_UNIFORM_BUFFER_SIZE 0x8A2A +#define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B +#define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D +#define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E +#define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F +#define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30 +#define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31 +#define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33 +#define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34 +#define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35 +#define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36 +#define GL_UNIFORM_TYPE 0x8A37 +#define GL_UNIFORM_SIZE 0x8A38 +#define GL_UNIFORM_NAME_LENGTH 0x8A39 +#define GL_UNIFORM_BLOCK_INDEX 0x8A3A +#define GL_UNIFORM_OFFSET 0x8A3B +#define GL_UNIFORM_ARRAY_STRIDE 0x8A3C +#define GL_UNIFORM_MATRIX_STRIDE 0x8A3D +#define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E +#define GL_UNIFORM_BLOCK_BINDING 0x8A3F +#define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40 +#define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41 +#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42 +#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43 +#define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44 +#define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46 +#define GL_INVALID_INDEX 0xFFFFFFFFu +#define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122 +#define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125 +#define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111 +#define GL_OBJECT_TYPE 0x9112 +#define GL_SYNC_CONDITION 0x9113 +#define GL_SYNC_STATUS 0x9114 +#define GL_SYNC_FLAGS 0x9115 +#define GL_SYNC_FENCE 0x9116 +#define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117 +#define GL_UNSIGNALED 0x9118 +#define GL_SIGNALED 0x9119 +#define GL_ALREADY_SIGNALED 0x911A +#define GL_TIMEOUT_EXPIRED 0x911B +#define GL_CONDITION_SATISFIED 0x911C +#define GL_WAIT_FAILED 0x911D +#define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001 +#define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull +#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE +#define GL_ANY_SAMPLES_PASSED 0x8C2F +#define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A +#define GL_SAMPLER_BINDING 0x8919 +#define GL_RGB10_A2UI 0x906F +#define GL_TEXTURE_SWIZZLE_R 0x8E42 +#define GL_TEXTURE_SWIZZLE_G 0x8E43 +#define GL_TEXTURE_SWIZZLE_B 0x8E44 +#define GL_TEXTURE_SWIZZLE_A 0x8E45 +#define GL_GREEN 0x1904 +#define GL_BLUE 0x1905 +#define GL_INT_2_10_10_10_REV 0x8D9F +#define GL_TRANSFORM_FEEDBACK 0x8E22 +#define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23 +#define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24 +#define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25 +#define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257 +#define GL_PROGRAM_BINARY_LENGTH 0x8741 +#define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE +#define GL_PROGRAM_BINARY_FORMATS 0x87FF +#define GL_COMPRESSED_R11_EAC 0x9270 +#define GL_COMPRESSED_SIGNED_R11_EAC 0x9271 +#define GL_COMPRESSED_RG11_EAC 0x9272 +#define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273 +#define GL_COMPRESSED_RGB8_ETC2 0x9274 +#define GL_COMPRESSED_SRGB8_ETC2 0x9275 +#define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276 +#define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277 +#define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278 +#define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279 +#define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F +#define GL_MAX_ELEMENT_INDEX 0x8D6B +#define GL_NUM_SAMPLE_COUNTS 0x9380 +#define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF +GL_APICALL void GL_APIENTRY glReadBuffer (GLenum mode); +GL_APICALL void GL_APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); +GL_APICALL void GL_APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); +GL_APICALL void GL_APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); +GL_APICALL void GL_APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); +GL_APICALL void GL_APIENTRY glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); +GL_APICALL void GL_APIENTRY glGenQueries (GLsizei n, GLuint *ids); +GL_APICALL void GL_APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids); +GL_APICALL GLboolean GL_APIENTRY glIsQuery (GLuint id); +GL_APICALL void GL_APIENTRY glBeginQuery (GLenum target, GLuint id); +GL_APICALL void GL_APIENTRY glEndQuery (GLenum target); +GL_APICALL void GL_APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params); +GL_APICALL GLboolean GL_APIENTRY glUnmapBuffer (GLenum target); +GL_APICALL void GL_APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **params); +GL_APICALL void GL_APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs); +GL_APICALL void GL_APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); +GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); +GL_APICALL void *GL_APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); +GL_APICALL void GL_APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length); +GL_APICALL void GL_APIENTRY glBindVertexArray (GLuint array); +GL_APICALL void GL_APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays); +GL_APICALL void GL_APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays); +GL_APICALL GLboolean GL_APIENTRY glIsVertexArray (GLuint array); +GL_APICALL void GL_APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data); +GL_APICALL void GL_APIENTRY glBeginTransformFeedback (GLenum primitiveMode); +GL_APICALL void GL_APIENTRY glEndTransformFeedback (void); +GL_APICALL void GL_APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); +GL_APICALL void GL_APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer); +GL_APICALL void GL_APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); +GL_APICALL void GL_APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); +GL_APICALL void GL_APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); +GL_APICALL void GL_APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params); +GL_APICALL void GL_APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w); +GL_APICALL void GL_APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); +GL_APICALL void GL_APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v); +GL_APICALL void GL_APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v); +GL_APICALL void GL_APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params); +GL_APICALL GLint GL_APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name); +GL_APICALL void GL_APIENTRY glUniform1ui (GLint location, GLuint v0); +GL_APICALL void GL_APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1); +GL_APICALL void GL_APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2); +GL_APICALL void GL_APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); +GL_APICALL void GL_APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value); +GL_APICALL void GL_APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value); +GL_APICALL void GL_APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value); +GL_APICALL void GL_APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value); +GL_APICALL void GL_APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value); +GL_APICALL void GL_APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value); +GL_APICALL void GL_APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value); +GL_APICALL void GL_APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); +GL_APICALL const GLubyte *GL_APIENTRY glGetStringi (GLenum name, GLuint index); +GL_APICALL void GL_APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); +GL_APICALL void GL_APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices); +GL_APICALL void GL_APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); +GL_APICALL GLuint GL_APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName); +GL_APICALL void GL_APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); +GL_APICALL void GL_APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); +GL_APICALL void GL_APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount); +GL_APICALL void GL_APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount); +GL_APICALL GLsync GL_APIENTRY glFenceSync (GLenum condition, GLbitfield flags); +GL_APICALL GLboolean GL_APIENTRY glIsSync (GLsync sync); +GL_APICALL void GL_APIENTRY glDeleteSync (GLsync sync); +GL_APICALL GLenum GL_APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); +GL_APICALL void GL_APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); +GL_APICALL void GL_APIENTRY glGetInteger64v (GLenum pname, GLint64 *data); +GL_APICALL void GL_APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); +GL_APICALL void GL_APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data); +GL_APICALL void GL_APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params); +GL_APICALL void GL_APIENTRY glGenSamplers (GLsizei count, GLuint *samplers); +GL_APICALL void GL_APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers); +GL_APICALL GLboolean GL_APIENTRY glIsSampler (GLuint sampler); +GL_APICALL void GL_APIENTRY glBindSampler (GLuint unit, GLuint sampler); +GL_APICALL void GL_APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param); +GL_APICALL void GL_APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param); +GL_APICALL void GL_APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param); +GL_APICALL void GL_APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param); +GL_APICALL void GL_APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params); +GL_APICALL void GL_APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor); +GL_APICALL void GL_APIENTRY glBindTransformFeedback (GLenum target, GLuint id); +GL_APICALL void GL_APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids); +GL_APICALL void GL_APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids); +GL_APICALL GLboolean GL_APIENTRY glIsTransformFeedback (GLuint id); +GL_APICALL void GL_APIENTRY glPauseTransformFeedback (void); +GL_APICALL void GL_APIENTRY glResumeTransformFeedback (void); +GL_APICALL void GL_APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); +GL_APICALL void GL_APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length); +GL_APICALL void GL_APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value); +GL_APICALL void GL_APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments); +GL_APICALL void GL_APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); +GL_APICALL void GL_APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); +#endif /* GL_ES_VERSION_3_0 */ #ifdef __cplusplus } diff --git a/opengl/libs/GLES2/gl2_api.in b/opengl/libs/GLES2/gl2_api.in index 76f4e2367..776d2474a 100644 --- a/opengl/libs/GLES2/gl2_api.in +++ b/opengl/libs/GLES2/gl2_api.in @@ -4,7 +4,7 @@ void API_ENTRY(glActiveTexture)(GLenum texture) { void API_ENTRY(glAttachShader)(GLuint program, GLuint shader) { CALL_GL_API(glAttachShader, program, shader); } -void API_ENTRY(glBindAttribLocation)(GLuint program, GLuint index, const GLchar* name) { +void API_ENTRY(glBindAttribLocation)(GLuint program, GLuint index, const GLchar * name) { CALL_GL_API(glBindAttribLocation, program, index, name); } void API_ENTRY(glBindBuffer)(GLenum target, GLuint buffer) { @@ -31,13 +31,13 @@ void API_ENTRY(glBlendEquationSeparate)(GLenum modeRGB, GLenum modeAlpha) { void API_ENTRY(glBlendFunc)(GLenum sfactor, GLenum dfactor) { CALL_GL_API(glBlendFunc, sfactor, dfactor); } -void API_ENTRY(glBlendFuncSeparate)(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) { - CALL_GL_API(glBlendFuncSeparate, srcRGB, dstRGB, srcAlpha, dstAlpha); +void API_ENTRY(glBlendFuncSeparate)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) { + CALL_GL_API(glBlendFuncSeparate, sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); } -void API_ENTRY(glBufferData)(GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage) { +void API_ENTRY(glBufferData)(GLenum target, GLsizeiptr size, const void * data, GLenum usage) { CALL_GL_API(glBufferData, target, size, data, usage); } -void API_ENTRY(glBufferSubData)(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data) { +void API_ENTRY(glBufferSubData)(GLenum target, GLintptr offset, GLsizeiptr size, const void * data) { CALL_GL_API(glBufferSubData, target, offset, size, data); } GLenum API_ENTRY(glCheckFramebufferStatus)(GLenum target) { @@ -49,8 +49,8 @@ void API_ENTRY(glClear)(GLbitfield mask) { void API_ENTRY(glClearColor)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { CALL_GL_API(glClearColor, red, green, blue, alpha); } -void API_ENTRY(glClearDepthf)(GLfloat depth) { - CALL_GL_API(glClearDepthf, depth); +void API_ENTRY(glClearDepthf)(GLfloat d) { + CALL_GL_API(glClearDepthf, d); } void API_ENTRY(glClearStencil)(GLint s) { CALL_GL_API(glClearStencil, s); @@ -61,10 +61,10 @@ void API_ENTRY(glColorMask)(GLboolean red, GLboolean green, GLboolean blue, GLbo void API_ENTRY(glCompileShader)(GLuint shader) { CALL_GL_API(glCompileShader, shader); } -void API_ENTRY(glCompressedTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data) { +void API_ENTRY(glCompressedTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * data) { CALL_GL_API(glCompressedTexImage2D, target, level, internalformat, width, height, border, imageSize, data); } -void API_ENTRY(glCompressedTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data) { +void API_ENTRY(glCompressedTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * data) { CALL_GL_API(glCompressedTexSubImage2D, target, level, xoffset, yoffset, width, height, format, imageSize, data); } void API_ENTRY(glCopyTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) { @@ -82,22 +82,22 @@ GLuint API_ENTRY(glCreateShader)(GLenum type) { void API_ENTRY(glCullFace)(GLenum mode) { CALL_GL_API(glCullFace, mode); } -void API_ENTRY(glDeleteBuffers)(GLsizei n, const GLuint* buffers) { +void API_ENTRY(glDeleteBuffers)(GLsizei n, const GLuint * buffers) { CALL_GL_API(glDeleteBuffers, n, buffers); } -void API_ENTRY(glDeleteFramebuffers)(GLsizei n, const GLuint* framebuffers) { +void API_ENTRY(glDeleteFramebuffers)(GLsizei n, const GLuint * framebuffers) { CALL_GL_API(glDeleteFramebuffers, n, framebuffers); } void API_ENTRY(glDeleteProgram)(GLuint program) { CALL_GL_API(glDeleteProgram, program); } -void API_ENTRY(glDeleteRenderbuffers)(GLsizei n, const GLuint* renderbuffers) { +void API_ENTRY(glDeleteRenderbuffers)(GLsizei n, const GLuint * renderbuffers) { CALL_GL_API(glDeleteRenderbuffers, n, renderbuffers); } void API_ENTRY(glDeleteShader)(GLuint shader) { CALL_GL_API(glDeleteShader, shader); } -void API_ENTRY(glDeleteTextures)(GLsizei n, const GLuint* textures) { +void API_ENTRY(glDeleteTextures)(GLsizei n, const GLuint * textures) { CALL_GL_API(glDeleteTextures, n, textures); } void API_ENTRY(glDepthFunc)(GLenum func) { @@ -121,7 +121,7 @@ void API_ENTRY(glDisableVertexAttribArray)(GLuint index) { void API_ENTRY(glDrawArrays)(GLenum mode, GLint first, GLsizei count) { CALL_GL_API(glDrawArrays, mode, first, count); } -void API_ENTRY(glDrawElements)(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices) { +void API_ENTRY(glDrawElements)(GLenum mode, GLsizei count, GLenum type, const void * indices) { CALL_GL_API(glDrawElements, mode, count, type, indices); } void API_ENTRY(glEnable)(GLenum cap) { @@ -145,97 +145,97 @@ void API_ENTRY(glFramebufferTexture2D)(GLenum target, GLenum attachment, GLenum void API_ENTRY(glFrontFace)(GLenum mode) { CALL_GL_API(glFrontFace, mode); } -void API_ENTRY(glGenBuffers)(GLsizei n, GLuint* buffers) { +void API_ENTRY(glGenBuffers)(GLsizei n, GLuint * buffers) { CALL_GL_API(glGenBuffers, n, buffers); } void API_ENTRY(glGenerateMipmap)(GLenum target) { CALL_GL_API(glGenerateMipmap, target); } -void API_ENTRY(glGenFramebuffers)(GLsizei n, GLuint* framebuffers) { +void API_ENTRY(glGenFramebuffers)(GLsizei n, GLuint * framebuffers) { CALL_GL_API(glGenFramebuffers, n, framebuffers); } -void API_ENTRY(glGenRenderbuffers)(GLsizei n, GLuint* renderbuffers) { +void API_ENTRY(glGenRenderbuffers)(GLsizei n, GLuint * renderbuffers) { CALL_GL_API(glGenRenderbuffers, n, renderbuffers); } -void API_ENTRY(glGenTextures)(GLsizei n, GLuint* textures) { +void API_ENTRY(glGenTextures)(GLsizei n, GLuint * textures) { CALL_GL_API(glGenTextures, n, textures); } -void API_ENTRY(glGetActiveAttrib)(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name) { - CALL_GL_API(glGetActiveAttrib, program, index, bufsize, length, size, type, name); +void API_ENTRY(glGetActiveAttrib)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) { + CALL_GL_API(glGetActiveAttrib, program, index, bufSize, length, size, type, name); } -void API_ENTRY(glGetActiveUniform)(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name) { - CALL_GL_API(glGetActiveUniform, program, index, bufsize, length, size, type, name); +void API_ENTRY(glGetActiveUniform)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) { + CALL_GL_API(glGetActiveUniform, program, index, bufSize, length, size, type, name); } -void API_ENTRY(glGetAttachedShaders)(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders) { - CALL_GL_API(glGetAttachedShaders, program, maxcount, count, shaders); +void API_ENTRY(glGetAttachedShaders)(GLuint program, GLsizei maxCount, GLsizei * count, GLuint * shaders) { + CALL_GL_API(glGetAttachedShaders, program, maxCount, count, shaders); } -GLint API_ENTRY(glGetAttribLocation)(GLuint program, const GLchar* name) { +GLint API_ENTRY(glGetAttribLocation)(GLuint program, const GLchar * name) { CALL_GL_API_RETURN(glGetAttribLocation, program, name); } -void API_ENTRY(glGetBooleanv)(GLenum pname, GLboolean* params) { - CALL_GL_API(glGetBooleanv, pname, params); +void API_ENTRY(glGetBooleanv)(GLenum pname, GLboolean * data) { + CALL_GL_API(glGetBooleanv, pname, data); } -void API_ENTRY(glGetBufferParameteriv)(GLenum target, GLenum pname, GLint* params) { +void API_ENTRY(glGetBufferParameteriv)(GLenum target, GLenum pname, GLint * params) { CALL_GL_API(glGetBufferParameteriv, target, pname, params); } GLenum API_ENTRY(glGetError)(void) { CALL_GL_API_RETURN(glGetError); } -void API_ENTRY(glGetFloatv)(GLenum pname, GLfloat* params) { - CALL_GL_API(glGetFloatv, pname, params); +void API_ENTRY(glGetFloatv)(GLenum pname, GLfloat * data) { + CALL_GL_API(glGetFloatv, pname, data); } -void API_ENTRY(glGetFramebufferAttachmentParameteriv)(GLenum target, GLenum attachment, GLenum pname, GLint* params) { +void API_ENTRY(glGetFramebufferAttachmentParameteriv)(GLenum target, GLenum attachment, GLenum pname, GLint * params) { CALL_GL_API(glGetFramebufferAttachmentParameteriv, target, attachment, pname, params); } -void API_ENTRY(glGetIntegerv)(GLenum pname, GLint* params) { - CALL_GL_API(glGetIntegerv, pname, params); +void API_ENTRY(glGetIntegerv)(GLenum pname, GLint * data) { + CALL_GL_API(glGetIntegerv, pname, data); } -void API_ENTRY(glGetProgramiv)(GLuint program, GLenum pname, GLint* params) { +void API_ENTRY(glGetProgramiv)(GLuint program, GLenum pname, GLint * params) { CALL_GL_API(glGetProgramiv, program, pname, params); } -void API_ENTRY(glGetProgramInfoLog)(GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog) { - CALL_GL_API(glGetProgramInfoLog, program, bufsize, length, infolog); +void API_ENTRY(glGetProgramInfoLog)(GLuint program, GLsizei bufSize, GLsizei * length, GLchar * infoLog) { + CALL_GL_API(glGetProgramInfoLog, program, bufSize, length, infoLog); } -void API_ENTRY(glGetRenderbufferParameteriv)(GLenum target, GLenum pname, GLint* params) { +void API_ENTRY(glGetRenderbufferParameteriv)(GLenum target, GLenum pname, GLint * params) { CALL_GL_API(glGetRenderbufferParameteriv, target, pname, params); } -void API_ENTRY(glGetShaderiv)(GLuint shader, GLenum pname, GLint* params) { +void API_ENTRY(glGetShaderiv)(GLuint shader, GLenum pname, GLint * params) { CALL_GL_API(glGetShaderiv, shader, pname, params); } -void API_ENTRY(glGetShaderInfoLog)(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog) { - CALL_GL_API(glGetShaderInfoLog, shader, bufsize, length, infolog); +void API_ENTRY(glGetShaderInfoLog)(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * infoLog) { + CALL_GL_API(glGetShaderInfoLog, shader, bufSize, length, infoLog); } -void API_ENTRY(glGetShaderPrecisionFormat)(GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision) { +void API_ENTRY(glGetShaderPrecisionFormat)(GLenum shadertype, GLenum precisiontype, GLint * range, GLint * precision) { CALL_GL_API(glGetShaderPrecisionFormat, shadertype, precisiontype, range, precision); } -void API_ENTRY(glGetShaderSource)(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source) { - CALL_GL_API(glGetShaderSource, shader, bufsize, length, source); +void API_ENTRY(glGetShaderSource)(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * source) { + CALL_GL_API(glGetShaderSource, shader, bufSize, length, source); } -const GLubyte* API_ENTRY(__glGetString)(GLenum name) { +const GLubyte * API_ENTRY(__glGetString)(GLenum name) { CALL_GL_API_RETURN(glGetString, name); } -void API_ENTRY(glGetTexParameterfv)(GLenum target, GLenum pname, GLfloat* params) { +void API_ENTRY(glGetTexParameterfv)(GLenum target, GLenum pname, GLfloat * params) { CALL_GL_API(glGetTexParameterfv, target, pname, params); } -void API_ENTRY(glGetTexParameteriv)(GLenum target, GLenum pname, GLint* params) { +void API_ENTRY(glGetTexParameteriv)(GLenum target, GLenum pname, GLint * params) { CALL_GL_API(glGetTexParameteriv, target, pname, params); } -void API_ENTRY(glGetUniformfv)(GLuint program, GLint location, GLfloat* params) { +void API_ENTRY(glGetUniformfv)(GLuint program, GLint location, GLfloat * params) { CALL_GL_API(glGetUniformfv, program, location, params); } -void API_ENTRY(glGetUniformiv)(GLuint program, GLint location, GLint* params) { +void API_ENTRY(glGetUniformiv)(GLuint program, GLint location, GLint * params) { CALL_GL_API(glGetUniformiv, program, location, params); } -GLint API_ENTRY(glGetUniformLocation)(GLuint program, const GLchar* name) { +GLint API_ENTRY(glGetUniformLocation)(GLuint program, const GLchar * name) { CALL_GL_API_RETURN(glGetUniformLocation, program, name); } -void API_ENTRY(glGetVertexAttribfv)(GLuint index, GLenum pname, GLfloat* params) { +void API_ENTRY(glGetVertexAttribfv)(GLuint index, GLenum pname, GLfloat * params) { CALL_GL_API(glGetVertexAttribfv, index, pname, params); } -void API_ENTRY(glGetVertexAttribiv)(GLuint index, GLenum pname, GLint* params) { +void API_ENTRY(glGetVertexAttribiv)(GLuint index, GLenum pname, GLint * params) { CALL_GL_API(glGetVertexAttribiv, index, pname, params); } -void API_ENTRY(glGetVertexAttribPointerv)(GLuint index, GLenum pname, GLvoid** pointer) { +void API_ENTRY(glGetVertexAttribPointerv)(GLuint index, GLenum pname, void ** pointer) { CALL_GL_API(glGetVertexAttribPointerv, index, pname, pointer); } void API_ENTRY(glHint)(GLenum target, GLenum mode) { @@ -274,7 +274,7 @@ void API_ENTRY(glPixelStorei)(GLenum pname, GLint param) { void API_ENTRY(glPolygonOffset)(GLfloat factor, GLfloat units) { CALL_GL_API(glPolygonOffset, factor, units); } -void API_ENTRY(glReadPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels) { +void API_ENTRY(glReadPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void * pixels) { CALL_GL_API(glReadPixels, x, y, width, height, format, type, pixels); } void API_ENTRY(glReleaseShaderCompiler)(void) { @@ -289,10 +289,10 @@ void API_ENTRY(glSampleCoverage)(GLfloat value, GLboolean invert) { void API_ENTRY(glScissor)(GLint x, GLint y, GLsizei width, GLsizei height) { CALL_GL_API(glScissor, x, y, width, height); } -void API_ENTRY(glShaderBinary)(GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length) { - CALL_GL_API(glShaderBinary, n, shaders, binaryformat, binary, length); +void API_ENTRY(glShaderBinary)(GLsizei count, const GLuint * shaders, GLenum binaryformat, const void * binary, GLsizei length) { + CALL_GL_API(glShaderBinary, count, shaders, binaryformat, binary, length); } -void API_ENTRY(glShaderSource)(GLuint shader, GLsizei count, const GLchar* const* string, const GLint* length) { +void API_ENTRY(glShaderSource)(GLuint shader, GLsizei count, const GLchar *const* string, const GLint * length) { CALL_GL_API(glShaderSource, shader, count, string, length); } void API_ENTRY(glStencilFunc)(GLenum func, GLint ref, GLuint mask) { @@ -310,82 +310,82 @@ void API_ENTRY(glStencilMaskSeparate)(GLenum face, GLuint mask) { void API_ENTRY(glStencilOp)(GLenum fail, GLenum zfail, GLenum zpass) { CALL_GL_API(glStencilOp, fail, zfail, zpass); } -void API_ENTRY(glStencilOpSeparate)(GLenum face, GLenum fail, GLenum zfail, GLenum zpass) { - CALL_GL_API(glStencilOpSeparate, face, fail, zfail, zpass); +void API_ENTRY(glStencilOpSeparate)(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) { + CALL_GL_API(glStencilOpSeparate, face, sfail, dpfail, dppass); } -void API_ENTRY(glTexImage2D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels) { +void API_ENTRY(glTexImage2D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void * pixels) { CALL_GL_API(glTexImage2D, target, level, internalformat, width, height, border, format, type, pixels); } void API_ENTRY(glTexParameterf)(GLenum target, GLenum pname, GLfloat param) { CALL_GL_API(glTexParameterf, target, pname, param); } -void API_ENTRY(glTexParameterfv)(GLenum target, GLenum pname, const GLfloat* params) { +void API_ENTRY(glTexParameterfv)(GLenum target, GLenum pname, const GLfloat * params) { CALL_GL_API(glTexParameterfv, target, pname, params); } void API_ENTRY(glTexParameteri)(GLenum target, GLenum pname, GLint param) { CALL_GL_API(glTexParameteri, target, pname, param); } -void API_ENTRY(glTexParameteriv)(GLenum target, GLenum pname, const GLint* params) { +void API_ENTRY(glTexParameteriv)(GLenum target, GLenum pname, const GLint * params) { CALL_GL_API(glTexParameteriv, target, pname, params); } -void API_ENTRY(glTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels) { +void API_ENTRY(glTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels) { CALL_GL_API(glTexSubImage2D, target, level, xoffset, yoffset, width, height, format, type, pixels); } -void API_ENTRY(glUniform1f)(GLint location, GLfloat x) { - CALL_GL_API(glUniform1f, location, x); +void API_ENTRY(glUniform1f)(GLint location, GLfloat v0) { + CALL_GL_API(glUniform1f, location, v0); } -void API_ENTRY(glUniform1fv)(GLint location, GLsizei count, const GLfloat* v) { - CALL_GL_API(glUniform1fv, location, count, v); +void API_ENTRY(glUniform1fv)(GLint location, GLsizei count, const GLfloat * value) { + CALL_GL_API(glUniform1fv, location, count, value); } -void API_ENTRY(glUniform1i)(GLint location, GLint x) { - CALL_GL_API(glUniform1i, location, x); +void API_ENTRY(glUniform1i)(GLint location, GLint v0) { + CALL_GL_API(glUniform1i, location, v0); } -void API_ENTRY(glUniform1iv)(GLint location, GLsizei count, const GLint* v) { - CALL_GL_API(glUniform1iv, location, count, v); +void API_ENTRY(glUniform1iv)(GLint location, GLsizei count, const GLint * value) { + CALL_GL_API(glUniform1iv, location, count, value); } -void API_ENTRY(glUniform2f)(GLint location, GLfloat x, GLfloat y) { - CALL_GL_API(glUniform2f, location, x, y); +void API_ENTRY(glUniform2f)(GLint location, GLfloat v0, GLfloat v1) { + CALL_GL_API(glUniform2f, location, v0, v1); } -void API_ENTRY(glUniform2fv)(GLint location, GLsizei count, const GLfloat* v) { - CALL_GL_API(glUniform2fv, location, count, v); +void API_ENTRY(glUniform2fv)(GLint location, GLsizei count, const GLfloat * value) { + CALL_GL_API(glUniform2fv, location, count, value); } -void API_ENTRY(glUniform2i)(GLint location, GLint x, GLint y) { - CALL_GL_API(glUniform2i, location, x, y); +void API_ENTRY(glUniform2i)(GLint location, GLint v0, GLint v1) { + CALL_GL_API(glUniform2i, location, v0, v1); } -void API_ENTRY(glUniform2iv)(GLint location, GLsizei count, const GLint* v) { - CALL_GL_API(glUniform2iv, location, count, v); +void API_ENTRY(glUniform2iv)(GLint location, GLsizei count, const GLint * value) { + CALL_GL_API(glUniform2iv, location, count, value); } -void API_ENTRY(glUniform3f)(GLint location, GLfloat x, GLfloat y, GLfloat z) { - CALL_GL_API(glUniform3f, location, x, y, z); +void API_ENTRY(glUniform3f)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) { + CALL_GL_API(glUniform3f, location, v0, v1, v2); } -void API_ENTRY(glUniform3fv)(GLint location, GLsizei count, const GLfloat* v) { - CALL_GL_API(glUniform3fv, location, count, v); +void API_ENTRY(glUniform3fv)(GLint location, GLsizei count, const GLfloat * value) { + CALL_GL_API(glUniform3fv, location, count, value); } -void API_ENTRY(glUniform3i)(GLint location, GLint x, GLint y, GLint z) { - CALL_GL_API(glUniform3i, location, x, y, z); +void API_ENTRY(glUniform3i)(GLint location, GLint v0, GLint v1, GLint v2) { + CALL_GL_API(glUniform3i, location, v0, v1, v2); } -void API_ENTRY(glUniform3iv)(GLint location, GLsizei count, const GLint* v) { - CALL_GL_API(glUniform3iv, location, count, v); +void API_ENTRY(glUniform3iv)(GLint location, GLsizei count, const GLint * value) { + CALL_GL_API(glUniform3iv, location, count, value); } -void API_ENTRY(glUniform4f)(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { - CALL_GL_API(glUniform4f, location, x, y, z, w); +void API_ENTRY(glUniform4f)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) { + CALL_GL_API(glUniform4f, location, v0, v1, v2, v3); } -void API_ENTRY(glUniform4fv)(GLint location, GLsizei count, const GLfloat* v) { - CALL_GL_API(glUniform4fv, location, count, v); +void API_ENTRY(glUniform4fv)(GLint location, GLsizei count, const GLfloat * value) { + CALL_GL_API(glUniform4fv, location, count, value); } -void API_ENTRY(glUniform4i)(GLint location, GLint x, GLint y, GLint z, GLint w) { - CALL_GL_API(glUniform4i, location, x, y, z, w); +void API_ENTRY(glUniform4i)(GLint location, GLint v0, GLint v1, GLint v2, GLint v3) { + CALL_GL_API(glUniform4i, location, v0, v1, v2, v3); } -void API_ENTRY(glUniform4iv)(GLint location, GLsizei count, const GLint* v) { - CALL_GL_API(glUniform4iv, location, count, v); +void API_ENTRY(glUniform4iv)(GLint location, GLsizei count, const GLint * value) { + CALL_GL_API(glUniform4iv, location, count, value); } -void API_ENTRY(glUniformMatrix2fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) { +void API_ENTRY(glUniformMatrix2fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { CALL_GL_API(glUniformMatrix2fv, location, count, transpose, value); } -void API_ENTRY(glUniformMatrix3fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) { +void API_ENTRY(glUniformMatrix3fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { CALL_GL_API(glUniformMatrix3fv, location, count, transpose, value); } -void API_ENTRY(glUniformMatrix4fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) { +void API_ENTRY(glUniformMatrix4fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { CALL_GL_API(glUniformMatrix4fv, location, count, transpose, value); } void API_ENTRY(glUseProgram)(GLuint program) { @@ -394,32 +394,32 @@ void API_ENTRY(glUseProgram)(GLuint program) { void API_ENTRY(glValidateProgram)(GLuint program) { CALL_GL_API(glValidateProgram, program); } -void API_ENTRY(glVertexAttrib1f)(GLuint indx, GLfloat x) { - CALL_GL_API(glVertexAttrib1f, indx, x); +void API_ENTRY(glVertexAttrib1f)(GLuint index, GLfloat x) { + CALL_GL_API(glVertexAttrib1f, index, x); } -void API_ENTRY(glVertexAttrib1fv)(GLuint indx, const GLfloat* values) { - CALL_GL_API(glVertexAttrib1fv, indx, values); +void API_ENTRY(glVertexAttrib1fv)(GLuint index, const GLfloat * v) { + CALL_GL_API(glVertexAttrib1fv, index, v); } -void API_ENTRY(glVertexAttrib2f)(GLuint indx, GLfloat x, GLfloat y) { - CALL_GL_API(glVertexAttrib2f, indx, x, y); +void API_ENTRY(glVertexAttrib2f)(GLuint index, GLfloat x, GLfloat y) { + CALL_GL_API(glVertexAttrib2f, index, x, y); } -void API_ENTRY(glVertexAttrib2fv)(GLuint indx, const GLfloat* values) { - CALL_GL_API(glVertexAttrib2fv, indx, values); +void API_ENTRY(glVertexAttrib2fv)(GLuint index, const GLfloat * v) { + CALL_GL_API(glVertexAttrib2fv, index, v); } -void API_ENTRY(glVertexAttrib3f)(GLuint indx, GLfloat x, GLfloat y, GLfloat z) { - CALL_GL_API(glVertexAttrib3f, indx, x, y, z); +void API_ENTRY(glVertexAttrib3f)(GLuint index, GLfloat x, GLfloat y, GLfloat z) { + CALL_GL_API(glVertexAttrib3f, index, x, y, z); } -void API_ENTRY(glVertexAttrib3fv)(GLuint indx, const GLfloat* values) { - CALL_GL_API(glVertexAttrib3fv, indx, values); +void API_ENTRY(glVertexAttrib3fv)(GLuint index, const GLfloat * v) { + CALL_GL_API(glVertexAttrib3fv, index, v); } -void API_ENTRY(glVertexAttrib4f)(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { - CALL_GL_API(glVertexAttrib4f, indx, x, y, z, w); +void API_ENTRY(glVertexAttrib4f)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { + CALL_GL_API(glVertexAttrib4f, index, x, y, z, w); } -void API_ENTRY(glVertexAttrib4fv)(GLuint indx, const GLfloat* values) { - CALL_GL_API(glVertexAttrib4fv, indx, values); +void API_ENTRY(glVertexAttrib4fv)(GLuint index, const GLfloat * v) { + CALL_GL_API(glVertexAttrib4fv, index, v); } -void API_ENTRY(glVertexAttribPointer)(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr) { - CALL_GL_API(glVertexAttribPointer, indx, size, type, normalized, stride, ptr); +void API_ENTRY(glVertexAttribPointer)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void * pointer) { + CALL_GL_API(glVertexAttribPointer, index, size, type, normalized, stride, pointer); } void API_ENTRY(glViewport)(GLint x, GLint y, GLsizei width, GLsizei height) { CALL_GL_API(glViewport, x, y, width, height); @@ -427,28 +427,28 @@ void API_ENTRY(glViewport)(GLint x, GLint y, GLsizei width, GLsizei height) { void API_ENTRY(glReadBuffer)(GLenum mode) { CALL_GL_API(glReadBuffer, mode); } -void API_ENTRY(glDrawRangeElements)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid* indices) { +void API_ENTRY(glDrawRangeElements)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices) { CALL_GL_API(glDrawRangeElements, mode, start, end, count, type, indices); } -void API_ENTRY(glTexImage3D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels) { +void API_ENTRY(glTexImage3D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels) { CALL_GL_API(glTexImage3D, target, level, internalformat, width, height, depth, border, format, type, pixels); } -void API_ENTRY(glTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels) { +void API_ENTRY(glTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels) { CALL_GL_API(glTexSubImage3D, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); } void API_ENTRY(glCopyTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) { CALL_GL_API(glCopyTexSubImage3D, target, level, xoffset, yoffset, zoffset, x, y, width, height); } -void API_ENTRY(glCompressedTexImage3D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data) { +void API_ENTRY(glCompressedTexImage3D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * data) { CALL_GL_API(glCompressedTexImage3D, target, level, internalformat, width, height, depth, border, imageSize, data); } -void API_ENTRY(glCompressedTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data) { +void API_ENTRY(glCompressedTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * data) { CALL_GL_API(glCompressedTexSubImage3D, target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); } -void API_ENTRY(glGenQueries)(GLsizei n, GLuint* ids) { +void API_ENTRY(glGenQueries)(GLsizei n, GLuint * ids) { CALL_GL_API(glGenQueries, n, ids); } -void API_ENTRY(glDeleteQueries)(GLsizei n, const GLuint* ids) { +void API_ENTRY(glDeleteQueries)(GLsizei n, const GLuint * ids) { CALL_GL_API(glDeleteQueries, n, ids); } GLboolean API_ENTRY(glIsQuery)(GLuint id) { @@ -460,37 +460,37 @@ void API_ENTRY(glBeginQuery)(GLenum target, GLuint id) { void API_ENTRY(glEndQuery)(GLenum target) { CALL_GL_API(glEndQuery, target); } -void API_ENTRY(glGetQueryiv)(GLenum target, GLenum pname, GLint* params) { +void API_ENTRY(glGetQueryiv)(GLenum target, GLenum pname, GLint * params) { CALL_GL_API(glGetQueryiv, target, pname, params); } -void API_ENTRY(glGetQueryObjectuiv)(GLuint id, GLenum pname, GLuint* params) { +void API_ENTRY(glGetQueryObjectuiv)(GLuint id, GLenum pname, GLuint * params) { CALL_GL_API(glGetQueryObjectuiv, id, pname, params); } GLboolean API_ENTRY(glUnmapBuffer)(GLenum target) { CALL_GL_API_RETURN(glUnmapBuffer, target); } -void API_ENTRY(glGetBufferPointerv)(GLenum target, GLenum pname, GLvoid** params) { +void API_ENTRY(glGetBufferPointerv)(GLenum target, GLenum pname, void ** params) { CALL_GL_API(glGetBufferPointerv, target, pname, params); } -void API_ENTRY(glDrawBuffers)(GLsizei n, const GLenum* bufs) { +void API_ENTRY(glDrawBuffers)(GLsizei n, const GLenum * bufs) { CALL_GL_API(glDrawBuffers, n, bufs); } -void API_ENTRY(glUniformMatrix2x3fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) { +void API_ENTRY(glUniformMatrix2x3fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { CALL_GL_API(glUniformMatrix2x3fv, location, count, transpose, value); } -void API_ENTRY(glUniformMatrix3x2fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) { +void API_ENTRY(glUniformMatrix3x2fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { CALL_GL_API(glUniformMatrix3x2fv, location, count, transpose, value); } -void API_ENTRY(glUniformMatrix2x4fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) { +void API_ENTRY(glUniformMatrix2x4fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { CALL_GL_API(glUniformMatrix2x4fv, location, count, transpose, value); } -void API_ENTRY(glUniformMatrix4x2fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) { +void API_ENTRY(glUniformMatrix4x2fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { CALL_GL_API(glUniformMatrix4x2fv, location, count, transpose, value); } -void API_ENTRY(glUniformMatrix3x4fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) { +void API_ENTRY(glUniformMatrix3x4fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { CALL_GL_API(glUniformMatrix3x4fv, location, count, transpose, value); } -void API_ENTRY(glUniformMatrix4x3fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) { +void API_ENTRY(glUniformMatrix4x3fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { CALL_GL_API(glUniformMatrix4x3fv, location, count, transpose, value); } void API_ENTRY(glBlitFramebuffer)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) { @@ -502,7 +502,7 @@ void API_ENTRY(glRenderbufferStorageMultisample)(GLenum target, GLsizei samples, void API_ENTRY(glFramebufferTextureLayer)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) { CALL_GL_API(glFramebufferTextureLayer, target, attachment, texture, level, layer); } -GLvoid* API_ENTRY(glMapBufferRange)(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access) { +void * API_ENTRY(glMapBufferRange)(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access) { CALL_GL_API_RETURN(glMapBufferRange, target, offset, length, access); } void API_ENTRY(glFlushMappedBufferRange)(GLenum target, GLintptr offset, GLsizeiptr length) { @@ -511,16 +511,16 @@ void API_ENTRY(glFlushMappedBufferRange)(GLenum target, GLintptr offset, GLsizei void API_ENTRY(glBindVertexArray)(GLuint array) { CALL_GL_API(glBindVertexArray, array); } -void API_ENTRY(glDeleteVertexArrays)(GLsizei n, const GLuint* arrays) { +void API_ENTRY(glDeleteVertexArrays)(GLsizei n, const GLuint * arrays) { CALL_GL_API(glDeleteVertexArrays, n, arrays); } -void API_ENTRY(glGenVertexArrays)(GLsizei n, GLuint* arrays) { +void API_ENTRY(glGenVertexArrays)(GLsizei n, GLuint * arrays) { CALL_GL_API(glGenVertexArrays, n, arrays); } GLboolean API_ENTRY(glIsVertexArray)(GLuint array) { CALL_GL_API_RETURN(glIsVertexArray, array); } -void API_ENTRY(glGetIntegeri_v)(GLenum target, GLuint index, GLint* data) { +void API_ENTRY(glGetIntegeri_v)(GLenum target, GLuint index, GLint * data) { CALL_GL_API(glGetIntegeri_v, target, index, data); } void API_ENTRY(glBeginTransformFeedback)(GLenum primitiveMode) { @@ -535,19 +535,19 @@ void API_ENTRY(glBindBufferRange)(GLenum target, GLuint index, GLuint buffer, GL void API_ENTRY(glBindBufferBase)(GLenum target, GLuint index, GLuint buffer) { CALL_GL_API(glBindBufferBase, target, index, buffer); } -void API_ENTRY(glTransformFeedbackVaryings)(GLuint program, GLsizei count, const GLchar* const* varyings, GLenum bufferMode) { +void API_ENTRY(glTransformFeedbackVaryings)(GLuint program, GLsizei count, const GLchar *const* varyings, GLenum bufferMode) { CALL_GL_API(glTransformFeedbackVaryings, program, count, varyings, bufferMode); } -void API_ENTRY(glGetTransformFeedbackVarying)(GLuint program, GLuint index, GLsizei bufSize, GLsizei* length, GLsizei* size, GLenum* type, GLchar* name) { +void API_ENTRY(glGetTransformFeedbackVarying)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, GLchar * name) { CALL_GL_API(glGetTransformFeedbackVarying, program, index, bufSize, length, size, type, name); } -void API_ENTRY(glVertexAttribIPointer)(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid* pointer) { +void API_ENTRY(glVertexAttribIPointer)(GLuint index, GLint size, GLenum type, GLsizei stride, const void * pointer) { CALL_GL_API(glVertexAttribIPointer, index, size, type, stride, pointer); } -void API_ENTRY(glGetVertexAttribIiv)(GLuint index, GLenum pname, GLint* params) { +void API_ENTRY(glGetVertexAttribIiv)(GLuint index, GLenum pname, GLint * params) { CALL_GL_API(glGetVertexAttribIiv, index, pname, params); } -void API_ENTRY(glGetVertexAttribIuiv)(GLuint index, GLenum pname, GLuint* params) { +void API_ENTRY(glGetVertexAttribIuiv)(GLuint index, GLenum pname, GLuint * params) { CALL_GL_API(glGetVertexAttribIuiv, index, pname, params); } void API_ENTRY(glVertexAttribI4i)(GLuint index, GLint x, GLint y, GLint z, GLint w) { @@ -556,16 +556,16 @@ void API_ENTRY(glVertexAttribI4i)(GLuint index, GLint x, GLint y, GLint z, GLint void API_ENTRY(glVertexAttribI4ui)(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) { CALL_GL_API(glVertexAttribI4ui, index, x, y, z, w); } -void API_ENTRY(glVertexAttribI4iv)(GLuint index, const GLint* v) { +void API_ENTRY(glVertexAttribI4iv)(GLuint index, const GLint * v) { CALL_GL_API(glVertexAttribI4iv, index, v); } -void API_ENTRY(glVertexAttribI4uiv)(GLuint index, const GLuint* v) { +void API_ENTRY(glVertexAttribI4uiv)(GLuint index, const GLuint * v) { CALL_GL_API(glVertexAttribI4uiv, index, v); } -void API_ENTRY(glGetUniformuiv)(GLuint program, GLint location, GLuint* params) { +void API_ENTRY(glGetUniformuiv)(GLuint program, GLint location, GLuint * params) { CALL_GL_API(glGetUniformuiv, program, location, params); } -GLint API_ENTRY(glGetFragDataLocation)(GLuint program, const GLchar *name) { +GLint API_ENTRY(glGetFragDataLocation)(GLuint program, const GLchar * name) { CALL_GL_API_RETURN(glGetFragDataLocation, program, name); } void API_ENTRY(glUniform1ui)(GLint location, GLuint v0) { @@ -580,59 +580,59 @@ void API_ENTRY(glUniform3ui)(GLint location, GLuint v0, GLuint v1, GLuint v2) { void API_ENTRY(glUniform4ui)(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) { CALL_GL_API(glUniform4ui, location, v0, v1, v2, v3); } -void API_ENTRY(glUniform1uiv)(GLint location, GLsizei count, const GLuint* value) { +void API_ENTRY(glUniform1uiv)(GLint location, GLsizei count, const GLuint * value) { CALL_GL_API(glUniform1uiv, location, count, value); } -void API_ENTRY(glUniform2uiv)(GLint location, GLsizei count, const GLuint* value) { +void API_ENTRY(glUniform2uiv)(GLint location, GLsizei count, const GLuint * value) { CALL_GL_API(glUniform2uiv, location, count, value); } -void API_ENTRY(glUniform3uiv)(GLint location, GLsizei count, const GLuint* value) { +void API_ENTRY(glUniform3uiv)(GLint location, GLsizei count, const GLuint * value) { CALL_GL_API(glUniform3uiv, location, count, value); } -void API_ENTRY(glUniform4uiv)(GLint location, GLsizei count, const GLuint* value) { +void API_ENTRY(glUniform4uiv)(GLint location, GLsizei count, const GLuint * value) { CALL_GL_API(glUniform4uiv, location, count, value); } -void API_ENTRY(glClearBufferiv)(GLenum buffer, GLint drawbuffer, const GLint* value) { +void API_ENTRY(glClearBufferiv)(GLenum buffer, GLint drawbuffer, const GLint * value) { CALL_GL_API(glClearBufferiv, buffer, drawbuffer, value); } -void API_ENTRY(glClearBufferuiv)(GLenum buffer, GLint drawbuffer, const GLuint* value) { +void API_ENTRY(glClearBufferuiv)(GLenum buffer, GLint drawbuffer, const GLuint * value) { CALL_GL_API(glClearBufferuiv, buffer, drawbuffer, value); } -void API_ENTRY(glClearBufferfv)(GLenum buffer, GLint drawbuffer, const GLfloat* value) { +void API_ENTRY(glClearBufferfv)(GLenum buffer, GLint drawbuffer, const GLfloat * value) { CALL_GL_API(glClearBufferfv, buffer, drawbuffer, value); } void API_ENTRY(glClearBufferfi)(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) { CALL_GL_API(glClearBufferfi, buffer, drawbuffer, depth, stencil); } -const GLubyte* API_ENTRY(glGetStringi)(GLenum name, GLuint index) { +const GLubyte * API_ENTRY(glGetStringi)(GLenum name, GLuint index) { CALL_GL_API_RETURN(glGetStringi, name, index); } void API_ENTRY(glCopyBufferSubData)(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) { CALL_GL_API(glCopyBufferSubData, readTarget, writeTarget, readOffset, writeOffset, size); } -void API_ENTRY(glGetUniformIndices)(GLuint program, GLsizei uniformCount, const GLchar* const* uniformNames, GLuint* uniformIndices) { +void API_ENTRY(glGetUniformIndices)(GLuint program, GLsizei uniformCount, const GLchar *const* uniformNames, GLuint * uniformIndices) { CALL_GL_API(glGetUniformIndices, program, uniformCount, uniformNames, uniformIndices); } -void API_ENTRY(glGetActiveUniformsiv)(GLuint program, GLsizei uniformCount, const GLuint* uniformIndices, GLenum pname, GLint* params) { +void API_ENTRY(glGetActiveUniformsiv)(GLuint program, GLsizei uniformCount, const GLuint * uniformIndices, GLenum pname, GLint * params) { CALL_GL_API(glGetActiveUniformsiv, program, uniformCount, uniformIndices, pname, params); } -GLuint API_ENTRY(glGetUniformBlockIndex)(GLuint program, const GLchar* uniformBlockName) { +GLuint API_ENTRY(glGetUniformBlockIndex)(GLuint program, const GLchar * uniformBlockName) { CALL_GL_API_RETURN(glGetUniformBlockIndex, program, uniformBlockName); } -void API_ENTRY(glGetActiveUniformBlockiv)(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint* params) { +void API_ENTRY(glGetActiveUniformBlockiv)(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint * params) { CALL_GL_API(glGetActiveUniformBlockiv, program, uniformBlockIndex, pname, params); } -void API_ENTRY(glGetActiveUniformBlockName)(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformBlockName) { +void API_ENTRY(glGetActiveUniformBlockName)(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei * length, GLchar * uniformBlockName) { CALL_GL_API(glGetActiveUniformBlockName, program, uniformBlockIndex, bufSize, length, uniformBlockName); } void API_ENTRY(glUniformBlockBinding)(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding) { CALL_GL_API(glUniformBlockBinding, program, uniformBlockIndex, uniformBlockBinding); } -void API_ENTRY(glDrawArraysInstanced)(GLenum mode, GLint first, GLsizei count, GLsizei instanceCount) { - CALL_GL_API(glDrawArraysInstanced, mode, first, count, instanceCount); +void API_ENTRY(glDrawArraysInstanced)(GLenum mode, GLint first, GLsizei count, GLsizei instancecount) { + CALL_GL_API(glDrawArraysInstanced, mode, first, count, instancecount); } -void API_ENTRY(glDrawElementsInstanced)(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices, GLsizei instanceCount) { - CALL_GL_API(glDrawElementsInstanced, mode, count, type, indices, instanceCount); +void API_ENTRY(glDrawElementsInstanced)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount) { + CALL_GL_API(glDrawElementsInstanced, mode, count, type, indices, instancecount); } GLsync API_ENTRY(glFenceSync)(GLenum condition, GLbitfield flags) { CALL_GL_API_RETURN(glFenceSync, condition, flags); @@ -649,22 +649,22 @@ GLenum API_ENTRY(glClientWaitSync)(GLsync sync, GLbitfield flags, GLuint64 timeo void API_ENTRY(glWaitSync)(GLsync sync, GLbitfield flags, GLuint64 timeout) { CALL_GL_API(glWaitSync, sync, flags, timeout); } -void API_ENTRY(glGetInteger64v)(GLenum pname, GLint64* params) { - CALL_GL_API(glGetInteger64v, pname, params); +void API_ENTRY(glGetInteger64v)(GLenum pname, GLint64 * data) { + CALL_GL_API(glGetInteger64v, pname, data); } -void API_ENTRY(glGetSynciv)(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei* length, GLint* values) { +void API_ENTRY(glGetSynciv)(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values) { CALL_GL_API(glGetSynciv, sync, pname, bufSize, length, values); } -void API_ENTRY(glGetInteger64i_v)(GLenum target, GLuint index, GLint64* data) { +void API_ENTRY(glGetInteger64i_v)(GLenum target, GLuint index, GLint64 * data) { CALL_GL_API(glGetInteger64i_v, target, index, data); } -void API_ENTRY(glGetBufferParameteri64v)(GLenum target, GLenum pname, GLint64* params) { +void API_ENTRY(glGetBufferParameteri64v)(GLenum target, GLenum pname, GLint64 * params) { CALL_GL_API(glGetBufferParameteri64v, target, pname, params); } -void API_ENTRY(glGenSamplers)(GLsizei count, GLuint* samplers) { +void API_ENTRY(glGenSamplers)(GLsizei count, GLuint * samplers) { CALL_GL_API(glGenSamplers, count, samplers); } -void API_ENTRY(glDeleteSamplers)(GLsizei count, const GLuint* samplers) { +void API_ENTRY(glDeleteSamplers)(GLsizei count, const GLuint * samplers) { CALL_GL_API(glDeleteSamplers, count, samplers); } GLboolean API_ENTRY(glIsSampler)(GLuint sampler) { @@ -676,19 +676,19 @@ void API_ENTRY(glBindSampler)(GLuint unit, GLuint sampler) { void API_ENTRY(glSamplerParameteri)(GLuint sampler, GLenum pname, GLint param) { CALL_GL_API(glSamplerParameteri, sampler, pname, param); } -void API_ENTRY(glSamplerParameteriv)(GLuint sampler, GLenum pname, const GLint* param) { +void API_ENTRY(glSamplerParameteriv)(GLuint sampler, GLenum pname, const GLint * param) { CALL_GL_API(glSamplerParameteriv, sampler, pname, param); } void API_ENTRY(glSamplerParameterf)(GLuint sampler, GLenum pname, GLfloat param) { CALL_GL_API(glSamplerParameterf, sampler, pname, param); } -void API_ENTRY(glSamplerParameterfv)(GLuint sampler, GLenum pname, const GLfloat* param) { +void API_ENTRY(glSamplerParameterfv)(GLuint sampler, GLenum pname, const GLfloat * param) { CALL_GL_API(glSamplerParameterfv, sampler, pname, param); } -void API_ENTRY(glGetSamplerParameteriv)(GLuint sampler, GLenum pname, GLint* params) { +void API_ENTRY(glGetSamplerParameteriv)(GLuint sampler, GLenum pname, GLint * params) { CALL_GL_API(glGetSamplerParameteriv, sampler, pname, params); } -void API_ENTRY(glGetSamplerParameterfv)(GLuint sampler, GLenum pname, GLfloat* params) { +void API_ENTRY(glGetSamplerParameterfv)(GLuint sampler, GLenum pname, GLfloat * params) { CALL_GL_API(glGetSamplerParameterfv, sampler, pname, params); } void API_ENTRY(glVertexAttribDivisor)(GLuint index, GLuint divisor) { @@ -697,10 +697,10 @@ void API_ENTRY(glVertexAttribDivisor)(GLuint index, GLuint divisor) { void API_ENTRY(glBindTransformFeedback)(GLenum target, GLuint id) { CALL_GL_API(glBindTransformFeedback, target, id); } -void API_ENTRY(glDeleteTransformFeedbacks)(GLsizei n, const GLuint* ids) { +void API_ENTRY(glDeleteTransformFeedbacks)(GLsizei n, const GLuint * ids) { CALL_GL_API(glDeleteTransformFeedbacks, n, ids); } -void API_ENTRY(glGenTransformFeedbacks)(GLsizei n, GLuint* ids) { +void API_ENTRY(glGenTransformFeedbacks)(GLsizei n, GLuint * ids) { CALL_GL_API(glGenTransformFeedbacks, n, ids); } GLboolean API_ENTRY(glIsTransformFeedback)(GLuint id) { @@ -712,19 +712,19 @@ void API_ENTRY(glPauseTransformFeedback)(void) { void API_ENTRY(glResumeTransformFeedback)(void) { CALL_GL_API(glResumeTransformFeedback); } -void API_ENTRY(glGetProgramBinary)(GLuint program, GLsizei bufSize, GLsizei* length, GLenum* binaryFormat, GLvoid* binary) { +void API_ENTRY(glGetProgramBinary)(GLuint program, GLsizei bufSize, GLsizei * length, GLenum * binaryFormat, void * binary) { CALL_GL_API(glGetProgramBinary, program, bufSize, length, binaryFormat, binary); } -void API_ENTRY(glProgramBinary)(GLuint program, GLenum binaryFormat, const GLvoid* binary, GLsizei length) { +void API_ENTRY(glProgramBinary)(GLuint program, GLenum binaryFormat, const void * binary, GLsizei length) { CALL_GL_API(glProgramBinary, program, binaryFormat, binary, length); } void API_ENTRY(glProgramParameteri)(GLuint program, GLenum pname, GLint value) { CALL_GL_API(glProgramParameteri, program, pname, value); } -void API_ENTRY(glInvalidateFramebuffer)(GLenum target, GLsizei numAttachments, const GLenum* attachments) { +void API_ENTRY(glInvalidateFramebuffer)(GLenum target, GLsizei numAttachments, const GLenum * attachments) { CALL_GL_API(glInvalidateFramebuffer, target, numAttachments, attachments); } -void API_ENTRY(glInvalidateSubFramebuffer)(GLenum target, GLsizei numAttachments, const GLenum* attachments, GLint x, GLint y, GLsizei width, GLsizei height) { +void API_ENTRY(glInvalidateSubFramebuffer)(GLenum target, GLsizei numAttachments, const GLenum * attachments, GLint x, GLint y, GLsizei width, GLsizei height) { CALL_GL_API(glInvalidateSubFramebuffer, target, numAttachments, attachments, x, y, width, height); } void API_ENTRY(glTexStorage2D)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) { @@ -733,6 +733,6 @@ void API_ENTRY(glTexStorage2D)(GLenum target, GLsizei levels, GLenum internalfor void API_ENTRY(glTexStorage3D)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) { CALL_GL_API(glTexStorage3D, target, levels, internalformat, width, height, depth); } -void API_ENTRY(glGetInternalformativ)(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint* params) { +void API_ENTRY(glGetInternalformativ)(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint * params) { CALL_GL_API(glGetInternalformativ, target, internalformat, pname, bufSize, params); } diff --git a/opengl/libs/GLES2/gl2ext_api.in b/opengl/libs/GLES2/gl2ext_api.in index c381075b9..8c1bae16f 100644 --- a/opengl/libs/GLES2/gl2ext_api.in +++ b/opengl/libs/GLES2/gl2ext_api.in @@ -1,77 +1,119 @@ +void API_ENTRY(glBlendBarrierKHR)(void) { + CALL_GL_API(glBlendBarrierKHR); +} +void API_ENTRY(glDebugMessageControlKHR)(GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled) { + CALL_GL_API(glDebugMessageControlKHR, source, type, severity, count, ids, enabled); +} +void API_ENTRY(glDebugMessageInsertKHR)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar * buf) { + CALL_GL_API(glDebugMessageInsertKHR, source, type, id, severity, length, buf); +} +void API_ENTRY(glDebugMessageCallbackKHR)(GLDEBUGPROCKHR callback, const void * userParam) { + CALL_GL_API(glDebugMessageCallbackKHR, callback, userParam); +} +GLuint API_ENTRY(glGetDebugMessageLogKHR)(GLuint count, GLsizei bufSize, GLenum * sources, GLenum * types, GLuint * ids, GLenum * severities, GLsizei * lengths, GLchar * messageLog) { + CALL_GL_API_RETURN(glGetDebugMessageLogKHR, count, bufSize, sources, types, ids, severities, lengths, messageLog); +} +void API_ENTRY(glPushDebugGroupKHR)(GLenum source, GLuint id, GLsizei length, const GLchar * message) { + CALL_GL_API(glPushDebugGroupKHR, source, id, length, message); +} +void API_ENTRY(glPopDebugGroupKHR)(void) { + CALL_GL_API(glPopDebugGroupKHR); +} +void API_ENTRY(glObjectLabelKHR)(GLenum identifier, GLuint name, GLsizei length, const GLchar * label) { + CALL_GL_API(glObjectLabelKHR, identifier, name, length, label); +} +void API_ENTRY(glGetObjectLabelKHR)(GLenum identifier, GLuint name, GLsizei bufSize, GLsizei * length, GLchar * label) { + CALL_GL_API(glGetObjectLabelKHR, identifier, name, bufSize, length, label); +} +void API_ENTRY(glObjectPtrLabelKHR)(const void * ptr, GLsizei length, const GLchar * label) { + CALL_GL_API(glObjectPtrLabelKHR, ptr, length, label); +} +void API_ENTRY(glGetObjectPtrLabelKHR)(const void * ptr, GLsizei bufSize, GLsizei * length, GLchar * label) { + CALL_GL_API(glGetObjectPtrLabelKHR, ptr, bufSize, length, label); +} +void API_ENTRY(glGetPointervKHR)(GLenum pname, void ** params) { + CALL_GL_API(glGetPointervKHR, pname, params); +} void API_ENTRY(glEGLImageTargetTexture2DOES)(GLenum target, GLeglImageOES image) { CALL_GL_API(glEGLImageTargetTexture2DOES, target, image); } void API_ENTRY(glEGLImageTargetRenderbufferStorageOES)(GLenum target, GLeglImageOES image) { CALL_GL_API(glEGLImageTargetRenderbufferStorageOES, target, image); } -void API_ENTRY(glGetProgramBinaryOES)(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary) { +void API_ENTRY(glGetProgramBinaryOES)(GLuint program, GLsizei bufSize, GLsizei * length, GLenum * binaryFormat, void * binary) { CALL_GL_API(glGetProgramBinaryOES, program, bufSize, length, binaryFormat, binary); } -void API_ENTRY(glProgramBinaryOES)(GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length) { +void API_ENTRY(glProgramBinaryOES)(GLuint program, GLenum binaryFormat, const void * binary, GLint length) { CALL_GL_API(glProgramBinaryOES, program, binaryFormat, binary, length); } -void* API_ENTRY(glMapBufferOES)(GLenum target, GLenum access) { +void * API_ENTRY(glMapBufferOES)(GLenum target, GLenum access) { CALL_GL_API_RETURN(glMapBufferOES, target, access); } GLboolean API_ENTRY(glUnmapBufferOES)(GLenum target) { CALL_GL_API_RETURN(glUnmapBufferOES, target); } -void API_ENTRY(glGetBufferPointervOES)(GLenum target, GLenum pname, GLvoid** params) { +void API_ENTRY(glGetBufferPointervOES)(GLenum target, GLenum pname, void ** params) { CALL_GL_API(glGetBufferPointervOES, target, pname, params); } -void API_ENTRY(glTexImage3DOES)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels) { +void API_ENTRY(glMinSampleShadingOES)(GLfloat value) { + CALL_GL_API(glMinSampleShadingOES, value); +} +void API_ENTRY(glTexImage3DOES)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels) { CALL_GL_API(glTexImage3DOES, target, level, internalformat, width, height, depth, border, format, type, pixels); } -void API_ENTRY(glTexSubImage3DOES)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels) { +void API_ENTRY(glTexSubImage3DOES)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels) { CALL_GL_API(glTexSubImage3DOES, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); } void API_ENTRY(glCopyTexSubImage3DOES)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) { CALL_GL_API(glCopyTexSubImage3DOES, target, level, xoffset, yoffset, zoffset, x, y, width, height); } -void API_ENTRY(glCompressedTexImage3DOES)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data) { +void API_ENTRY(glCompressedTexImage3DOES)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * data) { CALL_GL_API(glCompressedTexImage3DOES, target, level, internalformat, width, height, depth, border, imageSize, data); } -void API_ENTRY(glCompressedTexSubImage3DOES)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data) { +void API_ENTRY(glCompressedTexSubImage3DOES)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * data) { CALL_GL_API(glCompressedTexSubImage3DOES, target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); } void API_ENTRY(glFramebufferTexture3DOES)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) { CALL_GL_API(glFramebufferTexture3DOES, target, attachment, textarget, texture, level, zoffset); } +void API_ENTRY(glTexStorage3DMultisampleOES)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations) { + CALL_GL_API(glTexStorage3DMultisampleOES, target, samples, internalformat, width, height, depth, fixedsamplelocations); +} void API_ENTRY(glBindVertexArrayOES)(GLuint array) { CALL_GL_API(glBindVertexArrayOES, array); } -void API_ENTRY(glDeleteVertexArraysOES)(GLsizei n, const GLuint *arrays) { +void API_ENTRY(glDeleteVertexArraysOES)(GLsizei n, const GLuint * arrays) { CALL_GL_API(glDeleteVertexArraysOES, n, arrays); } -void API_ENTRY(glGenVertexArraysOES)(GLsizei n, GLuint *arrays) { +void API_ENTRY(glGenVertexArraysOES)(GLsizei n, GLuint * arrays) { CALL_GL_API(glGenVertexArraysOES, n, arrays); } GLboolean API_ENTRY(glIsVertexArrayOES)(GLuint array) { CALL_GL_API_RETURN(glIsVertexArrayOES, array); } -void API_ENTRY(glGetPerfMonitorGroupsAMD)(GLint *numGroups, GLsizei groupsSize, GLuint *groups) { +void API_ENTRY(glGetPerfMonitorGroupsAMD)(GLint * numGroups, GLsizei groupsSize, GLuint * groups) { CALL_GL_API(glGetPerfMonitorGroupsAMD, numGroups, groupsSize, groups); } -void API_ENTRY(glGetPerfMonitorCountersAMD)(GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters) { +void API_ENTRY(glGetPerfMonitorCountersAMD)(GLuint group, GLint * numCounters, GLint * maxActiveCounters, GLsizei counterSize, GLuint * counters) { CALL_GL_API(glGetPerfMonitorCountersAMD, group, numCounters, maxActiveCounters, counterSize, counters); } -void API_ENTRY(glGetPerfMonitorGroupStringAMD)(GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString) { +void API_ENTRY(glGetPerfMonitorGroupStringAMD)(GLuint group, GLsizei bufSize, GLsizei * length, GLchar * groupString) { CALL_GL_API(glGetPerfMonitorGroupStringAMD, group, bufSize, length, groupString); } -void API_ENTRY(glGetPerfMonitorCounterStringAMD)(GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString) { +void API_ENTRY(glGetPerfMonitorCounterStringAMD)(GLuint group, GLuint counter, GLsizei bufSize, GLsizei * length, GLchar * counterString) { CALL_GL_API(glGetPerfMonitorCounterStringAMD, group, counter, bufSize, length, counterString); } -void API_ENTRY(glGetPerfMonitorCounterInfoAMD)(GLuint group, GLuint counter, GLenum pname, GLvoid *data) { +void API_ENTRY(glGetPerfMonitorCounterInfoAMD)(GLuint group, GLuint counter, GLenum pname, void * data) { CALL_GL_API(glGetPerfMonitorCounterInfoAMD, group, counter, pname, data); } -void API_ENTRY(glGenPerfMonitorsAMD)(GLsizei n, GLuint *monitors) { +void API_ENTRY(glGenPerfMonitorsAMD)(GLsizei n, GLuint * monitors) { CALL_GL_API(glGenPerfMonitorsAMD, n, monitors); } -void API_ENTRY(glDeletePerfMonitorsAMD)(GLsizei n, GLuint *monitors) { +void API_ENTRY(glDeletePerfMonitorsAMD)(GLsizei n, GLuint * monitors) { CALL_GL_API(glDeletePerfMonitorsAMD, n, monitors); } -void API_ENTRY(glSelectPerfMonitorCountersAMD)(GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList) { - CALL_GL_API(glSelectPerfMonitorCountersAMD, monitor, enable, group, numCounters, countersList); +void API_ENTRY(glSelectPerfMonitorCountersAMD)(GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint * counterList) { + CALL_GL_API(glSelectPerfMonitorCountersAMD, monitor, enable, group, numCounters, counterList); } void API_ENTRY(glBeginPerfMonitorAMD)(GLuint monitor) { CALL_GL_API(glBeginPerfMonitorAMD, monitor); @@ -79,7 +121,7 @@ void API_ENTRY(glBeginPerfMonitorAMD)(GLuint monitor) { void API_ENTRY(glEndPerfMonitorAMD)(GLuint monitor) { CALL_GL_API(glEndPerfMonitorAMD, monitor); } -void API_ENTRY(glGetPerfMonitorCounterDataAMD)(GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten) { +void API_ENTRY(glGetPerfMonitorCounterDataAMD)(GLuint monitor, GLenum pname, GLsizei dataSize, GLuint * data, GLint * bytesWritten) { CALL_GL_API(glGetPerfMonitorCounterDataAMD, monitor, pname, dataSize, data, bytesWritten); } void API_ENTRY(glBlitFramebufferANGLE)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) { @@ -88,46 +130,70 @@ void API_ENTRY(glBlitFramebufferANGLE)(GLint srcX0, GLint srcY0, GLint srcX1, GL void API_ENTRY(glRenderbufferStorageMultisampleANGLE)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { CALL_GL_API(glRenderbufferStorageMultisampleANGLE, target, samples, internalformat, width, height); } +void API_ENTRY(glDrawArraysInstancedANGLE)(GLenum mode, GLint first, GLsizei count, GLsizei primcount) { + CALL_GL_API(glDrawArraysInstancedANGLE, mode, first, count, primcount); +} +void API_ENTRY(glDrawElementsInstancedANGLE)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount) { + CALL_GL_API(glDrawElementsInstancedANGLE, mode, count, type, indices, primcount); +} +void API_ENTRY(glVertexAttribDivisorANGLE)(GLuint index, GLuint divisor) { + CALL_GL_API(glVertexAttribDivisorANGLE, index, divisor); +} +void API_ENTRY(glGetTranslatedShaderSourceANGLE)(GLuint shader, GLsizei bufsize, GLsizei * length, GLchar * source) { + CALL_GL_API(glGetTranslatedShaderSourceANGLE, shader, bufsize, length, source); +} +void API_ENTRY(glCopyTextureLevelsAPPLE)(GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount) { + CALL_GL_API(glCopyTextureLevelsAPPLE, destinationTexture, sourceTexture, sourceBaseLevel, sourceLevelCount); +} void API_ENTRY(glRenderbufferStorageMultisampleAPPLE)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { CALL_GL_API(glRenderbufferStorageMultisampleAPPLE, target, samples, internalformat, width, height); } void API_ENTRY(glResolveMultisampleFramebufferAPPLE)(void) { CALL_GL_API(glResolveMultisampleFramebufferAPPLE); } -void API_ENTRY(glLabelObjectEXT)(GLenum type, GLuint object, GLsizei length, const GLchar *label) { +GLsync API_ENTRY(glFenceSyncAPPLE)(GLenum condition, GLbitfield flags) { + CALL_GL_API_RETURN(glFenceSyncAPPLE, condition, flags); +} +GLboolean API_ENTRY(glIsSyncAPPLE)(GLsync sync) { + CALL_GL_API_RETURN(glIsSyncAPPLE, sync); +} +void API_ENTRY(glDeleteSyncAPPLE)(GLsync sync) { + CALL_GL_API(glDeleteSyncAPPLE, sync); +} +GLenum API_ENTRY(glClientWaitSyncAPPLE)(GLsync sync, GLbitfield flags, GLuint64 timeout) { + CALL_GL_API_RETURN(glClientWaitSyncAPPLE, sync, flags, timeout); +} +void API_ENTRY(glWaitSyncAPPLE)(GLsync sync, GLbitfield flags, GLuint64 timeout) { + CALL_GL_API(glWaitSyncAPPLE, sync, flags, timeout); +} +void API_ENTRY(glGetInteger64vAPPLE)(GLenum pname, GLint64 * params) { + CALL_GL_API(glGetInteger64vAPPLE, pname, params); +} +void API_ENTRY(glGetSyncivAPPLE)(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values) { + CALL_GL_API(glGetSyncivAPPLE, sync, pname, bufSize, length, values); +} +void API_ENTRY(glLabelObjectEXT)(GLenum type, GLuint object, GLsizei length, const GLchar * label) { CALL_GL_API(glLabelObjectEXT, type, object, length, label); } -void API_ENTRY(glGetObjectLabelEXT)(GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label) { +void API_ENTRY(glGetObjectLabelEXT)(GLenum type, GLuint object, GLsizei bufSize, GLsizei * length, GLchar * label) { CALL_GL_API(glGetObjectLabelEXT, type, object, bufSize, length, label); } -void API_ENTRY(glInsertEventMarkerEXT)(GLsizei length, const GLchar *marker) { +void API_ENTRY(glInsertEventMarkerEXT)(GLsizei length, const GLchar * marker) { CALL_GL_API(glInsertEventMarkerEXT, length, marker); } -void API_ENTRY(glPushGroupMarkerEXT)(GLsizei length, const GLchar *marker) { +void API_ENTRY(glPushGroupMarkerEXT)(GLsizei length, const GLchar * marker) { CALL_GL_API(glPushGroupMarkerEXT, length, marker); } void API_ENTRY(glPopGroupMarkerEXT)(void) { CALL_GL_API(glPopGroupMarkerEXT); } -void API_ENTRY(glDiscardFramebufferEXT)(GLenum target, GLsizei numAttachments, const GLenum *attachments) { +void API_ENTRY(glDiscardFramebufferEXT)(GLenum target, GLsizei numAttachments, const GLenum * attachments) { CALL_GL_API(glDiscardFramebufferEXT, target, numAttachments, attachments); } -void API_ENTRY(glRenderbufferStorageMultisampleEXT)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { - CALL_GL_API(glRenderbufferStorageMultisampleEXT, target, samples, internalformat, width, height); -} -void API_ENTRY(glFramebufferTexture2DMultisampleEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples) { - CALL_GL_API(glFramebufferTexture2DMultisampleEXT, target, attachment, textarget, texture, level, samples); -} -void API_ENTRY(glMultiDrawArraysEXT)(GLenum mode, GLint *first, GLsizei *count, GLsizei primcount) { - CALL_GL_API(glMultiDrawArraysEXT, mode, first, count, primcount); -} -void API_ENTRY(glMultiDrawElementsEXT)(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount) { - CALL_GL_API(glMultiDrawElementsEXT, mode, count, type, indices, primcount); -} -void API_ENTRY(glGenQueriesEXT)(GLsizei n, GLuint *ids) { +void API_ENTRY(glGenQueriesEXT)(GLsizei n, GLuint * ids) { CALL_GL_API(glGenQueriesEXT, n, ids); } -void API_ENTRY(glDeleteQueriesEXT)(GLsizei n, const GLuint *ids) { +void API_ENTRY(glDeleteQueriesEXT)(GLsizei n, const GLuint * ids) { CALL_GL_API(glDeleteQueriesEXT, n, ids); } GLboolean API_ENTRY(glIsQueryEXT)(GLuint id) { @@ -139,113 +205,206 @@ void API_ENTRY(glBeginQueryEXT)(GLenum target, GLuint id) { void API_ENTRY(glEndQueryEXT)(GLenum target) { CALL_GL_API(glEndQueryEXT, target); } -void API_ENTRY(glGetQueryivEXT)(GLenum target, GLenum pname, GLint *params) { +void API_ENTRY(glQueryCounterEXT)(GLuint id, GLenum target) { + CALL_GL_API(glQueryCounterEXT, id, target); +} +void API_ENTRY(glGetQueryivEXT)(GLenum target, GLenum pname, GLint * params) { CALL_GL_API(glGetQueryivEXT, target, pname, params); } -void API_ENTRY(glGetQueryObjectuivEXT)(GLuint id, GLenum pname, GLuint *params) { +void API_ENTRY(glGetQueryObjectivEXT)(GLuint id, GLenum pname, GLint * params) { + CALL_GL_API(glGetQueryObjectivEXT, id, pname, params); +} +void API_ENTRY(glGetQueryObjectuivEXT)(GLuint id, GLenum pname, GLuint * params) { CALL_GL_API(glGetQueryObjectuivEXT, id, pname, params); } +void API_ENTRY(glGetQueryObjecti64vEXT)(GLuint id, GLenum pname, GLint64 * params) { + CALL_GL_API(glGetQueryObjecti64vEXT, id, pname, params); +} +void API_ENTRY(glGetQueryObjectui64vEXT)(GLuint id, GLenum pname, GLuint64 * params) { + CALL_GL_API(glGetQueryObjectui64vEXT, id, pname, params); +} +void API_ENTRY(glDrawBuffersEXT)(GLsizei n, const GLenum * bufs) { + CALL_GL_API(glDrawBuffersEXT, n, bufs); +} +void API_ENTRY(glDrawArraysInstancedEXT)(GLenum mode, GLint start, GLsizei count, GLsizei primcount) { + CALL_GL_API(glDrawArraysInstancedEXT, mode, start, count, primcount); +} +void API_ENTRY(glDrawElementsInstancedEXT)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount) { + CALL_GL_API(glDrawElementsInstancedEXT, mode, count, type, indices, primcount); +} +void API_ENTRY(glVertexAttribDivisorEXT)(GLuint index, GLuint divisor) { + CALL_GL_API(glVertexAttribDivisorEXT, index, divisor); +} +void * API_ENTRY(glMapBufferRangeEXT)(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access) { + CALL_GL_API_RETURN(glMapBufferRangeEXT, target, offset, length, access); +} +void API_ENTRY(glFlushMappedBufferRangeEXT)(GLenum target, GLintptr offset, GLsizeiptr length) { + CALL_GL_API(glFlushMappedBufferRangeEXT, target, offset, length); +} +void API_ENTRY(glMultiDrawArraysEXT)(GLenum mode, const GLint * first, const GLsizei * count, GLsizei primcount) { + CALL_GL_API(glMultiDrawArraysEXT, mode, first, count, primcount); +} +void API_ENTRY(glMultiDrawElementsEXT)(GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount) { + CALL_GL_API(glMultiDrawElementsEXT, mode, count, type, indices, primcount); +} +void API_ENTRY(glRenderbufferStorageMultisampleEXT)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { + CALL_GL_API(glRenderbufferStorageMultisampleEXT, target, samples, internalformat, width, height); +} +void API_ENTRY(glFramebufferTexture2DMultisampleEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples) { + CALL_GL_API(glFramebufferTexture2DMultisampleEXT, target, attachment, textarget, texture, level, samples); +} +void API_ENTRY(glReadBufferIndexedEXT)(GLenum src, GLint index) { + CALL_GL_API(glReadBufferIndexedEXT, src, index); +} +void API_ENTRY(glDrawBuffersIndexedEXT)(GLint n, const GLenum * location, const GLint * indices) { + CALL_GL_API(glDrawBuffersIndexedEXT, n, location, indices); +} +void API_ENTRY(glGetIntegeri_vEXT)(GLenum target, GLuint index, GLint * data) { + CALL_GL_API(glGetIntegeri_vEXT, target, index, data); +} GLenum API_ENTRY(glGetGraphicsResetStatusEXT)(void) { CALL_GL_API_RETURN(glGetGraphicsResetStatusEXT); } -void API_ENTRY(glReadnPixelsEXT)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data) { +void API_ENTRY(glReadnPixelsEXT)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data) { CALL_GL_API(glReadnPixelsEXT, x, y, width, height, format, type, bufSize, data); } -void API_ENTRY(glGetnUniformfvEXT)(GLuint program, GLint location, GLsizei bufSize, float *params) { +void API_ENTRY(glGetnUniformfvEXT)(GLuint program, GLint location, GLsizei bufSize, GLfloat * params) { CALL_GL_API(glGetnUniformfvEXT, program, location, bufSize, params); } -void API_ENTRY(glGetnUniformivEXT)(GLuint program, GLint location, GLsizei bufSize, GLint *params) { +void API_ENTRY(glGetnUniformivEXT)(GLuint program, GLint location, GLsizei bufSize, GLint * params) { CALL_GL_API(glGetnUniformivEXT, program, location, bufSize, params); } -void API_ENTRY(glUseProgramStagesEXT)(GLuint pipeline, GLbitfield stages, GLuint program) { - CALL_GL_API(glUseProgramStagesEXT, pipeline, stages, program); -} void API_ENTRY(glActiveShaderProgramEXT)(GLuint pipeline, GLuint program) { CALL_GL_API(glActiveShaderProgramEXT, pipeline, program); } -GLuint API_ENTRY(glCreateShaderProgramvEXT)(GLenum type, GLsizei count, const GLchar **strings) { - CALL_GL_API_RETURN(glCreateShaderProgramvEXT, type, count, strings); -} void API_ENTRY(glBindProgramPipelineEXT)(GLuint pipeline) { CALL_GL_API(glBindProgramPipelineEXT, pipeline); } -void API_ENTRY(glDeleteProgramPipelinesEXT)(GLsizei n, const GLuint *pipelines) { +GLuint API_ENTRY(glCreateShaderProgramvEXT)(GLenum type, GLsizei count, const GLchar ** strings) { + CALL_GL_API_RETURN(glCreateShaderProgramvEXT, type, count, strings); +} +void API_ENTRY(glDeleteProgramPipelinesEXT)(GLsizei n, const GLuint * pipelines) { CALL_GL_API(glDeleteProgramPipelinesEXT, n, pipelines); } -void API_ENTRY(glGenProgramPipelinesEXT)(GLsizei n, GLuint *pipelines) { +void API_ENTRY(glGenProgramPipelinesEXT)(GLsizei n, GLuint * pipelines) { CALL_GL_API(glGenProgramPipelinesEXT, n, pipelines); } +void API_ENTRY(glGetProgramPipelineInfoLogEXT)(GLuint pipeline, GLsizei bufSize, GLsizei * length, GLchar * infoLog) { + CALL_GL_API(glGetProgramPipelineInfoLogEXT, pipeline, bufSize, length, infoLog); +} +void API_ENTRY(glGetProgramPipelineivEXT)(GLuint pipeline, GLenum pname, GLint * params) { + CALL_GL_API(glGetProgramPipelineivEXT, pipeline, pname, params); +} GLboolean API_ENTRY(glIsProgramPipelineEXT)(GLuint pipeline) { CALL_GL_API_RETURN(glIsProgramPipelineEXT, pipeline); } void API_ENTRY(glProgramParameteriEXT)(GLuint program, GLenum pname, GLint value) { CALL_GL_API(glProgramParameteriEXT, program, pname, value); } -void API_ENTRY(glGetProgramPipelineivEXT)(GLuint pipeline, GLenum pname, GLint *params) { - CALL_GL_API(glGetProgramPipelineivEXT, pipeline, pname, params); +void API_ENTRY(glProgramUniform1fEXT)(GLuint program, GLint location, GLfloat v0) { + CALL_GL_API(glProgramUniform1fEXT, program, location, v0); } -void API_ENTRY(glProgramUniform1iEXT)(GLuint program, GLint location, GLint x) { - CALL_GL_API(glProgramUniform1iEXT, program, location, x); -} -void API_ENTRY(glProgramUniform2iEXT)(GLuint program, GLint location, GLint x, GLint y) { - CALL_GL_API(glProgramUniform2iEXT, program, location, x, y); -} -void API_ENTRY(glProgramUniform3iEXT)(GLuint program, GLint location, GLint x, GLint y, GLint z) { - CALL_GL_API(glProgramUniform3iEXT, program, location, x, y, z); -} -void API_ENTRY(glProgramUniform4iEXT)(GLuint program, GLint location, GLint x, GLint y, GLint z, GLint w) { - CALL_GL_API(glProgramUniform4iEXT, program, location, x, y, z, w); -} -void API_ENTRY(glProgramUniform1fEXT)(GLuint program, GLint location, GLfloat x) { - CALL_GL_API(glProgramUniform1fEXT, program, location, x); -} -void API_ENTRY(glProgramUniform2fEXT)(GLuint program, GLint location, GLfloat x, GLfloat y) { - CALL_GL_API(glProgramUniform2fEXT, program, location, x, y); -} -void API_ENTRY(glProgramUniform3fEXT)(GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z) { - CALL_GL_API(glProgramUniform3fEXT, program, location, x, y, z); -} -void API_ENTRY(glProgramUniform4fEXT)(GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { - CALL_GL_API(glProgramUniform4fEXT, program, location, x, y, z, w); -} -void API_ENTRY(glProgramUniform1ivEXT)(GLuint program, GLint location, GLsizei count, const GLint *value) { - CALL_GL_API(glProgramUniform1ivEXT, program, location, count, value); -} -void API_ENTRY(glProgramUniform2ivEXT)(GLuint program, GLint location, GLsizei count, const GLint *value) { - CALL_GL_API(glProgramUniform2ivEXT, program, location, count, value); -} -void API_ENTRY(glProgramUniform3ivEXT)(GLuint program, GLint location, GLsizei count, const GLint *value) { - CALL_GL_API(glProgramUniform3ivEXT, program, location, count, value); -} -void API_ENTRY(glProgramUniform4ivEXT)(GLuint program, GLint location, GLsizei count, const GLint *value) { - CALL_GL_API(glProgramUniform4ivEXT, program, location, count, value); -} -void API_ENTRY(glProgramUniform1fvEXT)(GLuint program, GLint location, GLsizei count, const GLfloat *value) { +void API_ENTRY(glProgramUniform1fvEXT)(GLuint program, GLint location, GLsizei count, const GLfloat * value) { CALL_GL_API(glProgramUniform1fvEXT, program, location, count, value); } -void API_ENTRY(glProgramUniform2fvEXT)(GLuint program, GLint location, GLsizei count, const GLfloat *value) { +void API_ENTRY(glProgramUniform1iEXT)(GLuint program, GLint location, GLint v0) { + CALL_GL_API(glProgramUniform1iEXT, program, location, v0); +} +void API_ENTRY(glProgramUniform1ivEXT)(GLuint program, GLint location, GLsizei count, const GLint * value) { + CALL_GL_API(glProgramUniform1ivEXT, program, location, count, value); +} +void API_ENTRY(glProgramUniform2fEXT)(GLuint program, GLint location, GLfloat v0, GLfloat v1) { + CALL_GL_API(glProgramUniform2fEXT, program, location, v0, v1); +} +void API_ENTRY(glProgramUniform2fvEXT)(GLuint program, GLint location, GLsizei count, const GLfloat * value) { CALL_GL_API(glProgramUniform2fvEXT, program, location, count, value); } -void API_ENTRY(glProgramUniform3fvEXT)(GLuint program, GLint location, GLsizei count, const GLfloat *value) { +void API_ENTRY(glProgramUniform2iEXT)(GLuint program, GLint location, GLint v0, GLint v1) { + CALL_GL_API(glProgramUniform2iEXT, program, location, v0, v1); +} +void API_ENTRY(glProgramUniform2ivEXT)(GLuint program, GLint location, GLsizei count, const GLint * value) { + CALL_GL_API(glProgramUniform2ivEXT, program, location, count, value); +} +void API_ENTRY(glProgramUniform3fEXT)(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) { + CALL_GL_API(glProgramUniform3fEXT, program, location, v0, v1, v2); +} +void API_ENTRY(glProgramUniform3fvEXT)(GLuint program, GLint location, GLsizei count, const GLfloat * value) { CALL_GL_API(glProgramUniform3fvEXT, program, location, count, value); } -void API_ENTRY(glProgramUniform4fvEXT)(GLuint program, GLint location, GLsizei count, const GLfloat *value) { +void API_ENTRY(glProgramUniform3iEXT)(GLuint program, GLint location, GLint v0, GLint v1, GLint v2) { + CALL_GL_API(glProgramUniform3iEXT, program, location, v0, v1, v2); +} +void API_ENTRY(glProgramUniform3ivEXT)(GLuint program, GLint location, GLsizei count, const GLint * value) { + CALL_GL_API(glProgramUniform3ivEXT, program, location, count, value); +} +void API_ENTRY(glProgramUniform4fEXT)(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) { + CALL_GL_API(glProgramUniform4fEXT, program, location, v0, v1, v2, v3); +} +void API_ENTRY(glProgramUniform4fvEXT)(GLuint program, GLint location, GLsizei count, const GLfloat * value) { CALL_GL_API(glProgramUniform4fvEXT, program, location, count, value); } -void API_ENTRY(glProgramUniformMatrix2fvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) { +void API_ENTRY(glProgramUniform4iEXT)(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) { + CALL_GL_API(glProgramUniform4iEXT, program, location, v0, v1, v2, v3); +} +void API_ENTRY(glProgramUniform4ivEXT)(GLuint program, GLint location, GLsizei count, const GLint * value) { + CALL_GL_API(glProgramUniform4ivEXT, program, location, count, value); +} +void API_ENTRY(glProgramUniformMatrix2fvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { CALL_GL_API(glProgramUniformMatrix2fvEXT, program, location, count, transpose, value); } -void API_ENTRY(glProgramUniformMatrix3fvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) { +void API_ENTRY(glProgramUniformMatrix3fvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { CALL_GL_API(glProgramUniformMatrix3fvEXT, program, location, count, transpose, value); } -void API_ENTRY(glProgramUniformMatrix4fvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) { +void API_ENTRY(glProgramUniformMatrix4fvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { CALL_GL_API(glProgramUniformMatrix4fvEXT, program, location, count, transpose, value); } +void API_ENTRY(glUseProgramStagesEXT)(GLuint pipeline, GLbitfield stages, GLuint program) { + CALL_GL_API(glUseProgramStagesEXT, pipeline, stages, program); +} void API_ENTRY(glValidateProgramPipelineEXT)(GLuint pipeline) { CALL_GL_API(glValidateProgramPipelineEXT, pipeline); } -void API_ENTRY(glGetProgramPipelineInfoLogEXT)(GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog) { - CALL_GL_API(glGetProgramPipelineInfoLogEXT, pipeline, bufSize, length, infoLog); +void API_ENTRY(glProgramUniform1uiEXT)(GLuint program, GLint location, GLuint v0) { + CALL_GL_API(glProgramUniform1uiEXT, program, location, v0); +} +void API_ENTRY(glProgramUniform2uiEXT)(GLuint program, GLint location, GLuint v0, GLuint v1) { + CALL_GL_API(glProgramUniform2uiEXT, program, location, v0, v1); +} +void API_ENTRY(glProgramUniform3uiEXT)(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2) { + CALL_GL_API(glProgramUniform3uiEXT, program, location, v0, v1, v2); +} +void API_ENTRY(glProgramUniform4uiEXT)(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) { + CALL_GL_API(glProgramUniform4uiEXT, program, location, v0, v1, v2, v3); +} +void API_ENTRY(glProgramUniform1uivEXT)(GLuint program, GLint location, GLsizei count, const GLuint * value) { + CALL_GL_API(glProgramUniform1uivEXT, program, location, count, value); +} +void API_ENTRY(glProgramUniform2uivEXT)(GLuint program, GLint location, GLsizei count, const GLuint * value) { + CALL_GL_API(glProgramUniform2uivEXT, program, location, count, value); +} +void API_ENTRY(glProgramUniform3uivEXT)(GLuint program, GLint location, GLsizei count, const GLuint * value) { + CALL_GL_API(glProgramUniform3uivEXT, program, location, count, value); +} +void API_ENTRY(glProgramUniform4uivEXT)(GLuint program, GLint location, GLsizei count, const GLuint * value) { + CALL_GL_API(glProgramUniform4uivEXT, program, location, count, value); +} +void API_ENTRY(glProgramUniformMatrix2x3fvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + CALL_GL_API(glProgramUniformMatrix2x3fvEXT, program, location, count, transpose, value); +} +void API_ENTRY(glProgramUniformMatrix3x2fvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + CALL_GL_API(glProgramUniformMatrix3x2fvEXT, program, location, count, transpose, value); +} +void API_ENTRY(glProgramUniformMatrix2x4fvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + CALL_GL_API(glProgramUniformMatrix2x4fvEXT, program, location, count, transpose, value); +} +void API_ENTRY(glProgramUniformMatrix4x2fvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + CALL_GL_API(glProgramUniformMatrix4x2fvEXT, program, location, count, transpose, value); +} +void API_ENTRY(glProgramUniformMatrix3x4fvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + CALL_GL_API(glProgramUniformMatrix3x4fvEXT, program, location, count, transpose, value); +} +void API_ENTRY(glProgramUniformMatrix4x3fvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + CALL_GL_API(glProgramUniformMatrix4x3fvEXT, program, location, count, transpose, value); } void API_ENTRY(glTexStorage1DEXT)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width) { CALL_GL_API(glTexStorage1DEXT, target, levels, internalformat, width); @@ -271,19 +430,64 @@ void API_ENTRY(glRenderbufferStorageMultisampleIMG)(GLenum target, GLsizei sampl void API_ENTRY(glFramebufferTexture2DMultisampleIMG)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples) { CALL_GL_API(glFramebufferTexture2DMultisampleIMG, target, attachment, textarget, texture, level, samples); } +void API_ENTRY(glBeginPerfQueryINTEL)(GLuint queryHandle) { + CALL_GL_API(glBeginPerfQueryINTEL, queryHandle); +} +void API_ENTRY(glCreatePerfQueryINTEL)(GLuint queryId, GLuint * queryHandle) { + CALL_GL_API(glCreatePerfQueryINTEL, queryId, queryHandle); +} +void API_ENTRY(glDeletePerfQueryINTEL)(GLuint queryHandle) { + CALL_GL_API(glDeletePerfQueryINTEL, queryHandle); +} +void API_ENTRY(glEndPerfQueryINTEL)(GLuint queryHandle) { + CALL_GL_API(glEndPerfQueryINTEL, queryHandle); +} +void API_ENTRY(glGetFirstPerfQueryIdINTEL)(GLuint * queryId) { + CALL_GL_API(glGetFirstPerfQueryIdINTEL, queryId); +} +void API_ENTRY(glGetNextPerfQueryIdINTEL)(GLuint queryId, GLuint * nextQueryId) { + CALL_GL_API(glGetNextPerfQueryIdINTEL, queryId, nextQueryId); +} +void API_ENTRY(glGetPerfCounterInfoINTEL)(GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar * counterName, GLuint counterDescLength, GLchar * counterDesc, GLuint * counterOffset, GLuint * counterDataSize, GLuint * counterTypeEnum, GLuint * counterDataTypeEnum, GLuint64 * rawCounterMaxValue) { + CALL_GL_API(glGetPerfCounterInfoINTEL, queryId, counterId, counterNameLength, counterName, counterDescLength, counterDesc, counterOffset, counterDataSize, counterTypeEnum, counterDataTypeEnum, rawCounterMaxValue); +} +void API_ENTRY(glGetPerfQueryDataINTEL)(GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid * data, GLuint * bytesWritten) { + CALL_GL_API(glGetPerfQueryDataINTEL, queryHandle, flags, dataSize, data, bytesWritten); +} +void API_ENTRY(glGetPerfQueryIdByNameINTEL)(GLchar * queryName, GLuint * queryId) { + CALL_GL_API(glGetPerfQueryIdByNameINTEL, queryName, queryId); +} +void API_ENTRY(glGetPerfQueryInfoINTEL)(GLuint queryId, GLuint queryNameLength, GLchar * queryName, GLuint * dataSize, GLuint * noCounters, GLuint * noInstances, GLuint * capsMask) { + CALL_GL_API(glGetPerfQueryInfoINTEL, queryId, queryNameLength, queryName, dataSize, noCounters, noInstances, capsMask); +} +void API_ENTRY(glBlendParameteriNV)(GLenum pname, GLint value) { + CALL_GL_API(glBlendParameteriNV, pname, value); +} +void API_ENTRY(glBlendBarrierNV)(void) { + CALL_GL_API(glBlendBarrierNV); +} +void API_ENTRY(glCopyBufferSubDataNV)(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) { + CALL_GL_API(glCopyBufferSubDataNV, readTarget, writeTarget, readOffset, writeOffset, size); +} void API_ENTRY(glCoverageMaskNV)(GLboolean mask) { CALL_GL_API(glCoverageMaskNV, mask); } void API_ENTRY(glCoverageOperationNV)(GLenum operation) { CALL_GL_API(glCoverageOperationNV, operation); } -void API_ENTRY(glDrawBuffersNV)(GLsizei n, const GLenum *bufs) { +void API_ENTRY(glDrawBuffersNV)(GLsizei n, const GLenum * bufs) { CALL_GL_API(glDrawBuffersNV, n, bufs); } -void API_ENTRY(glDeleteFencesNV)(GLsizei n, const GLuint *fences) { +void API_ENTRY(glDrawArraysInstancedNV)(GLenum mode, GLint first, GLsizei count, GLsizei primcount) { + CALL_GL_API(glDrawArraysInstancedNV, mode, first, count, primcount); +} +void API_ENTRY(glDrawElementsInstancedNV)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount) { + CALL_GL_API(glDrawElementsInstancedNV, mode, count, type, indices, primcount); +} +void API_ENTRY(glDeleteFencesNV)(GLsizei n, const GLuint * fences) { CALL_GL_API(glDeleteFencesNV, n, fences); } -void API_ENTRY(glGenFencesNV)(GLsizei n, GLuint *fences) { +void API_ENTRY(glGenFencesNV)(GLsizei n, GLuint * fences) { CALL_GL_API(glGenFencesNV, n, fences); } GLboolean API_ENTRY(glIsFenceNV)(GLuint fence) { @@ -292,7 +496,7 @@ GLboolean API_ENTRY(glIsFenceNV)(GLuint fence) { GLboolean API_ENTRY(glTestFenceNV)(GLuint fence) { CALL_GL_API_RETURN(glTestFenceNV, fence); } -void API_ENTRY(glGetFenceivNV)(GLuint fence, GLenum pname, GLint *params) { +void API_ENTRY(glGetFenceivNV)(GLuint fence, GLenum pname, GLint * params) { CALL_GL_API(glGetFenceivNV, fence, pname, params); } void API_ENTRY(glFinishFenceNV)(GLuint fence) { @@ -301,16 +505,43 @@ void API_ENTRY(glFinishFenceNV)(GLuint fence) { void API_ENTRY(glSetFenceNV)(GLuint fence, GLenum condition) { CALL_GL_API(glSetFenceNV, fence, condition); } +void API_ENTRY(glBlitFramebufferNV)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) { + CALL_GL_API(glBlitFramebufferNV, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); +} +void API_ENTRY(glRenderbufferStorageMultisampleNV)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { + CALL_GL_API(glRenderbufferStorageMultisampleNV, target, samples, internalformat, width, height); +} +void API_ENTRY(glVertexAttribDivisorNV)(GLuint index, GLuint divisor) { + CALL_GL_API(glVertexAttribDivisorNV, index, divisor); +} +void API_ENTRY(glUniformMatrix2x3fvNV)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + CALL_GL_API(glUniformMatrix2x3fvNV, location, count, transpose, value); +} +void API_ENTRY(glUniformMatrix3x2fvNV)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + CALL_GL_API(glUniformMatrix3x2fvNV, location, count, transpose, value); +} +void API_ENTRY(glUniformMatrix2x4fvNV)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + CALL_GL_API(glUniformMatrix2x4fvNV, location, count, transpose, value); +} +void API_ENTRY(glUniformMatrix4x2fvNV)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + CALL_GL_API(glUniformMatrix4x2fvNV, location, count, transpose, value); +} +void API_ENTRY(glUniformMatrix3x4fvNV)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + CALL_GL_API(glUniformMatrix3x4fvNV, location, count, transpose, value); +} +void API_ENTRY(glUniformMatrix4x3fvNV)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + CALL_GL_API(glUniformMatrix4x3fvNV, location, count, transpose, value); +} void API_ENTRY(glReadBufferNV)(GLenum mode) { CALL_GL_API(glReadBufferNV, mode); } void API_ENTRY(glAlphaFuncQCOM)(GLenum func, GLclampf ref) { CALL_GL_API(glAlphaFuncQCOM, func, ref); } -void API_ENTRY(glGetDriverControlsQCOM)(GLint *num, GLsizei size, GLuint *driverControls) { +void API_ENTRY(glGetDriverControlsQCOM)(GLint * num, GLsizei size, GLuint * driverControls) { CALL_GL_API(glGetDriverControlsQCOM, num, size, driverControls); } -void API_ENTRY(glGetDriverControlStringQCOM)(GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString) { +void API_ENTRY(glGetDriverControlStringQCOM)(GLuint driverControl, GLsizei bufSize, GLsizei * length, GLchar * driverControlString) { CALL_GL_API(glGetDriverControlStringQCOM, driverControl, bufSize, length, driverControlString); } void API_ENTRY(glEnableDriverControlQCOM)(GLuint driverControl) { @@ -319,40 +550,40 @@ void API_ENTRY(glEnableDriverControlQCOM)(GLuint driverControl) { void API_ENTRY(glDisableDriverControlQCOM)(GLuint driverControl) { CALL_GL_API(glDisableDriverControlQCOM, driverControl); } -void API_ENTRY(glExtGetTexturesQCOM)(GLuint *textures, GLint maxTextures, GLint *numTextures) { +void API_ENTRY(glExtGetTexturesQCOM)(GLuint * textures, GLint maxTextures, GLint * numTextures) { CALL_GL_API(glExtGetTexturesQCOM, textures, maxTextures, numTextures); } -void API_ENTRY(glExtGetBuffersQCOM)(GLuint *buffers, GLint maxBuffers, GLint *numBuffers) { +void API_ENTRY(glExtGetBuffersQCOM)(GLuint * buffers, GLint maxBuffers, GLint * numBuffers) { CALL_GL_API(glExtGetBuffersQCOM, buffers, maxBuffers, numBuffers); } -void API_ENTRY(glExtGetRenderbuffersQCOM)(GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers) { +void API_ENTRY(glExtGetRenderbuffersQCOM)(GLuint * renderbuffers, GLint maxRenderbuffers, GLint * numRenderbuffers) { CALL_GL_API(glExtGetRenderbuffersQCOM, renderbuffers, maxRenderbuffers, numRenderbuffers); } -void API_ENTRY(glExtGetFramebuffersQCOM)(GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers) { +void API_ENTRY(glExtGetFramebuffersQCOM)(GLuint * framebuffers, GLint maxFramebuffers, GLint * numFramebuffers) { CALL_GL_API(glExtGetFramebuffersQCOM, framebuffers, maxFramebuffers, numFramebuffers); } -void API_ENTRY(glExtGetTexLevelParameterivQCOM)(GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params) { +void API_ENTRY(glExtGetTexLevelParameterivQCOM)(GLuint texture, GLenum face, GLint level, GLenum pname, GLint * params) { CALL_GL_API(glExtGetTexLevelParameterivQCOM, texture, face, level, pname, params); } void API_ENTRY(glExtTexObjectStateOverrideiQCOM)(GLenum target, GLenum pname, GLint param) { CALL_GL_API(glExtTexObjectStateOverrideiQCOM, target, pname, param); } -void API_ENTRY(glExtGetTexSubImageQCOM)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels) { +void API_ENTRY(glExtGetTexSubImageQCOM)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void * texels) { CALL_GL_API(glExtGetTexSubImageQCOM, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, texels); } -void API_ENTRY(glExtGetBufferPointervQCOM)(GLenum target, GLvoid **params) { +void API_ENTRY(glExtGetBufferPointervQCOM)(GLenum target, void ** params) { CALL_GL_API(glExtGetBufferPointervQCOM, target, params); } -void API_ENTRY(glExtGetShadersQCOM)(GLuint *shaders, GLint maxShaders, GLint *numShaders) { +void API_ENTRY(glExtGetShadersQCOM)(GLuint * shaders, GLint maxShaders, GLint * numShaders) { CALL_GL_API(glExtGetShadersQCOM, shaders, maxShaders, numShaders); } -void API_ENTRY(glExtGetProgramsQCOM)(GLuint *programs, GLint maxPrograms, GLint *numPrograms) { +void API_ENTRY(glExtGetProgramsQCOM)(GLuint * programs, GLint maxPrograms, GLint * numPrograms) { CALL_GL_API(glExtGetProgramsQCOM, programs, maxPrograms, numPrograms); } GLboolean API_ENTRY(glExtIsProgramBinaryQCOM)(GLuint program) { CALL_GL_API_RETURN(glExtIsProgramBinaryQCOM, program); } -void API_ENTRY(glExtGetProgramBinarySourceQCOM)(GLuint program, GLenum shadertype, GLchar *source, GLint *length) { +void API_ENTRY(glExtGetProgramBinarySourceQCOM)(GLuint program, GLenum shadertype, GLchar * source, GLint * length) { CALL_GL_API(glExtGetProgramBinarySourceQCOM, program, shadertype, source, length); } void API_ENTRY(glStartTilingQCOM)(GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask) { diff --git a/opengl/libs/GLES_CM/gl_api.in b/opengl/libs/GLES_CM/gl_api.in index c8f6b0c4d..fa975ed5d 100644 --- a/opengl/libs/GLES_CM/gl_api.in +++ b/opengl/libs/GLES_CM/gl_api.in @@ -1,73 +1,73 @@ -void API_ENTRY(glAlphaFunc)(GLenum func, GLclampf ref) { +void API_ENTRY(glAlphaFunc)(GLenum func, GLfloat ref) { CALL_GL_API(glAlphaFunc, func, ref); } -void API_ENTRY(glClearColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { +void API_ENTRY(glClearColor)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { CALL_GL_API(glClearColor, red, green, blue, alpha); } -void API_ENTRY(glClearDepthf)(GLclampf depth) { - CALL_GL_API(glClearDepthf, depth); +void API_ENTRY(glClearDepthf)(GLfloat d) { + CALL_GL_API(glClearDepthf, d); } -void API_ENTRY(glClipPlanef)(GLenum plane, const GLfloat *equation) { - CALL_GL_API(glClipPlanef, plane, equation); +void API_ENTRY(glClipPlanef)(GLenum p, const GLfloat * eqn) { + CALL_GL_API(glClipPlanef, p, eqn); } void API_ENTRY(glColor4f)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { CALL_GL_API(glColor4f, red, green, blue, alpha); } -void API_ENTRY(glDepthRangef)(GLclampf zNear, GLclampf zFar) { - CALL_GL_API(glDepthRangef, zNear, zFar); +void API_ENTRY(glDepthRangef)(GLfloat n, GLfloat f) { + CALL_GL_API(glDepthRangef, n, f); } void API_ENTRY(glFogf)(GLenum pname, GLfloat param) { CALL_GL_API(glFogf, pname, param); } -void API_ENTRY(glFogfv)(GLenum pname, const GLfloat *params) { +void API_ENTRY(glFogfv)(GLenum pname, const GLfloat * params) { CALL_GL_API(glFogfv, pname, params); } -void API_ENTRY(glFrustumf)(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) { - CALL_GL_API(glFrustumf, left, right, bottom, top, zNear, zFar); +void API_ENTRY(glFrustumf)(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) { + CALL_GL_API(glFrustumf, l, r, b, t, n, f); } -void API_ENTRY(glGetClipPlanef)(GLenum pname, GLfloat eqn[4]) { - CALL_GL_API(glGetClipPlanef, pname, eqn); +void API_ENTRY(glGetClipPlanef)(GLenum plane, GLfloat * equation) { + CALL_GL_API(glGetClipPlanef, plane, equation); } -void API_ENTRY(glGetFloatv)(GLenum pname, GLfloat *params) { - CALL_GL_API(glGetFloatv, pname, params); +void API_ENTRY(glGetFloatv)(GLenum pname, GLfloat * data) { + CALL_GL_API(glGetFloatv, pname, data); } -void API_ENTRY(glGetLightfv)(GLenum light, GLenum pname, GLfloat *params) { +void API_ENTRY(glGetLightfv)(GLenum light, GLenum pname, GLfloat * params) { CALL_GL_API(glGetLightfv, light, pname, params); } -void API_ENTRY(glGetMaterialfv)(GLenum face, GLenum pname, GLfloat *params) { +void API_ENTRY(glGetMaterialfv)(GLenum face, GLenum pname, GLfloat * params) { CALL_GL_API(glGetMaterialfv, face, pname, params); } -void API_ENTRY(glGetTexEnvfv)(GLenum env, GLenum pname, GLfloat *params) { - CALL_GL_API(glGetTexEnvfv, env, pname, params); +void API_ENTRY(glGetTexEnvfv)(GLenum target, GLenum pname, GLfloat * params) { + CALL_GL_API(glGetTexEnvfv, target, pname, params); } -void API_ENTRY(glGetTexParameterfv)(GLenum target, GLenum pname, GLfloat *params) { +void API_ENTRY(glGetTexParameterfv)(GLenum target, GLenum pname, GLfloat * params) { CALL_GL_API(glGetTexParameterfv, target, pname, params); } void API_ENTRY(glLightModelf)(GLenum pname, GLfloat param) { CALL_GL_API(glLightModelf, pname, param); } -void API_ENTRY(glLightModelfv)(GLenum pname, const GLfloat *params) { +void API_ENTRY(glLightModelfv)(GLenum pname, const GLfloat * params) { CALL_GL_API(glLightModelfv, pname, params); } void API_ENTRY(glLightf)(GLenum light, GLenum pname, GLfloat param) { CALL_GL_API(glLightf, light, pname, param); } -void API_ENTRY(glLightfv)(GLenum light, GLenum pname, const GLfloat *params) { +void API_ENTRY(glLightfv)(GLenum light, GLenum pname, const GLfloat * params) { CALL_GL_API(glLightfv, light, pname, params); } void API_ENTRY(glLineWidth)(GLfloat width) { CALL_GL_API(glLineWidth, width); } -void API_ENTRY(glLoadMatrixf)(const GLfloat *m) { +void API_ENTRY(glLoadMatrixf)(const GLfloat * m) { CALL_GL_API(glLoadMatrixf, m); } void API_ENTRY(glMaterialf)(GLenum face, GLenum pname, GLfloat param) { CALL_GL_API(glMaterialf, face, pname, param); } -void API_ENTRY(glMaterialfv)(GLenum face, GLenum pname, const GLfloat *params) { +void API_ENTRY(glMaterialfv)(GLenum face, GLenum pname, const GLfloat * params) { CALL_GL_API(glMaterialfv, face, pname, params); } -void API_ENTRY(glMultMatrixf)(const GLfloat *m) { +void API_ENTRY(glMultMatrixf)(const GLfloat * m) { CALL_GL_API(glMultMatrixf, m); } void API_ENTRY(glMultiTexCoord4f)(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) { @@ -76,13 +76,13 @@ void API_ENTRY(glMultiTexCoord4f)(GLenum target, GLfloat s, GLfloat t, GLfloat r void API_ENTRY(glNormal3f)(GLfloat nx, GLfloat ny, GLfloat nz) { CALL_GL_API(glNormal3f, nx, ny, nz); } -void API_ENTRY(glOrthof)(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) { - CALL_GL_API(glOrthof, left, right, bottom, top, zNear, zFar); +void API_ENTRY(glOrthof)(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) { + CALL_GL_API(glOrthof, l, r, b, t, n, f); } void API_ENTRY(glPointParameterf)(GLenum pname, GLfloat param) { CALL_GL_API(glPointParameterf, pname, param); } -void API_ENTRY(glPointParameterfv)(GLenum pname, const GLfloat *params) { +void API_ENTRY(glPointParameterfv)(GLenum pname, const GLfloat * params) { CALL_GL_API(glPointParameterfv, pname, params); } void API_ENTRY(glPointSize)(GLfloat size) { @@ -100,13 +100,13 @@ void API_ENTRY(glScalef)(GLfloat x, GLfloat y, GLfloat z) { void API_ENTRY(glTexEnvf)(GLenum target, GLenum pname, GLfloat param) { CALL_GL_API(glTexEnvf, target, pname, param); } -void API_ENTRY(glTexEnvfv)(GLenum target, GLenum pname, const GLfloat *params) { +void API_ENTRY(glTexEnvfv)(GLenum target, GLenum pname, const GLfloat * params) { CALL_GL_API(glTexEnvfv, target, pname, params); } void API_ENTRY(glTexParameterf)(GLenum target, GLenum pname, GLfloat param) { CALL_GL_API(glTexParameterf, target, pname, param); } -void API_ENTRY(glTexParameterfv)(GLenum target, GLenum pname, const GLfloat *params) { +void API_ENTRY(glTexParameterfv)(GLenum target, GLenum pname, const GLfloat * params) { CALL_GL_API(glTexParameterfv, target, pname, params); } void API_ENTRY(glTranslatef)(GLfloat x, GLfloat y, GLfloat z) { @@ -115,7 +115,7 @@ void API_ENTRY(glTranslatef)(GLfloat x, GLfloat y, GLfloat z) { void API_ENTRY(glActiveTexture)(GLenum texture) { CALL_GL_API(glActiveTexture, texture); } -void API_ENTRY(glAlphaFuncx)(GLenum func, GLclampx ref) { +void API_ENTRY(glAlphaFuncx)(GLenum func, GLfixed ref) { CALL_GL_API(glAlphaFuncx, func, ref); } void API_ENTRY(glBindBuffer)(GLenum target, GLuint buffer) { @@ -127,19 +127,19 @@ void API_ENTRY(glBindTexture)(GLenum target, GLuint texture) { void API_ENTRY(glBlendFunc)(GLenum sfactor, GLenum dfactor) { CALL_GL_API(glBlendFunc, sfactor, dfactor); } -void API_ENTRY(glBufferData)(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage) { +void API_ENTRY(glBufferData)(GLenum target, GLsizeiptr size, const void * data, GLenum usage) { CALL_GL_API(glBufferData, target, size, data, usage); } -void API_ENTRY(glBufferSubData)(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data) { +void API_ENTRY(glBufferSubData)(GLenum target, GLintptr offset, GLsizeiptr size, const void * data) { CALL_GL_API(glBufferSubData, target, offset, size, data); } void API_ENTRY(glClear)(GLbitfield mask) { CALL_GL_API(glClear, mask); } -void API_ENTRY(glClearColorx)(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) { +void API_ENTRY(glClearColorx)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { CALL_GL_API(glClearColorx, red, green, blue, alpha); } -void API_ENTRY(glClearDepthx)(GLclampx depth) { +void API_ENTRY(glClearDepthx)(GLfixed depth) { CALL_GL_API(glClearDepthx, depth); } void API_ENTRY(glClearStencil)(GLint s) { @@ -148,7 +148,7 @@ void API_ENTRY(glClearStencil)(GLint s) { void API_ENTRY(glClientActiveTexture)(GLenum texture) { CALL_GL_API(glClientActiveTexture, texture); } -void API_ENTRY(glClipPlanex)(GLenum plane, const GLfixed *equation) { +void API_ENTRY(glClipPlanex)(GLenum plane, const GLfixed * equation) { CALL_GL_API(glClipPlanex, plane, equation); } void API_ENTRY(glColor4ub)(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) { @@ -160,13 +160,13 @@ void API_ENTRY(glColor4x)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alph void API_ENTRY(glColorMask)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) { CALL_GL_API(glColorMask, red, green, blue, alpha); } -void API_ENTRY(glColorPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) { +void API_ENTRY(glColorPointer)(GLint size, GLenum type, GLsizei stride, const void * pointer) { CALL_GL_API(glColorPointer, size, type, stride, pointer); } -void API_ENTRY(glCompressedTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) { +void API_ENTRY(glCompressedTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * data) { CALL_GL_API(glCompressedTexImage2D, target, level, internalformat, width, height, border, imageSize, data); } -void API_ENTRY(glCompressedTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data) { +void API_ENTRY(glCompressedTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * data) { CALL_GL_API(glCompressedTexSubImage2D, target, level, xoffset, yoffset, width, height, format, imageSize, data); } void API_ENTRY(glCopyTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) { @@ -178,10 +178,10 @@ void API_ENTRY(glCopyTexSubImage2D)(GLenum target, GLint level, GLint xoffset, G void API_ENTRY(glCullFace)(GLenum mode) { CALL_GL_API(glCullFace, mode); } -void API_ENTRY(glDeleteBuffers)(GLsizei n, const GLuint *buffers) { +void API_ENTRY(glDeleteBuffers)(GLsizei n, const GLuint * buffers) { CALL_GL_API(glDeleteBuffers, n, buffers); } -void API_ENTRY(glDeleteTextures)(GLsizei n, const GLuint *textures) { +void API_ENTRY(glDeleteTextures)(GLsizei n, const GLuint * textures) { CALL_GL_API(glDeleteTextures, n, textures); } void API_ENTRY(glDepthFunc)(GLenum func) { @@ -190,8 +190,8 @@ void API_ENTRY(glDepthFunc)(GLenum func) { void API_ENTRY(glDepthMask)(GLboolean flag) { CALL_GL_API(glDepthMask, flag); } -void API_ENTRY(glDepthRangex)(GLclampx zNear, GLclampx zFar) { - CALL_GL_API(glDepthRangex, zNear, zFar); +void API_ENTRY(glDepthRangex)(GLfixed n, GLfixed f) { + CALL_GL_API(glDepthRangex, n, f); } void API_ENTRY(glDisable)(GLenum cap) { CALL_GL_API(glDisable, cap); @@ -202,7 +202,7 @@ void API_ENTRY(glDisableClientState)(GLenum array) { void API_ENTRY(glDrawArrays)(GLenum mode, GLint first, GLsizei count) { CALL_GL_API(glDrawArrays, mode, first, count); } -void API_ENTRY(glDrawElements)(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) { +void API_ENTRY(glDrawElements)(GLenum mode, GLsizei count, GLenum type, const void * indices) { CALL_GL_API(glDrawElements, mode, count, type, indices); } void API_ENTRY(glEnable)(GLenum cap) { @@ -220,61 +220,61 @@ void API_ENTRY(glFlush)(void) { void API_ENTRY(glFogx)(GLenum pname, GLfixed param) { CALL_GL_API(glFogx, pname, param); } -void API_ENTRY(glFogxv)(GLenum pname, const GLfixed *params) { - CALL_GL_API(glFogxv, pname, params); +void API_ENTRY(glFogxv)(GLenum pname, const GLfixed * param) { + CALL_GL_API(glFogxv, pname, param); } void API_ENTRY(glFrontFace)(GLenum mode) { CALL_GL_API(glFrontFace, mode); } -void API_ENTRY(glFrustumx)(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) { - CALL_GL_API(glFrustumx, left, right, bottom, top, zNear, zFar); +void API_ENTRY(glFrustumx)(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f) { + CALL_GL_API(glFrustumx, l, r, b, t, n, f); } -void API_ENTRY(glGetBooleanv)(GLenum pname, GLboolean *params) { - CALL_GL_API(glGetBooleanv, pname, params); +void API_ENTRY(glGetBooleanv)(GLenum pname, GLboolean * data) { + CALL_GL_API(glGetBooleanv, pname, data); } -void API_ENTRY(glGetBufferParameteriv)(GLenum target, GLenum pname, GLint *params) { +void API_ENTRY(glGetBufferParameteriv)(GLenum target, GLenum pname, GLint * params) { CALL_GL_API(glGetBufferParameteriv, target, pname, params); } -void API_ENTRY(glGetClipPlanex)(GLenum pname, GLfixed eqn[4]) { - CALL_GL_API(glGetClipPlanex, pname, eqn); +void API_ENTRY(glGetClipPlanex)(GLenum plane, GLfixed * equation) { + CALL_GL_API(glGetClipPlanex, plane, equation); } -void API_ENTRY(glGenBuffers)(GLsizei n, GLuint *buffers) { +void API_ENTRY(glGenBuffers)(GLsizei n, GLuint * buffers) { CALL_GL_API(glGenBuffers, n, buffers); } -void API_ENTRY(glGenTextures)(GLsizei n, GLuint *textures) { +void API_ENTRY(glGenTextures)(GLsizei n, GLuint * textures) { CALL_GL_API(glGenTextures, n, textures); } GLenum API_ENTRY(glGetError)(void) { CALL_GL_API_RETURN(glGetError); } -void API_ENTRY(glGetFixedv)(GLenum pname, GLfixed *params) { +void API_ENTRY(glGetFixedv)(GLenum pname, GLfixed * params) { CALL_GL_API(glGetFixedv, pname, params); } -void API_ENTRY(glGetIntegerv)(GLenum pname, GLint *params) { - CALL_GL_API(glGetIntegerv, pname, params); +void API_ENTRY(glGetIntegerv)(GLenum pname, GLint * data) { + CALL_GL_API(glGetIntegerv, pname, data); } -void API_ENTRY(glGetLightxv)(GLenum light, GLenum pname, GLfixed *params) { +void API_ENTRY(glGetLightxv)(GLenum light, GLenum pname, GLfixed * params) { CALL_GL_API(glGetLightxv, light, pname, params); } -void API_ENTRY(glGetMaterialxv)(GLenum face, GLenum pname, GLfixed *params) { +void API_ENTRY(glGetMaterialxv)(GLenum face, GLenum pname, GLfixed * params) { CALL_GL_API(glGetMaterialxv, face, pname, params); } -void API_ENTRY(glGetPointerv)(GLenum pname, GLvoid **params) { +void API_ENTRY(glGetPointerv)(GLenum pname, void ** params) { CALL_GL_API(glGetPointerv, pname, params); } const GLubyte * API_ENTRY(__glGetString)(GLenum name) { CALL_GL_API_RETURN(glGetString, name); } -void API_ENTRY(glGetTexEnviv)(GLenum env, GLenum pname, GLint *params) { - CALL_GL_API(glGetTexEnviv, env, pname, params); +void API_ENTRY(glGetTexEnviv)(GLenum target, GLenum pname, GLint * params) { + CALL_GL_API(glGetTexEnviv, target, pname, params); } -void API_ENTRY(glGetTexEnvxv)(GLenum env, GLenum pname, GLfixed *params) { - CALL_GL_API(glGetTexEnvxv, env, pname, params); +void API_ENTRY(glGetTexEnvxv)(GLenum target, GLenum pname, GLfixed * params) { + CALL_GL_API(glGetTexEnvxv, target, pname, params); } -void API_ENTRY(glGetTexParameteriv)(GLenum target, GLenum pname, GLint *params) { +void API_ENTRY(glGetTexParameteriv)(GLenum target, GLenum pname, GLint * params) { CALL_GL_API(glGetTexParameteriv, target, pname, params); } -void API_ENTRY(glGetTexParameterxv)(GLenum target, GLenum pname, GLfixed *params) { +void API_ENTRY(glGetTexParameterxv)(GLenum target, GLenum pname, GLfixed * params) { CALL_GL_API(glGetTexParameterxv, target, pname, params); } void API_ENTRY(glHint)(GLenum target, GLenum mode) { @@ -292,13 +292,13 @@ GLboolean API_ENTRY(glIsTexture)(GLuint texture) { void API_ENTRY(glLightModelx)(GLenum pname, GLfixed param) { CALL_GL_API(glLightModelx, pname, param); } -void API_ENTRY(glLightModelxv)(GLenum pname, const GLfixed *params) { - CALL_GL_API(glLightModelxv, pname, params); +void API_ENTRY(glLightModelxv)(GLenum pname, const GLfixed * param) { + CALL_GL_API(glLightModelxv, pname, param); } void API_ENTRY(glLightx)(GLenum light, GLenum pname, GLfixed param) { CALL_GL_API(glLightx, light, pname, param); } -void API_ENTRY(glLightxv)(GLenum light, GLenum pname, const GLfixed *params) { +void API_ENTRY(glLightxv)(GLenum light, GLenum pname, const GLfixed * params) { CALL_GL_API(glLightxv, light, pname, params); } void API_ENTRY(glLineWidthx)(GLfixed width) { @@ -307,7 +307,7 @@ void API_ENTRY(glLineWidthx)(GLfixed width) { void API_ENTRY(glLoadIdentity)(void) { CALL_GL_API(glLoadIdentity); } -void API_ENTRY(glLoadMatrixx)(const GLfixed *m) { +void API_ENTRY(glLoadMatrixx)(const GLfixed * m) { CALL_GL_API(glLoadMatrixx, m); } void API_ENTRY(glLogicOp)(GLenum opcode) { @@ -316,26 +316,26 @@ void API_ENTRY(glLogicOp)(GLenum opcode) { void API_ENTRY(glMaterialx)(GLenum face, GLenum pname, GLfixed param) { CALL_GL_API(glMaterialx, face, pname, param); } -void API_ENTRY(glMaterialxv)(GLenum face, GLenum pname, const GLfixed *params) { - CALL_GL_API(glMaterialxv, face, pname, params); +void API_ENTRY(glMaterialxv)(GLenum face, GLenum pname, const GLfixed * param) { + CALL_GL_API(glMaterialxv, face, pname, param); } void API_ENTRY(glMatrixMode)(GLenum mode) { CALL_GL_API(glMatrixMode, mode); } -void API_ENTRY(glMultMatrixx)(const GLfixed *m) { +void API_ENTRY(glMultMatrixx)(const GLfixed * m) { CALL_GL_API(glMultMatrixx, m); } -void API_ENTRY(glMultiTexCoord4x)(GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q) { - CALL_GL_API(glMultiTexCoord4x, target, s, t, r, q); +void API_ENTRY(glMultiTexCoord4x)(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q) { + CALL_GL_API(glMultiTexCoord4x, texture, s, t, r, q); } void API_ENTRY(glNormal3x)(GLfixed nx, GLfixed ny, GLfixed nz) { CALL_GL_API(glNormal3x, nx, ny, nz); } -void API_ENTRY(glNormalPointer)(GLenum type, GLsizei stride, const GLvoid *pointer) { +void API_ENTRY(glNormalPointer)(GLenum type, GLsizei stride, const void * pointer) { CALL_GL_API(glNormalPointer, type, stride, pointer); } -void API_ENTRY(glOrthox)(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) { - CALL_GL_API(glOrthox, left, right, bottom, top, zNear, zFar); +void API_ENTRY(glOrthox)(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f) { + CALL_GL_API(glOrthox, l, r, b, t, n, f); } void API_ENTRY(glPixelStorei)(GLenum pname, GLint param) { CALL_GL_API(glPixelStorei, pname, param); @@ -343,7 +343,7 @@ void API_ENTRY(glPixelStorei)(GLenum pname, GLint param) { void API_ENTRY(glPointParameterx)(GLenum pname, GLfixed param) { CALL_GL_API(glPointParameterx, pname, param); } -void API_ENTRY(glPointParameterxv)(GLenum pname, const GLfixed *params) { +void API_ENTRY(glPointParameterxv)(GLenum pname, const GLfixed * params) { CALL_GL_API(glPointParameterxv, pname, params); } void API_ENTRY(glPointSizex)(GLfixed size) { @@ -358,13 +358,13 @@ void API_ENTRY(glPopMatrix)(void) { void API_ENTRY(glPushMatrix)(void) { CALL_GL_API(glPushMatrix); } -void API_ENTRY(glReadPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels) { +void API_ENTRY(glReadPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void * pixels) { CALL_GL_API(glReadPixels, x, y, width, height, format, type, pixels); } void API_ENTRY(glRotatex)(GLfixed angle, GLfixed x, GLfixed y, GLfixed z) { CALL_GL_API(glRotatex, angle, x, y, z); } -void API_ENTRY(glSampleCoverage)(GLclampf value, GLboolean invert) { +void API_ENTRY(glSampleCoverage)(GLfloat value, GLboolean invert) { CALL_GL_API(glSampleCoverage, value, invert); } void API_ENTRY(glSampleCoveragex)(GLclampx value, GLboolean invert) { @@ -388,7 +388,7 @@ void API_ENTRY(glStencilMask)(GLuint mask) { void API_ENTRY(glStencilOp)(GLenum fail, GLenum zfail, GLenum zpass) { CALL_GL_API(glStencilOp, fail, zfail, zpass); } -void API_ENTRY(glTexCoordPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) { +void API_ENTRY(glTexCoordPointer)(GLint size, GLenum type, GLsizei stride, const void * pointer) { CALL_GL_API(glTexCoordPointer, size, type, stride, pointer); } void API_ENTRY(glTexEnvi)(GLenum target, GLenum pname, GLint param) { @@ -397,13 +397,13 @@ void API_ENTRY(glTexEnvi)(GLenum target, GLenum pname, GLint param) { void API_ENTRY(glTexEnvx)(GLenum target, GLenum pname, GLfixed param) { CALL_GL_API(glTexEnvx, target, pname, param); } -void API_ENTRY(glTexEnviv)(GLenum target, GLenum pname, const GLint *params) { +void API_ENTRY(glTexEnviv)(GLenum target, GLenum pname, const GLint * params) { CALL_GL_API(glTexEnviv, target, pname, params); } -void API_ENTRY(glTexEnvxv)(GLenum target, GLenum pname, const GLfixed *params) { +void API_ENTRY(glTexEnvxv)(GLenum target, GLenum pname, const GLfixed * params) { CALL_GL_API(glTexEnvxv, target, pname, params); } -void API_ENTRY(glTexImage2D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) { +void API_ENTRY(glTexImage2D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void * pixels) { CALL_GL_API(glTexImage2D, target, level, internalformat, width, height, border, format, type, pixels); } void API_ENTRY(glTexParameteri)(GLenum target, GLenum pname, GLint param) { @@ -412,24 +412,21 @@ void API_ENTRY(glTexParameteri)(GLenum target, GLenum pname, GLint param) { void API_ENTRY(glTexParameterx)(GLenum target, GLenum pname, GLfixed param) { CALL_GL_API(glTexParameterx, target, pname, param); } -void API_ENTRY(glTexParameteriv)(GLenum target, GLenum pname, const GLint *params) { +void API_ENTRY(glTexParameteriv)(GLenum target, GLenum pname, const GLint * params) { CALL_GL_API(glTexParameteriv, target, pname, params); } -void API_ENTRY(glTexParameterxv)(GLenum target, GLenum pname, const GLfixed *params) { +void API_ENTRY(glTexParameterxv)(GLenum target, GLenum pname, const GLfixed * params) { CALL_GL_API(glTexParameterxv, target, pname, params); } -void API_ENTRY(glTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) { +void API_ENTRY(glTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels) { CALL_GL_API(glTexSubImage2D, target, level, xoffset, yoffset, width, height, format, type, pixels); } void API_ENTRY(glTranslatex)(GLfixed x, GLfixed y, GLfixed z) { CALL_GL_API(glTranslatex, x, y, z); } -void API_ENTRY(glVertexPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) { +void API_ENTRY(glVertexPointer)(GLint size, GLenum type, GLsizei stride, const void * pointer) { CALL_GL_API(glVertexPointer, size, type, stride, pointer); } void API_ENTRY(glViewport)(GLint x, GLint y, GLsizei width, GLsizei height) { CALL_GL_API(glViewport, x, y, width, height); } -void API_ENTRY(glPointSizePointerOES)(GLenum type, GLsizei stride, const GLvoid *pointer) { - CALL_GL_API(glPointSizePointerOES, type, stride, pointer); -} diff --git a/opengl/libs/GLES_CM/glext_api.in b/opengl/libs/GLES_CM/glext_api.in index 7cd6cb539..c8fba6b9e 100644 --- a/opengl/libs/GLES_CM/glext_api.in +++ b/opengl/libs/GLES_CM/glext_api.in @@ -1,3 +1,9 @@ +void API_ENTRY(glEGLImageTargetTexture2DOES)(GLenum target, GLeglImageOES image) { + CALL_GL_API(glEGLImageTargetTexture2DOES, target, image); +} +void API_ENTRY(glEGLImageTargetRenderbufferStorageOES)(GLenum target, GLeglImageOES image) { + CALL_GL_API(glEGLImageTargetRenderbufferStorageOES, target, image); +} void API_ENTRY(glBlendEquationSeparateOES)(GLenum modeRGB, GLenum modeAlpha) { CALL_GL_API(glBlendEquationSeparateOES, modeRGB, modeAlpha); } @@ -7,6 +13,72 @@ void API_ENTRY(glBlendFuncSeparateOES)(GLenum srcRGB, GLenum dstRGB, GLenum srcA void API_ENTRY(glBlendEquationOES)(GLenum mode) { CALL_GL_API(glBlendEquationOES, mode); } +void API_ENTRY(glMultiTexCoord1bOES)(GLenum texture, GLbyte s) { + CALL_GL_API(glMultiTexCoord1bOES, texture, s); +} +void API_ENTRY(glMultiTexCoord1bvOES)(GLenum texture, const GLbyte * coords) { + CALL_GL_API(glMultiTexCoord1bvOES, texture, coords); +} +void API_ENTRY(glMultiTexCoord2bOES)(GLenum texture, GLbyte s, GLbyte t) { + CALL_GL_API(glMultiTexCoord2bOES, texture, s, t); +} +void API_ENTRY(glMultiTexCoord2bvOES)(GLenum texture, const GLbyte * coords) { + CALL_GL_API(glMultiTexCoord2bvOES, texture, coords); +} +void API_ENTRY(glMultiTexCoord3bOES)(GLenum texture, GLbyte s, GLbyte t, GLbyte r) { + CALL_GL_API(glMultiTexCoord3bOES, texture, s, t, r); +} +void API_ENTRY(glMultiTexCoord3bvOES)(GLenum texture, const GLbyte * coords) { + CALL_GL_API(glMultiTexCoord3bvOES, texture, coords); +} +void API_ENTRY(glMultiTexCoord4bOES)(GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q) { + CALL_GL_API(glMultiTexCoord4bOES, texture, s, t, r, q); +} +void API_ENTRY(glMultiTexCoord4bvOES)(GLenum texture, const GLbyte * coords) { + CALL_GL_API(glMultiTexCoord4bvOES, texture, coords); +} +void API_ENTRY(glTexCoord1bOES)(GLbyte s) { + CALL_GL_API(glTexCoord1bOES, s); +} +void API_ENTRY(glTexCoord1bvOES)(const GLbyte * coords) { + CALL_GL_API(glTexCoord1bvOES, coords); +} +void API_ENTRY(glTexCoord2bOES)(GLbyte s, GLbyte t) { + CALL_GL_API(glTexCoord2bOES, s, t); +} +void API_ENTRY(glTexCoord2bvOES)(const GLbyte * coords) { + CALL_GL_API(glTexCoord2bvOES, coords); +} +void API_ENTRY(glTexCoord3bOES)(GLbyte s, GLbyte t, GLbyte r) { + CALL_GL_API(glTexCoord3bOES, s, t, r); +} +void API_ENTRY(glTexCoord3bvOES)(const GLbyte * coords) { + CALL_GL_API(glTexCoord3bvOES, coords); +} +void API_ENTRY(glTexCoord4bOES)(GLbyte s, GLbyte t, GLbyte r, GLbyte q) { + CALL_GL_API(glTexCoord4bOES, s, t, r, q); +} +void API_ENTRY(glTexCoord4bvOES)(const GLbyte * coords) { + CALL_GL_API(glTexCoord4bvOES, coords); +} +void API_ENTRY(glVertex2bOES)(GLbyte x) { + CALL_GL_API(glVertex2bOES, x); +} +void API_ENTRY(glVertex2bvOES)(const GLbyte * coords) { + CALL_GL_API(glVertex2bvOES, coords); +} +void API_ENTRY(glVertex3bOES)(GLbyte x, GLbyte y) { + CALL_GL_API(glVertex3bOES, x, y); +} +void API_ENTRY(glVertex3bvOES)(const GLbyte * coords) { + CALL_GL_API(glVertex3bvOES, coords); +} +void API_ENTRY(glVertex4bOES)(GLbyte x, GLbyte y, GLbyte z) { + CALL_GL_API(glVertex4bOES, x, y, z); +} +void API_ENTRY(glVertex4bvOES)(const GLbyte * coords) { + CALL_GL_API(glVertex4bvOES, coords); +} void API_ENTRY(glDrawTexsOES)(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height) { CALL_GL_API(glDrawTexsOES, x, y, z, width, height); } @@ -16,112 +88,97 @@ void API_ENTRY(glDrawTexiOES)(GLint x, GLint y, GLint z, GLint width, GLint heig void API_ENTRY(glDrawTexxOES)(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height) { CALL_GL_API(glDrawTexxOES, x, y, z, width, height); } -void API_ENTRY(glDrawTexsvOES)(const GLshort *coords) { +void API_ENTRY(glDrawTexsvOES)(const GLshort * coords) { CALL_GL_API(glDrawTexsvOES, coords); } -void API_ENTRY(glDrawTexivOES)(const GLint *coords) { +void API_ENTRY(glDrawTexivOES)(const GLint * coords) { CALL_GL_API(glDrawTexivOES, coords); } -void API_ENTRY(glDrawTexxvOES)(const GLfixed *coords) { +void API_ENTRY(glDrawTexxvOES)(const GLfixed * coords) { CALL_GL_API(glDrawTexxvOES, coords); } void API_ENTRY(glDrawTexfOES)(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height) { CALL_GL_API(glDrawTexfOES, x, y, z, width, height); } -void API_ENTRY(glDrawTexfvOES)(const GLfloat *coords) { +void API_ENTRY(glDrawTexfvOES)(const GLfloat * coords) { CALL_GL_API(glDrawTexfvOES, coords); } -void API_ENTRY(glEGLImageTargetTexture2DOES)(GLenum target, GLeglImageOES image) { - CALL_GL_API(glEGLImageTargetTexture2DOES, target, image); -} -void API_ENTRY(glEGLImageTargetRenderbufferStorageOES)(GLenum target, GLeglImageOES image) { - CALL_GL_API(glEGLImageTargetRenderbufferStorageOES, target, image); -} -void API_ENTRY(glAlphaFuncxOES)(GLenum func, GLclampx ref) { +void API_ENTRY(glAlphaFuncxOES)(GLenum func, GLfixed ref) { CALL_GL_API(glAlphaFuncxOES, func, ref); } -void API_ENTRY(glClearColorxOES)(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) { +void API_ENTRY(glClearColorxOES)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { CALL_GL_API(glClearColorxOES, red, green, blue, alpha); } -void API_ENTRY(glClearDepthxOES)(GLclampx depth) { +void API_ENTRY(glClearDepthxOES)(GLfixed depth) { CALL_GL_API(glClearDepthxOES, depth); } -void API_ENTRY(glClipPlanexOES)(GLenum plane, const GLfixed *equation) { +void API_ENTRY(glClipPlanexOES)(GLenum plane, const GLfixed * equation) { CALL_GL_API(glClipPlanexOES, plane, equation); } void API_ENTRY(glColor4xOES)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { CALL_GL_API(glColor4xOES, red, green, blue, alpha); } -void API_ENTRY(glDepthRangexOES)(GLclampx zNear, GLclampx zFar) { - CALL_GL_API(glDepthRangexOES, zNear, zFar); +void API_ENTRY(glDepthRangexOES)(GLfixed n, GLfixed f) { + CALL_GL_API(glDepthRangexOES, n, f); } void API_ENTRY(glFogxOES)(GLenum pname, GLfixed param) { CALL_GL_API(glFogxOES, pname, param); } -void API_ENTRY(glFogxvOES)(GLenum pname, const GLfixed *params) { - CALL_GL_API(glFogxvOES, pname, params); +void API_ENTRY(glFogxvOES)(GLenum pname, const GLfixed * param) { + CALL_GL_API(glFogxvOES, pname, param); } -void API_ENTRY(glFrustumxOES)(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) { - CALL_GL_API(glFrustumxOES, left, right, bottom, top, zNear, zFar); +void API_ENTRY(glFrustumxOES)(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f) { + CALL_GL_API(glFrustumxOES, l, r, b, t, n, f); } -void API_ENTRY(glGetClipPlanexOES)(GLenum pname, GLfixed eqn[4]) { - CALL_GL_API(glGetClipPlanexOES, pname, eqn); +void API_ENTRY(glGetClipPlanexOES)(GLenum plane, GLfixed * equation) { + CALL_GL_API(glGetClipPlanexOES, plane, equation); } -void API_ENTRY(glGetFixedvOES)(GLenum pname, GLfixed *params) { +void API_ENTRY(glGetFixedvOES)(GLenum pname, GLfixed * params) { CALL_GL_API(glGetFixedvOES, pname, params); } -void API_ENTRY(glGetLightxvOES)(GLenum light, GLenum pname, GLfixed *params) { - CALL_GL_API(glGetLightxvOES, light, pname, params); +void API_ENTRY(glGetTexEnvxvOES)(GLenum target, GLenum pname, GLfixed * params) { + CALL_GL_API(glGetTexEnvxvOES, target, pname, params); } -void API_ENTRY(glGetMaterialxvOES)(GLenum face, GLenum pname, GLfixed *params) { - CALL_GL_API(glGetMaterialxvOES, face, pname, params); -} -void API_ENTRY(glGetTexEnvxvOES)(GLenum env, GLenum pname, GLfixed *params) { - CALL_GL_API(glGetTexEnvxvOES, env, pname, params); -} -void API_ENTRY(glGetTexParameterxvOES)(GLenum target, GLenum pname, GLfixed *params) { +void API_ENTRY(glGetTexParameterxvOES)(GLenum target, GLenum pname, GLfixed * params) { CALL_GL_API(glGetTexParameterxvOES, target, pname, params); } void API_ENTRY(glLightModelxOES)(GLenum pname, GLfixed param) { CALL_GL_API(glLightModelxOES, pname, param); } -void API_ENTRY(glLightModelxvOES)(GLenum pname, const GLfixed *params) { - CALL_GL_API(glLightModelxvOES, pname, params); +void API_ENTRY(glLightModelxvOES)(GLenum pname, const GLfixed * param) { + CALL_GL_API(glLightModelxvOES, pname, param); } void API_ENTRY(glLightxOES)(GLenum light, GLenum pname, GLfixed param) { CALL_GL_API(glLightxOES, light, pname, param); } -void API_ENTRY(glLightxvOES)(GLenum light, GLenum pname, const GLfixed *params) { +void API_ENTRY(glLightxvOES)(GLenum light, GLenum pname, const GLfixed * params) { CALL_GL_API(glLightxvOES, light, pname, params); } void API_ENTRY(glLineWidthxOES)(GLfixed width) { CALL_GL_API(glLineWidthxOES, width); } -void API_ENTRY(glLoadMatrixxOES)(const GLfixed *m) { +void API_ENTRY(glLoadMatrixxOES)(const GLfixed * m) { CALL_GL_API(glLoadMatrixxOES, m); } void API_ENTRY(glMaterialxOES)(GLenum face, GLenum pname, GLfixed param) { CALL_GL_API(glMaterialxOES, face, pname, param); } -void API_ENTRY(glMaterialxvOES)(GLenum face, GLenum pname, const GLfixed *params) { - CALL_GL_API(glMaterialxvOES, face, pname, params); +void API_ENTRY(glMaterialxvOES)(GLenum face, GLenum pname, const GLfixed * param) { + CALL_GL_API(glMaterialxvOES, face, pname, param); } -void API_ENTRY(glMultMatrixxOES)(const GLfixed *m) { +void API_ENTRY(glMultMatrixxOES)(const GLfixed * m) { CALL_GL_API(glMultMatrixxOES, m); } -void API_ENTRY(glMultiTexCoord4xOES)(GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q) { - CALL_GL_API(glMultiTexCoord4xOES, target, s, t, r, q); +void API_ENTRY(glMultiTexCoord4xOES)(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q) { + CALL_GL_API(glMultiTexCoord4xOES, texture, s, t, r, q); } void API_ENTRY(glNormal3xOES)(GLfixed nx, GLfixed ny, GLfixed nz) { CALL_GL_API(glNormal3xOES, nx, ny, nz); } -void API_ENTRY(glOrthoxOES)(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) { - CALL_GL_API(glOrthoxOES, left, right, bottom, top, zNear, zFar); +void API_ENTRY(glOrthoxOES)(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f) { + CALL_GL_API(glOrthoxOES, l, r, b, t, n, f); } -void API_ENTRY(glPointParameterxOES)(GLenum pname, GLfixed param) { - CALL_GL_API(glPointParameterxOES, pname, param); -} -void API_ENTRY(glPointParameterxvOES)(GLenum pname, const GLfixed *params) { +void API_ENTRY(glPointParameterxvOES)(GLenum pname, const GLfixed * params) { CALL_GL_API(glPointParameterxvOES, pname, params); } void API_ENTRY(glPointSizexOES)(GLfixed size) { @@ -133,8 +190,8 @@ void API_ENTRY(glPolygonOffsetxOES)(GLfixed factor, GLfixed units) { void API_ENTRY(glRotatexOES)(GLfixed angle, GLfixed x, GLfixed y, GLfixed z) { CALL_GL_API(glRotatexOES, angle, x, y, z); } -void API_ENTRY(glSampleCoveragexOES)(GLclampx value, GLboolean invert) { - CALL_GL_API(glSampleCoveragexOES, value, invert); +void API_ENTRY(glSampleCoverageOES)(GLfixed value, GLboolean invert) { + CALL_GL_API(glSampleCoverageOES, value, invert); } void API_ENTRY(glScalexOES)(GLfixed x, GLfixed y, GLfixed z) { CALL_GL_API(glScalexOES, x, y, z); @@ -142,34 +199,55 @@ void API_ENTRY(glScalexOES)(GLfixed x, GLfixed y, GLfixed z) { void API_ENTRY(glTexEnvxOES)(GLenum target, GLenum pname, GLfixed param) { CALL_GL_API(glTexEnvxOES, target, pname, param); } -void API_ENTRY(glTexEnvxvOES)(GLenum target, GLenum pname, const GLfixed *params) { +void API_ENTRY(glTexEnvxvOES)(GLenum target, GLenum pname, const GLfixed * params) { CALL_GL_API(glTexEnvxvOES, target, pname, params); } void API_ENTRY(glTexParameterxOES)(GLenum target, GLenum pname, GLfixed param) { CALL_GL_API(glTexParameterxOES, target, pname, param); } -void API_ENTRY(glTexParameterxvOES)(GLenum target, GLenum pname, const GLfixed *params) { +void API_ENTRY(glTexParameterxvOES)(GLenum target, GLenum pname, const GLfixed * params) { CALL_GL_API(glTexParameterxvOES, target, pname, params); } void API_ENTRY(glTranslatexOES)(GLfixed x, GLfixed y, GLfixed z) { CALL_GL_API(glTranslatexOES, x, y, z); } +void API_ENTRY(glGetLightxvOES)(GLenum light, GLenum pname, GLfixed * params) { + CALL_GL_API(glGetLightxvOES, light, pname, params); +} +void API_ENTRY(glGetMaterialxvOES)(GLenum face, GLenum pname, GLfixed * params) { + CALL_GL_API(glGetMaterialxvOES, face, pname, params); +} +void API_ENTRY(glPointParameterxOES)(GLenum pname, GLfixed param) { + CALL_GL_API(glPointParameterxOES, pname, param); +} +void API_ENTRY(glSampleCoveragexOES)(GLclampx value, GLboolean invert) { + CALL_GL_API(glSampleCoveragexOES, value, invert); +} +void API_ENTRY(glGetTexGenxvOES)(GLenum coord, GLenum pname, GLfixed * params) { + CALL_GL_API(glGetTexGenxvOES, coord, pname, params); +} +void API_ENTRY(glTexGenxOES)(GLenum coord, GLenum pname, GLfixed param) { + CALL_GL_API(glTexGenxOES, coord, pname, param); +} +void API_ENTRY(glTexGenxvOES)(GLenum coord, GLenum pname, const GLfixed * params) { + CALL_GL_API(glTexGenxvOES, coord, pname, params); +} GLboolean API_ENTRY(glIsRenderbufferOES)(GLuint renderbuffer) { CALL_GL_API_RETURN(glIsRenderbufferOES, renderbuffer); } void API_ENTRY(glBindRenderbufferOES)(GLenum target, GLuint renderbuffer) { CALL_GL_API(glBindRenderbufferOES, target, renderbuffer); } -void API_ENTRY(glDeleteRenderbuffersOES)(GLsizei n, const GLuint* renderbuffers) { +void API_ENTRY(glDeleteRenderbuffersOES)(GLsizei n, const GLuint * renderbuffers) { CALL_GL_API(glDeleteRenderbuffersOES, n, renderbuffers); } -void API_ENTRY(glGenRenderbuffersOES)(GLsizei n, GLuint* renderbuffers) { +void API_ENTRY(glGenRenderbuffersOES)(GLsizei n, GLuint * renderbuffers) { CALL_GL_API(glGenRenderbuffersOES, n, renderbuffers); } void API_ENTRY(glRenderbufferStorageOES)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) { CALL_GL_API(glRenderbufferStorageOES, target, internalformat, width, height); } -void API_ENTRY(glGetRenderbufferParameterivOES)(GLenum target, GLenum pname, GLint* params) { +void API_ENTRY(glGetRenderbufferParameterivOES)(GLenum target, GLenum pname, GLint * params) { CALL_GL_API(glGetRenderbufferParameterivOES, target, pname, params); } GLboolean API_ENTRY(glIsFramebufferOES)(GLuint framebuffer) { @@ -178,10 +256,10 @@ GLboolean API_ENTRY(glIsFramebufferOES)(GLuint framebuffer) { void API_ENTRY(glBindFramebufferOES)(GLenum target, GLuint framebuffer) { CALL_GL_API(glBindFramebufferOES, target, framebuffer); } -void API_ENTRY(glDeleteFramebuffersOES)(GLsizei n, const GLuint* framebuffers) { +void API_ENTRY(glDeleteFramebuffersOES)(GLsizei n, const GLuint * framebuffers) { CALL_GL_API(glDeleteFramebuffersOES, n, framebuffers); } -void API_ENTRY(glGenFramebuffersOES)(GLsizei n, GLuint* framebuffers) { +void API_ENTRY(glGenFramebuffersOES)(GLsizei n, GLuint * framebuffers) { CALL_GL_API(glGenFramebuffersOES, n, framebuffers); } GLenum API_ENTRY(glCheckFramebufferStatusOES)(GLenum target) { @@ -193,19 +271,19 @@ void API_ENTRY(glFramebufferRenderbufferOES)(GLenum target, GLenum attachment, G void API_ENTRY(glFramebufferTexture2DOES)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) { CALL_GL_API(glFramebufferTexture2DOES, target, attachment, textarget, texture, level); } -void API_ENTRY(glGetFramebufferAttachmentParameterivOES)(GLenum target, GLenum attachment, GLenum pname, GLint* params) { +void API_ENTRY(glGetFramebufferAttachmentParameterivOES)(GLenum target, GLenum attachment, GLenum pname, GLint * params) { CALL_GL_API(glGetFramebufferAttachmentParameterivOES, target, attachment, pname, params); } void API_ENTRY(glGenerateMipmapOES)(GLenum target) { CALL_GL_API(glGenerateMipmapOES, target); } -void* API_ENTRY(glMapBufferOES)(GLenum target, GLenum access) { +void * API_ENTRY(glMapBufferOES)(GLenum target, GLenum access) { CALL_GL_API_RETURN(glMapBufferOES, target, access); } GLboolean API_ENTRY(glUnmapBufferOES)(GLenum target) { CALL_GL_API_RETURN(glUnmapBufferOES, target); } -void API_ENTRY(glGetBufferPointervOES)(GLenum target, GLenum pname, GLvoid ** params) { +void API_ENTRY(glGetBufferPointervOES)(GLenum target, GLenum pname, void ** params) { CALL_GL_API(glGetBufferPointervOES, target, pname, params); } void API_ENTRY(glCurrentPaletteMatrixOES)(GLuint matrixpaletteindex) { @@ -214,103 +292,127 @@ void API_ENTRY(glCurrentPaletteMatrixOES)(GLuint matrixpaletteindex) { void API_ENTRY(glLoadPaletteFromModelViewMatrixOES)(void) { CALL_GL_API(glLoadPaletteFromModelViewMatrixOES); } -void API_ENTRY(glMatrixIndexPointerOES)(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) { +void API_ENTRY(glMatrixIndexPointerOES)(GLint size, GLenum type, GLsizei stride, const void * pointer) { CALL_GL_API(glMatrixIndexPointerOES, size, type, stride, pointer); } -void API_ENTRY(glWeightPointerOES)(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) { +void API_ENTRY(glWeightPointerOES)(GLint size, GLenum type, GLsizei stride, const void * pointer) { CALL_GL_API(glWeightPointerOES, size, type, stride, pointer); } -GLbitfield API_ENTRY(glQueryMatrixxOES)(GLfixed mantissa[16], GLint exponent[16]) { +void API_ENTRY(glPointSizePointerOES)(GLenum type, GLsizei stride, const void * pointer) { + CALL_GL_API(glPointSizePointerOES, type, stride, pointer); +} +GLbitfield API_ENTRY(glQueryMatrixxOES)(GLfixed * mantissa, GLint * exponent) { CALL_GL_API_RETURN(glQueryMatrixxOES, mantissa, exponent); } -void API_ENTRY(glDepthRangefOES)(GLclampf zNear, GLclampf zFar) { - CALL_GL_API(glDepthRangefOES, zNear, zFar); -} -void API_ENTRY(glFrustumfOES)(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) { - CALL_GL_API(glFrustumfOES, left, right, bottom, top, zNear, zFar); -} -void API_ENTRY(glOrthofOES)(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) { - CALL_GL_API(glOrthofOES, left, right, bottom, top, zNear, zFar); -} -void API_ENTRY(glClipPlanefOES)(GLenum plane, const GLfloat *equation) { - CALL_GL_API(glClipPlanefOES, plane, equation); -} -void API_ENTRY(glGetClipPlanefOES)(GLenum pname, GLfloat eqn[4]) { - CALL_GL_API(glGetClipPlanefOES, pname, eqn); -} void API_ENTRY(glClearDepthfOES)(GLclampf depth) { CALL_GL_API(glClearDepthfOES, depth); } +void API_ENTRY(glClipPlanefOES)(GLenum plane, const GLfloat * equation) { + CALL_GL_API(glClipPlanefOES, plane, equation); +} +void API_ENTRY(glDepthRangefOES)(GLclampf n, GLclampf f) { + CALL_GL_API(glDepthRangefOES, n, f); +} +void API_ENTRY(glFrustumfOES)(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) { + CALL_GL_API(glFrustumfOES, l, r, b, t, n, f); +} +void API_ENTRY(glGetClipPlanefOES)(GLenum plane, GLfloat * equation) { + CALL_GL_API(glGetClipPlanefOES, plane, equation); +} +void API_ENTRY(glOrthofOES)(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) { + CALL_GL_API(glOrthofOES, l, r, b, t, n, f); +} void API_ENTRY(glTexGenfOES)(GLenum coord, GLenum pname, GLfloat param) { CALL_GL_API(glTexGenfOES, coord, pname, param); } -void API_ENTRY(glTexGenfvOES)(GLenum coord, GLenum pname, const GLfloat *params) { +void API_ENTRY(glTexGenfvOES)(GLenum coord, GLenum pname, const GLfloat * params) { CALL_GL_API(glTexGenfvOES, coord, pname, params); } void API_ENTRY(glTexGeniOES)(GLenum coord, GLenum pname, GLint param) { CALL_GL_API(glTexGeniOES, coord, pname, param); } -void API_ENTRY(glTexGenivOES)(GLenum coord, GLenum pname, const GLint *params) { +void API_ENTRY(glTexGenivOES)(GLenum coord, GLenum pname, const GLint * params) { CALL_GL_API(glTexGenivOES, coord, pname, params); } -void API_ENTRY(glTexGenxOES)(GLenum coord, GLenum pname, GLfixed param) { - CALL_GL_API(glTexGenxOES, coord, pname, param); -} -void API_ENTRY(glTexGenxvOES)(GLenum coord, GLenum pname, const GLfixed *params) { - CALL_GL_API(glTexGenxvOES, coord, pname, params); -} -void API_ENTRY(glGetTexGenfvOES)(GLenum coord, GLenum pname, GLfloat *params) { +void API_ENTRY(glGetTexGenfvOES)(GLenum coord, GLenum pname, GLfloat * params) { CALL_GL_API(glGetTexGenfvOES, coord, pname, params); } -void API_ENTRY(glGetTexGenivOES)(GLenum coord, GLenum pname, GLint *params) { +void API_ENTRY(glGetTexGenivOES)(GLenum coord, GLenum pname, GLint * params) { CALL_GL_API(glGetTexGenivOES, coord, pname, params); } -void API_ENTRY(glGetTexGenxvOES)(GLenum coord, GLenum pname, GLfixed *params) { - CALL_GL_API(glGetTexGenxvOES, coord, pname, params); -} void API_ENTRY(glBindVertexArrayOES)(GLuint array) { CALL_GL_API(glBindVertexArrayOES, array); } -void API_ENTRY(glDeleteVertexArraysOES)(GLsizei n, const GLuint *arrays) { +void API_ENTRY(glDeleteVertexArraysOES)(GLsizei n, const GLuint * arrays) { CALL_GL_API(glDeleteVertexArraysOES, n, arrays); } -void API_ENTRY(glGenVertexArraysOES)(GLsizei n, GLuint *arrays) { +void API_ENTRY(glGenVertexArraysOES)(GLsizei n, GLuint * arrays) { CALL_GL_API(glGenVertexArraysOES, n, arrays); } GLboolean API_ENTRY(glIsVertexArrayOES)(GLuint array) { CALL_GL_API_RETURN(glIsVertexArrayOES, array); } +void API_ENTRY(glCopyTextureLevelsAPPLE)(GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount) { + CALL_GL_API(glCopyTextureLevelsAPPLE, destinationTexture, sourceTexture, sourceBaseLevel, sourceLevelCount); +} void API_ENTRY(glRenderbufferStorageMultisampleAPPLE)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { CALL_GL_API(glRenderbufferStorageMultisampleAPPLE, target, samples, internalformat, width, height); } void API_ENTRY(glResolveMultisampleFramebufferAPPLE)(void) { CALL_GL_API(glResolveMultisampleFramebufferAPPLE); } -void API_ENTRY(glDiscardFramebufferEXT)(GLenum target, GLsizei numAttachments, const GLenum *attachments) { +GLsync API_ENTRY(glFenceSyncAPPLE)(GLenum condition, GLbitfield flags) { + CALL_GL_API_RETURN(glFenceSyncAPPLE, condition, flags); +} +GLboolean API_ENTRY(glIsSyncAPPLE)(GLsync sync) { + CALL_GL_API_RETURN(glIsSyncAPPLE, sync); +} +void API_ENTRY(glDeleteSyncAPPLE)(GLsync sync) { + CALL_GL_API(glDeleteSyncAPPLE, sync); +} +GLenum API_ENTRY(glClientWaitSyncAPPLE)(GLsync sync, GLbitfield flags, GLuint64 timeout) { + CALL_GL_API_RETURN(glClientWaitSyncAPPLE, sync, flags, timeout); +} +void API_ENTRY(glWaitSyncAPPLE)(GLsync sync, GLbitfield flags, GLuint64 timeout) { + CALL_GL_API(glWaitSyncAPPLE, sync, flags, timeout); +} +void API_ENTRY(glGetInteger64vAPPLE)(GLenum pname, GLint64 * params) { + CALL_GL_API(glGetInteger64vAPPLE, pname, params); +} +void API_ENTRY(glGetSyncivAPPLE)(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values) { + CALL_GL_API(glGetSyncivAPPLE, sync, pname, bufSize, length, values); +} +void API_ENTRY(glDiscardFramebufferEXT)(GLenum target, GLsizei numAttachments, const GLenum * attachments) { CALL_GL_API(glDiscardFramebufferEXT, target, numAttachments, attachments); } +void * API_ENTRY(glMapBufferRangeEXT)(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access) { + CALL_GL_API_RETURN(glMapBufferRangeEXT, target, offset, length, access); +} +void API_ENTRY(glFlushMappedBufferRangeEXT)(GLenum target, GLintptr offset, GLsizeiptr length) { + CALL_GL_API(glFlushMappedBufferRangeEXT, target, offset, length); +} +void API_ENTRY(glMultiDrawArraysEXT)(GLenum mode, const GLint * first, const GLsizei * count, GLsizei primcount) { + CALL_GL_API(glMultiDrawArraysEXT, mode, first, count, primcount); +} +void API_ENTRY(glMultiDrawElementsEXT)(GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount) { + CALL_GL_API(glMultiDrawElementsEXT, mode, count, type, indices, primcount); +} void API_ENTRY(glRenderbufferStorageMultisampleEXT)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { CALL_GL_API(glRenderbufferStorageMultisampleEXT, target, samples, internalformat, width, height); } void API_ENTRY(glFramebufferTexture2DMultisampleEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples) { CALL_GL_API(glFramebufferTexture2DMultisampleEXT, target, attachment, textarget, texture, level, samples); } -void API_ENTRY(glMultiDrawArraysEXT)(GLenum mode, GLint *first, GLsizei *count, GLsizei primcount) { - CALL_GL_API(glMultiDrawArraysEXT, mode, first, count, primcount); -} -void API_ENTRY(glMultiDrawElementsEXT)(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount) { - CALL_GL_API(glMultiDrawElementsEXT, mode, count, type, indices, primcount); -} GLenum API_ENTRY(glGetGraphicsResetStatusEXT)(void) { CALL_GL_API_RETURN(glGetGraphicsResetStatusEXT); } -void API_ENTRY(glReadnPixelsEXT)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data) { +void API_ENTRY(glReadnPixelsEXT)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data) { CALL_GL_API(glReadnPixelsEXT, x, y, width, height, format, type, bufSize, data); } -void API_ENTRY(glGetnUniformfvEXT)(GLuint program, GLint location, GLsizei bufSize, float *params) { +void API_ENTRY(glGetnUniformfvEXT)(GLuint program, GLint location, GLsizei bufSize, GLfloat * params) { CALL_GL_API(glGetnUniformfvEXT, program, location, bufSize, params); } -void API_ENTRY(glGetnUniformivEXT)(GLuint program, GLint location, GLsizei bufSize, GLint *params) { +void API_ENTRY(glGetnUniformivEXT)(GLuint program, GLint location, GLsizei bufSize, GLint * params) { CALL_GL_API(glGetnUniformivEXT, program, location, bufSize, params); } void API_ENTRY(glTexStorage1DEXT)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width) { @@ -331,22 +433,22 @@ void API_ENTRY(glTextureStorage2DEXT)(GLuint texture, GLenum target, GLsizei lev void API_ENTRY(glTextureStorage3DEXT)(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) { CALL_GL_API(glTextureStorage3DEXT, texture, target, levels, internalformat, width, height, depth); } -void API_ENTRY(glClipPlanefIMG)(GLenum p, const GLfloat *eqn) { - CALL_GL_API(glClipPlanefIMG, p, eqn); -} -void API_ENTRY(glClipPlanexIMG)(GLenum p, const GLfixed *eqn) { - CALL_GL_API(glClipPlanexIMG, p, eqn); -} void API_ENTRY(glRenderbufferStorageMultisampleIMG)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { CALL_GL_API(glRenderbufferStorageMultisampleIMG, target, samples, internalformat, width, height); } void API_ENTRY(glFramebufferTexture2DMultisampleIMG)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples) { CALL_GL_API(glFramebufferTexture2DMultisampleIMG, target, attachment, textarget, texture, level, samples); } -void API_ENTRY(glDeleteFencesNV)(GLsizei n, const GLuint *fences) { +void API_ENTRY(glClipPlanefIMG)(GLenum p, const GLfloat * eqn) { + CALL_GL_API(glClipPlanefIMG, p, eqn); +} +void API_ENTRY(glClipPlanexIMG)(GLenum p, const GLfixed * eqn) { + CALL_GL_API(glClipPlanexIMG, p, eqn); +} +void API_ENTRY(glDeleteFencesNV)(GLsizei n, const GLuint * fences) { CALL_GL_API(glDeleteFencesNV, n, fences); } -void API_ENTRY(glGenFencesNV)(GLsizei n, GLuint *fences) { +void API_ENTRY(glGenFencesNV)(GLsizei n, GLuint * fences) { CALL_GL_API(glGenFencesNV, n, fences); } GLboolean API_ENTRY(glIsFenceNV)(GLuint fence) { @@ -355,7 +457,7 @@ GLboolean API_ENTRY(glIsFenceNV)(GLuint fence) { GLboolean API_ENTRY(glTestFenceNV)(GLuint fence) { CALL_GL_API_RETURN(glTestFenceNV, fence); } -void API_ENTRY(glGetFenceivNV)(GLuint fence, GLenum pname, GLint *params) { +void API_ENTRY(glGetFenceivNV)(GLuint fence, GLenum pname, GLint * params) { CALL_GL_API(glGetFenceivNV, fence, pname, params); } void API_ENTRY(glFinishFenceNV)(GLuint fence) { @@ -364,10 +466,10 @@ void API_ENTRY(glFinishFenceNV)(GLuint fence) { void API_ENTRY(glSetFenceNV)(GLuint fence, GLenum condition) { CALL_GL_API(glSetFenceNV, fence, condition); } -void API_ENTRY(glGetDriverControlsQCOM)(GLint *num, GLsizei size, GLuint *driverControls) { +void API_ENTRY(glGetDriverControlsQCOM)(GLint * num, GLsizei size, GLuint * driverControls) { CALL_GL_API(glGetDriverControlsQCOM, num, size, driverControls); } -void API_ENTRY(glGetDriverControlStringQCOM)(GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString) { +void API_ENTRY(glGetDriverControlStringQCOM)(GLuint driverControl, GLsizei bufSize, GLsizei * length, GLchar * driverControlString) { CALL_GL_API(glGetDriverControlStringQCOM, driverControl, bufSize, length, driverControlString); } void API_ENTRY(glEnableDriverControlQCOM)(GLuint driverControl) { @@ -376,40 +478,40 @@ void API_ENTRY(glEnableDriverControlQCOM)(GLuint driverControl) { void API_ENTRY(glDisableDriverControlQCOM)(GLuint driverControl) { CALL_GL_API(glDisableDriverControlQCOM, driverControl); } -void API_ENTRY(glExtGetTexturesQCOM)(GLuint *textures, GLint maxTextures, GLint *numTextures) { +void API_ENTRY(glExtGetTexturesQCOM)(GLuint * textures, GLint maxTextures, GLint * numTextures) { CALL_GL_API(glExtGetTexturesQCOM, textures, maxTextures, numTextures); } -void API_ENTRY(glExtGetBuffersQCOM)(GLuint *buffers, GLint maxBuffers, GLint *numBuffers) { +void API_ENTRY(glExtGetBuffersQCOM)(GLuint * buffers, GLint maxBuffers, GLint * numBuffers) { CALL_GL_API(glExtGetBuffersQCOM, buffers, maxBuffers, numBuffers); } -void API_ENTRY(glExtGetRenderbuffersQCOM)(GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers) { +void API_ENTRY(glExtGetRenderbuffersQCOM)(GLuint * renderbuffers, GLint maxRenderbuffers, GLint * numRenderbuffers) { CALL_GL_API(glExtGetRenderbuffersQCOM, renderbuffers, maxRenderbuffers, numRenderbuffers); } -void API_ENTRY(glExtGetFramebuffersQCOM)(GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers) { +void API_ENTRY(glExtGetFramebuffersQCOM)(GLuint * framebuffers, GLint maxFramebuffers, GLint * numFramebuffers) { CALL_GL_API(glExtGetFramebuffersQCOM, framebuffers, maxFramebuffers, numFramebuffers); } -void API_ENTRY(glExtGetTexLevelParameterivQCOM)(GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params) { +void API_ENTRY(glExtGetTexLevelParameterivQCOM)(GLuint texture, GLenum face, GLint level, GLenum pname, GLint * params) { CALL_GL_API(glExtGetTexLevelParameterivQCOM, texture, face, level, pname, params); } void API_ENTRY(glExtTexObjectStateOverrideiQCOM)(GLenum target, GLenum pname, GLint param) { CALL_GL_API(glExtTexObjectStateOverrideiQCOM, target, pname, param); } -void API_ENTRY(glExtGetTexSubImageQCOM)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels) { +void API_ENTRY(glExtGetTexSubImageQCOM)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void * texels) { CALL_GL_API(glExtGetTexSubImageQCOM, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, texels); } -void API_ENTRY(glExtGetBufferPointervQCOM)(GLenum target, GLvoid **params) { +void API_ENTRY(glExtGetBufferPointervQCOM)(GLenum target, void ** params) { CALL_GL_API(glExtGetBufferPointervQCOM, target, params); } -void API_ENTRY(glExtGetShadersQCOM)(GLuint *shaders, GLint maxShaders, GLint *numShaders) { +void API_ENTRY(glExtGetShadersQCOM)(GLuint * shaders, GLint maxShaders, GLint * numShaders) { CALL_GL_API(glExtGetShadersQCOM, shaders, maxShaders, numShaders); } -void API_ENTRY(glExtGetProgramsQCOM)(GLuint *programs, GLint maxPrograms, GLint *numPrograms) { +void API_ENTRY(glExtGetProgramsQCOM)(GLuint * programs, GLint maxPrograms, GLint * numPrograms) { CALL_GL_API(glExtGetProgramsQCOM, programs, maxPrograms, numPrograms); } GLboolean API_ENTRY(glExtIsProgramBinaryQCOM)(GLuint program) { CALL_GL_API_RETURN(glExtIsProgramBinaryQCOM, program); } -void API_ENTRY(glExtGetProgramBinarySourceQCOM)(GLuint program, GLenum shadertype, GLchar *source, GLint *length) { +void API_ENTRY(glExtGetProgramBinarySourceQCOM)(GLuint program, GLenum shadertype, GLchar * source, GLint * length) { CALL_GL_API(glExtGetProgramBinarySourceQCOM, program, shadertype, source, length); } void API_ENTRY(glStartTilingQCOM)(GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask) { diff --git a/opengl/libs/GLES_trace/gltrace.proto b/opengl/libs/GLES_trace/gltrace.proto index f8f49387b..671bcf568 100644 --- a/opengl/libs/GLES_trace/gltrace.proto +++ b/opengl/libs/GLES_trace/gltrace.proto @@ -503,7 +503,28 @@ message GLMessage { glTexStorage2D = 477; glTexStorage3D = 478; glGetInternalformativ = 479; - + glBeginPerfQueryINTEL = 480; + glCreatePerfQueryINTEL = 481; + glDeletePerfQueryINTEL = 482; + glEndPerfQueryINTEL = 483; + glGetFirstPerfQueryIdINTEL = 484; + glGetNextPerfQueryIdINTEL = 485; + glGetPerfCounterInfoINTEL = 486; + glGetPerfQueryDataINTEL = 487; + glGetPerfQueryIdByNameINTEL = 488; + glGetPerfQueryInfoINTEL = 489; + glBlendBarrierKHR = 490; + glBlendBarrierNV = 491; + glBlendParameteriNV = 492; + glBlitFramebufferNV = 493; + glFenceSyncAPPLE = 494; + glIsSyncAPPLE = 495; + glDeleteSyncAPPLE = 496; + glClientWaitSyncAPPLE = 497; + glWaitSyncAPPLE = 498; + glGetInteger64vAPPLE = 499; + glGetSyncivAPPLE = 500; + glCopyBufferSubDataNV = 501; glActiveShaderProgramEXT = 502; glAlphaFuncQCOM = 503; glBeginQueryEXT = 504; @@ -565,6 +586,84 @@ message GLMessage { glTextureStorage3DEXT = 559; glUseProgramStagesEXT = 560; glValidateProgramPipelineEXT = 561; + glCopyTextureLevelsAPPLE = 562; + glDebugMessageControlKHR = 563; + glDebugMessageInsertKHR = 564; + glDebugMessageCallbackKHR = 565; + glGetDebugMessageLogKHR = 566; + glPushDebugGroupKHR = 567; + glPopDebugGroupKHR = 568; + glObjectLabelKHR = 569; + glGetObjectLabelKHR = 570; + glObjectPtrLabelKHR = 571; + glGetObjectPtrLabelKHR = 572; + glGetPointervKHR = 573; + glDrawArraysInstancedANGLE = 574; + glDrawElementsInstancedANGLE = 575; + glVertexAttribDivisorANGLE = 576; + glDrawArraysInstancedEXT = 577; + glDrawElementsInstancedEXT = 578; + glVertexAttribDivisorEXT = 579; + glDrawArraysInstancedNV = 580; + glDrawElementsInstancedNV = 581; + glVertexAttribDivisorNV = 582; + glDrawBuffersEXT = 583; + glReadBufferIndexedEXT = 584; + glDrawBuffersIndexedEXT = 585; + glGetIntegeri_vEXT = 586; + glMapBufferRangeEXT = 587; + glFlushMappedBufferRangeEXT = 588; + glQueryCounterEXT = 589; + glGetQueryObjecti64vEXT = 590; + glGetQueryObjectivEXT = 591; + glGetQueryObjectui64vEXT = 592; + glGetTranslatedShaderSourceANGLE = 593; + glMinSampleShadingOES = 594; + glMultiTexCoord1bOES = 595; + glMultiTexCoord1bvOES = 596; + glMultiTexCoord2bOES = 597; + glMultiTexCoord2bvOES = 598; + glMultiTexCoord3bOES = 599; + glMultiTexCoord3bvOES = 600; + glMultiTexCoord4bOES = 601; + glMultiTexCoord4bvOES = 602; + glTexCoord1bOES = 603; + glTexCoord1bvOES = 604; + glTexCoord2bOES = 605; + glTexCoord2bvOES = 606; + glTexCoord3bOES = 607; + glTexCoord3bvOES = 608; + glTexCoord4bOES = 609; + glTexCoord4bvOES = 610; + glVertex2bOES = 611; + glVertex2bvOES = 612; + glVertex3bOES = 613; + glVertex3bvOES = 614; + glVertex4bOES = 615; + glVertex4bvOES = 616; + glProgramUniform1uiEXT = 617; + glProgramUniform2uiEXT = 618; + glProgramUniform3uiEXT = 619; + glProgramUniform4uiEXT = 620; + glProgramUniform1uivEXT = 621; + glProgramUniform2uivEXT = 622; + glProgramUniform3uivEXT = 623; + glProgramUniform4uivEXT = 624; + glProgramUniformMatrix2x3fvEXT = 625; + glProgramUniformMatrix3x2fvEXT = 626; + glProgramUniformMatrix2x4fvEXT = 627; + glProgramUniformMatrix4x2fvEXT = 628; + glProgramUniformMatrix3x4fvEXT = 629; + glProgramUniformMatrix4x3fvEXT = 630; + glRenderbufferStorageMultisampleNV = 631; + glSampleCoverageOES = 632; + glTexStorage3DMultisampleOES = 633; + glUniformMatrix2x3fvNV = 634; + glUniformMatrix3x2fvNV = 635; + glUniformMatrix2x4fvNV = 636; + glUniformMatrix4x2fvNV = 637; + glUniformMatrix3x4fvNV = 638; + glUniformMatrix4x3fvNV = 639; eglGetDisplay = 2000; eglInitialize = 2001; diff --git a/opengl/libs/GLES_trace/src/gltrace.pb.cpp b/opengl/libs/GLES_trace/src/gltrace.pb.cpp index ed9a457ab..f1034a34f 100644 --- a/opengl/libs/GLES_trace/src/gltrace.pb.cpp +++ b/opengl/libs/GLES_trace/src/gltrace.pb.cpp @@ -523,6 +523,28 @@ bool GLMessage_Function_IsValid(int value) { case 477: case 478: case 479: + case 480: + case 481: + case 482: + case 483: + case 484: + case 485: + case 486: + case 487: + case 488: + case 489: + case 490: + case 491: + case 492: + case 493: + case 494: + case 495: + case 496: + case 497: + case 498: + case 499: + case 500: + case 501: case 502: case 503: case 504: @@ -583,6 +605,84 @@ bool GLMessage_Function_IsValid(int value) { case 559: case 560: case 561: + case 562: + case 563: + case 564: + case 565: + case 566: + case 567: + case 568: + case 569: + case 570: + case 571: + case 572: + case 573: + case 574: + case 575: + case 576: + case 577: + case 578: + case 579: + case 580: + case 581: + case 582: + case 583: + case 584: + case 585: + case 586: + case 587: + case 588: + case 589: + case 590: + case 591: + case 592: + case 593: + case 594: + case 595: + case 596: + case 597: + case 598: + case 599: + case 600: + case 601: + case 602: + case 603: + case 604: + case 605: + case 606: + case 607: + case 608: + case 609: + case 610: + case 611: + case 612: + case 613: + case 614: + case 615: + case 616: + case 617: + case 618: + case 619: + case 620: + case 621: + case 622: + case 623: + case 624: + case 625: + case 626: + case 627: + case 628: + case 629: + case 630: + case 631: + case 632: + case 633: + case 634: + case 635: + case 636: + case 637: + case 638: + case 639: case 2000: case 2001: case 2002: @@ -1118,6 +1218,28 @@ const GLMessage_Function GLMessage::glInvalidateSubFramebuffer; const GLMessage_Function GLMessage::glTexStorage2D; const GLMessage_Function GLMessage::glTexStorage3D; const GLMessage_Function GLMessage::glGetInternalformativ; +const GLMessage_Function GLMessage::glBeginPerfQueryINTEL; +const GLMessage_Function GLMessage::glCreatePerfQueryINTEL; +const GLMessage_Function GLMessage::glDeletePerfQueryINTEL; +const GLMessage_Function GLMessage::glEndPerfQueryINTEL; +const GLMessage_Function GLMessage::glGetFirstPerfQueryIdINTEL; +const GLMessage_Function GLMessage::glGetNextPerfQueryIdINTEL; +const GLMessage_Function GLMessage::glGetPerfCounterInfoINTEL; +const GLMessage_Function GLMessage::glGetPerfQueryDataINTEL; +const GLMessage_Function GLMessage::glGetPerfQueryIdByNameINTEL; +const GLMessage_Function GLMessage::glGetPerfQueryInfoINTEL; +const GLMessage_Function GLMessage::glBlendBarrierKHR; +const GLMessage_Function GLMessage::glBlendBarrierNV; +const GLMessage_Function GLMessage::glBlendParameteriNV; +const GLMessage_Function GLMessage::glBlitFramebufferNV; +const GLMessage_Function GLMessage::glFenceSyncAPPLE; +const GLMessage_Function GLMessage::glIsSyncAPPLE; +const GLMessage_Function GLMessage::glDeleteSyncAPPLE; +const GLMessage_Function GLMessage::glClientWaitSyncAPPLE; +const GLMessage_Function GLMessage::glWaitSyncAPPLE; +const GLMessage_Function GLMessage::glGetInteger64vAPPLE; +const GLMessage_Function GLMessage::glGetSyncivAPPLE; +const GLMessage_Function GLMessage::glCopyBufferSubDataNV; const GLMessage_Function GLMessage::glActiveShaderProgramEXT; const GLMessage_Function GLMessage::glAlphaFuncQCOM; const GLMessage_Function GLMessage::glBeginQueryEXT; @@ -1179,6 +1301,84 @@ const GLMessage_Function GLMessage::glTextureStorage2DEXT; const GLMessage_Function GLMessage::glTextureStorage3DEXT; const GLMessage_Function GLMessage::glUseProgramStagesEXT; const GLMessage_Function GLMessage::glValidateProgramPipelineEXT; +const GLMessage_Function GLMessage::glCopyTextureLevelsAPPLE; +const GLMessage_Function GLMessage::glDebugMessageControlKHR; +const GLMessage_Function GLMessage::glDebugMessageInsertKHR; +const GLMessage_Function GLMessage::glDebugMessageCallbackKHR; +const GLMessage_Function GLMessage::glGetDebugMessageLogKHR; +const GLMessage_Function GLMessage::glPushDebugGroupKHR; +const GLMessage_Function GLMessage::glPopDebugGroupKHR; +const GLMessage_Function GLMessage::glObjectLabelKHR; +const GLMessage_Function GLMessage::glGetObjectLabelKHR; +const GLMessage_Function GLMessage::glObjectPtrLabelKHR; +const GLMessage_Function GLMessage::glGetObjectPtrLabelKHR; +const GLMessage_Function GLMessage::glGetPointervKHR; +const GLMessage_Function GLMessage::glDrawArraysInstancedANGLE; +const GLMessage_Function GLMessage::glDrawElementsInstancedANGLE; +const GLMessage_Function GLMessage::glVertexAttribDivisorANGLE; +const GLMessage_Function GLMessage::glDrawArraysInstancedEXT; +const GLMessage_Function GLMessage::glDrawElementsInstancedEXT; +const GLMessage_Function GLMessage::glVertexAttribDivisorEXT; +const GLMessage_Function GLMessage::glDrawArraysInstancedNV; +const GLMessage_Function GLMessage::glDrawElementsInstancedNV; +const GLMessage_Function GLMessage::glVertexAttribDivisorNV; +const GLMessage_Function GLMessage::glDrawBuffersEXT; +const GLMessage_Function GLMessage::glReadBufferIndexedEXT; +const GLMessage_Function GLMessage::glDrawBuffersIndexedEXT; +const GLMessage_Function GLMessage::glGetIntegeri_vEXT; +const GLMessage_Function GLMessage::glMapBufferRangeEXT; +const GLMessage_Function GLMessage::glFlushMappedBufferRangeEXT; +const GLMessage_Function GLMessage::glQueryCounterEXT; +const GLMessage_Function GLMessage::glGetQueryObjecti64vEXT; +const GLMessage_Function GLMessage::glGetQueryObjectivEXT; +const GLMessage_Function GLMessage::glGetQueryObjectui64vEXT; +const GLMessage_Function GLMessage::glGetTranslatedShaderSourceANGLE; +const GLMessage_Function GLMessage::glMinSampleShadingOES; +const GLMessage_Function GLMessage::glMultiTexCoord1bOES; +const GLMessage_Function GLMessage::glMultiTexCoord1bvOES; +const GLMessage_Function GLMessage::glMultiTexCoord2bOES; +const GLMessage_Function GLMessage::glMultiTexCoord2bvOES; +const GLMessage_Function GLMessage::glMultiTexCoord3bOES; +const GLMessage_Function GLMessage::glMultiTexCoord3bvOES; +const GLMessage_Function GLMessage::glMultiTexCoord4bOES; +const GLMessage_Function GLMessage::glMultiTexCoord4bvOES; +const GLMessage_Function GLMessage::glTexCoord1bOES; +const GLMessage_Function GLMessage::glTexCoord1bvOES; +const GLMessage_Function GLMessage::glTexCoord2bOES; +const GLMessage_Function GLMessage::glTexCoord2bvOES; +const GLMessage_Function GLMessage::glTexCoord3bOES; +const GLMessage_Function GLMessage::glTexCoord3bvOES; +const GLMessage_Function GLMessage::glTexCoord4bOES; +const GLMessage_Function GLMessage::glTexCoord4bvOES; +const GLMessage_Function GLMessage::glVertex2bOES; +const GLMessage_Function GLMessage::glVertex2bvOES; +const GLMessage_Function GLMessage::glVertex3bOES; +const GLMessage_Function GLMessage::glVertex3bvOES; +const GLMessage_Function GLMessage::glVertex4bOES; +const GLMessage_Function GLMessage::glVertex4bvOES; +const GLMessage_Function GLMessage::glProgramUniform1uiEXT; +const GLMessage_Function GLMessage::glProgramUniform2uiEXT; +const GLMessage_Function GLMessage::glProgramUniform3uiEXT; +const GLMessage_Function GLMessage::glProgramUniform4uiEXT; +const GLMessage_Function GLMessage::glProgramUniform1uivEXT; +const GLMessage_Function GLMessage::glProgramUniform2uivEXT; +const GLMessage_Function GLMessage::glProgramUniform3uivEXT; +const GLMessage_Function GLMessage::glProgramUniform4uivEXT; +const GLMessage_Function GLMessage::glProgramUniformMatrix2x3fvEXT; +const GLMessage_Function GLMessage::glProgramUniformMatrix3x2fvEXT; +const GLMessage_Function GLMessage::glProgramUniformMatrix2x4fvEXT; +const GLMessage_Function GLMessage::glProgramUniformMatrix4x2fvEXT; +const GLMessage_Function GLMessage::glProgramUniformMatrix3x4fvEXT; +const GLMessage_Function GLMessage::glProgramUniformMatrix4x3fvEXT; +const GLMessage_Function GLMessage::glRenderbufferStorageMultisampleNV; +const GLMessage_Function GLMessage::glSampleCoverageOES; +const GLMessage_Function GLMessage::glTexStorage3DMultisampleOES; +const GLMessage_Function GLMessage::glUniformMatrix2x3fvNV; +const GLMessage_Function GLMessage::glUniformMatrix3x2fvNV; +const GLMessage_Function GLMessage::glUniformMatrix2x4fvNV; +const GLMessage_Function GLMessage::glUniformMatrix4x2fvNV; +const GLMessage_Function GLMessage::glUniformMatrix3x4fvNV; +const GLMessage_Function GLMessage::glUniformMatrix4x3fvNV; const GLMessage_Function GLMessage::eglGetDisplay; const GLMessage_Function GLMessage::eglInitialize; const GLMessage_Function GLMessage::eglTerminate; diff --git a/opengl/libs/GLES_trace/src/gltrace.pb.h b/opengl/libs/GLES_trace/src/gltrace.pb.h index 9eae26c9d..966360bb2 100644 --- a/opengl/libs/GLES_trace/src/gltrace.pb.h +++ b/opengl/libs/GLES_trace/src/gltrace.pb.h @@ -532,6 +532,28 @@ enum GLMessage_Function { GLMessage_Function_glTexStorage2D = 477, GLMessage_Function_glTexStorage3D = 478, GLMessage_Function_glGetInternalformativ = 479, + GLMessage_Function_glBeginPerfQueryINTEL = 480, + GLMessage_Function_glCreatePerfQueryINTEL = 481, + GLMessage_Function_glDeletePerfQueryINTEL = 482, + GLMessage_Function_glEndPerfQueryINTEL = 483, + GLMessage_Function_glGetFirstPerfQueryIdINTEL = 484, + GLMessage_Function_glGetNextPerfQueryIdINTEL = 485, + GLMessage_Function_glGetPerfCounterInfoINTEL = 486, + GLMessage_Function_glGetPerfQueryDataINTEL = 487, + GLMessage_Function_glGetPerfQueryIdByNameINTEL = 488, + GLMessage_Function_glGetPerfQueryInfoINTEL = 489, + GLMessage_Function_glBlendBarrierKHR = 490, + GLMessage_Function_glBlendBarrierNV = 491, + GLMessage_Function_glBlendParameteriNV = 492, + GLMessage_Function_glBlitFramebufferNV = 493, + GLMessage_Function_glFenceSyncAPPLE = 494, + GLMessage_Function_glIsSyncAPPLE = 495, + GLMessage_Function_glDeleteSyncAPPLE = 496, + GLMessage_Function_glClientWaitSyncAPPLE = 497, + GLMessage_Function_glWaitSyncAPPLE = 498, + GLMessage_Function_glGetInteger64vAPPLE = 499, + GLMessage_Function_glGetSyncivAPPLE = 500, + GLMessage_Function_glCopyBufferSubDataNV = 501, GLMessage_Function_glActiveShaderProgramEXT = 502, GLMessage_Function_glAlphaFuncQCOM = 503, GLMessage_Function_glBeginQueryEXT = 504, @@ -593,6 +615,84 @@ enum GLMessage_Function { GLMessage_Function_glTextureStorage3DEXT = 559, GLMessage_Function_glUseProgramStagesEXT = 560, GLMessage_Function_glValidateProgramPipelineEXT = 561, + GLMessage_Function_glCopyTextureLevelsAPPLE = 562, + GLMessage_Function_glDebugMessageControlKHR = 563, + GLMessage_Function_glDebugMessageInsertKHR = 564, + GLMessage_Function_glDebugMessageCallbackKHR = 565, + GLMessage_Function_glGetDebugMessageLogKHR = 566, + GLMessage_Function_glPushDebugGroupKHR = 567, + GLMessage_Function_glPopDebugGroupKHR = 568, + GLMessage_Function_glObjectLabelKHR = 569, + GLMessage_Function_glGetObjectLabelKHR = 570, + GLMessage_Function_glObjectPtrLabelKHR = 571, + GLMessage_Function_glGetObjectPtrLabelKHR = 572, + GLMessage_Function_glGetPointervKHR = 573, + GLMessage_Function_glDrawArraysInstancedANGLE = 574, + GLMessage_Function_glDrawElementsInstancedANGLE = 575, + GLMessage_Function_glVertexAttribDivisorANGLE = 576, + GLMessage_Function_glDrawArraysInstancedEXT = 577, + GLMessage_Function_glDrawElementsInstancedEXT = 578, + GLMessage_Function_glVertexAttribDivisorEXT = 579, + GLMessage_Function_glDrawArraysInstancedNV = 580, + GLMessage_Function_glDrawElementsInstancedNV = 581, + GLMessage_Function_glVertexAttribDivisorNV = 582, + GLMessage_Function_glDrawBuffersEXT = 583, + GLMessage_Function_glReadBufferIndexedEXT = 584, + GLMessage_Function_glDrawBuffersIndexedEXT = 585, + GLMessage_Function_glGetIntegeri_vEXT = 586, + GLMessage_Function_glMapBufferRangeEXT = 587, + GLMessage_Function_glFlushMappedBufferRangeEXT = 588, + GLMessage_Function_glQueryCounterEXT = 589, + GLMessage_Function_glGetQueryObjecti64vEXT = 590, + GLMessage_Function_glGetQueryObjectivEXT = 591, + GLMessage_Function_glGetQueryObjectui64vEXT = 592, + GLMessage_Function_glGetTranslatedShaderSourceANGLE = 593, + GLMessage_Function_glMinSampleShadingOES = 594, + GLMessage_Function_glMultiTexCoord1bOES = 595, + GLMessage_Function_glMultiTexCoord1bvOES = 596, + GLMessage_Function_glMultiTexCoord2bOES = 597, + GLMessage_Function_glMultiTexCoord2bvOES = 598, + GLMessage_Function_glMultiTexCoord3bOES = 599, + GLMessage_Function_glMultiTexCoord3bvOES = 600, + GLMessage_Function_glMultiTexCoord4bOES = 601, + GLMessage_Function_glMultiTexCoord4bvOES = 602, + GLMessage_Function_glTexCoord1bOES = 603, + GLMessage_Function_glTexCoord1bvOES = 604, + GLMessage_Function_glTexCoord2bOES = 605, + GLMessage_Function_glTexCoord2bvOES = 606, + GLMessage_Function_glTexCoord3bOES = 607, + GLMessage_Function_glTexCoord3bvOES = 608, + GLMessage_Function_glTexCoord4bOES = 609, + GLMessage_Function_glTexCoord4bvOES = 610, + GLMessage_Function_glVertex2bOES = 611, + GLMessage_Function_glVertex2bvOES = 612, + GLMessage_Function_glVertex3bOES = 613, + GLMessage_Function_glVertex3bvOES = 614, + GLMessage_Function_glVertex4bOES = 615, + GLMessage_Function_glVertex4bvOES = 616, + GLMessage_Function_glProgramUniform1uiEXT = 617, + GLMessage_Function_glProgramUniform2uiEXT = 618, + GLMessage_Function_glProgramUniform3uiEXT = 619, + GLMessage_Function_glProgramUniform4uiEXT = 620, + GLMessage_Function_glProgramUniform1uivEXT = 621, + GLMessage_Function_glProgramUniform2uivEXT = 622, + GLMessage_Function_glProgramUniform3uivEXT = 623, + GLMessage_Function_glProgramUniform4uivEXT = 624, + GLMessage_Function_glProgramUniformMatrix2x3fvEXT = 625, + GLMessage_Function_glProgramUniformMatrix3x2fvEXT = 626, + GLMessage_Function_glProgramUniformMatrix2x4fvEXT = 627, + GLMessage_Function_glProgramUniformMatrix4x2fvEXT = 628, + GLMessage_Function_glProgramUniformMatrix3x4fvEXT = 629, + GLMessage_Function_glProgramUniformMatrix4x3fvEXT = 630, + GLMessage_Function_glRenderbufferStorageMultisampleNV = 631, + GLMessage_Function_glSampleCoverageOES = 632, + GLMessage_Function_glTexStorage3DMultisampleOES = 633, + GLMessage_Function_glUniformMatrix2x3fvNV = 634, + GLMessage_Function_glUniformMatrix3x2fvNV = 635, + GLMessage_Function_glUniformMatrix2x4fvNV = 636, + GLMessage_Function_glUniformMatrix4x2fvNV = 637, + GLMessage_Function_glUniformMatrix3x4fvNV = 638, + GLMessage_Function_glUniformMatrix4x3fvNV = 639, GLMessage_Function_eglGetDisplay = 2000, GLMessage_Function_eglInitialize = 2001, GLMessage_Function_eglTerminate = 2002, @@ -1466,6 +1566,28 @@ class GLMessage : public ::google::protobuf::MessageLite { static const Function glTexStorage2D = GLMessage_Function_glTexStorage2D; static const Function glTexStorage3D = GLMessage_Function_glTexStorage3D; static const Function glGetInternalformativ = GLMessage_Function_glGetInternalformativ; + static const Function glBeginPerfQueryINTEL = GLMessage_Function_glBeginPerfQueryINTEL; + static const Function glCreatePerfQueryINTEL = GLMessage_Function_glCreatePerfQueryINTEL; + static const Function glDeletePerfQueryINTEL = GLMessage_Function_glDeletePerfQueryINTEL; + static const Function glEndPerfQueryINTEL = GLMessage_Function_glEndPerfQueryINTEL; + static const Function glGetFirstPerfQueryIdINTEL = GLMessage_Function_glGetFirstPerfQueryIdINTEL; + static const Function glGetNextPerfQueryIdINTEL = GLMessage_Function_glGetNextPerfQueryIdINTEL; + static const Function glGetPerfCounterInfoINTEL = GLMessage_Function_glGetPerfCounterInfoINTEL; + static const Function glGetPerfQueryDataINTEL = GLMessage_Function_glGetPerfQueryDataINTEL; + static const Function glGetPerfQueryIdByNameINTEL = GLMessage_Function_glGetPerfQueryIdByNameINTEL; + static const Function glGetPerfQueryInfoINTEL = GLMessage_Function_glGetPerfQueryInfoINTEL; + static const Function glBlendBarrierKHR = GLMessage_Function_glBlendBarrierKHR; + static const Function glBlendBarrierNV = GLMessage_Function_glBlendBarrierNV; + static const Function glBlendParameteriNV = GLMessage_Function_glBlendParameteriNV; + static const Function glBlitFramebufferNV = GLMessage_Function_glBlitFramebufferNV; + static const Function glFenceSyncAPPLE = GLMessage_Function_glFenceSyncAPPLE; + static const Function glIsSyncAPPLE = GLMessage_Function_glIsSyncAPPLE; + static const Function glDeleteSyncAPPLE = GLMessage_Function_glDeleteSyncAPPLE; + static const Function glClientWaitSyncAPPLE = GLMessage_Function_glClientWaitSyncAPPLE; + static const Function glWaitSyncAPPLE = GLMessage_Function_glWaitSyncAPPLE; + static const Function glGetInteger64vAPPLE = GLMessage_Function_glGetInteger64vAPPLE; + static const Function glGetSyncivAPPLE = GLMessage_Function_glGetSyncivAPPLE; + static const Function glCopyBufferSubDataNV = GLMessage_Function_glCopyBufferSubDataNV; static const Function glActiveShaderProgramEXT = GLMessage_Function_glActiveShaderProgramEXT; static const Function glAlphaFuncQCOM = GLMessage_Function_glAlphaFuncQCOM; static const Function glBeginQueryEXT = GLMessage_Function_glBeginQueryEXT; @@ -1527,6 +1649,84 @@ class GLMessage : public ::google::protobuf::MessageLite { static const Function glTextureStorage3DEXT = GLMessage_Function_glTextureStorage3DEXT; static const Function glUseProgramStagesEXT = GLMessage_Function_glUseProgramStagesEXT; static const Function glValidateProgramPipelineEXT = GLMessage_Function_glValidateProgramPipelineEXT; + static const Function glCopyTextureLevelsAPPLE = GLMessage_Function_glCopyTextureLevelsAPPLE; + static const Function glDebugMessageControlKHR = GLMessage_Function_glDebugMessageControlKHR; + static const Function glDebugMessageInsertKHR = GLMessage_Function_glDebugMessageInsertKHR; + static const Function glDebugMessageCallbackKHR = GLMessage_Function_glDebugMessageCallbackKHR; + static const Function glGetDebugMessageLogKHR = GLMessage_Function_glGetDebugMessageLogKHR; + static const Function glPushDebugGroupKHR = GLMessage_Function_glPushDebugGroupKHR; + static const Function glPopDebugGroupKHR = GLMessage_Function_glPopDebugGroupKHR; + static const Function glObjectLabelKHR = GLMessage_Function_glObjectLabelKHR; + static const Function glGetObjectLabelKHR = GLMessage_Function_glGetObjectLabelKHR; + static const Function glObjectPtrLabelKHR = GLMessage_Function_glObjectPtrLabelKHR; + static const Function glGetObjectPtrLabelKHR = GLMessage_Function_glGetObjectPtrLabelKHR; + static const Function glGetPointervKHR = GLMessage_Function_glGetPointervKHR; + static const Function glDrawArraysInstancedANGLE = GLMessage_Function_glDrawArraysInstancedANGLE; + static const Function glDrawElementsInstancedANGLE = GLMessage_Function_glDrawElementsInstancedANGLE; + static const Function glVertexAttribDivisorANGLE = GLMessage_Function_glVertexAttribDivisorANGLE; + static const Function glDrawArraysInstancedEXT = GLMessage_Function_glDrawArraysInstancedEXT; + static const Function glDrawElementsInstancedEXT = GLMessage_Function_glDrawElementsInstancedEXT; + static const Function glVertexAttribDivisorEXT = GLMessage_Function_glVertexAttribDivisorEXT; + static const Function glDrawArraysInstancedNV = GLMessage_Function_glDrawArraysInstancedNV; + static const Function glDrawElementsInstancedNV = GLMessage_Function_glDrawElementsInstancedNV; + static const Function glVertexAttribDivisorNV = GLMessage_Function_glVertexAttribDivisorNV; + static const Function glDrawBuffersEXT = GLMessage_Function_glDrawBuffersEXT; + static const Function glReadBufferIndexedEXT = GLMessage_Function_glReadBufferIndexedEXT; + static const Function glDrawBuffersIndexedEXT = GLMessage_Function_glDrawBuffersIndexedEXT; + static const Function glGetIntegeri_vEXT = GLMessage_Function_glGetIntegeri_vEXT; + static const Function glMapBufferRangeEXT = GLMessage_Function_glMapBufferRangeEXT; + static const Function glFlushMappedBufferRangeEXT = GLMessage_Function_glFlushMappedBufferRangeEXT; + static const Function glQueryCounterEXT = GLMessage_Function_glQueryCounterEXT; + static const Function glGetQueryObjecti64vEXT = GLMessage_Function_glGetQueryObjecti64vEXT; + static const Function glGetQueryObjectivEXT = GLMessage_Function_glGetQueryObjectivEXT; + static const Function glGetQueryObjectui64vEXT = GLMessage_Function_glGetQueryObjectui64vEXT; + static const Function glGetTranslatedShaderSourceANGLE = GLMessage_Function_glGetTranslatedShaderSourceANGLE; + static const Function glMinSampleShadingOES = GLMessage_Function_glMinSampleShadingOES; + static const Function glMultiTexCoord1bOES = GLMessage_Function_glMultiTexCoord1bOES; + static const Function glMultiTexCoord1bvOES = GLMessage_Function_glMultiTexCoord1bvOES; + static const Function glMultiTexCoord2bOES = GLMessage_Function_glMultiTexCoord2bOES; + static const Function glMultiTexCoord2bvOES = GLMessage_Function_glMultiTexCoord2bvOES; + static const Function glMultiTexCoord3bOES = GLMessage_Function_glMultiTexCoord3bOES; + static const Function glMultiTexCoord3bvOES = GLMessage_Function_glMultiTexCoord3bvOES; + static const Function glMultiTexCoord4bOES = GLMessage_Function_glMultiTexCoord4bOES; + static const Function glMultiTexCoord4bvOES = GLMessage_Function_glMultiTexCoord4bvOES; + static const Function glTexCoord1bOES = GLMessage_Function_glTexCoord1bOES; + static const Function glTexCoord1bvOES = GLMessage_Function_glTexCoord1bvOES; + static const Function glTexCoord2bOES = GLMessage_Function_glTexCoord2bOES; + static const Function glTexCoord2bvOES = GLMessage_Function_glTexCoord2bvOES; + static const Function glTexCoord3bOES = GLMessage_Function_glTexCoord3bOES; + static const Function glTexCoord3bvOES = GLMessage_Function_glTexCoord3bvOES; + static const Function glTexCoord4bOES = GLMessage_Function_glTexCoord4bOES; + static const Function glTexCoord4bvOES = GLMessage_Function_glTexCoord4bvOES; + static const Function glVertex2bOES = GLMessage_Function_glVertex2bOES; + static const Function glVertex2bvOES = GLMessage_Function_glVertex2bvOES; + static const Function glVertex3bOES = GLMessage_Function_glVertex3bOES; + static const Function glVertex3bvOES = GLMessage_Function_glVertex3bvOES; + static const Function glVertex4bOES = GLMessage_Function_glVertex4bOES; + static const Function glVertex4bvOES = GLMessage_Function_glVertex4bvOES; + static const Function glProgramUniform1uiEXT = GLMessage_Function_glProgramUniform1uiEXT; + static const Function glProgramUniform2uiEXT = GLMessage_Function_glProgramUniform2uiEXT; + static const Function glProgramUniform3uiEXT = GLMessage_Function_glProgramUniform3uiEXT; + static const Function glProgramUniform4uiEXT = GLMessage_Function_glProgramUniform4uiEXT; + static const Function glProgramUniform1uivEXT = GLMessage_Function_glProgramUniform1uivEXT; + static const Function glProgramUniform2uivEXT = GLMessage_Function_glProgramUniform2uivEXT; + static const Function glProgramUniform3uivEXT = GLMessage_Function_glProgramUniform3uivEXT; + static const Function glProgramUniform4uivEXT = GLMessage_Function_glProgramUniform4uivEXT; + static const Function glProgramUniformMatrix2x3fvEXT = GLMessage_Function_glProgramUniformMatrix2x3fvEXT; + static const Function glProgramUniformMatrix3x2fvEXT = GLMessage_Function_glProgramUniformMatrix3x2fvEXT; + static const Function glProgramUniformMatrix2x4fvEXT = GLMessage_Function_glProgramUniformMatrix2x4fvEXT; + static const Function glProgramUniformMatrix4x2fvEXT = GLMessage_Function_glProgramUniformMatrix4x2fvEXT; + static const Function glProgramUniformMatrix3x4fvEXT = GLMessage_Function_glProgramUniformMatrix3x4fvEXT; + static const Function glProgramUniformMatrix4x3fvEXT = GLMessage_Function_glProgramUniformMatrix4x3fvEXT; + static const Function glRenderbufferStorageMultisampleNV = GLMessage_Function_glRenderbufferStorageMultisampleNV; + static const Function glSampleCoverageOES = GLMessage_Function_glSampleCoverageOES; + static const Function glTexStorage3DMultisampleOES = GLMessage_Function_glTexStorage3DMultisampleOES; + static const Function glUniformMatrix2x3fvNV = GLMessage_Function_glUniformMatrix2x3fvNV; + static const Function glUniformMatrix3x2fvNV = GLMessage_Function_glUniformMatrix3x2fvNV; + static const Function glUniformMatrix2x4fvNV = GLMessage_Function_glUniformMatrix2x4fvNV; + static const Function glUniformMatrix4x2fvNV = GLMessage_Function_glUniformMatrix4x2fvNV; + static const Function glUniformMatrix3x4fvNV = GLMessage_Function_glUniformMatrix3x4fvNV; + static const Function glUniformMatrix4x3fvNV = GLMessage_Function_glUniformMatrix4x3fvNV; static const Function eglGetDisplay = GLMessage_Function_eglGetDisplay; static const Function eglInitialize = GLMessage_Function_eglInitialize; static const Function eglTerminate = GLMessage_Function_eglTerminate; diff --git a/opengl/libs/GLES_trace/src/gltrace_api.cpp b/opengl/libs/GLES_trace/src/gltrace_api.cpp index 747ccfadc..4fbd1241d 100644 --- a/opengl/libs/GLES_trace/src/gltrace_api.cpp +++ b/opengl/libs/GLES_trace/src/gltrace_api.cpp @@ -92,7 +92,7 @@ void GLTrace_glAttachShader(GLuint program, GLuint shader) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glBindAttribLocation(GLuint program, GLuint index, const GLchar* name) { +void GLTrace_glBindAttribLocation(GLuint program, GLuint index, const GLchar * name) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -411,40 +411,40 @@ void GLTrace_glBlendFunc(GLenum sfactor, GLenum dfactor) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glBlendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) { +void GLTrace_glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); glmsg.set_function(GLMessage::glBlendFuncSeparate); - // copy argument srcRGB - GLMessage_DataType *arg_srcRGB = glmsg.add_args(); - arg_srcRGB->set_isarray(false); - arg_srcRGB->set_type(GLMessage::DataType::ENUM); - arg_srcRGB->add_intvalue((int)srcRGB); + // copy argument sfactorRGB + GLMessage_DataType *arg_sfactorRGB = glmsg.add_args(); + arg_sfactorRGB->set_isarray(false); + arg_sfactorRGB->set_type(GLMessage::DataType::ENUM); + arg_sfactorRGB->add_intvalue((int)sfactorRGB); - // copy argument dstRGB - GLMessage_DataType *arg_dstRGB = glmsg.add_args(); - arg_dstRGB->set_isarray(false); - arg_dstRGB->set_type(GLMessage::DataType::ENUM); - arg_dstRGB->add_intvalue((int)dstRGB); + // copy argument dfactorRGB + GLMessage_DataType *arg_dfactorRGB = glmsg.add_args(); + arg_dfactorRGB->set_isarray(false); + arg_dfactorRGB->set_type(GLMessage::DataType::ENUM); + arg_dfactorRGB->add_intvalue((int)dfactorRGB); - // copy argument srcAlpha - GLMessage_DataType *arg_srcAlpha = glmsg.add_args(); - arg_srcAlpha->set_isarray(false); - arg_srcAlpha->set_type(GLMessage::DataType::ENUM); - arg_srcAlpha->add_intvalue((int)srcAlpha); + // copy argument sfactorAlpha + GLMessage_DataType *arg_sfactorAlpha = glmsg.add_args(); + arg_sfactorAlpha->set_isarray(false); + arg_sfactorAlpha->set_type(GLMessage::DataType::ENUM); + arg_sfactorAlpha->add_intvalue((int)sfactorAlpha); - // copy argument dstAlpha - GLMessage_DataType *arg_dstAlpha = glmsg.add_args(); - arg_dstAlpha->set_isarray(false); - arg_dstAlpha->set_type(GLMessage::DataType::ENUM); - arg_dstAlpha->add_intvalue((int)dstAlpha); + // copy argument dfactorAlpha + GLMessage_DataType *arg_dfactorAlpha = glmsg.add_args(); + arg_dfactorAlpha->set_isarray(false); + arg_dfactorAlpha->set_type(GLMessage::DataType::ENUM); + arg_dfactorAlpha->add_intvalue((int)dfactorAlpha); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glBlendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha); + glContext->hooks->gl.glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -457,7 +457,7 @@ void GLTrace_glBlendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, glContext->traceGLMessage(&glmsg); } -void GLTrace_glBufferData(GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage) { +void GLTrace_glBufferData(GLenum target, GLsizeiptr size, const void * data, GLenum usage) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -504,7 +504,7 @@ void GLTrace_glBufferData(GLenum target, GLsizeiptr size, const GLvoid* data, GL glContext->traceGLMessage(&glmsg); } -void GLTrace_glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data) { +void GLTrace_glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const void * data) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -661,22 +661,22 @@ void GLTrace_glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alph glContext->traceGLMessage(&glmsg); } -void GLTrace_glClearDepthf(GLfloat depth) { +void GLTrace_glClearDepthf(GLfloat d) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); glmsg.set_function(GLMessage::glClearDepthf); - // copy argument depth - GLMessage_DataType *arg_depth = glmsg.add_args(); - arg_depth->set_isarray(false); - arg_depth->set_type(GLMessage::DataType::FLOAT); - arg_depth->add_floatvalue(depth); + // copy argument d + GLMessage_DataType *arg_d = glmsg.add_args(); + arg_d->set_isarray(false); + arg_d->set_type(GLMessage::DataType::FLOAT); + arg_d->add_floatvalue(d); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glClearDepthf(depth); + glContext->hooks->gl.glClearDepthf(d); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -791,7 +791,7 @@ void GLTrace_glCompileShader(GLuint shader) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data) { +void GLTrace_glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * data) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -862,7 +862,7 @@ void GLTrace_glCompressedTexImage2D(GLenum target, GLint level, GLenum internalf glContext->traceGLMessage(&glmsg); } -void GLTrace_glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data) { +void GLTrace_glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * data) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -1173,7 +1173,7 @@ void GLTrace_glCullFace(GLenum mode) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glDeleteBuffers(GLsizei n, const GLuint* buffers) { +void GLTrace_glDeleteBuffers(GLsizei n, const GLuint * buffers) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -1208,7 +1208,7 @@ void GLTrace_glDeleteBuffers(GLsizei n, const GLuint* buffers) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glDeleteFramebuffers(GLsizei n, const GLuint* framebuffers) { +void GLTrace_glDeleteFramebuffers(GLsizei n, const GLuint * framebuffers) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -1271,7 +1271,7 @@ void GLTrace_glDeleteProgram(GLuint program) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glDeleteRenderbuffers(GLsizei n, const GLuint* renderbuffers) { +void GLTrace_glDeleteRenderbuffers(GLsizei n, const GLuint * renderbuffers) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -1334,7 +1334,7 @@ void GLTrace_glDeleteShader(GLuint shader) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glDeleteTextures(GLsizei n, const GLuint* textures) { +void GLTrace_glDeleteTextures(GLsizei n, const GLuint * textures) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -1589,7 +1589,7 @@ void GLTrace_glDrawArrays(GLenum mode, GLint first, GLsizei count) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices) { +void GLTrace_glDrawElements(GLenum mode, GLsizei count, GLenum type, const void * indices) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -1862,7 +1862,7 @@ void GLTrace_glFrontFace(GLenum mode) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGenBuffers(GLsizei n, GLuint* buffers) { +void GLTrace_glGenBuffers(GLsizei n, GLuint * buffers) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -1925,7 +1925,7 @@ void GLTrace_glGenerateMipmap(GLenum target) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGenFramebuffers(GLsizei n, GLuint* framebuffers) { +void GLTrace_glGenFramebuffers(GLsizei n, GLuint * framebuffers) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -1960,7 +1960,7 @@ void GLTrace_glGenFramebuffers(GLsizei n, GLuint* framebuffers) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGenRenderbuffers(GLsizei n, GLuint* renderbuffers) { +void GLTrace_glGenRenderbuffers(GLsizei n, GLuint * renderbuffers) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -1995,7 +1995,7 @@ void GLTrace_glGenRenderbuffers(GLsizei n, GLuint* renderbuffers) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGenTextures(GLsizei n, GLuint* textures) { +void GLTrace_glGenTextures(GLsizei n, GLuint * textures) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -2030,7 +2030,7 @@ void GLTrace_glGenTextures(GLsizei n, GLuint* textures) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name) { +void GLTrace_glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -2048,11 +2048,11 @@ void GLTrace_glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufsize, GL arg_index->set_type(GLMessage::DataType::INT); arg_index->add_intvalue(index); - // copy argument bufsize - GLMessage_DataType *arg_bufsize = glmsg.add_args(); - arg_bufsize->set_isarray(false); - arg_bufsize->set_type(GLMessage::DataType::INT); - arg_bufsize->add_intvalue(bufsize); + // copy argument bufSize + GLMessage_DataType *arg_bufSize = glmsg.add_args(); + arg_bufSize->set_isarray(false); + arg_bufSize->set_type(GLMessage::DataType::INT); + arg_bufSize->add_intvalue(bufSize); // copy argument length GLMessage_DataType *arg_length = glmsg.add_args(); @@ -2081,7 +2081,7 @@ void GLTrace_glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufsize, GL // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glGetActiveAttrib(program, index, bufsize, length, size, type, name); + glContext->hooks->gl.glGetActiveAttrib(program, index, bufSize, length, size, type, name); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -2098,7 +2098,7 @@ void GLTrace_glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufsize, GL glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetActiveUniform(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name) { +void GLTrace_glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -2116,11 +2116,11 @@ void GLTrace_glGetActiveUniform(GLuint program, GLuint index, GLsizei bufsize, G arg_index->set_type(GLMessage::DataType::INT); arg_index->add_intvalue(index); - // copy argument bufsize - GLMessage_DataType *arg_bufsize = glmsg.add_args(); - arg_bufsize->set_isarray(false); - arg_bufsize->set_type(GLMessage::DataType::INT); - arg_bufsize->add_intvalue(bufsize); + // copy argument bufSize + GLMessage_DataType *arg_bufSize = glmsg.add_args(); + arg_bufSize->set_isarray(false); + arg_bufSize->set_type(GLMessage::DataType::INT); + arg_bufSize->add_intvalue(bufSize); // copy argument length GLMessage_DataType *arg_length = glmsg.add_args(); @@ -2149,7 +2149,7 @@ void GLTrace_glGetActiveUniform(GLuint program, GLuint index, GLsizei bufsize, G // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glGetActiveUniform(program, index, bufsize, length, size, type, name); + glContext->hooks->gl.glGetActiveUniform(program, index, bufSize, length, size, type, name); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -2166,7 +2166,7 @@ void GLTrace_glGetActiveUniform(GLuint program, GLuint index, GLsizei bufsize, G glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders) { +void GLTrace_glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei * count, GLuint * shaders) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -2178,11 +2178,11 @@ void GLTrace_glGetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* cou arg_program->set_type(GLMessage::DataType::INT); arg_program->add_intvalue(program); - // copy argument maxcount - GLMessage_DataType *arg_maxcount = glmsg.add_args(); - arg_maxcount->set_isarray(false); - arg_maxcount->set_type(GLMessage::DataType::INT); - arg_maxcount->add_intvalue(maxcount); + // copy argument maxCount + GLMessage_DataType *arg_maxCount = glmsg.add_args(); + arg_maxCount->set_isarray(false); + arg_maxCount->set_type(GLMessage::DataType::INT); + arg_maxCount->add_intvalue(maxCount); // copy argument count GLMessage_DataType *arg_count = glmsg.add_args(); @@ -2199,7 +2199,7 @@ void GLTrace_glGetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* cou // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glGetAttachedShaders(program, maxcount, count, shaders); + glContext->hooks->gl.glGetAttachedShaders(program, maxCount, count, shaders); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -2214,7 +2214,7 @@ void GLTrace_glGetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* cou glContext->traceGLMessage(&glmsg); } -GLint GLTrace_glGetAttribLocation(GLuint program, const GLchar* name) { +GLint GLTrace_glGetAttribLocation(GLuint program, const GLchar * name) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -2257,7 +2257,7 @@ GLint GLTrace_glGetAttribLocation(GLuint program, const GLchar* name) { return retValue; } -void GLTrace_glGetBooleanv(GLenum pname, GLboolean* params) { +void GLTrace_glGetBooleanv(GLenum pname, GLboolean * data) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -2269,21 +2269,21 @@ void GLTrace_glGetBooleanv(GLenum pname, GLboolean* params) { arg_pname->set_type(GLMessage::DataType::ENUM); arg_pname->add_intvalue((int)pname); - // copy argument params - GLMessage_DataType *arg_params = glmsg.add_args(); - arg_params->set_isarray(false); - arg_params->set_type(GLMessage::DataType::INT64); - arg_params->add_int64value((uintptr_t)params); + // copy argument data + GLMessage_DataType *arg_data = glmsg.add_args(); + arg_data->set_isarray(false); + arg_data->set_type(GLMessage::DataType::INT64); + arg_data->add_int64value((uintptr_t)data); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glGetBooleanv(pname, params); + glContext->hooks->gl.glGetBooleanv(pname, data); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { - (void *) params, + (void *) data, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -2292,7 +2292,7 @@ void GLTrace_glGetBooleanv(GLenum pname, GLboolean* params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetBufferParameteriv(GLenum target, GLenum pname, GLint* params) { +void GLTrace_glGetBufferParameteriv(GLenum target, GLenum pname, GLint * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -2363,7 +2363,7 @@ GLenum GLTrace_glGetError(void) { return retValue; } -void GLTrace_glGetFloatv(GLenum pname, GLfloat* params) { +void GLTrace_glGetFloatv(GLenum pname, GLfloat * data) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -2375,21 +2375,21 @@ void GLTrace_glGetFloatv(GLenum pname, GLfloat* params) { arg_pname->set_type(GLMessage::DataType::ENUM); arg_pname->add_intvalue((int)pname); - // copy argument params - GLMessage_DataType *arg_params = glmsg.add_args(); - arg_params->set_isarray(false); - arg_params->set_type(GLMessage::DataType::INT64); - arg_params->add_int64value((uintptr_t)params); + // copy argument data + GLMessage_DataType *arg_data = glmsg.add_args(); + arg_data->set_isarray(false); + arg_data->set_type(GLMessage::DataType::INT64); + arg_data->add_int64value((uintptr_t)data); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glGetFloatv(pname, params); + glContext->hooks->gl.glGetFloatv(pname, data); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { - (void *) params, + (void *) data, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -2398,7 +2398,7 @@ void GLTrace_glGetFloatv(GLenum pname, GLfloat* params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint* params) { +void GLTrace_glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -2445,7 +2445,7 @@ void GLTrace_glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachm glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetIntegerv(GLenum pname, GLint* params) { +void GLTrace_glGetIntegerv(GLenum pname, GLint * data) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -2457,21 +2457,21 @@ void GLTrace_glGetIntegerv(GLenum pname, GLint* params) { arg_pname->set_type(GLMessage::DataType::ENUM); arg_pname->add_intvalue((int)pname); - // copy argument params - GLMessage_DataType *arg_params = glmsg.add_args(); - arg_params->set_isarray(false); - arg_params->set_type(GLMessage::DataType::INT64); - arg_params->add_int64value((uintptr_t)params); + // copy argument data + GLMessage_DataType *arg_data = glmsg.add_args(); + arg_data->set_isarray(false); + arg_data->set_type(GLMessage::DataType::INT64); + arg_data->add_int64value((uintptr_t)data); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glGetIntegerv(pname, params); + glContext->hooks->gl.glGetIntegerv(pname, data); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { - (void *) params, + (void *) data, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -2480,7 +2480,7 @@ void GLTrace_glGetIntegerv(GLenum pname, GLint* params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetProgramiv(GLuint program, GLenum pname, GLint* params) { +void GLTrace_glGetProgramiv(GLuint program, GLenum pname, GLint * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -2521,7 +2521,7 @@ void GLTrace_glGetProgramiv(GLuint program, GLenum pname, GLint* params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetProgramInfoLog(GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog) { +void GLTrace_glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei * length, GLchar * infoLog) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -2533,11 +2533,11 @@ void GLTrace_glGetProgramInfoLog(GLuint program, GLsizei bufsize, GLsizei* lengt arg_program->set_type(GLMessage::DataType::INT); arg_program->add_intvalue(program); - // copy argument bufsize - GLMessage_DataType *arg_bufsize = glmsg.add_args(); - arg_bufsize->set_isarray(false); - arg_bufsize->set_type(GLMessage::DataType::INT); - arg_bufsize->add_intvalue(bufsize); + // copy argument bufSize + GLMessage_DataType *arg_bufSize = glmsg.add_args(); + arg_bufSize->set_isarray(false); + arg_bufSize->set_type(GLMessage::DataType::INT); + arg_bufSize->add_intvalue(bufSize); // copy argument length GLMessage_DataType *arg_length = glmsg.add_args(); @@ -2545,22 +2545,22 @@ void GLTrace_glGetProgramInfoLog(GLuint program, GLsizei bufsize, GLsizei* lengt arg_length->set_type(GLMessage::DataType::INT64); arg_length->add_int64value((uintptr_t)length); - // copy argument infolog - GLMessage_DataType *arg_infolog = glmsg.add_args(); - arg_infolog->set_isarray(false); - arg_infolog->set_type(GLMessage::DataType::INT64); - arg_infolog->add_int64value((uintptr_t)infolog); + // copy argument infoLog + GLMessage_DataType *arg_infoLog = glmsg.add_args(); + arg_infoLog->set_isarray(false); + arg_infoLog->set_type(GLMessage::DataType::INT64); + arg_infoLog->add_int64value((uintptr_t)infoLog); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glGetProgramInfoLog(program, bufsize, length, infolog); + glContext->hooks->gl.glGetProgramInfoLog(program, bufSize, length, infoLog); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { (void *) length, - (void *) infolog, + (void *) infoLog, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -2569,7 +2569,7 @@ void GLTrace_glGetProgramInfoLog(GLuint program, GLsizei bufsize, GLsizei* lengt glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint* params) { +void GLTrace_glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -2610,7 +2610,7 @@ void GLTrace_glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint* pa glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetShaderiv(GLuint shader, GLenum pname, GLint* params) { +void GLTrace_glGetShaderiv(GLuint shader, GLenum pname, GLint * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -2651,7 +2651,7 @@ void GLTrace_glGetShaderiv(GLuint shader, GLenum pname, GLint* params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetShaderInfoLog(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog) { +void GLTrace_glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * infoLog) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -2663,11 +2663,11 @@ void GLTrace_glGetShaderInfoLog(GLuint shader, GLsizei bufsize, GLsizei* length, arg_shader->set_type(GLMessage::DataType::INT); arg_shader->add_intvalue(shader); - // copy argument bufsize - GLMessage_DataType *arg_bufsize = glmsg.add_args(); - arg_bufsize->set_isarray(false); - arg_bufsize->set_type(GLMessage::DataType::INT); - arg_bufsize->add_intvalue(bufsize); + // copy argument bufSize + GLMessage_DataType *arg_bufSize = glmsg.add_args(); + arg_bufSize->set_isarray(false); + arg_bufSize->set_type(GLMessage::DataType::INT); + arg_bufSize->add_intvalue(bufSize); // copy argument length GLMessage_DataType *arg_length = glmsg.add_args(); @@ -2675,22 +2675,22 @@ void GLTrace_glGetShaderInfoLog(GLuint shader, GLsizei bufsize, GLsizei* length, arg_length->set_type(GLMessage::DataType::INT64); arg_length->add_int64value((uintptr_t)length); - // copy argument infolog - GLMessage_DataType *arg_infolog = glmsg.add_args(); - arg_infolog->set_isarray(false); - arg_infolog->set_type(GLMessage::DataType::INT64); - arg_infolog->add_int64value((uintptr_t)infolog); + // copy argument infoLog + GLMessage_DataType *arg_infoLog = glmsg.add_args(); + arg_infoLog->set_isarray(false); + arg_infoLog->set_type(GLMessage::DataType::INT64); + arg_infoLog->add_int64value((uintptr_t)infoLog); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glGetShaderInfoLog(shader, bufsize, length, infolog); + glContext->hooks->gl.glGetShaderInfoLog(shader, bufSize, length, infoLog); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { (void *) length, - (void *) infolog, + (void *) infoLog, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -2699,7 +2699,7 @@ void GLTrace_glGetShaderInfoLog(GLuint shader, GLsizei bufsize, GLsizei* length, glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision) { +void GLTrace_glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint * range, GLint * precision) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -2747,7 +2747,7 @@ void GLTrace_glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetShaderSource(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source) { +void GLTrace_glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * source) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -2759,11 +2759,11 @@ void GLTrace_glGetShaderSource(GLuint shader, GLsizei bufsize, GLsizei* length, arg_shader->set_type(GLMessage::DataType::INT); arg_shader->add_intvalue(shader); - // copy argument bufsize - GLMessage_DataType *arg_bufsize = glmsg.add_args(); - arg_bufsize->set_isarray(false); - arg_bufsize->set_type(GLMessage::DataType::INT); - arg_bufsize->add_intvalue(bufsize); + // copy argument bufSize + GLMessage_DataType *arg_bufSize = glmsg.add_args(); + arg_bufSize->set_isarray(false); + arg_bufSize->set_type(GLMessage::DataType::INT); + arg_bufSize->add_intvalue(bufSize); // copy argument length GLMessage_DataType *arg_length = glmsg.add_args(); @@ -2780,7 +2780,7 @@ void GLTrace_glGetShaderSource(GLuint shader, GLsizei bufsize, GLsizei* length, // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glGetShaderSource(shader, bufsize, length, source); + glContext->hooks->gl.glGetShaderSource(shader, bufSize, length, source); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -2795,7 +2795,7 @@ void GLTrace_glGetShaderSource(GLuint shader, GLsizei bufsize, GLsizei* length, glContext->traceGLMessage(&glmsg); } -const GLubyte* GLTrace_glGetString(GLenum name) { +const GLubyte * GLTrace_glGetString(GLenum name) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -2810,7 +2810,7 @@ const GLubyte* GLTrace_glGetString(GLenum name) { // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - const GLubyte* retValue = glContext->hooks->gl.glGetString(name); + const GLubyte * retValue = glContext->hooks->gl.glGetString(name); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -2832,7 +2832,7 @@ const GLubyte* GLTrace_glGetString(GLenum name) { return retValue; } -void GLTrace_glGetTexParameterfv(GLenum target, GLenum pname, GLfloat* params) { +void GLTrace_glGetTexParameterfv(GLenum target, GLenum pname, GLfloat * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -2873,7 +2873,7 @@ void GLTrace_glGetTexParameterfv(GLenum target, GLenum pname, GLfloat* params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetTexParameteriv(GLenum target, GLenum pname, GLint* params) { +void GLTrace_glGetTexParameteriv(GLenum target, GLenum pname, GLint * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -2914,7 +2914,7 @@ void GLTrace_glGetTexParameteriv(GLenum target, GLenum pname, GLint* params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetUniformfv(GLuint program, GLint location, GLfloat* params) { +void GLTrace_glGetUniformfv(GLuint program, GLint location, GLfloat * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -2955,7 +2955,7 @@ void GLTrace_glGetUniformfv(GLuint program, GLint location, GLfloat* params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetUniformiv(GLuint program, GLint location, GLint* params) { +void GLTrace_glGetUniformiv(GLuint program, GLint location, GLint * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -2996,7 +2996,7 @@ void GLTrace_glGetUniformiv(GLuint program, GLint location, GLint* params) { glContext->traceGLMessage(&glmsg); } -GLint GLTrace_glGetUniformLocation(GLuint program, const GLchar* name) { +GLint GLTrace_glGetUniformLocation(GLuint program, const GLchar * name) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -3039,7 +3039,7 @@ GLint GLTrace_glGetUniformLocation(GLuint program, const GLchar* name) { return retValue; } -void GLTrace_glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params) { +void GLTrace_glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -3080,7 +3080,7 @@ void GLTrace_glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetVertexAttribiv(GLuint index, GLenum pname, GLint* params) { +void GLTrace_glGetVertexAttribiv(GLuint index, GLenum pname, GLint * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -3121,7 +3121,7 @@ void GLTrace_glGetVertexAttribiv(GLuint index, GLenum pname, GLint* params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid** pointer) { +void GLTrace_glGetVertexAttribPointerv(GLuint index, GLenum pname, void ** pointer) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -3572,7 +3572,7 @@ void GLTrace_glPolygonOffset(GLfloat factor, GLfloat units) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels) { +void GLTrace_glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void * pixels) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -3785,17 +3785,17 @@ void GLTrace_glScissor(GLint x, GLint y, GLsizei width, GLsizei height) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glShaderBinary(GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length) { +void GLTrace_glShaderBinary(GLsizei count, const GLuint * shaders, GLenum binaryformat, const void * binary, GLsizei length) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); glmsg.set_function(GLMessage::glShaderBinary); - // copy argument n - GLMessage_DataType *arg_n = glmsg.add_args(); - arg_n->set_isarray(false); - arg_n->set_type(GLMessage::DataType::INT); - arg_n->add_intvalue(n); + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT); + arg_count->add_intvalue(count); // copy argument shaders GLMessage_DataType *arg_shaders = glmsg.add_args(); @@ -3824,7 +3824,7 @@ void GLTrace_glShaderBinary(GLsizei n, const GLuint* shaders, GLenum binaryforma // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glShaderBinary(n, shaders, binaryformat, binary, length); + glContext->hooks->gl.glShaderBinary(count, shaders, binaryformat, binary, length); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -3839,7 +3839,7 @@ void GLTrace_glShaderBinary(GLsizei n, const GLuint* shaders, GLenum binaryforma glContext->traceGLMessage(&glmsg); } -void GLTrace_glShaderSource(GLuint shader, GLsizei count, const GLchar* const* string, const GLint* length) { +void GLTrace_glShaderSource(GLuint shader, GLsizei count, const GLchar *const* string, const GLint * length) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -4075,7 +4075,7 @@ void GLTrace_glStencilOp(GLenum fail, GLenum zfail, GLenum zpass) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glStencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass) { +void GLTrace_glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -4087,28 +4087,28 @@ void GLTrace_glStencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum arg_face->set_type(GLMessage::DataType::ENUM); arg_face->add_intvalue((int)face); - // copy argument fail - GLMessage_DataType *arg_fail = glmsg.add_args(); - arg_fail->set_isarray(false); - arg_fail->set_type(GLMessage::DataType::ENUM); - arg_fail->add_intvalue((int)fail); + // copy argument sfail + GLMessage_DataType *arg_sfail = glmsg.add_args(); + arg_sfail->set_isarray(false); + arg_sfail->set_type(GLMessage::DataType::ENUM); + arg_sfail->add_intvalue((int)sfail); - // copy argument zfail - GLMessage_DataType *arg_zfail = glmsg.add_args(); - arg_zfail->set_isarray(false); - arg_zfail->set_type(GLMessage::DataType::ENUM); - arg_zfail->add_intvalue((int)zfail); + // copy argument dpfail + GLMessage_DataType *arg_dpfail = glmsg.add_args(); + arg_dpfail->set_isarray(false); + arg_dpfail->set_type(GLMessage::DataType::ENUM); + arg_dpfail->add_intvalue((int)dpfail); - // copy argument zpass - GLMessage_DataType *arg_zpass = glmsg.add_args(); - arg_zpass->set_isarray(false); - arg_zpass->set_type(GLMessage::DataType::ENUM); - arg_zpass->add_intvalue((int)zpass); + // copy argument dppass + GLMessage_DataType *arg_dppass = glmsg.add_args(); + arg_dppass->set_isarray(false); + arg_dppass->set_type(GLMessage::DataType::ENUM); + arg_dppass->add_intvalue((int)dppass); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glStencilOpSeparate(face, fail, zfail, zpass); + glContext->hooks->gl.glStencilOpSeparate(face, sfail, dpfail, dppass); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -4121,7 +4121,7 @@ void GLTrace_glStencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum glContext->traceGLMessage(&glmsg); } -void GLTrace_glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels) { +void GLTrace_glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void * pixels) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -4238,7 +4238,7 @@ void GLTrace_glTexParameterf(GLenum target, GLenum pname, GLfloat param) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glTexParameterfv(GLenum target, GLenum pname, const GLfloat* params) { +void GLTrace_glTexParameterfv(GLenum target, GLenum pname, const GLfloat * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -4319,7 +4319,7 @@ void GLTrace_glTexParameteri(GLenum target, GLenum pname, GLint param) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glTexParameteriv(GLenum target, GLenum pname, const GLint* params) { +void GLTrace_glTexParameteriv(GLenum target, GLenum pname, const GLint * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -4360,7 +4360,7 @@ void GLTrace_glTexParameteriv(GLenum target, GLenum pname, const GLint* params) glContext->traceGLMessage(&glmsg); } -void GLTrace_glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels) { +void GLTrace_glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -4437,7 +4437,7 @@ void GLTrace_glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yo glContext->traceGLMessage(&glmsg); } -void GLTrace_glUniform1f(GLint location, GLfloat x) { +void GLTrace_glUniform1f(GLint location, GLfloat v0) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -4449,16 +4449,16 @@ void GLTrace_glUniform1f(GLint location, GLfloat x) { arg_location->set_type(GLMessage::DataType::INT); arg_location->add_intvalue(location); - // copy argument x - GLMessage_DataType *arg_x = glmsg.add_args(); - arg_x->set_isarray(false); - arg_x->set_type(GLMessage::DataType::FLOAT); - arg_x->add_floatvalue(x); + // copy argument v0 + GLMessage_DataType *arg_v0 = glmsg.add_args(); + arg_v0->set_isarray(false); + arg_v0->set_type(GLMessage::DataType::FLOAT); + arg_v0->add_floatvalue(v0); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glUniform1f(location, x); + glContext->hooks->gl.glUniform1f(location, v0); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -4471,7 +4471,7 @@ void GLTrace_glUniform1f(GLint location, GLfloat x) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glUniform1fv(GLint location, GLsizei count, const GLfloat* v) { +void GLTrace_glUniform1fv(GLint location, GLsizei count, const GLfloat * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -4489,21 +4489,21 @@ void GLTrace_glUniform1fv(GLint location, GLsizei count, const GLfloat* v) { arg_count->set_type(GLMessage::DataType::INT); arg_count->add_intvalue(count); - // copy argument v - GLMessage_DataType *arg_v = glmsg.add_args(); - arg_v->set_isarray(false); - arg_v->set_type(GLMessage::DataType::INT64); - arg_v->add_int64value((uintptr_t)v); + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::INT64); + arg_value->add_int64value((uintptr_t)value); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glUniform1fv(location, count, v); + glContext->hooks->gl.glUniform1fv(location, count, value); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { - (void *) v, + (void *) value, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -4512,7 +4512,7 @@ void GLTrace_glUniform1fv(GLint location, GLsizei count, const GLfloat* v) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glUniform1i(GLint location, GLint x) { +void GLTrace_glUniform1i(GLint location, GLint v0) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -4524,16 +4524,16 @@ void GLTrace_glUniform1i(GLint location, GLint x) { arg_location->set_type(GLMessage::DataType::INT); arg_location->add_intvalue(location); - // copy argument x - GLMessage_DataType *arg_x = glmsg.add_args(); - arg_x->set_isarray(false); - arg_x->set_type(GLMessage::DataType::INT); - arg_x->add_intvalue(x); + // copy argument v0 + GLMessage_DataType *arg_v0 = glmsg.add_args(); + arg_v0->set_isarray(false); + arg_v0->set_type(GLMessage::DataType::INT); + arg_v0->add_intvalue(v0); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glUniform1i(location, x); + glContext->hooks->gl.glUniform1i(location, v0); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -4546,7 +4546,7 @@ void GLTrace_glUniform1i(GLint location, GLint x) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glUniform1iv(GLint location, GLsizei count, const GLint* v) { +void GLTrace_glUniform1iv(GLint location, GLsizei count, const GLint * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -4564,21 +4564,21 @@ void GLTrace_glUniform1iv(GLint location, GLsizei count, const GLint* v) { arg_count->set_type(GLMessage::DataType::INT); arg_count->add_intvalue(count); - // copy argument v - GLMessage_DataType *arg_v = glmsg.add_args(); - arg_v->set_isarray(false); - arg_v->set_type(GLMessage::DataType::INT64); - arg_v->add_int64value((uintptr_t)v); + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::INT64); + arg_value->add_int64value((uintptr_t)value); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glUniform1iv(location, count, v); + glContext->hooks->gl.glUniform1iv(location, count, value); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { - (void *) v, + (void *) value, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -4587,7 +4587,7 @@ void GLTrace_glUniform1iv(GLint location, GLsizei count, const GLint* v) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glUniform2f(GLint location, GLfloat x, GLfloat y) { +void GLTrace_glUniform2f(GLint location, GLfloat v0, GLfloat v1) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -4599,22 +4599,22 @@ void GLTrace_glUniform2f(GLint location, GLfloat x, GLfloat y) { arg_location->set_type(GLMessage::DataType::INT); arg_location->add_intvalue(location); - // copy argument x - GLMessage_DataType *arg_x = glmsg.add_args(); - arg_x->set_isarray(false); - arg_x->set_type(GLMessage::DataType::FLOAT); - arg_x->add_floatvalue(x); + // copy argument v0 + GLMessage_DataType *arg_v0 = glmsg.add_args(); + arg_v0->set_isarray(false); + arg_v0->set_type(GLMessage::DataType::FLOAT); + arg_v0->add_floatvalue(v0); - // copy argument y - GLMessage_DataType *arg_y = glmsg.add_args(); - arg_y->set_isarray(false); - arg_y->set_type(GLMessage::DataType::FLOAT); - arg_y->add_floatvalue(y); + // copy argument v1 + GLMessage_DataType *arg_v1 = glmsg.add_args(); + arg_v1->set_isarray(false); + arg_v1->set_type(GLMessage::DataType::FLOAT); + arg_v1->add_floatvalue(v1); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glUniform2f(location, x, y); + glContext->hooks->gl.glUniform2f(location, v0, v1); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -4627,7 +4627,7 @@ void GLTrace_glUniform2f(GLint location, GLfloat x, GLfloat y) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glUniform2fv(GLint location, GLsizei count, const GLfloat* v) { +void GLTrace_glUniform2fv(GLint location, GLsizei count, const GLfloat * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -4645,21 +4645,21 @@ void GLTrace_glUniform2fv(GLint location, GLsizei count, const GLfloat* v) { arg_count->set_type(GLMessage::DataType::INT); arg_count->add_intvalue(count); - // copy argument v - GLMessage_DataType *arg_v = glmsg.add_args(); - arg_v->set_isarray(false); - arg_v->set_type(GLMessage::DataType::INT64); - arg_v->add_int64value((uintptr_t)v); + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::INT64); + arg_value->add_int64value((uintptr_t)value); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glUniform2fv(location, count, v); + glContext->hooks->gl.glUniform2fv(location, count, value); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { - (void *) v, + (void *) value, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -4668,7 +4668,7 @@ void GLTrace_glUniform2fv(GLint location, GLsizei count, const GLfloat* v) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glUniform2i(GLint location, GLint x, GLint y) { +void GLTrace_glUniform2i(GLint location, GLint v0, GLint v1) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -4680,22 +4680,22 @@ void GLTrace_glUniform2i(GLint location, GLint x, GLint y) { arg_location->set_type(GLMessage::DataType::INT); arg_location->add_intvalue(location); - // copy argument x - GLMessage_DataType *arg_x = glmsg.add_args(); - arg_x->set_isarray(false); - arg_x->set_type(GLMessage::DataType::INT); - arg_x->add_intvalue(x); + // copy argument v0 + GLMessage_DataType *arg_v0 = glmsg.add_args(); + arg_v0->set_isarray(false); + arg_v0->set_type(GLMessage::DataType::INT); + arg_v0->add_intvalue(v0); - // copy argument y - GLMessage_DataType *arg_y = glmsg.add_args(); - arg_y->set_isarray(false); - arg_y->set_type(GLMessage::DataType::INT); - arg_y->add_intvalue(y); + // copy argument v1 + GLMessage_DataType *arg_v1 = glmsg.add_args(); + arg_v1->set_isarray(false); + arg_v1->set_type(GLMessage::DataType::INT); + arg_v1->add_intvalue(v1); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glUniform2i(location, x, y); + glContext->hooks->gl.glUniform2i(location, v0, v1); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -4708,7 +4708,7 @@ void GLTrace_glUniform2i(GLint location, GLint x, GLint y) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glUniform2iv(GLint location, GLsizei count, const GLint* v) { +void GLTrace_glUniform2iv(GLint location, GLsizei count, const GLint * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -4726,21 +4726,21 @@ void GLTrace_glUniform2iv(GLint location, GLsizei count, const GLint* v) { arg_count->set_type(GLMessage::DataType::INT); arg_count->add_intvalue(count); - // copy argument v - GLMessage_DataType *arg_v = glmsg.add_args(); - arg_v->set_isarray(false); - arg_v->set_type(GLMessage::DataType::INT64); - arg_v->add_int64value((uintptr_t)v); + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::INT64); + arg_value->add_int64value((uintptr_t)value); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glUniform2iv(location, count, v); + glContext->hooks->gl.glUniform2iv(location, count, value); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { - (void *) v, + (void *) value, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -4749,7 +4749,7 @@ void GLTrace_glUniform2iv(GLint location, GLsizei count, const GLint* v) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glUniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z) { +void GLTrace_glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -4761,28 +4761,28 @@ void GLTrace_glUniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z) { arg_location->set_type(GLMessage::DataType::INT); arg_location->add_intvalue(location); - // copy argument x - GLMessage_DataType *arg_x = glmsg.add_args(); - arg_x->set_isarray(false); - arg_x->set_type(GLMessage::DataType::FLOAT); - arg_x->add_floatvalue(x); + // copy argument v0 + GLMessage_DataType *arg_v0 = glmsg.add_args(); + arg_v0->set_isarray(false); + arg_v0->set_type(GLMessage::DataType::FLOAT); + arg_v0->add_floatvalue(v0); - // copy argument y - GLMessage_DataType *arg_y = glmsg.add_args(); - arg_y->set_isarray(false); - arg_y->set_type(GLMessage::DataType::FLOAT); - arg_y->add_floatvalue(y); + // copy argument v1 + GLMessage_DataType *arg_v1 = glmsg.add_args(); + arg_v1->set_isarray(false); + arg_v1->set_type(GLMessage::DataType::FLOAT); + arg_v1->add_floatvalue(v1); - // copy argument z - GLMessage_DataType *arg_z = glmsg.add_args(); - arg_z->set_isarray(false); - arg_z->set_type(GLMessage::DataType::FLOAT); - arg_z->add_floatvalue(z); + // copy argument v2 + GLMessage_DataType *arg_v2 = glmsg.add_args(); + arg_v2->set_isarray(false); + arg_v2->set_type(GLMessage::DataType::FLOAT); + arg_v2->add_floatvalue(v2); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glUniform3f(location, x, y, z); + glContext->hooks->gl.glUniform3f(location, v0, v1, v2); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -4795,7 +4795,7 @@ void GLTrace_glUniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glUniform3fv(GLint location, GLsizei count, const GLfloat* v) { +void GLTrace_glUniform3fv(GLint location, GLsizei count, const GLfloat * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -4813,21 +4813,21 @@ void GLTrace_glUniform3fv(GLint location, GLsizei count, const GLfloat* v) { arg_count->set_type(GLMessage::DataType::INT); arg_count->add_intvalue(count); - // copy argument v - GLMessage_DataType *arg_v = glmsg.add_args(); - arg_v->set_isarray(false); - arg_v->set_type(GLMessage::DataType::INT64); - arg_v->add_int64value((uintptr_t)v); + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::INT64); + arg_value->add_int64value((uintptr_t)value); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glUniform3fv(location, count, v); + glContext->hooks->gl.glUniform3fv(location, count, value); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { - (void *) v, + (void *) value, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -4836,7 +4836,7 @@ void GLTrace_glUniform3fv(GLint location, GLsizei count, const GLfloat* v) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glUniform3i(GLint location, GLint x, GLint y, GLint z) { +void GLTrace_glUniform3i(GLint location, GLint v0, GLint v1, GLint v2) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -4848,28 +4848,28 @@ void GLTrace_glUniform3i(GLint location, GLint x, GLint y, GLint z) { arg_location->set_type(GLMessage::DataType::INT); arg_location->add_intvalue(location); - // copy argument x - GLMessage_DataType *arg_x = glmsg.add_args(); - arg_x->set_isarray(false); - arg_x->set_type(GLMessage::DataType::INT); - arg_x->add_intvalue(x); + // copy argument v0 + GLMessage_DataType *arg_v0 = glmsg.add_args(); + arg_v0->set_isarray(false); + arg_v0->set_type(GLMessage::DataType::INT); + arg_v0->add_intvalue(v0); - // copy argument y - GLMessage_DataType *arg_y = glmsg.add_args(); - arg_y->set_isarray(false); - arg_y->set_type(GLMessage::DataType::INT); - arg_y->add_intvalue(y); + // copy argument v1 + GLMessage_DataType *arg_v1 = glmsg.add_args(); + arg_v1->set_isarray(false); + arg_v1->set_type(GLMessage::DataType::INT); + arg_v1->add_intvalue(v1); - // copy argument z - GLMessage_DataType *arg_z = glmsg.add_args(); - arg_z->set_isarray(false); - arg_z->set_type(GLMessage::DataType::INT); - arg_z->add_intvalue(z); + // copy argument v2 + GLMessage_DataType *arg_v2 = glmsg.add_args(); + arg_v2->set_isarray(false); + arg_v2->set_type(GLMessage::DataType::INT); + arg_v2->add_intvalue(v2); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glUniform3i(location, x, y, z); + glContext->hooks->gl.glUniform3i(location, v0, v1, v2); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -4882,7 +4882,7 @@ void GLTrace_glUniform3i(GLint location, GLint x, GLint y, GLint z) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glUniform3iv(GLint location, GLsizei count, const GLint* v) { +void GLTrace_glUniform3iv(GLint location, GLsizei count, const GLint * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -4900,21 +4900,21 @@ void GLTrace_glUniform3iv(GLint location, GLsizei count, const GLint* v) { arg_count->set_type(GLMessage::DataType::INT); arg_count->add_intvalue(count); - // copy argument v - GLMessage_DataType *arg_v = glmsg.add_args(); - arg_v->set_isarray(false); - arg_v->set_type(GLMessage::DataType::INT64); - arg_v->add_int64value((uintptr_t)v); + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::INT64); + arg_value->add_int64value((uintptr_t)value); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glUniform3iv(location, count, v); + glContext->hooks->gl.glUniform3iv(location, count, value); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { - (void *) v, + (void *) value, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -4923,7 +4923,7 @@ void GLTrace_glUniform3iv(GLint location, GLsizei count, const GLint* v) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glUniform4f(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { +void GLTrace_glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -4935,34 +4935,34 @@ void GLTrace_glUniform4f(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloa arg_location->set_type(GLMessage::DataType::INT); arg_location->add_intvalue(location); - // copy argument x - GLMessage_DataType *arg_x = glmsg.add_args(); - arg_x->set_isarray(false); - arg_x->set_type(GLMessage::DataType::FLOAT); - arg_x->add_floatvalue(x); + // copy argument v0 + GLMessage_DataType *arg_v0 = glmsg.add_args(); + arg_v0->set_isarray(false); + arg_v0->set_type(GLMessage::DataType::FLOAT); + arg_v0->add_floatvalue(v0); - // copy argument y - GLMessage_DataType *arg_y = glmsg.add_args(); - arg_y->set_isarray(false); - arg_y->set_type(GLMessage::DataType::FLOAT); - arg_y->add_floatvalue(y); + // copy argument v1 + GLMessage_DataType *arg_v1 = glmsg.add_args(); + arg_v1->set_isarray(false); + arg_v1->set_type(GLMessage::DataType::FLOAT); + arg_v1->add_floatvalue(v1); - // copy argument z - GLMessage_DataType *arg_z = glmsg.add_args(); - arg_z->set_isarray(false); - arg_z->set_type(GLMessage::DataType::FLOAT); - arg_z->add_floatvalue(z); + // copy argument v2 + GLMessage_DataType *arg_v2 = glmsg.add_args(); + arg_v2->set_isarray(false); + arg_v2->set_type(GLMessage::DataType::FLOAT); + arg_v2->add_floatvalue(v2); - // copy argument w - GLMessage_DataType *arg_w = glmsg.add_args(); - arg_w->set_isarray(false); - arg_w->set_type(GLMessage::DataType::FLOAT); - arg_w->add_floatvalue(w); + // copy argument v3 + GLMessage_DataType *arg_v3 = glmsg.add_args(); + arg_v3->set_isarray(false); + arg_v3->set_type(GLMessage::DataType::FLOAT); + arg_v3->add_floatvalue(v3); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glUniform4f(location, x, y, z, w); + glContext->hooks->gl.glUniform4f(location, v0, v1, v2, v3); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -4975,7 +4975,7 @@ void GLTrace_glUniform4f(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloa glContext->traceGLMessage(&glmsg); } -void GLTrace_glUniform4fv(GLint location, GLsizei count, const GLfloat* v) { +void GLTrace_glUniform4fv(GLint location, GLsizei count, const GLfloat * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -4993,21 +4993,21 @@ void GLTrace_glUniform4fv(GLint location, GLsizei count, const GLfloat* v) { arg_count->set_type(GLMessage::DataType::INT); arg_count->add_intvalue(count); - // copy argument v - GLMessage_DataType *arg_v = glmsg.add_args(); - arg_v->set_isarray(false); - arg_v->set_type(GLMessage::DataType::INT64); - arg_v->add_int64value((uintptr_t)v); + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::INT64); + arg_value->add_int64value((uintptr_t)value); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glUniform4fv(location, count, v); + glContext->hooks->gl.glUniform4fv(location, count, value); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { - (void *) v, + (void *) value, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -5016,7 +5016,7 @@ void GLTrace_glUniform4fv(GLint location, GLsizei count, const GLfloat* v) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glUniform4i(GLint location, GLint x, GLint y, GLint z, GLint w) { +void GLTrace_glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -5028,34 +5028,34 @@ void GLTrace_glUniform4i(GLint location, GLint x, GLint y, GLint z, GLint w) { arg_location->set_type(GLMessage::DataType::INT); arg_location->add_intvalue(location); - // copy argument x - GLMessage_DataType *arg_x = glmsg.add_args(); - arg_x->set_isarray(false); - arg_x->set_type(GLMessage::DataType::INT); - arg_x->add_intvalue(x); + // copy argument v0 + GLMessage_DataType *arg_v0 = glmsg.add_args(); + arg_v0->set_isarray(false); + arg_v0->set_type(GLMessage::DataType::INT); + arg_v0->add_intvalue(v0); - // copy argument y - GLMessage_DataType *arg_y = glmsg.add_args(); - arg_y->set_isarray(false); - arg_y->set_type(GLMessage::DataType::INT); - arg_y->add_intvalue(y); + // copy argument v1 + GLMessage_DataType *arg_v1 = glmsg.add_args(); + arg_v1->set_isarray(false); + arg_v1->set_type(GLMessage::DataType::INT); + arg_v1->add_intvalue(v1); - // copy argument z - GLMessage_DataType *arg_z = glmsg.add_args(); - arg_z->set_isarray(false); - arg_z->set_type(GLMessage::DataType::INT); - arg_z->add_intvalue(z); + // copy argument v2 + GLMessage_DataType *arg_v2 = glmsg.add_args(); + arg_v2->set_isarray(false); + arg_v2->set_type(GLMessage::DataType::INT); + arg_v2->add_intvalue(v2); - // copy argument w - GLMessage_DataType *arg_w = glmsg.add_args(); - arg_w->set_isarray(false); - arg_w->set_type(GLMessage::DataType::INT); - arg_w->add_intvalue(w); + // copy argument v3 + GLMessage_DataType *arg_v3 = glmsg.add_args(); + arg_v3->set_isarray(false); + arg_v3->set_type(GLMessage::DataType::INT); + arg_v3->add_intvalue(v3); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glUniform4i(location, x, y, z, w); + glContext->hooks->gl.glUniform4i(location, v0, v1, v2, v3); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -5068,7 +5068,7 @@ void GLTrace_glUniform4i(GLint location, GLint x, GLint y, GLint z, GLint w) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glUniform4iv(GLint location, GLsizei count, const GLint* v) { +void GLTrace_glUniform4iv(GLint location, GLsizei count, const GLint * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -5086,21 +5086,21 @@ void GLTrace_glUniform4iv(GLint location, GLsizei count, const GLint* v) { arg_count->set_type(GLMessage::DataType::INT); arg_count->add_intvalue(count); - // copy argument v - GLMessage_DataType *arg_v = glmsg.add_args(); - arg_v->set_isarray(false); - arg_v->set_type(GLMessage::DataType::INT64); - arg_v->add_int64value((uintptr_t)v); + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::INT64); + arg_value->add_int64value((uintptr_t)value); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glUniform4iv(location, count, v); + glContext->hooks->gl.glUniform4iv(location, count, value); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { - (void *) v, + (void *) value, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -5109,7 +5109,7 @@ void GLTrace_glUniform4iv(GLint location, GLsizei count, const GLint* v) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) { +void GLTrace_glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -5156,7 +5156,7 @@ void GLTrace_glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpo glContext->traceGLMessage(&glmsg); } -void GLTrace_glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) { +void GLTrace_glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -5203,7 +5203,7 @@ void GLTrace_glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpo glContext->traceGLMessage(&glmsg); } -void GLTrace_glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) { +void GLTrace_glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -5306,17 +5306,17 @@ void GLTrace_glValidateProgram(GLuint program) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glVertexAttrib1f(GLuint indx, GLfloat x) { +void GLTrace_glVertexAttrib1f(GLuint index, GLfloat x) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); glmsg.set_function(GLMessage::glVertexAttrib1f); - // copy argument indx - GLMessage_DataType *arg_indx = glmsg.add_args(); - arg_indx->set_isarray(false); - arg_indx->set_type(GLMessage::DataType::INT); - arg_indx->add_intvalue(indx); + // copy argument index + GLMessage_DataType *arg_index = glmsg.add_args(); + arg_index->set_isarray(false); + arg_index->set_type(GLMessage::DataType::INT); + arg_index->add_intvalue(index); // copy argument x GLMessage_DataType *arg_x = glmsg.add_args(); @@ -5327,7 +5327,7 @@ void GLTrace_glVertexAttrib1f(GLuint indx, GLfloat x) { // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glVertexAttrib1f(indx, x); + glContext->hooks->gl.glVertexAttrib1f(index, x); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -5340,33 +5340,33 @@ void GLTrace_glVertexAttrib1f(GLuint indx, GLfloat x) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glVertexAttrib1fv(GLuint indx, const GLfloat* values) { +void GLTrace_glVertexAttrib1fv(GLuint index, const GLfloat * v) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); glmsg.set_function(GLMessage::glVertexAttrib1fv); - // copy argument indx - GLMessage_DataType *arg_indx = glmsg.add_args(); - arg_indx->set_isarray(false); - arg_indx->set_type(GLMessage::DataType::INT); - arg_indx->add_intvalue(indx); + // copy argument index + GLMessage_DataType *arg_index = glmsg.add_args(); + arg_index->set_isarray(false); + arg_index->set_type(GLMessage::DataType::INT); + arg_index->add_intvalue(index); - // copy argument values - GLMessage_DataType *arg_values = glmsg.add_args(); - arg_values->set_isarray(false); - arg_values->set_type(GLMessage::DataType::INT64); - arg_values->add_int64value((uintptr_t)values); + // copy argument v + GLMessage_DataType *arg_v = glmsg.add_args(); + arg_v->set_isarray(false); + arg_v->set_type(GLMessage::DataType::INT64); + arg_v->add_int64value((uintptr_t)v); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glVertexAttrib1fv(indx, values); + glContext->hooks->gl.glVertexAttrib1fv(index, v); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { - (void *) values, + (void *) v, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -5375,17 +5375,17 @@ void GLTrace_glVertexAttrib1fv(GLuint indx, const GLfloat* values) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glVertexAttrib2f(GLuint indx, GLfloat x, GLfloat y) { +void GLTrace_glVertexAttrib2f(GLuint index, GLfloat x, GLfloat y) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); glmsg.set_function(GLMessage::glVertexAttrib2f); - // copy argument indx - GLMessage_DataType *arg_indx = glmsg.add_args(); - arg_indx->set_isarray(false); - arg_indx->set_type(GLMessage::DataType::INT); - arg_indx->add_intvalue(indx); + // copy argument index + GLMessage_DataType *arg_index = glmsg.add_args(); + arg_index->set_isarray(false); + arg_index->set_type(GLMessage::DataType::INT); + arg_index->add_intvalue(index); // copy argument x GLMessage_DataType *arg_x = glmsg.add_args(); @@ -5402,7 +5402,7 @@ void GLTrace_glVertexAttrib2f(GLuint indx, GLfloat x, GLfloat y) { // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glVertexAttrib2f(indx, x, y); + glContext->hooks->gl.glVertexAttrib2f(index, x, y); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -5415,33 +5415,33 @@ void GLTrace_glVertexAttrib2f(GLuint indx, GLfloat x, GLfloat y) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glVertexAttrib2fv(GLuint indx, const GLfloat* values) { +void GLTrace_glVertexAttrib2fv(GLuint index, const GLfloat * v) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); glmsg.set_function(GLMessage::glVertexAttrib2fv); - // copy argument indx - GLMessage_DataType *arg_indx = glmsg.add_args(); - arg_indx->set_isarray(false); - arg_indx->set_type(GLMessage::DataType::INT); - arg_indx->add_intvalue(indx); + // copy argument index + GLMessage_DataType *arg_index = glmsg.add_args(); + arg_index->set_isarray(false); + arg_index->set_type(GLMessage::DataType::INT); + arg_index->add_intvalue(index); - // copy argument values - GLMessage_DataType *arg_values = glmsg.add_args(); - arg_values->set_isarray(false); - arg_values->set_type(GLMessage::DataType::INT64); - arg_values->add_int64value((uintptr_t)values); + // copy argument v + GLMessage_DataType *arg_v = glmsg.add_args(); + arg_v->set_isarray(false); + arg_v->set_type(GLMessage::DataType::INT64); + arg_v->add_int64value((uintptr_t)v); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glVertexAttrib2fv(indx, values); + glContext->hooks->gl.glVertexAttrib2fv(index, v); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { - (void *) values, + (void *) v, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -5450,17 +5450,17 @@ void GLTrace_glVertexAttrib2fv(GLuint indx, const GLfloat* values) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glVertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z) { +void GLTrace_glVertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); glmsg.set_function(GLMessage::glVertexAttrib3f); - // copy argument indx - GLMessage_DataType *arg_indx = glmsg.add_args(); - arg_indx->set_isarray(false); - arg_indx->set_type(GLMessage::DataType::INT); - arg_indx->add_intvalue(indx); + // copy argument index + GLMessage_DataType *arg_index = glmsg.add_args(); + arg_index->set_isarray(false); + arg_index->set_type(GLMessage::DataType::INT); + arg_index->add_intvalue(index); // copy argument x GLMessage_DataType *arg_x = glmsg.add_args(); @@ -5483,7 +5483,7 @@ void GLTrace_glVertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z) { // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glVertexAttrib3f(indx, x, y, z); + glContext->hooks->gl.glVertexAttrib3f(index, x, y, z); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -5496,33 +5496,33 @@ void GLTrace_glVertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glVertexAttrib3fv(GLuint indx, const GLfloat* values) { +void GLTrace_glVertexAttrib3fv(GLuint index, const GLfloat * v) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); glmsg.set_function(GLMessage::glVertexAttrib3fv); - // copy argument indx - GLMessage_DataType *arg_indx = glmsg.add_args(); - arg_indx->set_isarray(false); - arg_indx->set_type(GLMessage::DataType::INT); - arg_indx->add_intvalue(indx); + // copy argument index + GLMessage_DataType *arg_index = glmsg.add_args(); + arg_index->set_isarray(false); + arg_index->set_type(GLMessage::DataType::INT); + arg_index->add_intvalue(index); - // copy argument values - GLMessage_DataType *arg_values = glmsg.add_args(); - arg_values->set_isarray(false); - arg_values->set_type(GLMessage::DataType::INT64); - arg_values->add_int64value((uintptr_t)values); + // copy argument v + GLMessage_DataType *arg_v = glmsg.add_args(); + arg_v->set_isarray(false); + arg_v->set_type(GLMessage::DataType::INT64); + arg_v->add_int64value((uintptr_t)v); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glVertexAttrib3fv(indx, values); + glContext->hooks->gl.glVertexAttrib3fv(index, v); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { - (void *) values, + (void *) v, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -5531,17 +5531,17 @@ void GLTrace_glVertexAttrib3fv(GLuint indx, const GLfloat* values) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glVertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { +void GLTrace_glVertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); glmsg.set_function(GLMessage::glVertexAttrib4f); - // copy argument indx - GLMessage_DataType *arg_indx = glmsg.add_args(); - arg_indx->set_isarray(false); - arg_indx->set_type(GLMessage::DataType::INT); - arg_indx->add_intvalue(indx); + // copy argument index + GLMessage_DataType *arg_index = glmsg.add_args(); + arg_index->set_isarray(false); + arg_index->set_type(GLMessage::DataType::INT); + arg_index->add_intvalue(index); // copy argument x GLMessage_DataType *arg_x = glmsg.add_args(); @@ -5570,7 +5570,7 @@ void GLTrace_glVertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfl // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glVertexAttrib4f(indx, x, y, z, w); + glContext->hooks->gl.glVertexAttrib4f(index, x, y, z, w); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -5583,33 +5583,33 @@ void GLTrace_glVertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfl glContext->traceGLMessage(&glmsg); } -void GLTrace_glVertexAttrib4fv(GLuint indx, const GLfloat* values) { +void GLTrace_glVertexAttrib4fv(GLuint index, const GLfloat * v) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); glmsg.set_function(GLMessage::glVertexAttrib4fv); - // copy argument indx - GLMessage_DataType *arg_indx = glmsg.add_args(); - arg_indx->set_isarray(false); - arg_indx->set_type(GLMessage::DataType::INT); - arg_indx->add_intvalue(indx); + // copy argument index + GLMessage_DataType *arg_index = glmsg.add_args(); + arg_index->set_isarray(false); + arg_index->set_type(GLMessage::DataType::INT); + arg_index->add_intvalue(index); - // copy argument values - GLMessage_DataType *arg_values = glmsg.add_args(); - arg_values->set_isarray(false); - arg_values->set_type(GLMessage::DataType::INT64); - arg_values->add_int64value((uintptr_t)values); + // copy argument v + GLMessage_DataType *arg_v = glmsg.add_args(); + arg_v->set_isarray(false); + arg_v->set_type(GLMessage::DataType::INT64); + arg_v->add_int64value((uintptr_t)v); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glVertexAttrib4fv(indx, values); + glContext->hooks->gl.glVertexAttrib4fv(index, v); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { - (void *) values, + (void *) v, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -5618,17 +5618,17 @@ void GLTrace_glVertexAttrib4fv(GLuint indx, const GLfloat* values) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glVertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr) { +void GLTrace_glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void * pointer) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); glmsg.set_function(GLMessage::glVertexAttribPointer); - // copy argument indx - GLMessage_DataType *arg_indx = glmsg.add_args(); - arg_indx->set_isarray(false); - arg_indx->set_type(GLMessage::DataType::INT); - arg_indx->add_intvalue(indx); + // copy argument index + GLMessage_DataType *arg_index = glmsg.add_args(); + arg_index->set_isarray(false); + arg_index->set_type(GLMessage::DataType::INT); + arg_index->add_intvalue(index); // copy argument size GLMessage_DataType *arg_size = glmsg.add_args(); @@ -5654,21 +5654,21 @@ void GLTrace_glVertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboole arg_stride->set_type(GLMessage::DataType::INT); arg_stride->add_intvalue(stride); - // copy argument ptr - GLMessage_DataType *arg_ptr = glmsg.add_args(); - arg_ptr->set_isarray(false); - arg_ptr->set_type(GLMessage::DataType::INT64); - arg_ptr->add_int64value((uintptr_t)ptr); + // copy argument pointer + GLMessage_DataType *arg_pointer = glmsg.add_args(); + arg_pointer->set_isarray(false); + arg_pointer->set_type(GLMessage::DataType::INT64); + arg_pointer->add_int64value((uintptr_t)pointer); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glVertexAttribPointer(indx, size, type, normalized, stride, ptr); + glContext->hooks->gl.glVertexAttribPointer(index, size, type, normalized, stride, pointer); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { - (void *) ptr, + (void *) pointer, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -5751,7 +5751,7 @@ void GLTrace_glReadBuffer(GLenum mode) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid* indices) { +void GLTrace_glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -5810,7 +5810,7 @@ void GLTrace_glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei glContext->traceGLMessage(&glmsg); } -void GLTrace_glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels) { +void GLTrace_glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -5893,7 +5893,7 @@ void GLTrace_glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsi glContext->traceGLMessage(&glmsg); } -void GLTrace_glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels) { +void GLTrace_glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -6058,7 +6058,7 @@ void GLTrace_glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLin glContext->traceGLMessage(&glmsg); } -void GLTrace_glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data) { +void GLTrace_glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * data) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -6135,7 +6135,7 @@ void GLTrace_glCompressedTexImage3D(GLenum target, GLint level, GLenum internalf glContext->traceGLMessage(&glmsg); } -void GLTrace_glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data) { +void GLTrace_glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * data) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -6224,7 +6224,7 @@ void GLTrace_glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset glContext->traceGLMessage(&glmsg); } -void GLTrace_glGenQueries(GLsizei n, GLuint* ids) { +void GLTrace_glGenQueries(GLsizei n, GLuint * ids) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -6259,7 +6259,7 @@ void GLTrace_glGenQueries(GLsizei n, GLuint* ids) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glDeleteQueries(GLsizei n, const GLuint* ids) { +void GLTrace_glDeleteQueries(GLsizei n, const GLuint * ids) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -6392,7 +6392,7 @@ void GLTrace_glEndQuery(GLenum target) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetQueryiv(GLenum target, GLenum pname, GLint* params) { +void GLTrace_glGetQueryiv(GLenum target, GLenum pname, GLint * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -6433,7 +6433,7 @@ void GLTrace_glGetQueryiv(GLenum target, GLenum pname, GLint* params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint* params) { +void GLTrace_glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -6510,7 +6510,7 @@ GLboolean GLTrace_glUnmapBuffer(GLenum target) { return retValue; } -void GLTrace_glGetBufferPointerv(GLenum target, GLenum pname, GLvoid** params) { +void GLTrace_glGetBufferPointerv(GLenum target, GLenum pname, void ** params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -6551,7 +6551,7 @@ void GLTrace_glGetBufferPointerv(GLenum target, GLenum pname, GLvoid** params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glDrawBuffers(GLsizei n, const GLenum* bufs) { +void GLTrace_glDrawBuffers(GLsizei n, const GLenum * bufs) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -6586,7 +6586,7 @@ void GLTrace_glDrawBuffers(GLsizei n, const GLenum* bufs) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) { +void GLTrace_glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -6633,7 +6633,7 @@ void GLTrace_glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean trans glContext->traceGLMessage(&glmsg); } -void GLTrace_glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) { +void GLTrace_glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -6680,7 +6680,7 @@ void GLTrace_glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean trans glContext->traceGLMessage(&glmsg); } -void GLTrace_glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) { +void GLTrace_glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -6727,7 +6727,7 @@ void GLTrace_glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean trans glContext->traceGLMessage(&glmsg); } -void GLTrace_glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) { +void GLTrace_glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -6774,7 +6774,7 @@ void GLTrace_glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean trans glContext->traceGLMessage(&glmsg); } -void GLTrace_glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) { +void GLTrace_glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -6821,7 +6821,7 @@ void GLTrace_glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean trans glContext->traceGLMessage(&glmsg); } -void GLTrace_glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) { +void GLTrace_glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -7054,7 +7054,7 @@ void GLTrace_glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint glContext->traceGLMessage(&glmsg); } -GLvoid* GLTrace_glMapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access) { +void * GLTrace_glMapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -7087,7 +7087,7 @@ GLvoid* GLTrace_glMapBufferRange(GLenum target, GLintptr offset, GLsizeiptr leng // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - GLvoid* retValue = glContext->hooks->gl.glMapBufferRange(target, offset, length, access); + void * retValue = glContext->hooks->gl.glMapBufferRange(target, offset, length, access); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -7177,7 +7177,7 @@ void GLTrace_glBindVertexArray(GLuint array) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glDeleteVertexArrays(GLsizei n, const GLuint* arrays) { +void GLTrace_glDeleteVertexArrays(GLsizei n, const GLuint * arrays) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -7212,7 +7212,7 @@ void GLTrace_glDeleteVertexArrays(GLsizei n, const GLuint* arrays) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGenVertexArrays(GLsizei n, GLuint* arrays) { +void GLTrace_glGenVertexArrays(GLsizei n, GLuint * arrays) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -7283,7 +7283,7 @@ GLboolean GLTrace_glIsVertexArray(GLuint array) { return retValue; } -void GLTrace_glGetIntegeri_v(GLenum target, GLuint index, GLint* data) { +void GLTrace_glGetIntegeri_v(GLenum target, GLuint index, GLint * data) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -7466,7 +7466,7 @@ void GLTrace_glBindBufferBase(GLenum target, GLuint index, GLuint buffer) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glTransformFeedbackVaryings(GLuint program, GLsizei count, const GLchar* const* varyings, GLenum bufferMode) { +void GLTrace_glTransformFeedbackVaryings(GLuint program, GLsizei count, const GLchar *const* varyings, GLenum bufferMode) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -7513,7 +7513,7 @@ void GLTrace_glTransformFeedbackVaryings(GLuint program, GLsizei count, const GL glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei* length, GLsizei* size, GLenum* type, GLchar* name) { +void GLTrace_glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, GLchar * name) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -7581,7 +7581,7 @@ void GLTrace_glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei glContext->traceGLMessage(&glmsg); } -void GLTrace_glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid* pointer) { +void GLTrace_glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const void * pointer) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -7634,7 +7634,7 @@ void GLTrace_glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsiz glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetVertexAttribIiv(GLuint index, GLenum pname, GLint* params) { +void GLTrace_glGetVertexAttribIiv(GLuint index, GLenum pname, GLint * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -7675,7 +7675,7 @@ void GLTrace_glGetVertexAttribIiv(GLuint index, GLenum pname, GLint* params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint* params) { +void GLTrace_glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -7820,7 +7820,7 @@ void GLTrace_glVertexAttribI4ui(GLuint index, GLuint x, GLuint y, GLuint z, GLui glContext->traceGLMessage(&glmsg); } -void GLTrace_glVertexAttribI4iv(GLuint index, const GLint* v) { +void GLTrace_glVertexAttribI4iv(GLuint index, const GLint * v) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -7855,7 +7855,7 @@ void GLTrace_glVertexAttribI4iv(GLuint index, const GLint* v) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glVertexAttribI4uiv(GLuint index, const GLuint* v) { +void GLTrace_glVertexAttribI4uiv(GLuint index, const GLuint * v) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -7890,7 +7890,7 @@ void GLTrace_glVertexAttribI4uiv(GLuint index, const GLuint* v) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetUniformuiv(GLuint program, GLint location, GLuint* params) { +void GLTrace_glGetUniformuiv(GLuint program, GLint location, GLuint * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -7931,7 +7931,7 @@ void GLTrace_glGetUniformuiv(GLuint program, GLint location, GLuint* params) { glContext->traceGLMessage(&glmsg); } -GLint GLTrace_glGetFragDataLocation(GLuint program, const GLchar *name) { +GLint GLTrace_glGetFragDataLocation(GLuint program, const GLchar * name) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -8146,7 +8146,7 @@ void GLTrace_glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuin glContext->traceGLMessage(&glmsg); } -void GLTrace_glUniform1uiv(GLint location, GLsizei count, const GLuint* value) { +void GLTrace_glUniform1uiv(GLint location, GLsizei count, const GLuint * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -8187,7 +8187,7 @@ void GLTrace_glUniform1uiv(GLint location, GLsizei count, const GLuint* value) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glUniform2uiv(GLint location, GLsizei count, const GLuint* value) { +void GLTrace_glUniform2uiv(GLint location, GLsizei count, const GLuint * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -8228,7 +8228,7 @@ void GLTrace_glUniform2uiv(GLint location, GLsizei count, const GLuint* value) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glUniform3uiv(GLint location, GLsizei count, const GLuint* value) { +void GLTrace_glUniform3uiv(GLint location, GLsizei count, const GLuint * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -8269,7 +8269,7 @@ void GLTrace_glUniform3uiv(GLint location, GLsizei count, const GLuint* value) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glUniform4uiv(GLint location, GLsizei count, const GLuint* value) { +void GLTrace_glUniform4uiv(GLint location, GLsizei count, const GLuint * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -8310,7 +8310,7 @@ void GLTrace_glUniform4uiv(GLint location, GLsizei count, const GLuint* value) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint* value) { +void GLTrace_glClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -8351,7 +8351,7 @@ void GLTrace_glClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint* value glContext->traceGLMessage(&glmsg); } -void GLTrace_glClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint* value) { +void GLTrace_glClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -8392,7 +8392,7 @@ void GLTrace_glClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint* val glContext->traceGLMessage(&glmsg); } -void GLTrace_glClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat* value) { +void GLTrace_glClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -8479,7 +8479,7 @@ void GLTrace_glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLi glContext->traceGLMessage(&glmsg); } -const GLubyte* GLTrace_glGetStringi(GLenum name, GLuint index) { +const GLubyte * GLTrace_glGetStringi(GLenum name, GLuint index) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -8500,7 +8500,7 @@ const GLubyte* GLTrace_glGetStringi(GLenum name, GLuint index) { // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - const GLubyte* retValue = glContext->hooks->gl.glGetStringi(name, index); + const GLubyte * retValue = glContext->hooks->gl.glGetStringi(name, index); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -8574,7 +8574,7 @@ void GLTrace_glCopyBufferSubData(GLenum readTarget, GLenum writeTarget, GLintptr glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetUniformIndices(GLuint program, GLsizei uniformCount, const GLchar* const* uniformNames, GLuint* uniformIndices) { +void GLTrace_glGetUniformIndices(GLuint program, GLsizei uniformCount, const GLchar *const* uniformNames, GLuint * uniformIndices) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -8622,7 +8622,7 @@ void GLTrace_glGetUniformIndices(GLuint program, GLsizei uniformCount, const GLc glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const GLuint* uniformIndices, GLenum pname, GLint* params) { +void GLTrace_glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const GLuint * uniformIndices, GLenum pname, GLint * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -8676,7 +8676,7 @@ void GLTrace_glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const G glContext->traceGLMessage(&glmsg); } -GLuint GLTrace_glGetUniformBlockIndex(GLuint program, const GLchar* uniformBlockName) { +GLuint GLTrace_glGetUniformBlockIndex(GLuint program, const GLchar * uniformBlockName) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -8719,7 +8719,7 @@ GLuint GLTrace_glGetUniformBlockIndex(GLuint program, const GLchar* uniformBlock return retValue; } -void GLTrace_glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint* params) { +void GLTrace_glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -8766,7 +8766,7 @@ void GLTrace_glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformBlockName) { +void GLTrace_glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei * length, GLchar * uniformBlockName) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -8860,7 +8860,7 @@ void GLTrace_glUniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLu glContext->traceGLMessage(&glmsg); } -void GLTrace_glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei instanceCount) { +void GLTrace_glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei instancecount) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -8884,16 +8884,16 @@ void GLTrace_glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsi arg_count->set_type(GLMessage::DataType::INT); arg_count->add_intvalue(count); - // copy argument instanceCount - GLMessage_DataType *arg_instanceCount = glmsg.add_args(); - arg_instanceCount->set_isarray(false); - arg_instanceCount->set_type(GLMessage::DataType::INT); - arg_instanceCount->add_intvalue(instanceCount); + // copy argument instancecount + GLMessage_DataType *arg_instancecount = glmsg.add_args(); + arg_instancecount->set_isarray(false); + arg_instancecount->set_type(GLMessage::DataType::INT); + arg_instancecount->add_intvalue(instancecount); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glDrawArraysInstanced(mode, first, count, instanceCount); + glContext->hooks->gl.glDrawArraysInstanced(mode, first, count, instancecount); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -8906,7 +8906,7 @@ void GLTrace_glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsi glContext->traceGLMessage(&glmsg); } -void GLTrace_glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices, GLsizei instanceCount) { +void GLTrace_glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -8936,16 +8936,16 @@ void GLTrace_glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, co arg_indices->set_type(GLMessage::DataType::INT64); arg_indices->add_int64value((uintptr_t)indices); - // copy argument instanceCount - GLMessage_DataType *arg_instanceCount = glmsg.add_args(); - arg_instanceCount->set_isarray(false); - arg_instanceCount->set_type(GLMessage::DataType::INT); - arg_instanceCount->add_intvalue(instanceCount); + // copy argument instancecount + GLMessage_DataType *arg_instancecount = glmsg.add_args(); + arg_instancecount->set_isarray(false); + arg_instancecount->set_type(GLMessage::DataType::INT); + arg_instancecount->add_intvalue(instancecount); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glDrawElementsInstanced(mode, count, type, indices, instanceCount); + glContext->hooks->gl.glDrawElementsInstanced(mode, count, type, indices, instancecount); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -9158,7 +9158,7 @@ void GLTrace_glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetInteger64v(GLenum pname, GLint64* params) { +void GLTrace_glGetInteger64v(GLenum pname, GLint64 * data) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -9170,21 +9170,21 @@ void GLTrace_glGetInteger64v(GLenum pname, GLint64* params) { arg_pname->set_type(GLMessage::DataType::ENUM); arg_pname->add_intvalue((int)pname); - // copy argument params - GLMessage_DataType *arg_params = glmsg.add_args(); - arg_params->set_isarray(false); - arg_params->set_type(GLMessage::DataType::INT64); - arg_params->add_int64value((uintptr_t)params); + // copy argument data + GLMessage_DataType *arg_data = glmsg.add_args(); + arg_data->set_isarray(false); + arg_data->set_type(GLMessage::DataType::INT64); + arg_data->add_int64value((uintptr_t)data); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glGetInteger64v(pname, params); + glContext->hooks->gl.glGetInteger64v(pname, data); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { - (void *) params, + (void *) data, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -9193,7 +9193,7 @@ void GLTrace_glGetInteger64v(GLenum pname, GLint64* params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei* length, GLint* values) { +void GLTrace_glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -9248,7 +9248,7 @@ void GLTrace_glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei* le glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetInteger64i_v(GLenum target, GLuint index, GLint64* data) { +void GLTrace_glGetInteger64i_v(GLenum target, GLuint index, GLint64 * data) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -9289,7 +9289,7 @@ void GLTrace_glGetInteger64i_v(GLenum target, GLuint index, GLint64* data) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetBufferParameteri64v(GLenum target, GLenum pname, GLint64* params) { +void GLTrace_glGetBufferParameteri64v(GLenum target, GLenum pname, GLint64 * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -9330,7 +9330,7 @@ void GLTrace_glGetBufferParameteri64v(GLenum target, GLenum pname, GLint64* para glContext->traceGLMessage(&glmsg); } -void GLTrace_glGenSamplers(GLsizei count, GLuint* samplers) { +void GLTrace_glGenSamplers(GLsizei count, GLuint * samplers) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -9365,7 +9365,7 @@ void GLTrace_glGenSamplers(GLsizei count, GLuint* samplers) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glDeleteSamplers(GLsizei count, const GLuint* samplers) { +void GLTrace_glDeleteSamplers(GLsizei count, const GLuint * samplers) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -9510,7 +9510,7 @@ void GLTrace_glSamplerParameteri(GLuint sampler, GLenum pname, GLint param) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint* param) { +void GLTrace_glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint * param) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -9591,7 +9591,7 @@ void GLTrace_glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat* param) { +void GLTrace_glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat * param) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -9632,7 +9632,7 @@ void GLTrace_glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat* p glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint* params) { +void GLTrace_glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -9673,7 +9673,7 @@ void GLTrace_glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint* params glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat* params) { +void GLTrace_glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -9782,7 +9782,7 @@ void GLTrace_glBindTransformFeedback(GLenum target, GLuint id) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glDeleteTransformFeedbacks(GLsizei n, const GLuint* ids) { +void GLTrace_glDeleteTransformFeedbacks(GLsizei n, const GLuint * ids) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -9817,7 +9817,7 @@ void GLTrace_glDeleteTransformFeedbacks(GLsizei n, const GLuint* ids) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGenTransformFeedbacks(GLsizei n, GLuint* ids) { +void GLTrace_glGenTransformFeedbacks(GLsizei n, GLuint * ids) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -9932,7 +9932,7 @@ void GLTrace_glResumeTransformFeedback(void) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetProgramBinary(GLuint program, GLsizei bufSize, GLsizei* length, GLenum* binaryFormat, GLvoid* binary) { +void GLTrace_glGetProgramBinary(GLuint program, GLsizei bufSize, GLsizei * length, GLenum * binaryFormat, void * binary) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -9987,7 +9987,7 @@ void GLTrace_glGetProgramBinary(GLuint program, GLsizei bufSize, GLsizei* length glContext->traceGLMessage(&glmsg); } -void GLTrace_glProgramBinary(GLuint program, GLenum binaryFormat, const GLvoid* binary, GLsizei length) { +void GLTrace_glProgramBinary(GLuint program, GLenum binaryFormat, const void * binary, GLsizei length) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -10074,7 +10074,7 @@ void GLTrace_glProgramParameteri(GLuint program, GLenum pname, GLint value) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glInvalidateFramebuffer(GLenum target, GLsizei numAttachments, const GLenum* attachments) { +void GLTrace_glInvalidateFramebuffer(GLenum target, GLsizei numAttachments, const GLenum * attachments) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -10115,7 +10115,7 @@ void GLTrace_glInvalidateFramebuffer(GLenum target, GLsizei numAttachments, cons glContext->traceGLMessage(&glmsg); } -void GLTrace_glInvalidateSubFramebuffer(GLenum target, GLsizei numAttachments, const GLenum* attachments, GLint x, GLint y, GLsizei width, GLsizei height) { +void GLTrace_glInvalidateSubFramebuffer(GLenum target, GLsizei numAttachments, const GLenum * attachments, GLint x, GLint y, GLsizei width, GLsizei height) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -10290,7 +10290,7 @@ void GLTrace_glTexStorage3D(GLenum target, GLsizei levels, GLenum internalformat glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetInternalformativ(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint* params) { +void GLTrace_glGetInternalformativ(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -10346,6 +10346,562 @@ void GLTrace_glGetInternalformativ(GLenum target, GLenum internalformat, GLenum // Definitions for GL2Ext APIs +void GLTrace_glBlendBarrierKHR(void) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glBlendBarrierKHR); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glBlendBarrierKHR(); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glDebugMessageControlKHR(GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glDebugMessageControlKHR); + + // copy argument source + GLMessage_DataType *arg_source = glmsg.add_args(); + arg_source->set_isarray(false); + arg_source->set_type(GLMessage::DataType::ENUM); + arg_source->add_intvalue((int)source); + + // copy argument type + GLMessage_DataType *arg_type = glmsg.add_args(); + arg_type->set_isarray(false); + arg_type->set_type(GLMessage::DataType::ENUM); + arg_type->add_intvalue((int)type); + + // copy argument severity + GLMessage_DataType *arg_severity = glmsg.add_args(); + arg_severity->set_isarray(false); + arg_severity->set_type(GLMessage::DataType::ENUM); + arg_severity->add_intvalue((int)severity); + + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT); + arg_count->add_intvalue(count); + + // copy argument ids + GLMessage_DataType *arg_ids = glmsg.add_args(); + arg_ids->set_isarray(false); + arg_ids->set_type(GLMessage::DataType::INT64); + arg_ids->add_int64value((uintptr_t)ids); + + // copy argument enabled + GLMessage_DataType *arg_enabled = glmsg.add_args(); + arg_enabled->set_isarray(false); + arg_enabled->set_type(GLMessage::DataType::BOOL); + arg_enabled->add_boolvalue(enabled); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glDebugMessageControlKHR(source, type, severity, count, ids, enabled); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) ids, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glDebugMessageInsertKHR(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar * buf) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glDebugMessageInsertKHR); + + // copy argument source + GLMessage_DataType *arg_source = glmsg.add_args(); + arg_source->set_isarray(false); + arg_source->set_type(GLMessage::DataType::ENUM); + arg_source->add_intvalue((int)source); + + // copy argument type + GLMessage_DataType *arg_type = glmsg.add_args(); + arg_type->set_isarray(false); + arg_type->set_type(GLMessage::DataType::ENUM); + arg_type->add_intvalue((int)type); + + // copy argument id + GLMessage_DataType *arg_id = glmsg.add_args(); + arg_id->set_isarray(false); + arg_id->set_type(GLMessage::DataType::INT); + arg_id->add_intvalue(id); + + // copy argument severity + GLMessage_DataType *arg_severity = glmsg.add_args(); + arg_severity->set_isarray(false); + arg_severity->set_type(GLMessage::DataType::ENUM); + arg_severity->add_intvalue((int)severity); + + // copy argument length + GLMessage_DataType *arg_length = glmsg.add_args(); + arg_length->set_isarray(false); + arg_length->set_type(GLMessage::DataType::INT); + arg_length->add_intvalue(length); + + // copy argument buf + GLMessage_DataType *arg_buf = glmsg.add_args(); + arg_buf->set_isarray(false); + arg_buf->set_type(GLMessage::DataType::INT64); + arg_buf->add_int64value((uintptr_t)buf); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glDebugMessageInsertKHR(source, type, id, severity, length, buf); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) buf, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glDebugMessageCallbackKHR(GLDEBUGPROCKHR callback, const void * userParam) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glDebugMessageCallbackKHR); + + // copy argument callback + GLMessage_DataType *arg_callback = glmsg.add_args(); + arg_callback->set_isarray(false); + arg_callback->set_type(GLMessage::DataType::INT64); + arg_callback->add_int64value((uintptr_t)callback); + + // copy argument userParam + GLMessage_DataType *arg_userParam = glmsg.add_args(); + arg_userParam->set_isarray(false); + arg_userParam->set_type(GLMessage::DataType::INT64); + arg_userParam->add_int64value((uintptr_t)userParam); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glDebugMessageCallbackKHR(callback, userParam); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) callback, + (void *) userParam, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +GLuint GLTrace_glGetDebugMessageLogKHR(GLuint count, GLsizei bufSize, GLenum * sources, GLenum * types, GLuint * ids, GLenum * severities, GLsizei * lengths, GLchar * messageLog) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glGetDebugMessageLogKHR); + + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT); + arg_count->add_intvalue(count); + + // copy argument bufSize + GLMessage_DataType *arg_bufSize = glmsg.add_args(); + arg_bufSize->set_isarray(false); + arg_bufSize->set_type(GLMessage::DataType::INT); + arg_bufSize->add_intvalue(bufSize); + + // copy argument sources + GLMessage_DataType *arg_sources = glmsg.add_args(); + arg_sources->set_isarray(false); + arg_sources->set_type(GLMessage::DataType::INT64); + arg_sources->add_int64value((uintptr_t)sources); + + // copy argument types + GLMessage_DataType *arg_types = glmsg.add_args(); + arg_types->set_isarray(false); + arg_types->set_type(GLMessage::DataType::INT64); + arg_types->add_int64value((uintptr_t)types); + + // copy argument ids + GLMessage_DataType *arg_ids = glmsg.add_args(); + arg_ids->set_isarray(false); + arg_ids->set_type(GLMessage::DataType::INT64); + arg_ids->add_int64value((uintptr_t)ids); + + // copy argument severities + GLMessage_DataType *arg_severities = glmsg.add_args(); + arg_severities->set_isarray(false); + arg_severities->set_type(GLMessage::DataType::INT64); + arg_severities->add_int64value((uintptr_t)severities); + + // copy argument lengths + GLMessage_DataType *arg_lengths = glmsg.add_args(); + arg_lengths->set_isarray(false); + arg_lengths->set_type(GLMessage::DataType::INT64); + arg_lengths->add_int64value((uintptr_t)lengths); + + // copy argument messageLog + GLMessage_DataType *arg_messageLog = glmsg.add_args(); + arg_messageLog->set_isarray(false); + arg_messageLog->set_type(GLMessage::DataType::INT64); + arg_messageLog->add_int64value((uintptr_t)messageLog); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + GLuint retValue = glContext->hooks->gl.glGetDebugMessageLogKHR(count, bufSize, sources, types, ids, severities, lengths, messageLog); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + // set return value + GLMessage_DataType *rt = glmsg.mutable_returnvalue(); + rt->set_isarray(false); + rt->set_type(GLMessage::DataType::INT); + rt->add_intvalue(retValue); + + void *pointerArgs[] = { + (void *) sources, + (void *) types, + (void *) ids, + (void *) severities, + (void *) lengths, + (void *) messageLog, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); + + return retValue; +} + +void GLTrace_glPushDebugGroupKHR(GLenum source, GLuint id, GLsizei length, const GLchar * message) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glPushDebugGroupKHR); + + // copy argument source + GLMessage_DataType *arg_source = glmsg.add_args(); + arg_source->set_isarray(false); + arg_source->set_type(GLMessage::DataType::ENUM); + arg_source->add_intvalue((int)source); + + // copy argument id + GLMessage_DataType *arg_id = glmsg.add_args(); + arg_id->set_isarray(false); + arg_id->set_type(GLMessage::DataType::INT); + arg_id->add_intvalue(id); + + // copy argument length + GLMessage_DataType *arg_length = glmsg.add_args(); + arg_length->set_isarray(false); + arg_length->set_type(GLMessage::DataType::INT); + arg_length->add_intvalue(length); + + // copy argument message + GLMessage_DataType *arg_message = glmsg.add_args(); + arg_message->set_isarray(false); + arg_message->set_type(GLMessage::DataType::INT64); + arg_message->add_int64value((uintptr_t)message); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glPushDebugGroupKHR(source, id, length, message); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) message, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glPopDebugGroupKHR(void) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glPopDebugGroupKHR); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glPopDebugGroupKHR(); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glObjectLabelKHR(GLenum identifier, GLuint name, GLsizei length, const GLchar * label) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glObjectLabelKHR); + + // copy argument identifier + GLMessage_DataType *arg_identifier = glmsg.add_args(); + arg_identifier->set_isarray(false); + arg_identifier->set_type(GLMessage::DataType::ENUM); + arg_identifier->add_intvalue((int)identifier); + + // copy argument name + GLMessage_DataType *arg_name = glmsg.add_args(); + arg_name->set_isarray(false); + arg_name->set_type(GLMessage::DataType::INT); + arg_name->add_intvalue(name); + + // copy argument length + GLMessage_DataType *arg_length = glmsg.add_args(); + arg_length->set_isarray(false); + arg_length->set_type(GLMessage::DataType::INT); + arg_length->add_intvalue(length); + + // copy argument label + GLMessage_DataType *arg_label = glmsg.add_args(); + arg_label->set_isarray(false); + arg_label->set_type(GLMessage::DataType::INT64); + arg_label->add_int64value((uintptr_t)label); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glObjectLabelKHR(identifier, name, length, label); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) label, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glGetObjectLabelKHR(GLenum identifier, GLuint name, GLsizei bufSize, GLsizei * length, GLchar * label) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glGetObjectLabelKHR); + + // copy argument identifier + GLMessage_DataType *arg_identifier = glmsg.add_args(); + arg_identifier->set_isarray(false); + arg_identifier->set_type(GLMessage::DataType::ENUM); + arg_identifier->add_intvalue((int)identifier); + + // copy argument name + GLMessage_DataType *arg_name = glmsg.add_args(); + arg_name->set_isarray(false); + arg_name->set_type(GLMessage::DataType::INT); + arg_name->add_intvalue(name); + + // copy argument bufSize + GLMessage_DataType *arg_bufSize = glmsg.add_args(); + arg_bufSize->set_isarray(false); + arg_bufSize->set_type(GLMessage::DataType::INT); + arg_bufSize->add_intvalue(bufSize); + + // copy argument length + GLMessage_DataType *arg_length = glmsg.add_args(); + arg_length->set_isarray(false); + arg_length->set_type(GLMessage::DataType::INT64); + arg_length->add_int64value((uintptr_t)length); + + // copy argument label + GLMessage_DataType *arg_label = glmsg.add_args(); + arg_label->set_isarray(false); + arg_label->set_type(GLMessage::DataType::INT64); + arg_label->add_int64value((uintptr_t)label); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glGetObjectLabelKHR(identifier, name, bufSize, length, label); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) length, + (void *) label, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glObjectPtrLabelKHR(const void * ptr, GLsizei length, const GLchar * label) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glObjectPtrLabelKHR); + + // copy argument ptr + GLMessage_DataType *arg_ptr = glmsg.add_args(); + arg_ptr->set_isarray(false); + arg_ptr->set_type(GLMessage::DataType::INT64); + arg_ptr->add_int64value((uintptr_t)ptr); + + // copy argument length + GLMessage_DataType *arg_length = glmsg.add_args(); + arg_length->set_isarray(false); + arg_length->set_type(GLMessage::DataType::INT); + arg_length->add_intvalue(length); + + // copy argument label + GLMessage_DataType *arg_label = glmsg.add_args(); + arg_label->set_isarray(false); + arg_label->set_type(GLMessage::DataType::INT64); + arg_label->add_int64value((uintptr_t)label); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glObjectPtrLabelKHR(ptr, length, label); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) ptr, + (void *) label, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glGetObjectPtrLabelKHR(const void * ptr, GLsizei bufSize, GLsizei * length, GLchar * label) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glGetObjectPtrLabelKHR); + + // copy argument ptr + GLMessage_DataType *arg_ptr = glmsg.add_args(); + arg_ptr->set_isarray(false); + arg_ptr->set_type(GLMessage::DataType::INT64); + arg_ptr->add_int64value((uintptr_t)ptr); + + // copy argument bufSize + GLMessage_DataType *arg_bufSize = glmsg.add_args(); + arg_bufSize->set_isarray(false); + arg_bufSize->set_type(GLMessage::DataType::INT); + arg_bufSize->add_intvalue(bufSize); + + // copy argument length + GLMessage_DataType *arg_length = glmsg.add_args(); + arg_length->set_isarray(false); + arg_length->set_type(GLMessage::DataType::INT64); + arg_length->add_int64value((uintptr_t)length); + + // copy argument label + GLMessage_DataType *arg_label = glmsg.add_args(); + arg_label->set_isarray(false); + arg_label->set_type(GLMessage::DataType::INT64); + arg_label->add_int64value((uintptr_t)label); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glGetObjectPtrLabelKHR(ptr, bufSize, length, label); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) ptr, + (void *) length, + (void *) label, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glGetPointervKHR(GLenum pname, void ** params) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glGetPointervKHR); + + // copy argument pname + GLMessage_DataType *arg_pname = glmsg.add_args(); + arg_pname->set_isarray(false); + arg_pname->set_type(GLMessage::DataType::ENUM); + arg_pname->add_intvalue((int)pname); + + // copy argument params + GLMessage_DataType *arg_params = glmsg.add_args(); + arg_params->set_isarray(false); + arg_params->set_type(GLMessage::DataType::INT64); + arg_params->add_int64value((uintptr_t)params); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glGetPointervKHR(pname, params); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) params, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + void GLTrace_glEGLImageTargetTexture2DOES(GLenum target, GLeglImageOES image) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -10416,7 +10972,7 @@ void GLTrace_glEGLImageTargetRenderbufferStorageOES(GLenum target, GLeglImageOES glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetProgramBinaryOES(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary) { +void GLTrace_glGetProgramBinaryOES(GLuint program, GLsizei bufSize, GLsizei * length, GLenum * binaryFormat, void * binary) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -10471,7 +11027,7 @@ void GLTrace_glGetProgramBinaryOES(GLuint program, GLsizei bufSize, GLsizei *len glContext->traceGLMessage(&glmsg); } -void GLTrace_glProgramBinaryOES(GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length) { +void GLTrace_glProgramBinaryOES(GLuint program, GLenum binaryFormat, const void * binary, GLint length) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -10518,7 +11074,7 @@ void GLTrace_glProgramBinaryOES(GLuint program, GLenum binaryFormat, const GLvoi glContext->traceGLMessage(&glmsg); } -void* GLTrace_glMapBufferOES(GLenum target, GLenum access) { +void * GLTrace_glMapBufferOES(GLenum target, GLenum access) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -10539,7 +11095,7 @@ void* GLTrace_glMapBufferOES(GLenum target, GLenum access) { // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - void* retValue = glContext->hooks->gl.glMapBufferOES(target, access); + void * retValue = glContext->hooks->gl.glMapBufferOES(target, access); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -10597,7 +11153,7 @@ GLboolean GLTrace_glUnmapBufferOES(GLenum target) { return retValue; } -void GLTrace_glGetBufferPointervOES(GLenum target, GLenum pname, GLvoid** params) { +void GLTrace_glGetBufferPointervOES(GLenum target, GLenum pname, void ** params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -10638,7 +11194,35 @@ void GLTrace_glGetBufferPointervOES(GLenum target, GLenum pname, GLvoid** params glContext->traceGLMessage(&glmsg); } -void GLTrace_glTexImage3DOES(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels) { +void GLTrace_glMinSampleShadingOES(GLfloat value) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glMinSampleShadingOES); + + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::FLOAT); + arg_value->add_floatvalue(value); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glMinSampleShadingOES(value); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glTexImage3DOES(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -10721,7 +11305,7 @@ void GLTrace_glTexImage3DOES(GLenum target, GLint level, GLenum internalformat, glContext->traceGLMessage(&glmsg); } -void GLTrace_glTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels) { +void GLTrace_glTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -10886,7 +11470,7 @@ void GLTrace_glCopyTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, G glContext->traceGLMessage(&glmsg); } -void GLTrace_glCompressedTexImage3DOES(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data) { +void GLTrace_glCompressedTexImage3DOES(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * data) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -10963,7 +11547,7 @@ void GLTrace_glCompressedTexImage3DOES(GLenum target, GLint level, GLenum intern glContext->traceGLMessage(&glmsg); } -void GLTrace_glCompressedTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data) { +void GLTrace_glCompressedTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * data) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -11110,6 +11694,70 @@ void GLTrace_glFramebufferTexture3DOES(GLenum target, GLenum attachment, GLenum glContext->traceGLMessage(&glmsg); } +void GLTrace_glTexStorage3DMultisampleOES(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glTexStorage3DMultisampleOES); + + // copy argument target + GLMessage_DataType *arg_target = glmsg.add_args(); + arg_target->set_isarray(false); + arg_target->set_type(GLMessage::DataType::ENUM); + arg_target->add_intvalue((int)target); + + // copy argument samples + GLMessage_DataType *arg_samples = glmsg.add_args(); + arg_samples->set_isarray(false); + arg_samples->set_type(GLMessage::DataType::INT); + arg_samples->add_intvalue(samples); + + // copy argument internalformat + GLMessage_DataType *arg_internalformat = glmsg.add_args(); + arg_internalformat->set_isarray(false); + arg_internalformat->set_type(GLMessage::DataType::ENUM); + arg_internalformat->add_intvalue((int)internalformat); + + // copy argument width + GLMessage_DataType *arg_width = glmsg.add_args(); + arg_width->set_isarray(false); + arg_width->set_type(GLMessage::DataType::INT); + arg_width->add_intvalue(width); + + // copy argument height + GLMessage_DataType *arg_height = glmsg.add_args(); + arg_height->set_isarray(false); + arg_height->set_type(GLMessage::DataType::INT); + arg_height->add_intvalue(height); + + // copy argument depth + GLMessage_DataType *arg_depth = glmsg.add_args(); + arg_depth->set_isarray(false); + arg_depth->set_type(GLMessage::DataType::INT); + arg_depth->add_intvalue(depth); + + // copy argument fixedsamplelocations + GLMessage_DataType *arg_fixedsamplelocations = glmsg.add_args(); + arg_fixedsamplelocations->set_isarray(false); + arg_fixedsamplelocations->set_type(GLMessage::DataType::BOOL); + arg_fixedsamplelocations->add_boolvalue(fixedsamplelocations); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glTexStorage3DMultisampleOES(target, samples, internalformat, width, height, depth, fixedsamplelocations); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + void GLTrace_glBindVertexArrayOES(GLuint array) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -11138,7 +11786,7 @@ void GLTrace_glBindVertexArrayOES(GLuint array) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glDeleteVertexArraysOES(GLsizei n, const GLuint *arrays) { +void GLTrace_glDeleteVertexArraysOES(GLsizei n, const GLuint * arrays) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -11173,7 +11821,7 @@ void GLTrace_glDeleteVertexArraysOES(GLsizei n, const GLuint *arrays) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGenVertexArraysOES(GLsizei n, GLuint *arrays) { +void GLTrace_glGenVertexArraysOES(GLsizei n, GLuint * arrays) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -11244,7 +11892,7 @@ GLboolean GLTrace_glIsVertexArrayOES(GLuint array) { return retValue; } -void GLTrace_glGetPerfMonitorGroupsAMD(GLint *numGroups, GLsizei groupsSize, GLuint *groups) { +void GLTrace_glGetPerfMonitorGroupsAMD(GLint * numGroups, GLsizei groupsSize, GLuint * groups) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -11286,7 +11934,7 @@ void GLTrace_glGetPerfMonitorGroupsAMD(GLint *numGroups, GLsizei groupsSize, GLu glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetPerfMonitorCountersAMD(GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters) { +void GLTrace_glGetPerfMonitorCountersAMD(GLuint group, GLint * numCounters, GLint * maxActiveCounters, GLsizei counterSize, GLuint * counters) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -11341,7 +11989,7 @@ void GLTrace_glGetPerfMonitorCountersAMD(GLuint group, GLint *numCounters, GLint glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetPerfMonitorGroupStringAMD(GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString) { +void GLTrace_glGetPerfMonitorGroupStringAMD(GLuint group, GLsizei bufSize, GLsizei * length, GLchar * groupString) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -11389,7 +12037,7 @@ void GLTrace_glGetPerfMonitorGroupStringAMD(GLuint group, GLsizei bufSize, GLsiz glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetPerfMonitorCounterStringAMD(GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString) { +void GLTrace_glGetPerfMonitorCounterStringAMD(GLuint group, GLuint counter, GLsizei bufSize, GLsizei * length, GLchar * counterString) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -11443,7 +12091,7 @@ void GLTrace_glGetPerfMonitorCounterStringAMD(GLuint group, GLuint counter, GLsi glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetPerfMonitorCounterInfoAMD(GLuint group, GLuint counter, GLenum pname, GLvoid *data) { +void GLTrace_glGetPerfMonitorCounterInfoAMD(GLuint group, GLuint counter, GLenum pname, void * data) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -11490,7 +12138,7 @@ void GLTrace_glGetPerfMonitorCounterInfoAMD(GLuint group, GLuint counter, GLenum glContext->traceGLMessage(&glmsg); } -void GLTrace_glGenPerfMonitorsAMD(GLsizei n, GLuint *monitors) { +void GLTrace_glGenPerfMonitorsAMD(GLsizei n, GLuint * monitors) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -11525,7 +12173,7 @@ void GLTrace_glGenPerfMonitorsAMD(GLsizei n, GLuint *monitors) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glDeletePerfMonitorsAMD(GLsizei n, GLuint *monitors) { +void GLTrace_glDeletePerfMonitorsAMD(GLsizei n, GLuint * monitors) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -11560,7 +12208,7 @@ void GLTrace_glDeletePerfMonitorsAMD(GLsizei n, GLuint *monitors) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glSelectPerfMonitorCountersAMD(GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList) { +void GLTrace_glSelectPerfMonitorCountersAMD(GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint * counterList) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -11590,21 +12238,21 @@ void GLTrace_glSelectPerfMonitorCountersAMD(GLuint monitor, GLboolean enable, GL arg_numCounters->set_type(GLMessage::DataType::INT); arg_numCounters->add_intvalue(numCounters); - // copy argument countersList - GLMessage_DataType *arg_countersList = glmsg.add_args(); - arg_countersList->set_isarray(false); - arg_countersList->set_type(GLMessage::DataType::INT64); - arg_countersList->add_int64value((uintptr_t)countersList); + // copy argument counterList + GLMessage_DataType *arg_counterList = glmsg.add_args(); + arg_counterList->set_isarray(false); + arg_counterList->set_type(GLMessage::DataType::INT64); + arg_counterList->add_int64value((uintptr_t)counterList); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glSelectPerfMonitorCountersAMD(monitor, enable, group, numCounters, countersList); + glContext->hooks->gl.glSelectPerfMonitorCountersAMD(monitor, enable, group, numCounters, counterList); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { - (void *) countersList, + (void *) counterList, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -11669,7 +12317,7 @@ void GLTrace_glEndPerfMonitorAMD(GLuint monitor) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetPerfMonitorCounterDataAMD(GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten) { +void GLTrace_glGetPerfMonitorCounterDataAMD(GLuint monitor, GLenum pname, GLsizei dataSize, GLuint * data, GLint * bytesWritten) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -11857,6 +12505,233 @@ void GLTrace_glRenderbufferStorageMultisampleANGLE(GLenum target, GLsizei sample glContext->traceGLMessage(&glmsg); } +void GLTrace_glDrawArraysInstancedANGLE(GLenum mode, GLint first, GLsizei count, GLsizei primcount) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glDrawArraysInstancedANGLE); + + // copy argument mode + GLMessage_DataType *arg_mode = glmsg.add_args(); + arg_mode->set_isarray(false); + arg_mode->set_type(GLMessage::DataType::ENUM); + arg_mode->add_intvalue((int)mode); + + // copy argument first + GLMessage_DataType *arg_first = glmsg.add_args(); + arg_first->set_isarray(false); + arg_first->set_type(GLMessage::DataType::INT); + arg_first->add_intvalue(first); + + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT); + arg_count->add_intvalue(count); + + // copy argument primcount + GLMessage_DataType *arg_primcount = glmsg.add_args(); + arg_primcount->set_isarray(false); + arg_primcount->set_type(GLMessage::DataType::INT); + arg_primcount->add_intvalue(primcount); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glDrawArraysInstancedANGLE(mode, first, count, primcount); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glDrawElementsInstancedANGLE(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glDrawElementsInstancedANGLE); + + // copy argument mode + GLMessage_DataType *arg_mode = glmsg.add_args(); + arg_mode->set_isarray(false); + arg_mode->set_type(GLMessage::DataType::ENUM); + arg_mode->add_intvalue((int)mode); + + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT); + arg_count->add_intvalue(count); + + // copy argument type + GLMessage_DataType *arg_type = glmsg.add_args(); + arg_type->set_isarray(false); + arg_type->set_type(GLMessage::DataType::ENUM); + arg_type->add_intvalue((int)type); + + // copy argument indices + GLMessage_DataType *arg_indices = glmsg.add_args(); + arg_indices->set_isarray(false); + arg_indices->set_type(GLMessage::DataType::INT64); + arg_indices->add_int64value((uintptr_t)indices); + + // copy argument primcount + GLMessage_DataType *arg_primcount = glmsg.add_args(); + arg_primcount->set_isarray(false); + arg_primcount->set_type(GLMessage::DataType::INT); + arg_primcount->add_intvalue(primcount); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glDrawElementsInstancedANGLE(mode, count, type, indices, primcount); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) indices, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glVertexAttribDivisorANGLE(GLuint index, GLuint divisor) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glVertexAttribDivisorANGLE); + + // copy argument index + GLMessage_DataType *arg_index = glmsg.add_args(); + arg_index->set_isarray(false); + arg_index->set_type(GLMessage::DataType::INT); + arg_index->add_intvalue(index); + + // copy argument divisor + GLMessage_DataType *arg_divisor = glmsg.add_args(); + arg_divisor->set_isarray(false); + arg_divisor->set_type(GLMessage::DataType::INT); + arg_divisor->add_intvalue(divisor); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glVertexAttribDivisorANGLE(index, divisor); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glGetTranslatedShaderSourceANGLE(GLuint shader, GLsizei bufsize, GLsizei * length, GLchar * source) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glGetTranslatedShaderSourceANGLE); + + // copy argument shader + GLMessage_DataType *arg_shader = glmsg.add_args(); + arg_shader->set_isarray(false); + arg_shader->set_type(GLMessage::DataType::INT); + arg_shader->add_intvalue(shader); + + // copy argument bufsize + GLMessage_DataType *arg_bufsize = glmsg.add_args(); + arg_bufsize->set_isarray(false); + arg_bufsize->set_type(GLMessage::DataType::INT); + arg_bufsize->add_intvalue(bufsize); + + // copy argument length + GLMessage_DataType *arg_length = glmsg.add_args(); + arg_length->set_isarray(false); + arg_length->set_type(GLMessage::DataType::INT64); + arg_length->add_int64value((uintptr_t)length); + + // copy argument source + GLMessage_DataType *arg_source = glmsg.add_args(); + arg_source->set_isarray(false); + arg_source->set_type(GLMessage::DataType::INT64); + arg_source->add_int64value((uintptr_t)source); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glGetTranslatedShaderSourceANGLE(shader, bufsize, length, source); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) length, + (void *) source, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glCopyTextureLevelsAPPLE(GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glCopyTextureLevelsAPPLE); + + // copy argument destinationTexture + GLMessage_DataType *arg_destinationTexture = glmsg.add_args(); + arg_destinationTexture->set_isarray(false); + arg_destinationTexture->set_type(GLMessage::DataType::INT); + arg_destinationTexture->add_intvalue(destinationTexture); + + // copy argument sourceTexture + GLMessage_DataType *arg_sourceTexture = glmsg.add_args(); + arg_sourceTexture->set_isarray(false); + arg_sourceTexture->set_type(GLMessage::DataType::INT); + arg_sourceTexture->add_intvalue(sourceTexture); + + // copy argument sourceBaseLevel + GLMessage_DataType *arg_sourceBaseLevel = glmsg.add_args(); + arg_sourceBaseLevel->set_isarray(false); + arg_sourceBaseLevel->set_type(GLMessage::DataType::INT); + arg_sourceBaseLevel->add_intvalue(sourceBaseLevel); + + // copy argument sourceLevelCount + GLMessage_DataType *arg_sourceLevelCount = glmsg.add_args(); + arg_sourceLevelCount->set_isarray(false); + arg_sourceLevelCount->set_type(GLMessage::DataType::INT); + arg_sourceLevelCount->add_intvalue(sourceLevelCount); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glCopyTextureLevelsAPPLE(destinationTexture, sourceTexture, sourceBaseLevel, sourceLevelCount); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + void GLTrace_glRenderbufferStorageMultisampleAPPLE(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -11931,7 +12806,296 @@ void GLTrace_glResolveMultisampleFramebufferAPPLE(void) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glLabelObjectEXT(GLenum type, GLuint object, GLsizei length, const GLchar *label) { +GLsync GLTrace_glFenceSyncAPPLE(GLenum condition, GLbitfield flags) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glFenceSyncAPPLE); + + // copy argument condition + GLMessage_DataType *arg_condition = glmsg.add_args(); + arg_condition->set_isarray(false); + arg_condition->set_type(GLMessage::DataType::ENUM); + arg_condition->add_intvalue((int)condition); + + // copy argument flags + GLMessage_DataType *arg_flags = glmsg.add_args(); + arg_flags->set_isarray(false); + arg_flags->set_type(GLMessage::DataType::INT); + arg_flags->add_intvalue(flags); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + GLsync retValue = glContext->hooks->gl.glFenceSyncAPPLE(condition, flags); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + // set return value + GLMessage_DataType *rt = glmsg.mutable_returnvalue(); + rt->set_isarray(false); + rt->set_type(GLMessage::DataType::INT64); + rt->add_int64value((uintptr_t)retValue); + + void *pointerArgs[] = { + (void *) retValue, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); + + return retValue; +} + +GLboolean GLTrace_glIsSyncAPPLE(GLsync sync) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glIsSyncAPPLE); + + // copy argument sync + GLMessage_DataType *arg_sync = glmsg.add_args(); + arg_sync->set_isarray(false); + arg_sync->set_type(GLMessage::DataType::INT64); + arg_sync->add_int64value((uintptr_t)sync); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + GLboolean retValue = glContext->hooks->gl.glIsSyncAPPLE(sync); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + // set return value + GLMessage_DataType *rt = glmsg.mutable_returnvalue(); + rt->set_isarray(false); + rt->set_type(GLMessage::DataType::BOOL); + rt->add_boolvalue(retValue); + + void *pointerArgs[] = { + (void *) sync, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); + + return retValue; +} + +void GLTrace_glDeleteSyncAPPLE(GLsync sync) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glDeleteSyncAPPLE); + + // copy argument sync + GLMessage_DataType *arg_sync = glmsg.add_args(); + arg_sync->set_isarray(false); + arg_sync->set_type(GLMessage::DataType::INT64); + arg_sync->add_int64value((uintptr_t)sync); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glDeleteSyncAPPLE(sync); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) sync, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +GLenum GLTrace_glClientWaitSyncAPPLE(GLsync sync, GLbitfield flags, GLuint64 timeout) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glClientWaitSyncAPPLE); + + // copy argument sync + GLMessage_DataType *arg_sync = glmsg.add_args(); + arg_sync->set_isarray(false); + arg_sync->set_type(GLMessage::DataType::INT64); + arg_sync->add_int64value((uintptr_t)sync); + + // copy argument flags + GLMessage_DataType *arg_flags = glmsg.add_args(); + arg_flags->set_isarray(false); + arg_flags->set_type(GLMessage::DataType::INT); + arg_flags->add_intvalue(flags); + + // copy argument timeout + GLMessage_DataType *arg_timeout = glmsg.add_args(); + arg_timeout->set_isarray(false); + arg_timeout->set_type(GLMessage::DataType::INT64); + arg_timeout->add_int64value(timeout); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + GLenum retValue = glContext->hooks->gl.glClientWaitSyncAPPLE(sync, flags, timeout); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + // set return value + GLMessage_DataType *rt = glmsg.mutable_returnvalue(); + rt->set_isarray(false); + rt->set_type(GLMessage::DataType::ENUM); + rt->add_intvalue((int)retValue); + + void *pointerArgs[] = { + (void *) sync, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); + + return retValue; +} + +void GLTrace_glWaitSyncAPPLE(GLsync sync, GLbitfield flags, GLuint64 timeout) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glWaitSyncAPPLE); + + // copy argument sync + GLMessage_DataType *arg_sync = glmsg.add_args(); + arg_sync->set_isarray(false); + arg_sync->set_type(GLMessage::DataType::INT64); + arg_sync->add_int64value((uintptr_t)sync); + + // copy argument flags + GLMessage_DataType *arg_flags = glmsg.add_args(); + arg_flags->set_isarray(false); + arg_flags->set_type(GLMessage::DataType::INT); + arg_flags->add_intvalue(flags); + + // copy argument timeout + GLMessage_DataType *arg_timeout = glmsg.add_args(); + arg_timeout->set_isarray(false); + arg_timeout->set_type(GLMessage::DataType::INT64); + arg_timeout->add_int64value(timeout); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glWaitSyncAPPLE(sync, flags, timeout); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) sync, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glGetInteger64vAPPLE(GLenum pname, GLint64 * params) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glGetInteger64vAPPLE); + + // copy argument pname + GLMessage_DataType *arg_pname = glmsg.add_args(); + arg_pname->set_isarray(false); + arg_pname->set_type(GLMessage::DataType::ENUM); + arg_pname->add_intvalue((int)pname); + + // copy argument params + GLMessage_DataType *arg_params = glmsg.add_args(); + arg_params->set_isarray(false); + arg_params->set_type(GLMessage::DataType::INT64); + arg_params->add_int64value((uintptr_t)params); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glGetInteger64vAPPLE(pname, params); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) params, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glGetSyncivAPPLE(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glGetSyncivAPPLE); + + // copy argument sync + GLMessage_DataType *arg_sync = glmsg.add_args(); + arg_sync->set_isarray(false); + arg_sync->set_type(GLMessage::DataType::INT64); + arg_sync->add_int64value((uintptr_t)sync); + + // copy argument pname + GLMessage_DataType *arg_pname = glmsg.add_args(); + arg_pname->set_isarray(false); + arg_pname->set_type(GLMessage::DataType::ENUM); + arg_pname->add_intvalue((int)pname); + + // copy argument bufSize + GLMessage_DataType *arg_bufSize = glmsg.add_args(); + arg_bufSize->set_isarray(false); + arg_bufSize->set_type(GLMessage::DataType::INT); + arg_bufSize->add_intvalue(bufSize); + + // copy argument length + GLMessage_DataType *arg_length = glmsg.add_args(); + arg_length->set_isarray(false); + arg_length->set_type(GLMessage::DataType::INT64); + arg_length->add_int64value((uintptr_t)length); + + // copy argument values + GLMessage_DataType *arg_values = glmsg.add_args(); + arg_values->set_isarray(false); + arg_values->set_type(GLMessage::DataType::INT64); + arg_values->add_int64value((uintptr_t)values); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glGetSyncivAPPLE(sync, pname, bufSize, length, values); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) sync, + (void *) length, + (void *) values, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glLabelObjectEXT(GLenum type, GLuint object, GLsizei length, const GLchar * label) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -11978,7 +13142,7 @@ void GLTrace_glLabelObjectEXT(GLenum type, GLuint object, GLsizei length, const glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetObjectLabelEXT(GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label) { +void GLTrace_glGetObjectLabelEXT(GLenum type, GLuint object, GLsizei bufSize, GLsizei * length, GLchar * label) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -12032,7 +13196,7 @@ void GLTrace_glGetObjectLabelEXT(GLenum type, GLuint object, GLsizei bufSize, GL glContext->traceGLMessage(&glmsg); } -void GLTrace_glInsertEventMarkerEXT(GLsizei length, const GLchar *marker) { +void GLTrace_glInsertEventMarkerEXT(GLsizei length, const GLchar * marker) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -12067,7 +13231,7 @@ void GLTrace_glInsertEventMarkerEXT(GLsizei length, const GLchar *marker) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glPushGroupMarkerEXT(GLsizei length, const GLchar *marker) { +void GLTrace_glPushGroupMarkerEXT(GLsizei length, const GLchar * marker) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -12124,7 +13288,7 @@ void GLTrace_glPopGroupMarkerEXT(void) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glDiscardFramebufferEXT(GLenum target, GLsizei numAttachments, const GLenum *attachments) { +void GLTrace_glDiscardFramebufferEXT(GLenum target, GLsizei numAttachments, const GLenum * attachments) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -12165,219 +13329,7 @@ void GLTrace_glDiscardFramebufferEXT(GLenum target, GLsizei numAttachments, cons glContext->traceGLMessage(&glmsg); } -void GLTrace_glRenderbufferStorageMultisampleEXT(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { - GLMessage glmsg; - GLTraceContext *glContext = getGLTraceContext(); - - glmsg.set_function(GLMessage::glRenderbufferStorageMultisampleEXT); - - // copy argument target - GLMessage_DataType *arg_target = glmsg.add_args(); - arg_target->set_isarray(false); - arg_target->set_type(GLMessage::DataType::ENUM); - arg_target->add_intvalue((int)target); - - // copy argument samples - GLMessage_DataType *arg_samples = glmsg.add_args(); - arg_samples->set_isarray(false); - arg_samples->set_type(GLMessage::DataType::INT); - arg_samples->add_intvalue(samples); - - // copy argument internalformat - GLMessage_DataType *arg_internalformat = glmsg.add_args(); - arg_internalformat->set_isarray(false); - arg_internalformat->set_type(GLMessage::DataType::ENUM); - arg_internalformat->add_intvalue((int)internalformat); - - // copy argument width - GLMessage_DataType *arg_width = glmsg.add_args(); - arg_width->set_isarray(false); - arg_width->set_type(GLMessage::DataType::INT); - arg_width->add_intvalue(width); - - // copy argument height - GLMessage_DataType *arg_height = glmsg.add_args(); - arg_height->set_isarray(false); - arg_height->set_type(GLMessage::DataType::INT); - arg_height->add_intvalue(height); - - // call function - nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); - nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glRenderbufferStorageMultisampleEXT(target, samples, internalformat, width, height); - nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); - nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); - - void *pointerArgs[] = { - }; - - fixupGLMessage(glContext, wallStartTime, wallEndTime, - threadStartTime, threadEndTime, - &glmsg, pointerArgs); - glContext->traceGLMessage(&glmsg); -} - -void GLTrace_glFramebufferTexture2DMultisampleEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples) { - GLMessage glmsg; - GLTraceContext *glContext = getGLTraceContext(); - - glmsg.set_function(GLMessage::glFramebufferTexture2DMultisampleEXT); - - // copy argument target - GLMessage_DataType *arg_target = glmsg.add_args(); - arg_target->set_isarray(false); - arg_target->set_type(GLMessage::DataType::ENUM); - arg_target->add_intvalue((int)target); - - // copy argument attachment - GLMessage_DataType *arg_attachment = glmsg.add_args(); - arg_attachment->set_isarray(false); - arg_attachment->set_type(GLMessage::DataType::ENUM); - arg_attachment->add_intvalue((int)attachment); - - // copy argument textarget - GLMessage_DataType *arg_textarget = glmsg.add_args(); - arg_textarget->set_isarray(false); - arg_textarget->set_type(GLMessage::DataType::ENUM); - arg_textarget->add_intvalue((int)textarget); - - // copy argument texture - GLMessage_DataType *arg_texture = glmsg.add_args(); - arg_texture->set_isarray(false); - arg_texture->set_type(GLMessage::DataType::INT); - arg_texture->add_intvalue(texture); - - // copy argument level - GLMessage_DataType *arg_level = glmsg.add_args(); - arg_level->set_isarray(false); - arg_level->set_type(GLMessage::DataType::INT); - arg_level->add_intvalue(level); - - // copy argument samples - GLMessage_DataType *arg_samples = glmsg.add_args(); - arg_samples->set_isarray(false); - arg_samples->set_type(GLMessage::DataType::INT); - arg_samples->add_intvalue(samples); - - // call function - nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); - nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glFramebufferTexture2DMultisampleEXT(target, attachment, textarget, texture, level, samples); - nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); - nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); - - void *pointerArgs[] = { - }; - - fixupGLMessage(glContext, wallStartTime, wallEndTime, - threadStartTime, threadEndTime, - &glmsg, pointerArgs); - glContext->traceGLMessage(&glmsg); -} - -void GLTrace_glMultiDrawArraysEXT(GLenum mode, GLint *first, GLsizei *count, GLsizei primcount) { - GLMessage glmsg; - GLTraceContext *glContext = getGLTraceContext(); - - glmsg.set_function(GLMessage::glMultiDrawArraysEXT); - - // copy argument mode - GLMessage_DataType *arg_mode = glmsg.add_args(); - arg_mode->set_isarray(false); - arg_mode->set_type(GLMessage::DataType::ENUM); - arg_mode->add_intvalue((int)mode); - - // copy argument first - GLMessage_DataType *arg_first = glmsg.add_args(); - arg_first->set_isarray(false); - arg_first->set_type(GLMessage::DataType::INT64); - arg_first->add_int64value((uintptr_t)first); - - // copy argument count - GLMessage_DataType *arg_count = glmsg.add_args(); - arg_count->set_isarray(false); - arg_count->set_type(GLMessage::DataType::INT64); - arg_count->add_int64value((uintptr_t)count); - - // copy argument primcount - GLMessage_DataType *arg_primcount = glmsg.add_args(); - arg_primcount->set_isarray(false); - arg_primcount->set_type(GLMessage::DataType::INT); - arg_primcount->add_intvalue(primcount); - - // call function - nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); - nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glMultiDrawArraysEXT(mode, first, count, primcount); - nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); - nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); - - void *pointerArgs[] = { - (void *) first, - (void *) count, - }; - - fixupGLMessage(glContext, wallStartTime, wallEndTime, - threadStartTime, threadEndTime, - &glmsg, pointerArgs); - glContext->traceGLMessage(&glmsg); -} - -void GLTrace_glMultiDrawElementsEXT(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount) { - GLMessage glmsg; - GLTraceContext *glContext = getGLTraceContext(); - - glmsg.set_function(GLMessage::glMultiDrawElementsEXT); - - // copy argument mode - GLMessage_DataType *arg_mode = glmsg.add_args(); - arg_mode->set_isarray(false); - arg_mode->set_type(GLMessage::DataType::ENUM); - arg_mode->add_intvalue((int)mode); - - // copy argument count - GLMessage_DataType *arg_count = glmsg.add_args(); - arg_count->set_isarray(false); - arg_count->set_type(GLMessage::DataType::INT64); - arg_count->add_int64value((uintptr_t)count); - - // copy argument type - GLMessage_DataType *arg_type = glmsg.add_args(); - arg_type->set_isarray(false); - arg_type->set_type(GLMessage::DataType::ENUM); - arg_type->add_intvalue((int)type); - - // copy argument indices - GLMessage_DataType *arg_indices = glmsg.add_args(); - arg_indices->set_isarray(false); - arg_indices->set_type(GLMessage::DataType::INT64); - arg_indices->add_int64value((uintptr_t)indices); - - // copy argument primcount - GLMessage_DataType *arg_primcount = glmsg.add_args(); - arg_primcount->set_isarray(false); - arg_primcount->set_type(GLMessage::DataType::INT); - arg_primcount->add_intvalue(primcount); - - // call function - nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); - nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glMultiDrawElementsEXT(mode, count, type, indices, primcount); - nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); - nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); - - void *pointerArgs[] = { - (void *) count, - (void *) indices, - }; - - fixupGLMessage(glContext, wallStartTime, wallEndTime, - threadStartTime, threadEndTime, - &glmsg, pointerArgs); - glContext->traceGLMessage(&glmsg); -} - -void GLTrace_glGenQueriesEXT(GLsizei n, GLuint *ids) { +void GLTrace_glGenQueriesEXT(GLsizei n, GLuint * ids) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -12412,7 +13364,7 @@ void GLTrace_glGenQueriesEXT(GLsizei n, GLuint *ids) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glDeleteQueriesEXT(GLsizei n, const GLuint *ids) { +void GLTrace_glDeleteQueriesEXT(GLsizei n, const GLuint * ids) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -12545,7 +13497,41 @@ void GLTrace_glEndQueryEXT(GLenum target) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetQueryivEXT(GLenum target, GLenum pname, GLint *params) { +void GLTrace_glQueryCounterEXT(GLuint id, GLenum target) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glQueryCounterEXT); + + // copy argument id + GLMessage_DataType *arg_id = glmsg.add_args(); + arg_id->set_isarray(false); + arg_id->set_type(GLMessage::DataType::INT); + arg_id->add_intvalue(id); + + // copy argument target + GLMessage_DataType *arg_target = glmsg.add_args(); + arg_target->set_isarray(false); + arg_target->set_type(GLMessage::DataType::ENUM); + arg_target->add_intvalue((int)target); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glQueryCounterEXT(id, target); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glGetQueryivEXT(GLenum target, GLenum pname, GLint * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -12586,7 +13572,48 @@ void GLTrace_glGetQueryivEXT(GLenum target, GLenum pname, GLint *params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint *params) { +void GLTrace_glGetQueryObjectivEXT(GLuint id, GLenum pname, GLint * params) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glGetQueryObjectivEXT); + + // copy argument id + GLMessage_DataType *arg_id = glmsg.add_args(); + arg_id->set_isarray(false); + arg_id->set_type(GLMessage::DataType::INT); + arg_id->add_intvalue(id); + + // copy argument pname + GLMessage_DataType *arg_pname = glmsg.add_args(); + arg_pname->set_isarray(false); + arg_pname->set_type(GLMessage::DataType::ENUM); + arg_pname->add_intvalue((int)pname); + + // copy argument params + GLMessage_DataType *arg_params = glmsg.add_args(); + arg_params->set_isarray(false); + arg_params->set_type(GLMessage::DataType::INT64); + arg_params->add_int64value((uintptr_t)params); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glGetQueryObjectivEXT(id, pname, params); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) params, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glGetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -12627,6 +13654,680 @@ void GLTrace_glGetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint *params) { glContext->traceGLMessage(&glmsg); } +void GLTrace_glGetQueryObjecti64vEXT(GLuint id, GLenum pname, GLint64 * params) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glGetQueryObjecti64vEXT); + + // copy argument id + GLMessage_DataType *arg_id = glmsg.add_args(); + arg_id->set_isarray(false); + arg_id->set_type(GLMessage::DataType::INT); + arg_id->add_intvalue(id); + + // copy argument pname + GLMessage_DataType *arg_pname = glmsg.add_args(); + arg_pname->set_isarray(false); + arg_pname->set_type(GLMessage::DataType::ENUM); + arg_pname->add_intvalue((int)pname); + + // copy argument params + GLMessage_DataType *arg_params = glmsg.add_args(); + arg_params->set_isarray(false); + arg_params->set_type(GLMessage::DataType::INT64); + arg_params->add_int64value((uintptr_t)params); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glGetQueryObjecti64vEXT(id, pname, params); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) params, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glGetQueryObjectui64vEXT(GLuint id, GLenum pname, GLuint64 * params) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glGetQueryObjectui64vEXT); + + // copy argument id + GLMessage_DataType *arg_id = glmsg.add_args(); + arg_id->set_isarray(false); + arg_id->set_type(GLMessage::DataType::INT); + arg_id->add_intvalue(id); + + // copy argument pname + GLMessage_DataType *arg_pname = glmsg.add_args(); + arg_pname->set_isarray(false); + arg_pname->set_type(GLMessage::DataType::ENUM); + arg_pname->add_intvalue((int)pname); + + // copy argument params + GLMessage_DataType *arg_params = glmsg.add_args(); + arg_params->set_isarray(false); + arg_params->set_type(GLMessage::DataType::INT64); + arg_params->add_int64value((uintptr_t)params); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glGetQueryObjectui64vEXT(id, pname, params); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) params, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glDrawBuffersEXT(GLsizei n, const GLenum * bufs) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glDrawBuffersEXT); + + // copy argument n + GLMessage_DataType *arg_n = glmsg.add_args(); + arg_n->set_isarray(false); + arg_n->set_type(GLMessage::DataType::INT); + arg_n->add_intvalue(n); + + // copy argument bufs + GLMessage_DataType *arg_bufs = glmsg.add_args(); + arg_bufs->set_isarray(false); + arg_bufs->set_type(GLMessage::DataType::INT64); + arg_bufs->add_int64value((uintptr_t)bufs); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glDrawBuffersEXT(n, bufs); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) bufs, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glDrawArraysInstancedEXT(GLenum mode, GLint start, GLsizei count, GLsizei primcount) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glDrawArraysInstancedEXT); + + // copy argument mode + GLMessage_DataType *arg_mode = glmsg.add_args(); + arg_mode->set_isarray(false); + arg_mode->set_type(GLMessage::DataType::ENUM); + arg_mode->add_intvalue((int)mode); + + // copy argument start + GLMessage_DataType *arg_start = glmsg.add_args(); + arg_start->set_isarray(false); + arg_start->set_type(GLMessage::DataType::INT); + arg_start->add_intvalue(start); + + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT); + arg_count->add_intvalue(count); + + // copy argument primcount + GLMessage_DataType *arg_primcount = glmsg.add_args(); + arg_primcount->set_isarray(false); + arg_primcount->set_type(GLMessage::DataType::INT); + arg_primcount->add_intvalue(primcount); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glDrawArraysInstancedEXT(mode, start, count, primcount); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glDrawElementsInstancedEXT(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glDrawElementsInstancedEXT); + + // copy argument mode + GLMessage_DataType *arg_mode = glmsg.add_args(); + arg_mode->set_isarray(false); + arg_mode->set_type(GLMessage::DataType::ENUM); + arg_mode->add_intvalue((int)mode); + + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT); + arg_count->add_intvalue(count); + + // copy argument type + GLMessage_DataType *arg_type = glmsg.add_args(); + arg_type->set_isarray(false); + arg_type->set_type(GLMessage::DataType::ENUM); + arg_type->add_intvalue((int)type); + + // copy argument indices + GLMessage_DataType *arg_indices = glmsg.add_args(); + arg_indices->set_isarray(false); + arg_indices->set_type(GLMessage::DataType::INT64); + arg_indices->add_int64value((uintptr_t)indices); + + // copy argument primcount + GLMessage_DataType *arg_primcount = glmsg.add_args(); + arg_primcount->set_isarray(false); + arg_primcount->set_type(GLMessage::DataType::INT); + arg_primcount->add_intvalue(primcount); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glDrawElementsInstancedEXT(mode, count, type, indices, primcount); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) indices, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glVertexAttribDivisorEXT(GLuint index, GLuint divisor) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glVertexAttribDivisorEXT); + + // copy argument index + GLMessage_DataType *arg_index = glmsg.add_args(); + arg_index->set_isarray(false); + arg_index->set_type(GLMessage::DataType::INT); + arg_index->add_intvalue(index); + + // copy argument divisor + GLMessage_DataType *arg_divisor = glmsg.add_args(); + arg_divisor->set_isarray(false); + arg_divisor->set_type(GLMessage::DataType::INT); + arg_divisor->add_intvalue(divisor); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glVertexAttribDivisorEXT(index, divisor); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void * GLTrace_glMapBufferRangeEXT(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glMapBufferRangeEXT); + + // copy argument target + GLMessage_DataType *arg_target = glmsg.add_args(); + arg_target->set_isarray(false); + arg_target->set_type(GLMessage::DataType::ENUM); + arg_target->add_intvalue((int)target); + + // copy argument offset + GLMessage_DataType *arg_offset = glmsg.add_args(); + arg_offset->set_isarray(false); + arg_offset->set_type(GLMessage::DataType::INT); + arg_offset->add_intvalue(offset); + + // copy argument length + GLMessage_DataType *arg_length = glmsg.add_args(); + arg_length->set_isarray(false); + arg_length->set_type(GLMessage::DataType::INT); + arg_length->add_intvalue(length); + + // copy argument access + GLMessage_DataType *arg_access = glmsg.add_args(); + arg_access->set_isarray(false); + arg_access->set_type(GLMessage::DataType::INT); + arg_access->add_intvalue(access); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + void * retValue = glContext->hooks->gl.glMapBufferRangeEXT(target, offset, length, access); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + // set return value + GLMessage_DataType *rt = glmsg.mutable_returnvalue(); + rt->set_isarray(false); + rt->set_type(GLMessage::DataType::INT64); + rt->add_int64value((uintptr_t)retValue); + + void *pointerArgs[] = { + (void *) retValue, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); + + return retValue; +} + +void GLTrace_glFlushMappedBufferRangeEXT(GLenum target, GLintptr offset, GLsizeiptr length) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glFlushMappedBufferRangeEXT); + + // copy argument target + GLMessage_DataType *arg_target = glmsg.add_args(); + arg_target->set_isarray(false); + arg_target->set_type(GLMessage::DataType::ENUM); + arg_target->add_intvalue((int)target); + + // copy argument offset + GLMessage_DataType *arg_offset = glmsg.add_args(); + arg_offset->set_isarray(false); + arg_offset->set_type(GLMessage::DataType::INT); + arg_offset->add_intvalue(offset); + + // copy argument length + GLMessage_DataType *arg_length = glmsg.add_args(); + arg_length->set_isarray(false); + arg_length->set_type(GLMessage::DataType::INT); + arg_length->add_intvalue(length); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glFlushMappedBufferRangeEXT(target, offset, length); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glMultiDrawArraysEXT(GLenum mode, const GLint * first, const GLsizei * count, GLsizei primcount) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glMultiDrawArraysEXT); + + // copy argument mode + GLMessage_DataType *arg_mode = glmsg.add_args(); + arg_mode->set_isarray(false); + arg_mode->set_type(GLMessage::DataType::ENUM); + arg_mode->add_intvalue((int)mode); + + // copy argument first + GLMessage_DataType *arg_first = glmsg.add_args(); + arg_first->set_isarray(false); + arg_first->set_type(GLMessage::DataType::INT64); + arg_first->add_int64value((uintptr_t)first); + + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT64); + arg_count->add_int64value((uintptr_t)count); + + // copy argument primcount + GLMessage_DataType *arg_primcount = glmsg.add_args(); + arg_primcount->set_isarray(false); + arg_primcount->set_type(GLMessage::DataType::INT); + arg_primcount->add_intvalue(primcount); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glMultiDrawArraysEXT(mode, first, count, primcount); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) first, + (void *) count, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glMultiDrawElementsEXT(GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glMultiDrawElementsEXT); + + // copy argument mode + GLMessage_DataType *arg_mode = glmsg.add_args(); + arg_mode->set_isarray(false); + arg_mode->set_type(GLMessage::DataType::ENUM); + arg_mode->add_intvalue((int)mode); + + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT64); + arg_count->add_int64value((uintptr_t)count); + + // copy argument type + GLMessage_DataType *arg_type = glmsg.add_args(); + arg_type->set_isarray(false); + arg_type->set_type(GLMessage::DataType::ENUM); + arg_type->add_intvalue((int)type); + + // copy argument indices + GLMessage_DataType *arg_indices = glmsg.add_args(); + arg_indices->set_isarray(false); + arg_indices->set_type(GLMessage::DataType::INT64); + arg_indices->add_int64value((uintptr_t)indices); + + // copy argument primcount + GLMessage_DataType *arg_primcount = glmsg.add_args(); + arg_primcount->set_isarray(false); + arg_primcount->set_type(GLMessage::DataType::INT); + arg_primcount->add_intvalue(primcount); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glMultiDrawElementsEXT(mode, count, type, indices, primcount); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) count, + (void *) indices, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glRenderbufferStorageMultisampleEXT(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glRenderbufferStorageMultisampleEXT); + + // copy argument target + GLMessage_DataType *arg_target = glmsg.add_args(); + arg_target->set_isarray(false); + arg_target->set_type(GLMessage::DataType::ENUM); + arg_target->add_intvalue((int)target); + + // copy argument samples + GLMessage_DataType *arg_samples = glmsg.add_args(); + arg_samples->set_isarray(false); + arg_samples->set_type(GLMessage::DataType::INT); + arg_samples->add_intvalue(samples); + + // copy argument internalformat + GLMessage_DataType *arg_internalformat = glmsg.add_args(); + arg_internalformat->set_isarray(false); + arg_internalformat->set_type(GLMessage::DataType::ENUM); + arg_internalformat->add_intvalue((int)internalformat); + + // copy argument width + GLMessage_DataType *arg_width = glmsg.add_args(); + arg_width->set_isarray(false); + arg_width->set_type(GLMessage::DataType::INT); + arg_width->add_intvalue(width); + + // copy argument height + GLMessage_DataType *arg_height = glmsg.add_args(); + arg_height->set_isarray(false); + arg_height->set_type(GLMessage::DataType::INT); + arg_height->add_intvalue(height); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glRenderbufferStorageMultisampleEXT(target, samples, internalformat, width, height); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glFramebufferTexture2DMultisampleEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glFramebufferTexture2DMultisampleEXT); + + // copy argument target + GLMessage_DataType *arg_target = glmsg.add_args(); + arg_target->set_isarray(false); + arg_target->set_type(GLMessage::DataType::ENUM); + arg_target->add_intvalue((int)target); + + // copy argument attachment + GLMessage_DataType *arg_attachment = glmsg.add_args(); + arg_attachment->set_isarray(false); + arg_attachment->set_type(GLMessage::DataType::ENUM); + arg_attachment->add_intvalue((int)attachment); + + // copy argument textarget + GLMessage_DataType *arg_textarget = glmsg.add_args(); + arg_textarget->set_isarray(false); + arg_textarget->set_type(GLMessage::DataType::ENUM); + arg_textarget->add_intvalue((int)textarget); + + // copy argument texture + GLMessage_DataType *arg_texture = glmsg.add_args(); + arg_texture->set_isarray(false); + arg_texture->set_type(GLMessage::DataType::INT); + arg_texture->add_intvalue(texture); + + // copy argument level + GLMessage_DataType *arg_level = glmsg.add_args(); + arg_level->set_isarray(false); + arg_level->set_type(GLMessage::DataType::INT); + arg_level->add_intvalue(level); + + // copy argument samples + GLMessage_DataType *arg_samples = glmsg.add_args(); + arg_samples->set_isarray(false); + arg_samples->set_type(GLMessage::DataType::INT); + arg_samples->add_intvalue(samples); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glFramebufferTexture2DMultisampleEXT(target, attachment, textarget, texture, level, samples); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glReadBufferIndexedEXT(GLenum src, GLint index) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glReadBufferIndexedEXT); + + // copy argument src + GLMessage_DataType *arg_src = glmsg.add_args(); + arg_src->set_isarray(false); + arg_src->set_type(GLMessage::DataType::ENUM); + arg_src->add_intvalue((int)src); + + // copy argument index + GLMessage_DataType *arg_index = glmsg.add_args(); + arg_index->set_isarray(false); + arg_index->set_type(GLMessage::DataType::INT); + arg_index->add_intvalue(index); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glReadBufferIndexedEXT(src, index); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glDrawBuffersIndexedEXT(GLint n, const GLenum * location, const GLint * indices) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glDrawBuffersIndexedEXT); + + // copy argument n + GLMessage_DataType *arg_n = glmsg.add_args(); + arg_n->set_isarray(false); + arg_n->set_type(GLMessage::DataType::INT); + arg_n->add_intvalue(n); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT64); + arg_location->add_int64value((uintptr_t)location); + + // copy argument indices + GLMessage_DataType *arg_indices = glmsg.add_args(); + arg_indices->set_isarray(false); + arg_indices->set_type(GLMessage::DataType::INT64); + arg_indices->add_int64value((uintptr_t)indices); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glDrawBuffersIndexedEXT(n, location, indices); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) location, + (void *) indices, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glGetIntegeri_vEXT(GLenum target, GLuint index, GLint * data) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glGetIntegeri_vEXT); + + // copy argument target + GLMessage_DataType *arg_target = glmsg.add_args(); + arg_target->set_isarray(false); + arg_target->set_type(GLMessage::DataType::ENUM); + arg_target->add_intvalue((int)target); + + // copy argument index + GLMessage_DataType *arg_index = glmsg.add_args(); + arg_index->set_isarray(false); + arg_index->set_type(GLMessage::DataType::INT); + arg_index->add_intvalue(index); + + // copy argument data + GLMessage_DataType *arg_data = glmsg.add_args(); + arg_data->set_isarray(false); + arg_data->set_type(GLMessage::DataType::INT64); + arg_data->add_int64value((uintptr_t)data); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glGetIntegeri_vEXT(target, index, data); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) data, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + GLenum GLTrace_glGetGraphicsResetStatusEXT(void) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -12657,7 +14358,7 @@ GLenum GLTrace_glGetGraphicsResetStatusEXT(void) { return retValue; } -void GLTrace_glReadnPixelsEXT(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data) { +void GLTrace_glReadnPixelsEXT(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -12728,7 +14429,7 @@ void GLTrace_glReadnPixelsEXT(GLint x, GLint y, GLsizei width, GLsizei height, G glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetnUniformfvEXT(GLuint program, GLint location, GLsizei bufSize, float *params) { +void GLTrace_glGetnUniformfvEXT(GLuint program, GLint location, GLsizei bufSize, GLfloat * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -12775,7 +14476,7 @@ void GLTrace_glGetnUniformfvEXT(GLuint program, GLint location, GLsizei bufSize, glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetnUniformivEXT(GLuint program, GLint location, GLsizei bufSize, GLint *params) { +void GLTrace_glGetnUniformivEXT(GLuint program, GLint location, GLsizei bufSize, GLint * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -12822,46 +14523,6 @@ void GLTrace_glGetnUniformivEXT(GLuint program, GLint location, GLsizei bufSize, glContext->traceGLMessage(&glmsg); } -void GLTrace_glUseProgramStagesEXT(GLuint pipeline, GLbitfield stages, GLuint program) { - GLMessage glmsg; - GLTraceContext *glContext = getGLTraceContext(); - - glmsg.set_function(GLMessage::glUseProgramStagesEXT); - - // copy argument pipeline - GLMessage_DataType *arg_pipeline = glmsg.add_args(); - arg_pipeline->set_isarray(false); - arg_pipeline->set_type(GLMessage::DataType::INT); - arg_pipeline->add_intvalue(pipeline); - - // copy argument stages - GLMessage_DataType *arg_stages = glmsg.add_args(); - arg_stages->set_isarray(false); - arg_stages->set_type(GLMessage::DataType::INT); - arg_stages->add_intvalue(stages); - - // copy argument program - GLMessage_DataType *arg_program = glmsg.add_args(); - arg_program->set_isarray(false); - arg_program->set_type(GLMessage::DataType::INT); - arg_program->add_intvalue(program); - - // call function - nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); - nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glUseProgramStagesEXT(pipeline, stages, program); - nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); - nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); - - void *pointerArgs[] = { - }; - - fixupGLMessage(glContext, wallStartTime, wallEndTime, - threadStartTime, threadEndTime, - &glmsg, pointerArgs); - glContext->traceGLMessage(&glmsg); -} - void GLTrace_glActiveShaderProgramEXT(GLuint pipeline, GLuint program) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -12896,7 +14557,35 @@ void GLTrace_glActiveShaderProgramEXT(GLuint pipeline, GLuint program) { glContext->traceGLMessage(&glmsg); } -GLuint GLTrace_glCreateShaderProgramvEXT(GLenum type, GLsizei count, const GLchar **strings) { +void GLTrace_glBindProgramPipelineEXT(GLuint pipeline) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glBindProgramPipelineEXT); + + // copy argument pipeline + GLMessage_DataType *arg_pipeline = glmsg.add_args(); + arg_pipeline->set_isarray(false); + arg_pipeline->set_type(GLMessage::DataType::INT); + arg_pipeline->add_intvalue(pipeline); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glBindProgramPipelineEXT(pipeline); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +GLuint GLTrace_glCreateShaderProgramvEXT(GLenum type, GLsizei count, const GLchar ** strings) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -12945,35 +14634,7 @@ GLuint GLTrace_glCreateShaderProgramvEXT(GLenum type, GLsizei count, const GLcha return retValue; } -void GLTrace_glBindProgramPipelineEXT(GLuint pipeline) { - GLMessage glmsg; - GLTraceContext *glContext = getGLTraceContext(); - - glmsg.set_function(GLMessage::glBindProgramPipelineEXT); - - // copy argument pipeline - GLMessage_DataType *arg_pipeline = glmsg.add_args(); - arg_pipeline->set_isarray(false); - arg_pipeline->set_type(GLMessage::DataType::INT); - arg_pipeline->add_intvalue(pipeline); - - // call function - nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); - nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glBindProgramPipelineEXT(pipeline); - nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); - nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); - - void *pointerArgs[] = { - }; - - fixupGLMessage(glContext, wallStartTime, wallEndTime, - threadStartTime, threadEndTime, - &glmsg, pointerArgs); - glContext->traceGLMessage(&glmsg); -} - -void GLTrace_glDeleteProgramPipelinesEXT(GLsizei n, const GLuint *pipelines) { +void GLTrace_glDeleteProgramPipelinesEXT(GLsizei n, const GLuint * pipelines) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -13008,7 +14669,7 @@ void GLTrace_glDeleteProgramPipelinesEXT(GLsizei n, const GLuint *pipelines) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGenProgramPipelinesEXT(GLsizei n, GLuint *pipelines) { +void GLTrace_glGenProgramPipelinesEXT(GLsizei n, GLuint * pipelines) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -13043,6 +14704,95 @@ void GLTrace_glGenProgramPipelinesEXT(GLsizei n, GLuint *pipelines) { glContext->traceGLMessage(&glmsg); } +void GLTrace_glGetProgramPipelineInfoLogEXT(GLuint pipeline, GLsizei bufSize, GLsizei * length, GLchar * infoLog) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glGetProgramPipelineInfoLogEXT); + + // copy argument pipeline + GLMessage_DataType *arg_pipeline = glmsg.add_args(); + arg_pipeline->set_isarray(false); + arg_pipeline->set_type(GLMessage::DataType::INT); + arg_pipeline->add_intvalue(pipeline); + + // copy argument bufSize + GLMessage_DataType *arg_bufSize = glmsg.add_args(); + arg_bufSize->set_isarray(false); + arg_bufSize->set_type(GLMessage::DataType::INT); + arg_bufSize->add_intvalue(bufSize); + + // copy argument length + GLMessage_DataType *arg_length = glmsg.add_args(); + arg_length->set_isarray(false); + arg_length->set_type(GLMessage::DataType::INT64); + arg_length->add_int64value((uintptr_t)length); + + // copy argument infoLog + GLMessage_DataType *arg_infoLog = glmsg.add_args(); + arg_infoLog->set_isarray(false); + arg_infoLog->set_type(GLMessage::DataType::INT64); + arg_infoLog->add_int64value((uintptr_t)infoLog); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glGetProgramPipelineInfoLogEXT(pipeline, bufSize, length, infoLog); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) length, + (void *) infoLog, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glGetProgramPipelineivEXT(GLuint pipeline, GLenum pname, GLint * params) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glGetProgramPipelineivEXT); + + // copy argument pipeline + GLMessage_DataType *arg_pipeline = glmsg.add_args(); + arg_pipeline->set_isarray(false); + arg_pipeline->set_type(GLMessage::DataType::INT); + arg_pipeline->add_intvalue(pipeline); + + // copy argument pname + GLMessage_DataType *arg_pname = glmsg.add_args(); + arg_pname->set_isarray(false); + arg_pname->set_type(GLMessage::DataType::ENUM); + arg_pname->add_intvalue((int)pname); + + // copy argument params + GLMessage_DataType *arg_params = glmsg.add_args(); + arg_params->set_isarray(false); + arg_params->set_type(GLMessage::DataType::INT64); + arg_params->add_int64value((uintptr_t)params); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glGetProgramPipelineivEXT(pipeline, pname, params); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) params, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + GLboolean GLTrace_glIsProgramPipelineEXT(GLuint pipeline) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -13119,244 +14869,7 @@ void GLTrace_glProgramParameteriEXT(GLuint program, GLenum pname, GLint value) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetProgramPipelineivEXT(GLuint pipeline, GLenum pname, GLint *params) { - GLMessage glmsg; - GLTraceContext *glContext = getGLTraceContext(); - - glmsg.set_function(GLMessage::glGetProgramPipelineivEXT); - - // copy argument pipeline - GLMessage_DataType *arg_pipeline = glmsg.add_args(); - arg_pipeline->set_isarray(false); - arg_pipeline->set_type(GLMessage::DataType::INT); - arg_pipeline->add_intvalue(pipeline); - - // copy argument pname - GLMessage_DataType *arg_pname = glmsg.add_args(); - arg_pname->set_isarray(false); - arg_pname->set_type(GLMessage::DataType::ENUM); - arg_pname->add_intvalue((int)pname); - - // copy argument params - GLMessage_DataType *arg_params = glmsg.add_args(); - arg_params->set_isarray(false); - arg_params->set_type(GLMessage::DataType::INT64); - arg_params->add_int64value((uintptr_t)params); - - // call function - nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); - nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glGetProgramPipelineivEXT(pipeline, pname, params); - nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); - nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); - - void *pointerArgs[] = { - (void *) params, - }; - - fixupGLMessage(glContext, wallStartTime, wallEndTime, - threadStartTime, threadEndTime, - &glmsg, pointerArgs); - glContext->traceGLMessage(&glmsg); -} - -void GLTrace_glProgramUniform1iEXT(GLuint program, GLint location, GLint x) { - GLMessage glmsg; - GLTraceContext *glContext = getGLTraceContext(); - - glmsg.set_function(GLMessage::glProgramUniform1iEXT); - - // copy argument program - GLMessage_DataType *arg_program = glmsg.add_args(); - arg_program->set_isarray(false); - arg_program->set_type(GLMessage::DataType::INT); - arg_program->add_intvalue(program); - - // copy argument location - GLMessage_DataType *arg_location = glmsg.add_args(); - arg_location->set_isarray(false); - arg_location->set_type(GLMessage::DataType::INT); - arg_location->add_intvalue(location); - - // copy argument x - GLMessage_DataType *arg_x = glmsg.add_args(); - arg_x->set_isarray(false); - arg_x->set_type(GLMessage::DataType::INT); - arg_x->add_intvalue(x); - - // call function - nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); - nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glProgramUniform1iEXT(program, location, x); - nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); - nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); - - void *pointerArgs[] = { - }; - - fixupGLMessage(glContext, wallStartTime, wallEndTime, - threadStartTime, threadEndTime, - &glmsg, pointerArgs); - glContext->traceGLMessage(&glmsg); -} - -void GLTrace_glProgramUniform2iEXT(GLuint program, GLint location, GLint x, GLint y) { - GLMessage glmsg; - GLTraceContext *glContext = getGLTraceContext(); - - glmsg.set_function(GLMessage::glProgramUniform2iEXT); - - // copy argument program - GLMessage_DataType *arg_program = glmsg.add_args(); - arg_program->set_isarray(false); - arg_program->set_type(GLMessage::DataType::INT); - arg_program->add_intvalue(program); - - // copy argument location - GLMessage_DataType *arg_location = glmsg.add_args(); - arg_location->set_isarray(false); - arg_location->set_type(GLMessage::DataType::INT); - arg_location->add_intvalue(location); - - // copy argument x - GLMessage_DataType *arg_x = glmsg.add_args(); - arg_x->set_isarray(false); - arg_x->set_type(GLMessage::DataType::INT); - arg_x->add_intvalue(x); - - // copy argument y - GLMessage_DataType *arg_y = glmsg.add_args(); - arg_y->set_isarray(false); - arg_y->set_type(GLMessage::DataType::INT); - arg_y->add_intvalue(y); - - // call function - nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); - nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glProgramUniform2iEXT(program, location, x, y); - nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); - nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); - - void *pointerArgs[] = { - }; - - fixupGLMessage(glContext, wallStartTime, wallEndTime, - threadStartTime, threadEndTime, - &glmsg, pointerArgs); - glContext->traceGLMessage(&glmsg); -} - -void GLTrace_glProgramUniform3iEXT(GLuint program, GLint location, GLint x, GLint y, GLint z) { - GLMessage glmsg; - GLTraceContext *glContext = getGLTraceContext(); - - glmsg.set_function(GLMessage::glProgramUniform3iEXT); - - // copy argument program - GLMessage_DataType *arg_program = glmsg.add_args(); - arg_program->set_isarray(false); - arg_program->set_type(GLMessage::DataType::INT); - arg_program->add_intvalue(program); - - // copy argument location - GLMessage_DataType *arg_location = glmsg.add_args(); - arg_location->set_isarray(false); - arg_location->set_type(GLMessage::DataType::INT); - arg_location->add_intvalue(location); - - // copy argument x - GLMessage_DataType *arg_x = glmsg.add_args(); - arg_x->set_isarray(false); - arg_x->set_type(GLMessage::DataType::INT); - arg_x->add_intvalue(x); - - // copy argument y - GLMessage_DataType *arg_y = glmsg.add_args(); - arg_y->set_isarray(false); - arg_y->set_type(GLMessage::DataType::INT); - arg_y->add_intvalue(y); - - // copy argument z - GLMessage_DataType *arg_z = glmsg.add_args(); - arg_z->set_isarray(false); - arg_z->set_type(GLMessage::DataType::INT); - arg_z->add_intvalue(z); - - // call function - nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); - nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glProgramUniform3iEXT(program, location, x, y, z); - nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); - nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); - - void *pointerArgs[] = { - }; - - fixupGLMessage(glContext, wallStartTime, wallEndTime, - threadStartTime, threadEndTime, - &glmsg, pointerArgs); - glContext->traceGLMessage(&glmsg); -} - -void GLTrace_glProgramUniform4iEXT(GLuint program, GLint location, GLint x, GLint y, GLint z, GLint w) { - GLMessage glmsg; - GLTraceContext *glContext = getGLTraceContext(); - - glmsg.set_function(GLMessage::glProgramUniform4iEXT); - - // copy argument program - GLMessage_DataType *arg_program = glmsg.add_args(); - arg_program->set_isarray(false); - arg_program->set_type(GLMessage::DataType::INT); - arg_program->add_intvalue(program); - - // copy argument location - GLMessage_DataType *arg_location = glmsg.add_args(); - arg_location->set_isarray(false); - arg_location->set_type(GLMessage::DataType::INT); - arg_location->add_intvalue(location); - - // copy argument x - GLMessage_DataType *arg_x = glmsg.add_args(); - arg_x->set_isarray(false); - arg_x->set_type(GLMessage::DataType::INT); - arg_x->add_intvalue(x); - - // copy argument y - GLMessage_DataType *arg_y = glmsg.add_args(); - arg_y->set_isarray(false); - arg_y->set_type(GLMessage::DataType::INT); - arg_y->add_intvalue(y); - - // copy argument z - GLMessage_DataType *arg_z = glmsg.add_args(); - arg_z->set_isarray(false); - arg_z->set_type(GLMessage::DataType::INT); - arg_z->add_intvalue(z); - - // copy argument w - GLMessage_DataType *arg_w = glmsg.add_args(); - arg_w->set_isarray(false); - arg_w->set_type(GLMessage::DataType::INT); - arg_w->add_intvalue(w); - - // call function - nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); - nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glProgramUniform4iEXT(program, location, x, y, z, w); - nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); - nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); - - void *pointerArgs[] = { - }; - - fixupGLMessage(glContext, wallStartTime, wallEndTime, - threadStartTime, threadEndTime, - &glmsg, pointerArgs); - glContext->traceGLMessage(&glmsg); -} - -void GLTrace_glProgramUniform1fEXT(GLuint program, GLint location, GLfloat x) { +void GLTrace_glProgramUniform1fEXT(GLuint program, GLint location, GLfloat v0) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -13374,16 +14887,16 @@ void GLTrace_glProgramUniform1fEXT(GLuint program, GLint location, GLfloat x) { arg_location->set_type(GLMessage::DataType::INT); arg_location->add_intvalue(location); - // copy argument x - GLMessage_DataType *arg_x = glmsg.add_args(); - arg_x->set_isarray(false); - arg_x->set_type(GLMessage::DataType::FLOAT); - arg_x->add_floatvalue(x); + // copy argument v0 + GLMessage_DataType *arg_v0 = glmsg.add_args(); + arg_v0->set_isarray(false); + arg_v0->set_type(GLMessage::DataType::FLOAT); + arg_v0->add_floatvalue(v0); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glProgramUniform1fEXT(program, location, x); + glContext->hooks->gl.glProgramUniform1fEXT(program, location, v0); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -13396,351 +14909,7 @@ void GLTrace_glProgramUniform1fEXT(GLuint program, GLint location, GLfloat x) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glProgramUniform2fEXT(GLuint program, GLint location, GLfloat x, GLfloat y) { - GLMessage glmsg; - GLTraceContext *glContext = getGLTraceContext(); - - glmsg.set_function(GLMessage::glProgramUniform2fEXT); - - // copy argument program - GLMessage_DataType *arg_program = glmsg.add_args(); - arg_program->set_isarray(false); - arg_program->set_type(GLMessage::DataType::INT); - arg_program->add_intvalue(program); - - // copy argument location - GLMessage_DataType *arg_location = glmsg.add_args(); - arg_location->set_isarray(false); - arg_location->set_type(GLMessage::DataType::INT); - arg_location->add_intvalue(location); - - // copy argument x - GLMessage_DataType *arg_x = glmsg.add_args(); - arg_x->set_isarray(false); - arg_x->set_type(GLMessage::DataType::FLOAT); - arg_x->add_floatvalue(x); - - // copy argument y - GLMessage_DataType *arg_y = glmsg.add_args(); - arg_y->set_isarray(false); - arg_y->set_type(GLMessage::DataType::FLOAT); - arg_y->add_floatvalue(y); - - // call function - nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); - nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glProgramUniform2fEXT(program, location, x, y); - nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); - nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); - - void *pointerArgs[] = { - }; - - fixupGLMessage(glContext, wallStartTime, wallEndTime, - threadStartTime, threadEndTime, - &glmsg, pointerArgs); - glContext->traceGLMessage(&glmsg); -} - -void GLTrace_glProgramUniform3fEXT(GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z) { - GLMessage glmsg; - GLTraceContext *glContext = getGLTraceContext(); - - glmsg.set_function(GLMessage::glProgramUniform3fEXT); - - // copy argument program - GLMessage_DataType *arg_program = glmsg.add_args(); - arg_program->set_isarray(false); - arg_program->set_type(GLMessage::DataType::INT); - arg_program->add_intvalue(program); - - // copy argument location - GLMessage_DataType *arg_location = glmsg.add_args(); - arg_location->set_isarray(false); - arg_location->set_type(GLMessage::DataType::INT); - arg_location->add_intvalue(location); - - // copy argument x - GLMessage_DataType *arg_x = glmsg.add_args(); - arg_x->set_isarray(false); - arg_x->set_type(GLMessage::DataType::FLOAT); - arg_x->add_floatvalue(x); - - // copy argument y - GLMessage_DataType *arg_y = glmsg.add_args(); - arg_y->set_isarray(false); - arg_y->set_type(GLMessage::DataType::FLOAT); - arg_y->add_floatvalue(y); - - // copy argument z - GLMessage_DataType *arg_z = glmsg.add_args(); - arg_z->set_isarray(false); - arg_z->set_type(GLMessage::DataType::FLOAT); - arg_z->add_floatvalue(z); - - // call function - nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); - nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glProgramUniform3fEXT(program, location, x, y, z); - nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); - nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); - - void *pointerArgs[] = { - }; - - fixupGLMessage(glContext, wallStartTime, wallEndTime, - threadStartTime, threadEndTime, - &glmsg, pointerArgs); - glContext->traceGLMessage(&glmsg); -} - -void GLTrace_glProgramUniform4fEXT(GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { - GLMessage glmsg; - GLTraceContext *glContext = getGLTraceContext(); - - glmsg.set_function(GLMessage::glProgramUniform4fEXT); - - // copy argument program - GLMessage_DataType *arg_program = glmsg.add_args(); - arg_program->set_isarray(false); - arg_program->set_type(GLMessage::DataType::INT); - arg_program->add_intvalue(program); - - // copy argument location - GLMessage_DataType *arg_location = glmsg.add_args(); - arg_location->set_isarray(false); - arg_location->set_type(GLMessage::DataType::INT); - arg_location->add_intvalue(location); - - // copy argument x - GLMessage_DataType *arg_x = glmsg.add_args(); - arg_x->set_isarray(false); - arg_x->set_type(GLMessage::DataType::FLOAT); - arg_x->add_floatvalue(x); - - // copy argument y - GLMessage_DataType *arg_y = glmsg.add_args(); - arg_y->set_isarray(false); - arg_y->set_type(GLMessage::DataType::FLOAT); - arg_y->add_floatvalue(y); - - // copy argument z - GLMessage_DataType *arg_z = glmsg.add_args(); - arg_z->set_isarray(false); - arg_z->set_type(GLMessage::DataType::FLOAT); - arg_z->add_floatvalue(z); - - // copy argument w - GLMessage_DataType *arg_w = glmsg.add_args(); - arg_w->set_isarray(false); - arg_w->set_type(GLMessage::DataType::FLOAT); - arg_w->add_floatvalue(w); - - // call function - nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); - nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glProgramUniform4fEXT(program, location, x, y, z, w); - nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); - nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); - - void *pointerArgs[] = { - }; - - fixupGLMessage(glContext, wallStartTime, wallEndTime, - threadStartTime, threadEndTime, - &glmsg, pointerArgs); - glContext->traceGLMessage(&glmsg); -} - -void GLTrace_glProgramUniform1ivEXT(GLuint program, GLint location, GLsizei count, const GLint *value) { - GLMessage glmsg; - GLTraceContext *glContext = getGLTraceContext(); - - glmsg.set_function(GLMessage::glProgramUniform1ivEXT); - - // copy argument program - GLMessage_DataType *arg_program = glmsg.add_args(); - arg_program->set_isarray(false); - arg_program->set_type(GLMessage::DataType::INT); - arg_program->add_intvalue(program); - - // copy argument location - GLMessage_DataType *arg_location = glmsg.add_args(); - arg_location->set_isarray(false); - arg_location->set_type(GLMessage::DataType::INT); - arg_location->add_intvalue(location); - - // copy argument count - GLMessage_DataType *arg_count = glmsg.add_args(); - arg_count->set_isarray(false); - arg_count->set_type(GLMessage::DataType::INT); - arg_count->add_intvalue(count); - - // copy argument value - GLMessage_DataType *arg_value = glmsg.add_args(); - arg_value->set_isarray(false); - arg_value->set_type(GLMessage::DataType::INT64); - arg_value->add_int64value((uintptr_t)value); - - // call function - nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); - nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glProgramUniform1ivEXT(program, location, count, value); - nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); - nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); - - void *pointerArgs[] = { - (void *) value, - }; - - fixupGLMessage(glContext, wallStartTime, wallEndTime, - threadStartTime, threadEndTime, - &glmsg, pointerArgs); - glContext->traceGLMessage(&glmsg); -} - -void GLTrace_glProgramUniform2ivEXT(GLuint program, GLint location, GLsizei count, const GLint *value) { - GLMessage glmsg; - GLTraceContext *glContext = getGLTraceContext(); - - glmsg.set_function(GLMessage::glProgramUniform2ivEXT); - - // copy argument program - GLMessage_DataType *arg_program = glmsg.add_args(); - arg_program->set_isarray(false); - arg_program->set_type(GLMessage::DataType::INT); - arg_program->add_intvalue(program); - - // copy argument location - GLMessage_DataType *arg_location = glmsg.add_args(); - arg_location->set_isarray(false); - arg_location->set_type(GLMessage::DataType::INT); - arg_location->add_intvalue(location); - - // copy argument count - GLMessage_DataType *arg_count = glmsg.add_args(); - arg_count->set_isarray(false); - arg_count->set_type(GLMessage::DataType::INT); - arg_count->add_intvalue(count); - - // copy argument value - GLMessage_DataType *arg_value = glmsg.add_args(); - arg_value->set_isarray(false); - arg_value->set_type(GLMessage::DataType::INT64); - arg_value->add_int64value((uintptr_t)value); - - // call function - nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); - nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glProgramUniform2ivEXT(program, location, count, value); - nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); - nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); - - void *pointerArgs[] = { - (void *) value, - }; - - fixupGLMessage(glContext, wallStartTime, wallEndTime, - threadStartTime, threadEndTime, - &glmsg, pointerArgs); - glContext->traceGLMessage(&glmsg); -} - -void GLTrace_glProgramUniform3ivEXT(GLuint program, GLint location, GLsizei count, const GLint *value) { - GLMessage glmsg; - GLTraceContext *glContext = getGLTraceContext(); - - glmsg.set_function(GLMessage::glProgramUniform3ivEXT); - - // copy argument program - GLMessage_DataType *arg_program = glmsg.add_args(); - arg_program->set_isarray(false); - arg_program->set_type(GLMessage::DataType::INT); - arg_program->add_intvalue(program); - - // copy argument location - GLMessage_DataType *arg_location = glmsg.add_args(); - arg_location->set_isarray(false); - arg_location->set_type(GLMessage::DataType::INT); - arg_location->add_intvalue(location); - - // copy argument count - GLMessage_DataType *arg_count = glmsg.add_args(); - arg_count->set_isarray(false); - arg_count->set_type(GLMessage::DataType::INT); - arg_count->add_intvalue(count); - - // copy argument value - GLMessage_DataType *arg_value = glmsg.add_args(); - arg_value->set_isarray(false); - arg_value->set_type(GLMessage::DataType::INT64); - arg_value->add_int64value((uintptr_t)value); - - // call function - nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); - nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glProgramUniform3ivEXT(program, location, count, value); - nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); - nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); - - void *pointerArgs[] = { - (void *) value, - }; - - fixupGLMessage(glContext, wallStartTime, wallEndTime, - threadStartTime, threadEndTime, - &glmsg, pointerArgs); - glContext->traceGLMessage(&glmsg); -} - -void GLTrace_glProgramUniform4ivEXT(GLuint program, GLint location, GLsizei count, const GLint *value) { - GLMessage glmsg; - GLTraceContext *glContext = getGLTraceContext(); - - glmsg.set_function(GLMessage::glProgramUniform4ivEXT); - - // copy argument program - GLMessage_DataType *arg_program = glmsg.add_args(); - arg_program->set_isarray(false); - arg_program->set_type(GLMessage::DataType::INT); - arg_program->add_intvalue(program); - - // copy argument location - GLMessage_DataType *arg_location = glmsg.add_args(); - arg_location->set_isarray(false); - arg_location->set_type(GLMessage::DataType::INT); - arg_location->add_intvalue(location); - - // copy argument count - GLMessage_DataType *arg_count = glmsg.add_args(); - arg_count->set_isarray(false); - arg_count->set_type(GLMessage::DataType::INT); - arg_count->add_intvalue(count); - - // copy argument value - GLMessage_DataType *arg_value = glmsg.add_args(); - arg_value->set_isarray(false); - arg_value->set_type(GLMessage::DataType::INT64); - arg_value->add_int64value((uintptr_t)value); - - // call function - nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); - nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glProgramUniform4ivEXT(program, location, count, value); - nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); - nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); - - void *pointerArgs[] = { - (void *) value, - }; - - fixupGLMessage(glContext, wallStartTime, wallEndTime, - threadStartTime, threadEndTime, - &glmsg, pointerArgs); - glContext->traceGLMessage(&glmsg); -} - -void GLTrace_glProgramUniform1fvEXT(GLuint program, GLint location, GLsizei count, const GLfloat *value) { +void GLTrace_glProgramUniform1fvEXT(GLuint program, GLint location, GLsizei count, const GLfloat * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -13787,7 +14956,140 @@ void GLTrace_glProgramUniform1fvEXT(GLuint program, GLint location, GLsizei coun glContext->traceGLMessage(&glmsg); } -void GLTrace_glProgramUniform2fvEXT(GLuint program, GLint location, GLsizei count, const GLfloat *value) { +void GLTrace_glProgramUniform1iEXT(GLuint program, GLint location, GLint v0) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glProgramUniform1iEXT); + + // copy argument program + GLMessage_DataType *arg_program = glmsg.add_args(); + arg_program->set_isarray(false); + arg_program->set_type(GLMessage::DataType::INT); + arg_program->add_intvalue(program); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); + + // copy argument v0 + GLMessage_DataType *arg_v0 = glmsg.add_args(); + arg_v0->set_isarray(false); + arg_v0->set_type(GLMessage::DataType::INT); + arg_v0->add_intvalue(v0); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glProgramUniform1iEXT(program, location, v0); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glProgramUniform1ivEXT(GLuint program, GLint location, GLsizei count, const GLint * value) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glProgramUniform1ivEXT); + + // copy argument program + GLMessage_DataType *arg_program = glmsg.add_args(); + arg_program->set_isarray(false); + arg_program->set_type(GLMessage::DataType::INT); + arg_program->add_intvalue(program); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); + + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT); + arg_count->add_intvalue(count); + + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::INT64); + arg_value->add_int64value((uintptr_t)value); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glProgramUniform1ivEXT(program, location, count, value); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) value, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glProgramUniform2fEXT(GLuint program, GLint location, GLfloat v0, GLfloat v1) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glProgramUniform2fEXT); + + // copy argument program + GLMessage_DataType *arg_program = glmsg.add_args(); + arg_program->set_isarray(false); + arg_program->set_type(GLMessage::DataType::INT); + arg_program->add_intvalue(program); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); + + // copy argument v0 + GLMessage_DataType *arg_v0 = glmsg.add_args(); + arg_v0->set_isarray(false); + arg_v0->set_type(GLMessage::DataType::FLOAT); + arg_v0->add_floatvalue(v0); + + // copy argument v1 + GLMessage_DataType *arg_v1 = glmsg.add_args(); + arg_v1->set_isarray(false); + arg_v1->set_type(GLMessage::DataType::FLOAT); + arg_v1->add_floatvalue(v1); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glProgramUniform2fEXT(program, location, v0, v1); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glProgramUniform2fvEXT(GLuint program, GLint location, GLsizei count, const GLfloat * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -13834,7 +15136,152 @@ void GLTrace_glProgramUniform2fvEXT(GLuint program, GLint location, GLsizei coun glContext->traceGLMessage(&glmsg); } -void GLTrace_glProgramUniform3fvEXT(GLuint program, GLint location, GLsizei count, const GLfloat *value) { +void GLTrace_glProgramUniform2iEXT(GLuint program, GLint location, GLint v0, GLint v1) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glProgramUniform2iEXT); + + // copy argument program + GLMessage_DataType *arg_program = glmsg.add_args(); + arg_program->set_isarray(false); + arg_program->set_type(GLMessage::DataType::INT); + arg_program->add_intvalue(program); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); + + // copy argument v0 + GLMessage_DataType *arg_v0 = glmsg.add_args(); + arg_v0->set_isarray(false); + arg_v0->set_type(GLMessage::DataType::INT); + arg_v0->add_intvalue(v0); + + // copy argument v1 + GLMessage_DataType *arg_v1 = glmsg.add_args(); + arg_v1->set_isarray(false); + arg_v1->set_type(GLMessage::DataType::INT); + arg_v1->add_intvalue(v1); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glProgramUniform2iEXT(program, location, v0, v1); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glProgramUniform2ivEXT(GLuint program, GLint location, GLsizei count, const GLint * value) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glProgramUniform2ivEXT); + + // copy argument program + GLMessage_DataType *arg_program = glmsg.add_args(); + arg_program->set_isarray(false); + arg_program->set_type(GLMessage::DataType::INT); + arg_program->add_intvalue(program); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); + + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT); + arg_count->add_intvalue(count); + + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::INT64); + arg_value->add_int64value((uintptr_t)value); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glProgramUniform2ivEXT(program, location, count, value); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) value, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glProgramUniform3fEXT(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glProgramUniform3fEXT); + + // copy argument program + GLMessage_DataType *arg_program = glmsg.add_args(); + arg_program->set_isarray(false); + arg_program->set_type(GLMessage::DataType::INT); + arg_program->add_intvalue(program); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); + + // copy argument v0 + GLMessage_DataType *arg_v0 = glmsg.add_args(); + arg_v0->set_isarray(false); + arg_v0->set_type(GLMessage::DataType::FLOAT); + arg_v0->add_floatvalue(v0); + + // copy argument v1 + GLMessage_DataType *arg_v1 = glmsg.add_args(); + arg_v1->set_isarray(false); + arg_v1->set_type(GLMessage::DataType::FLOAT); + arg_v1->add_floatvalue(v1); + + // copy argument v2 + GLMessage_DataType *arg_v2 = glmsg.add_args(); + arg_v2->set_isarray(false); + arg_v2->set_type(GLMessage::DataType::FLOAT); + arg_v2->add_floatvalue(v2); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glProgramUniform3fEXT(program, location, v0, v1, v2); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glProgramUniform3fvEXT(GLuint program, GLint location, GLsizei count, const GLfloat * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -13881,7 +15328,164 @@ void GLTrace_glProgramUniform3fvEXT(GLuint program, GLint location, GLsizei coun glContext->traceGLMessage(&glmsg); } -void GLTrace_glProgramUniform4fvEXT(GLuint program, GLint location, GLsizei count, const GLfloat *value) { +void GLTrace_glProgramUniform3iEXT(GLuint program, GLint location, GLint v0, GLint v1, GLint v2) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glProgramUniform3iEXT); + + // copy argument program + GLMessage_DataType *arg_program = glmsg.add_args(); + arg_program->set_isarray(false); + arg_program->set_type(GLMessage::DataType::INT); + arg_program->add_intvalue(program); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); + + // copy argument v0 + GLMessage_DataType *arg_v0 = glmsg.add_args(); + arg_v0->set_isarray(false); + arg_v0->set_type(GLMessage::DataType::INT); + arg_v0->add_intvalue(v0); + + // copy argument v1 + GLMessage_DataType *arg_v1 = glmsg.add_args(); + arg_v1->set_isarray(false); + arg_v1->set_type(GLMessage::DataType::INT); + arg_v1->add_intvalue(v1); + + // copy argument v2 + GLMessage_DataType *arg_v2 = glmsg.add_args(); + arg_v2->set_isarray(false); + arg_v2->set_type(GLMessage::DataType::INT); + arg_v2->add_intvalue(v2); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glProgramUniform3iEXT(program, location, v0, v1, v2); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glProgramUniform3ivEXT(GLuint program, GLint location, GLsizei count, const GLint * value) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glProgramUniform3ivEXT); + + // copy argument program + GLMessage_DataType *arg_program = glmsg.add_args(); + arg_program->set_isarray(false); + arg_program->set_type(GLMessage::DataType::INT); + arg_program->add_intvalue(program); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); + + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT); + arg_count->add_intvalue(count); + + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::INT64); + arg_value->add_int64value((uintptr_t)value); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glProgramUniform3ivEXT(program, location, count, value); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) value, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glProgramUniform4fEXT(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glProgramUniform4fEXT); + + // copy argument program + GLMessage_DataType *arg_program = glmsg.add_args(); + arg_program->set_isarray(false); + arg_program->set_type(GLMessage::DataType::INT); + arg_program->add_intvalue(program); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); + + // copy argument v0 + GLMessage_DataType *arg_v0 = glmsg.add_args(); + arg_v0->set_isarray(false); + arg_v0->set_type(GLMessage::DataType::FLOAT); + arg_v0->add_floatvalue(v0); + + // copy argument v1 + GLMessage_DataType *arg_v1 = glmsg.add_args(); + arg_v1->set_isarray(false); + arg_v1->set_type(GLMessage::DataType::FLOAT); + arg_v1->add_floatvalue(v1); + + // copy argument v2 + GLMessage_DataType *arg_v2 = glmsg.add_args(); + arg_v2->set_isarray(false); + arg_v2->set_type(GLMessage::DataType::FLOAT); + arg_v2->add_floatvalue(v2); + + // copy argument v3 + GLMessage_DataType *arg_v3 = glmsg.add_args(); + arg_v3->set_isarray(false); + arg_v3->set_type(GLMessage::DataType::FLOAT); + arg_v3->add_floatvalue(v3); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glProgramUniform4fEXT(program, location, v0, v1, v2, v3); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glProgramUniform4fvEXT(GLuint program, GLint location, GLsizei count, const GLfloat * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -13928,7 +15532,112 @@ void GLTrace_glProgramUniform4fvEXT(GLuint program, GLint location, GLsizei coun glContext->traceGLMessage(&glmsg); } -void GLTrace_glProgramUniformMatrix2fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) { +void GLTrace_glProgramUniform4iEXT(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glProgramUniform4iEXT); + + // copy argument program + GLMessage_DataType *arg_program = glmsg.add_args(); + arg_program->set_isarray(false); + arg_program->set_type(GLMessage::DataType::INT); + arg_program->add_intvalue(program); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); + + // copy argument v0 + GLMessage_DataType *arg_v0 = glmsg.add_args(); + arg_v0->set_isarray(false); + arg_v0->set_type(GLMessage::DataType::INT); + arg_v0->add_intvalue(v0); + + // copy argument v1 + GLMessage_DataType *arg_v1 = glmsg.add_args(); + arg_v1->set_isarray(false); + arg_v1->set_type(GLMessage::DataType::INT); + arg_v1->add_intvalue(v1); + + // copy argument v2 + GLMessage_DataType *arg_v2 = glmsg.add_args(); + arg_v2->set_isarray(false); + arg_v2->set_type(GLMessage::DataType::INT); + arg_v2->add_intvalue(v2); + + // copy argument v3 + GLMessage_DataType *arg_v3 = glmsg.add_args(); + arg_v3->set_isarray(false); + arg_v3->set_type(GLMessage::DataType::INT); + arg_v3->add_intvalue(v3); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glProgramUniform4iEXT(program, location, v0, v1, v2, v3); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glProgramUniform4ivEXT(GLuint program, GLint location, GLsizei count, const GLint * value) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glProgramUniform4ivEXT); + + // copy argument program + GLMessage_DataType *arg_program = glmsg.add_args(); + arg_program->set_isarray(false); + arg_program->set_type(GLMessage::DataType::INT); + arg_program->add_intvalue(program); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); + + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT); + arg_count->add_intvalue(count); + + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::INT64); + arg_value->add_int64value((uintptr_t)value); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glProgramUniform4ivEXT(program, location, count, value); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) value, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glProgramUniformMatrix2fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -13981,7 +15690,7 @@ void GLTrace_glProgramUniformMatrix2fvEXT(GLuint program, GLint location, GLsize glContext->traceGLMessage(&glmsg); } -void GLTrace_glProgramUniformMatrix3fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) { +void GLTrace_glProgramUniformMatrix3fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -14034,7 +15743,7 @@ void GLTrace_glProgramUniformMatrix3fvEXT(GLuint program, GLint location, GLsize glContext->traceGLMessage(&glmsg); } -void GLTrace_glProgramUniformMatrix4fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) { +void GLTrace_glProgramUniformMatrix4fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -14087,6 +15796,46 @@ void GLTrace_glProgramUniformMatrix4fvEXT(GLuint program, GLint location, GLsize glContext->traceGLMessage(&glmsg); } +void GLTrace_glUseProgramStagesEXT(GLuint pipeline, GLbitfield stages, GLuint program) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glUseProgramStagesEXT); + + // copy argument pipeline + GLMessage_DataType *arg_pipeline = glmsg.add_args(); + arg_pipeline->set_isarray(false); + arg_pipeline->set_type(GLMessage::DataType::INT); + arg_pipeline->add_intvalue(pipeline); + + // copy argument stages + GLMessage_DataType *arg_stages = glmsg.add_args(); + arg_stages->set_isarray(false); + arg_stages->set_type(GLMessage::DataType::INT); + arg_stages->add_intvalue(stages); + + // copy argument program + GLMessage_DataType *arg_program = glmsg.add_args(); + arg_program->set_isarray(false); + arg_program->set_type(GLMessage::DataType::INT); + arg_program->add_intvalue(program); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glUseProgramStagesEXT(pipeline, stages, program); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + void GLTrace_glValidateProgramPipelineEXT(GLuint pipeline) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -14115,46 +15864,700 @@ void GLTrace_glValidateProgramPipelineEXT(GLuint pipeline) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetProgramPipelineInfoLogEXT(GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog) { +void GLTrace_glProgramUniform1uiEXT(GLuint program, GLint location, GLuint v0) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); - glmsg.set_function(GLMessage::glGetProgramPipelineInfoLogEXT); + glmsg.set_function(GLMessage::glProgramUniform1uiEXT); - // copy argument pipeline - GLMessage_DataType *arg_pipeline = glmsg.add_args(); - arg_pipeline->set_isarray(false); - arg_pipeline->set_type(GLMessage::DataType::INT); - arg_pipeline->add_intvalue(pipeline); + // copy argument program + GLMessage_DataType *arg_program = glmsg.add_args(); + arg_program->set_isarray(false); + arg_program->set_type(GLMessage::DataType::INT); + arg_program->add_intvalue(program); - // copy argument bufSize - GLMessage_DataType *arg_bufSize = glmsg.add_args(); - arg_bufSize->set_isarray(false); - arg_bufSize->set_type(GLMessage::DataType::INT); - arg_bufSize->add_intvalue(bufSize); + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); - // copy argument length - GLMessage_DataType *arg_length = glmsg.add_args(); - arg_length->set_isarray(false); - arg_length->set_type(GLMessage::DataType::INT64); - arg_length->add_int64value((uintptr_t)length); - - // copy argument infoLog - GLMessage_DataType *arg_infoLog = glmsg.add_args(); - arg_infoLog->set_isarray(false); - arg_infoLog->set_type(GLMessage::DataType::INT64); - arg_infoLog->add_int64value((uintptr_t)infoLog); + // copy argument v0 + GLMessage_DataType *arg_v0 = glmsg.add_args(); + arg_v0->set_isarray(false); + arg_v0->set_type(GLMessage::DataType::INT); + arg_v0->add_intvalue(v0); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glGetProgramPipelineInfoLogEXT(pipeline, bufSize, length, infoLog); + glContext->hooks->gl.glProgramUniform1uiEXT(program, location, v0); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { - (void *) length, - (void *) infoLog, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glProgramUniform2uiEXT(GLuint program, GLint location, GLuint v0, GLuint v1) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glProgramUniform2uiEXT); + + // copy argument program + GLMessage_DataType *arg_program = glmsg.add_args(); + arg_program->set_isarray(false); + arg_program->set_type(GLMessage::DataType::INT); + arg_program->add_intvalue(program); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); + + // copy argument v0 + GLMessage_DataType *arg_v0 = glmsg.add_args(); + arg_v0->set_isarray(false); + arg_v0->set_type(GLMessage::DataType::INT); + arg_v0->add_intvalue(v0); + + // copy argument v1 + GLMessage_DataType *arg_v1 = glmsg.add_args(); + arg_v1->set_isarray(false); + arg_v1->set_type(GLMessage::DataType::INT); + arg_v1->add_intvalue(v1); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glProgramUniform2uiEXT(program, location, v0, v1); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glProgramUniform3uiEXT(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glProgramUniform3uiEXT); + + // copy argument program + GLMessage_DataType *arg_program = glmsg.add_args(); + arg_program->set_isarray(false); + arg_program->set_type(GLMessage::DataType::INT); + arg_program->add_intvalue(program); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); + + // copy argument v0 + GLMessage_DataType *arg_v0 = glmsg.add_args(); + arg_v0->set_isarray(false); + arg_v0->set_type(GLMessage::DataType::INT); + arg_v0->add_intvalue(v0); + + // copy argument v1 + GLMessage_DataType *arg_v1 = glmsg.add_args(); + arg_v1->set_isarray(false); + arg_v1->set_type(GLMessage::DataType::INT); + arg_v1->add_intvalue(v1); + + // copy argument v2 + GLMessage_DataType *arg_v2 = glmsg.add_args(); + arg_v2->set_isarray(false); + arg_v2->set_type(GLMessage::DataType::INT); + arg_v2->add_intvalue(v2); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glProgramUniform3uiEXT(program, location, v0, v1, v2); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glProgramUniform4uiEXT(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glProgramUniform4uiEXT); + + // copy argument program + GLMessage_DataType *arg_program = glmsg.add_args(); + arg_program->set_isarray(false); + arg_program->set_type(GLMessage::DataType::INT); + arg_program->add_intvalue(program); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); + + // copy argument v0 + GLMessage_DataType *arg_v0 = glmsg.add_args(); + arg_v0->set_isarray(false); + arg_v0->set_type(GLMessage::DataType::INT); + arg_v0->add_intvalue(v0); + + // copy argument v1 + GLMessage_DataType *arg_v1 = glmsg.add_args(); + arg_v1->set_isarray(false); + arg_v1->set_type(GLMessage::DataType::INT); + arg_v1->add_intvalue(v1); + + // copy argument v2 + GLMessage_DataType *arg_v2 = glmsg.add_args(); + arg_v2->set_isarray(false); + arg_v2->set_type(GLMessage::DataType::INT); + arg_v2->add_intvalue(v2); + + // copy argument v3 + GLMessage_DataType *arg_v3 = glmsg.add_args(); + arg_v3->set_isarray(false); + arg_v3->set_type(GLMessage::DataType::INT); + arg_v3->add_intvalue(v3); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glProgramUniform4uiEXT(program, location, v0, v1, v2, v3); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glProgramUniform1uivEXT(GLuint program, GLint location, GLsizei count, const GLuint * value) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glProgramUniform1uivEXT); + + // copy argument program + GLMessage_DataType *arg_program = glmsg.add_args(); + arg_program->set_isarray(false); + arg_program->set_type(GLMessage::DataType::INT); + arg_program->add_intvalue(program); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); + + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT); + arg_count->add_intvalue(count); + + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::INT64); + arg_value->add_int64value((uintptr_t)value); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glProgramUniform1uivEXT(program, location, count, value); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) value, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glProgramUniform2uivEXT(GLuint program, GLint location, GLsizei count, const GLuint * value) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glProgramUniform2uivEXT); + + // copy argument program + GLMessage_DataType *arg_program = glmsg.add_args(); + arg_program->set_isarray(false); + arg_program->set_type(GLMessage::DataType::INT); + arg_program->add_intvalue(program); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); + + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT); + arg_count->add_intvalue(count); + + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::INT64); + arg_value->add_int64value((uintptr_t)value); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glProgramUniform2uivEXT(program, location, count, value); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) value, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glProgramUniform3uivEXT(GLuint program, GLint location, GLsizei count, const GLuint * value) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glProgramUniform3uivEXT); + + // copy argument program + GLMessage_DataType *arg_program = glmsg.add_args(); + arg_program->set_isarray(false); + arg_program->set_type(GLMessage::DataType::INT); + arg_program->add_intvalue(program); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); + + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT); + arg_count->add_intvalue(count); + + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::INT64); + arg_value->add_int64value((uintptr_t)value); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glProgramUniform3uivEXT(program, location, count, value); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) value, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glProgramUniform4uivEXT(GLuint program, GLint location, GLsizei count, const GLuint * value) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glProgramUniform4uivEXT); + + // copy argument program + GLMessage_DataType *arg_program = glmsg.add_args(); + arg_program->set_isarray(false); + arg_program->set_type(GLMessage::DataType::INT); + arg_program->add_intvalue(program); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); + + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT); + arg_count->add_intvalue(count); + + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::INT64); + arg_value->add_int64value((uintptr_t)value); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glProgramUniform4uivEXT(program, location, count, value); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) value, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glProgramUniformMatrix2x3fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glProgramUniformMatrix2x3fvEXT); + + // copy argument program + GLMessage_DataType *arg_program = glmsg.add_args(); + arg_program->set_isarray(false); + arg_program->set_type(GLMessage::DataType::INT); + arg_program->add_intvalue(program); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); + + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT); + arg_count->add_intvalue(count); + + // copy argument transpose + GLMessage_DataType *arg_transpose = glmsg.add_args(); + arg_transpose->set_isarray(false); + arg_transpose->set_type(GLMessage::DataType::BOOL); + arg_transpose->add_boolvalue(transpose); + + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::INT64); + arg_value->add_int64value((uintptr_t)value); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glProgramUniformMatrix2x3fvEXT(program, location, count, transpose, value); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) value, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glProgramUniformMatrix3x2fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glProgramUniformMatrix3x2fvEXT); + + // copy argument program + GLMessage_DataType *arg_program = glmsg.add_args(); + arg_program->set_isarray(false); + arg_program->set_type(GLMessage::DataType::INT); + arg_program->add_intvalue(program); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); + + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT); + arg_count->add_intvalue(count); + + // copy argument transpose + GLMessage_DataType *arg_transpose = glmsg.add_args(); + arg_transpose->set_isarray(false); + arg_transpose->set_type(GLMessage::DataType::BOOL); + arg_transpose->add_boolvalue(transpose); + + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::INT64); + arg_value->add_int64value((uintptr_t)value); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glProgramUniformMatrix3x2fvEXT(program, location, count, transpose, value); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) value, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glProgramUniformMatrix2x4fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glProgramUniformMatrix2x4fvEXT); + + // copy argument program + GLMessage_DataType *arg_program = glmsg.add_args(); + arg_program->set_isarray(false); + arg_program->set_type(GLMessage::DataType::INT); + arg_program->add_intvalue(program); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); + + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT); + arg_count->add_intvalue(count); + + // copy argument transpose + GLMessage_DataType *arg_transpose = glmsg.add_args(); + arg_transpose->set_isarray(false); + arg_transpose->set_type(GLMessage::DataType::BOOL); + arg_transpose->add_boolvalue(transpose); + + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::INT64); + arg_value->add_int64value((uintptr_t)value); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glProgramUniformMatrix2x4fvEXT(program, location, count, transpose, value); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) value, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glProgramUniformMatrix4x2fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glProgramUniformMatrix4x2fvEXT); + + // copy argument program + GLMessage_DataType *arg_program = glmsg.add_args(); + arg_program->set_isarray(false); + arg_program->set_type(GLMessage::DataType::INT); + arg_program->add_intvalue(program); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); + + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT); + arg_count->add_intvalue(count); + + // copy argument transpose + GLMessage_DataType *arg_transpose = glmsg.add_args(); + arg_transpose->set_isarray(false); + arg_transpose->set_type(GLMessage::DataType::BOOL); + arg_transpose->add_boolvalue(transpose); + + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::INT64); + arg_value->add_int64value((uintptr_t)value); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glProgramUniformMatrix4x2fvEXT(program, location, count, transpose, value); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) value, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glProgramUniformMatrix3x4fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glProgramUniformMatrix3x4fvEXT); + + // copy argument program + GLMessage_DataType *arg_program = glmsg.add_args(); + arg_program->set_isarray(false); + arg_program->set_type(GLMessage::DataType::INT); + arg_program->add_intvalue(program); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); + + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT); + arg_count->add_intvalue(count); + + // copy argument transpose + GLMessage_DataType *arg_transpose = glmsg.add_args(); + arg_transpose->set_isarray(false); + arg_transpose->set_type(GLMessage::DataType::BOOL); + arg_transpose->add_boolvalue(transpose); + + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::INT64); + arg_value->add_int64value((uintptr_t)value); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glProgramUniformMatrix3x4fvEXT(program, location, count, transpose, value); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) value, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glProgramUniformMatrix4x3fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glProgramUniformMatrix4x3fvEXT); + + // copy argument program + GLMessage_DataType *arg_program = glmsg.add_args(); + arg_program->set_isarray(false); + arg_program->set_type(GLMessage::DataType::INT); + arg_program->add_intvalue(program); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); + + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT); + arg_count->add_intvalue(count); + + // copy argument transpose + GLMessage_DataType *arg_transpose = glmsg.add_args(); + arg_transpose->set_isarray(false); + arg_transpose->set_type(GLMessage::DataType::BOOL); + arg_transpose->add_boolvalue(transpose); + + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::INT64); + arg_value->add_int64value((uintptr_t)value); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glProgramUniformMatrix4x3fvEXT(program, location, count, transpose, value); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) value, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -14603,6 +17006,551 @@ void GLTrace_glFramebufferTexture2DMultisampleIMG(GLenum target, GLenum attachme glContext->traceGLMessage(&glmsg); } +void GLTrace_glBeginPerfQueryINTEL(GLuint queryHandle) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glBeginPerfQueryINTEL); + + // copy argument queryHandle + GLMessage_DataType *arg_queryHandle = glmsg.add_args(); + arg_queryHandle->set_isarray(false); + arg_queryHandle->set_type(GLMessage::DataType::INT); + arg_queryHandle->add_intvalue(queryHandle); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glBeginPerfQueryINTEL(queryHandle); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glCreatePerfQueryINTEL(GLuint queryId, GLuint * queryHandle) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glCreatePerfQueryINTEL); + + // copy argument queryId + GLMessage_DataType *arg_queryId = glmsg.add_args(); + arg_queryId->set_isarray(false); + arg_queryId->set_type(GLMessage::DataType::INT); + arg_queryId->add_intvalue(queryId); + + // copy argument queryHandle + GLMessage_DataType *arg_queryHandle = glmsg.add_args(); + arg_queryHandle->set_isarray(false); + arg_queryHandle->set_type(GLMessage::DataType::INT64); + arg_queryHandle->add_int64value((uintptr_t)queryHandle); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glCreatePerfQueryINTEL(queryId, queryHandle); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) queryHandle, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glDeletePerfQueryINTEL(GLuint queryHandle) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glDeletePerfQueryINTEL); + + // copy argument queryHandle + GLMessage_DataType *arg_queryHandle = glmsg.add_args(); + arg_queryHandle->set_isarray(false); + arg_queryHandle->set_type(GLMessage::DataType::INT); + arg_queryHandle->add_intvalue(queryHandle); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glDeletePerfQueryINTEL(queryHandle); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glEndPerfQueryINTEL(GLuint queryHandle) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glEndPerfQueryINTEL); + + // copy argument queryHandle + GLMessage_DataType *arg_queryHandle = glmsg.add_args(); + arg_queryHandle->set_isarray(false); + arg_queryHandle->set_type(GLMessage::DataType::INT); + arg_queryHandle->add_intvalue(queryHandle); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glEndPerfQueryINTEL(queryHandle); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glGetFirstPerfQueryIdINTEL(GLuint * queryId) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glGetFirstPerfQueryIdINTEL); + + // copy argument queryId + GLMessage_DataType *arg_queryId = glmsg.add_args(); + arg_queryId->set_isarray(false); + arg_queryId->set_type(GLMessage::DataType::INT64); + arg_queryId->add_int64value((uintptr_t)queryId); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glGetFirstPerfQueryIdINTEL(queryId); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) queryId, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glGetNextPerfQueryIdINTEL(GLuint queryId, GLuint * nextQueryId) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glGetNextPerfQueryIdINTEL); + + // copy argument queryId + GLMessage_DataType *arg_queryId = glmsg.add_args(); + arg_queryId->set_isarray(false); + arg_queryId->set_type(GLMessage::DataType::INT); + arg_queryId->add_intvalue(queryId); + + // copy argument nextQueryId + GLMessage_DataType *arg_nextQueryId = glmsg.add_args(); + arg_nextQueryId->set_isarray(false); + arg_nextQueryId->set_type(GLMessage::DataType::INT64); + arg_nextQueryId->add_int64value((uintptr_t)nextQueryId); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glGetNextPerfQueryIdINTEL(queryId, nextQueryId); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) nextQueryId, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glGetPerfCounterInfoINTEL(GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar * counterName, GLuint counterDescLength, GLchar * counterDesc, GLuint * counterOffset, GLuint * counterDataSize, GLuint * counterTypeEnum, GLuint * counterDataTypeEnum, GLuint64 * rawCounterMaxValue) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glGetPerfCounterInfoINTEL); + + // copy argument queryId + GLMessage_DataType *arg_queryId = glmsg.add_args(); + arg_queryId->set_isarray(false); + arg_queryId->set_type(GLMessage::DataType::INT); + arg_queryId->add_intvalue(queryId); + + // copy argument counterId + GLMessage_DataType *arg_counterId = glmsg.add_args(); + arg_counterId->set_isarray(false); + arg_counterId->set_type(GLMessage::DataType::INT); + arg_counterId->add_intvalue(counterId); + + // copy argument counterNameLength + GLMessage_DataType *arg_counterNameLength = glmsg.add_args(); + arg_counterNameLength->set_isarray(false); + arg_counterNameLength->set_type(GLMessage::DataType::INT); + arg_counterNameLength->add_intvalue(counterNameLength); + + // copy argument counterName + GLMessage_DataType *arg_counterName = glmsg.add_args(); + arg_counterName->set_isarray(false); + arg_counterName->set_type(GLMessage::DataType::INT64); + arg_counterName->add_int64value((uintptr_t)counterName); + + // copy argument counterDescLength + GLMessage_DataType *arg_counterDescLength = glmsg.add_args(); + arg_counterDescLength->set_isarray(false); + arg_counterDescLength->set_type(GLMessage::DataType::INT); + arg_counterDescLength->add_intvalue(counterDescLength); + + // copy argument counterDesc + GLMessage_DataType *arg_counterDesc = glmsg.add_args(); + arg_counterDesc->set_isarray(false); + arg_counterDesc->set_type(GLMessage::DataType::INT64); + arg_counterDesc->add_int64value((uintptr_t)counterDesc); + + // copy argument counterOffset + GLMessage_DataType *arg_counterOffset = glmsg.add_args(); + arg_counterOffset->set_isarray(false); + arg_counterOffset->set_type(GLMessage::DataType::INT64); + arg_counterOffset->add_int64value((uintptr_t)counterOffset); + + // copy argument counterDataSize + GLMessage_DataType *arg_counterDataSize = glmsg.add_args(); + arg_counterDataSize->set_isarray(false); + arg_counterDataSize->set_type(GLMessage::DataType::INT64); + arg_counterDataSize->add_int64value((uintptr_t)counterDataSize); + + // copy argument counterTypeEnum + GLMessage_DataType *arg_counterTypeEnum = glmsg.add_args(); + arg_counterTypeEnum->set_isarray(false); + arg_counterTypeEnum->set_type(GLMessage::DataType::INT64); + arg_counterTypeEnum->add_int64value((uintptr_t)counterTypeEnum); + + // copy argument counterDataTypeEnum + GLMessage_DataType *arg_counterDataTypeEnum = glmsg.add_args(); + arg_counterDataTypeEnum->set_isarray(false); + arg_counterDataTypeEnum->set_type(GLMessage::DataType::INT64); + arg_counterDataTypeEnum->add_int64value((uintptr_t)counterDataTypeEnum); + + // copy argument rawCounterMaxValue + GLMessage_DataType *arg_rawCounterMaxValue = glmsg.add_args(); + arg_rawCounterMaxValue->set_isarray(false); + arg_rawCounterMaxValue->set_type(GLMessage::DataType::INT64); + arg_rawCounterMaxValue->add_int64value((uintptr_t)rawCounterMaxValue); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glGetPerfCounterInfoINTEL(queryId, counterId, counterNameLength, counterName, counterDescLength, counterDesc, counterOffset, counterDataSize, counterTypeEnum, counterDataTypeEnum, rawCounterMaxValue); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) counterName, + (void *) counterDesc, + (void *) counterOffset, + (void *) counterDataSize, + (void *) counterTypeEnum, + (void *) counterDataTypeEnum, + (void *) rawCounterMaxValue, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glGetPerfQueryDataINTEL(GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid * data, GLuint * bytesWritten) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glGetPerfQueryDataINTEL); + + // copy argument queryHandle + GLMessage_DataType *arg_queryHandle = glmsg.add_args(); + arg_queryHandle->set_isarray(false); + arg_queryHandle->set_type(GLMessage::DataType::INT); + arg_queryHandle->add_intvalue(queryHandle); + + // copy argument flags + GLMessage_DataType *arg_flags = glmsg.add_args(); + arg_flags->set_isarray(false); + arg_flags->set_type(GLMessage::DataType::INT); + arg_flags->add_intvalue(flags); + + // copy argument dataSize + GLMessage_DataType *arg_dataSize = glmsg.add_args(); + arg_dataSize->set_isarray(false); + arg_dataSize->set_type(GLMessage::DataType::INT); + arg_dataSize->add_intvalue(dataSize); + + // copy argument data + GLMessage_DataType *arg_data = glmsg.add_args(); + arg_data->set_isarray(false); + arg_data->set_type(GLMessage::DataType::INT64); + arg_data->add_int64value((uintptr_t)data); + + // copy argument bytesWritten + GLMessage_DataType *arg_bytesWritten = glmsg.add_args(); + arg_bytesWritten->set_isarray(false); + arg_bytesWritten->set_type(GLMessage::DataType::INT64); + arg_bytesWritten->add_int64value((uintptr_t)bytesWritten); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glGetPerfQueryDataINTEL(queryHandle, flags, dataSize, data, bytesWritten); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) data, + (void *) bytesWritten, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glGetPerfQueryIdByNameINTEL(GLchar * queryName, GLuint * queryId) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glGetPerfQueryIdByNameINTEL); + + // copy argument queryName + GLMessage_DataType *arg_queryName = glmsg.add_args(); + arg_queryName->set_isarray(false); + arg_queryName->set_type(GLMessage::DataType::INT64); + arg_queryName->add_int64value((uintptr_t)queryName); + + // copy argument queryId + GLMessage_DataType *arg_queryId = glmsg.add_args(); + arg_queryId->set_isarray(false); + arg_queryId->set_type(GLMessage::DataType::INT64); + arg_queryId->add_int64value((uintptr_t)queryId); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glGetPerfQueryIdByNameINTEL(queryName, queryId); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) queryName, + (void *) queryId, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glGetPerfQueryInfoINTEL(GLuint queryId, GLuint queryNameLength, GLchar * queryName, GLuint * dataSize, GLuint * noCounters, GLuint * noInstances, GLuint * capsMask) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glGetPerfQueryInfoINTEL); + + // copy argument queryId + GLMessage_DataType *arg_queryId = glmsg.add_args(); + arg_queryId->set_isarray(false); + arg_queryId->set_type(GLMessage::DataType::INT); + arg_queryId->add_intvalue(queryId); + + // copy argument queryNameLength + GLMessage_DataType *arg_queryNameLength = glmsg.add_args(); + arg_queryNameLength->set_isarray(false); + arg_queryNameLength->set_type(GLMessage::DataType::INT); + arg_queryNameLength->add_intvalue(queryNameLength); + + // copy argument queryName + GLMessage_DataType *arg_queryName = glmsg.add_args(); + arg_queryName->set_isarray(false); + arg_queryName->set_type(GLMessage::DataType::INT64); + arg_queryName->add_int64value((uintptr_t)queryName); + + // copy argument dataSize + GLMessage_DataType *arg_dataSize = glmsg.add_args(); + arg_dataSize->set_isarray(false); + arg_dataSize->set_type(GLMessage::DataType::INT64); + arg_dataSize->add_int64value((uintptr_t)dataSize); + + // copy argument noCounters + GLMessage_DataType *arg_noCounters = glmsg.add_args(); + arg_noCounters->set_isarray(false); + arg_noCounters->set_type(GLMessage::DataType::INT64); + arg_noCounters->add_int64value((uintptr_t)noCounters); + + // copy argument noInstances + GLMessage_DataType *arg_noInstances = glmsg.add_args(); + arg_noInstances->set_isarray(false); + arg_noInstances->set_type(GLMessage::DataType::INT64); + arg_noInstances->add_int64value((uintptr_t)noInstances); + + // copy argument capsMask + GLMessage_DataType *arg_capsMask = glmsg.add_args(); + arg_capsMask->set_isarray(false); + arg_capsMask->set_type(GLMessage::DataType::INT64); + arg_capsMask->add_int64value((uintptr_t)capsMask); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glGetPerfQueryInfoINTEL(queryId, queryNameLength, queryName, dataSize, noCounters, noInstances, capsMask); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) queryName, + (void *) dataSize, + (void *) noCounters, + (void *) noInstances, + (void *) capsMask, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glBlendParameteriNV(GLenum pname, GLint value) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glBlendParameteriNV); + + // copy argument pname + GLMessage_DataType *arg_pname = glmsg.add_args(); + arg_pname->set_isarray(false); + arg_pname->set_type(GLMessage::DataType::ENUM); + arg_pname->add_intvalue((int)pname); + + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::INT); + arg_value->add_intvalue(value); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glBlendParameteriNV(pname, value); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glBlendBarrierNV(void) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glBlendBarrierNV); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glBlendBarrierNV(); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glCopyBufferSubDataNV(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glCopyBufferSubDataNV); + + // copy argument readTarget + GLMessage_DataType *arg_readTarget = glmsg.add_args(); + arg_readTarget->set_isarray(false); + arg_readTarget->set_type(GLMessage::DataType::ENUM); + arg_readTarget->add_intvalue((int)readTarget); + + // copy argument writeTarget + GLMessage_DataType *arg_writeTarget = glmsg.add_args(); + arg_writeTarget->set_isarray(false); + arg_writeTarget->set_type(GLMessage::DataType::ENUM); + arg_writeTarget->add_intvalue((int)writeTarget); + + // copy argument readOffset + GLMessage_DataType *arg_readOffset = glmsg.add_args(); + arg_readOffset->set_isarray(false); + arg_readOffset->set_type(GLMessage::DataType::INT); + arg_readOffset->add_intvalue(readOffset); + + // copy argument writeOffset + GLMessage_DataType *arg_writeOffset = glmsg.add_args(); + arg_writeOffset->set_isarray(false); + arg_writeOffset->set_type(GLMessage::DataType::INT); + arg_writeOffset->add_intvalue(writeOffset); + + // copy argument size + GLMessage_DataType *arg_size = glmsg.add_args(); + arg_size->set_isarray(false); + arg_size->set_type(GLMessage::DataType::INT); + arg_size->add_intvalue(size); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glCopyBufferSubDataNV(readTarget, writeTarget, readOffset, writeOffset, size); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + void GLTrace_glCoverageMaskNV(GLboolean mask) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -14659,7 +17607,7 @@ void GLTrace_glCoverageOperationNV(GLenum operation) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glDrawBuffersNV(GLsizei n, const GLenum *bufs) { +void GLTrace_glDrawBuffersNV(GLsizei n, const GLenum * bufs) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -14694,7 +17642,106 @@ void GLTrace_glDrawBuffersNV(GLsizei n, const GLenum *bufs) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glDeleteFencesNV(GLsizei n, const GLuint *fences) { +void GLTrace_glDrawArraysInstancedNV(GLenum mode, GLint first, GLsizei count, GLsizei primcount) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glDrawArraysInstancedNV); + + // copy argument mode + GLMessage_DataType *arg_mode = glmsg.add_args(); + arg_mode->set_isarray(false); + arg_mode->set_type(GLMessage::DataType::ENUM); + arg_mode->add_intvalue((int)mode); + + // copy argument first + GLMessage_DataType *arg_first = glmsg.add_args(); + arg_first->set_isarray(false); + arg_first->set_type(GLMessage::DataType::INT); + arg_first->add_intvalue(first); + + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT); + arg_count->add_intvalue(count); + + // copy argument primcount + GLMessage_DataType *arg_primcount = glmsg.add_args(); + arg_primcount->set_isarray(false); + arg_primcount->set_type(GLMessage::DataType::INT); + arg_primcount->add_intvalue(primcount); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glDrawArraysInstancedNV(mode, first, count, primcount); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glDrawElementsInstancedNV(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glDrawElementsInstancedNV); + + // copy argument mode + GLMessage_DataType *arg_mode = glmsg.add_args(); + arg_mode->set_isarray(false); + arg_mode->set_type(GLMessage::DataType::ENUM); + arg_mode->add_intvalue((int)mode); + + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT); + arg_count->add_intvalue(count); + + // copy argument type + GLMessage_DataType *arg_type = glmsg.add_args(); + arg_type->set_isarray(false); + arg_type->set_type(GLMessage::DataType::ENUM); + arg_type->add_intvalue((int)type); + + // copy argument indices + GLMessage_DataType *arg_indices = glmsg.add_args(); + arg_indices->set_isarray(false); + arg_indices->set_type(GLMessage::DataType::INT64); + arg_indices->add_int64value((uintptr_t)indices); + + // copy argument primcount + GLMessage_DataType *arg_primcount = glmsg.add_args(); + arg_primcount->set_isarray(false); + arg_primcount->set_type(GLMessage::DataType::INT); + arg_primcount->add_intvalue(primcount); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glDrawElementsInstancedNV(mode, count, type, indices, primcount); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) indices, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glDeleteFencesNV(GLsizei n, const GLuint * fences) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -14729,7 +17776,7 @@ void GLTrace_glDeleteFencesNV(GLsizei n, const GLuint *fences) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGenFencesNV(GLsizei n, GLuint *fences) { +void GLTrace_glGenFencesNV(GLsizei n, GLuint * fences) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -14836,7 +17883,7 @@ GLboolean GLTrace_glTestFenceNV(GLuint fence) { return retValue; } -void GLTrace_glGetFenceivNV(GLuint fence, GLenum pname, GLint *params) { +void GLTrace_glGetFenceivNV(GLuint fence, GLenum pname, GLint * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -14939,6 +17986,456 @@ void GLTrace_glSetFenceNV(GLuint fence, GLenum condition) { glContext->traceGLMessage(&glmsg); } +void GLTrace_glBlitFramebufferNV(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glBlitFramebufferNV); + + // copy argument srcX0 + GLMessage_DataType *arg_srcX0 = glmsg.add_args(); + arg_srcX0->set_isarray(false); + arg_srcX0->set_type(GLMessage::DataType::INT); + arg_srcX0->add_intvalue(srcX0); + + // copy argument srcY0 + GLMessage_DataType *arg_srcY0 = glmsg.add_args(); + arg_srcY0->set_isarray(false); + arg_srcY0->set_type(GLMessage::DataType::INT); + arg_srcY0->add_intvalue(srcY0); + + // copy argument srcX1 + GLMessage_DataType *arg_srcX1 = glmsg.add_args(); + arg_srcX1->set_isarray(false); + arg_srcX1->set_type(GLMessage::DataType::INT); + arg_srcX1->add_intvalue(srcX1); + + // copy argument srcY1 + GLMessage_DataType *arg_srcY1 = glmsg.add_args(); + arg_srcY1->set_isarray(false); + arg_srcY1->set_type(GLMessage::DataType::INT); + arg_srcY1->add_intvalue(srcY1); + + // copy argument dstX0 + GLMessage_DataType *arg_dstX0 = glmsg.add_args(); + arg_dstX0->set_isarray(false); + arg_dstX0->set_type(GLMessage::DataType::INT); + arg_dstX0->add_intvalue(dstX0); + + // copy argument dstY0 + GLMessage_DataType *arg_dstY0 = glmsg.add_args(); + arg_dstY0->set_isarray(false); + arg_dstY0->set_type(GLMessage::DataType::INT); + arg_dstY0->add_intvalue(dstY0); + + // copy argument dstX1 + GLMessage_DataType *arg_dstX1 = glmsg.add_args(); + arg_dstX1->set_isarray(false); + arg_dstX1->set_type(GLMessage::DataType::INT); + arg_dstX1->add_intvalue(dstX1); + + // copy argument dstY1 + GLMessage_DataType *arg_dstY1 = glmsg.add_args(); + arg_dstY1->set_isarray(false); + arg_dstY1->set_type(GLMessage::DataType::INT); + arg_dstY1->add_intvalue(dstY1); + + // copy argument mask + GLMessage_DataType *arg_mask = glmsg.add_args(); + arg_mask->set_isarray(false); + arg_mask->set_type(GLMessage::DataType::INT); + arg_mask->add_intvalue(mask); + + // copy argument filter + GLMessage_DataType *arg_filter = glmsg.add_args(); + arg_filter->set_isarray(false); + arg_filter->set_type(GLMessage::DataType::ENUM); + arg_filter->add_intvalue((int)filter); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glBlitFramebufferNV(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glRenderbufferStorageMultisampleNV(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glRenderbufferStorageMultisampleNV); + + // copy argument target + GLMessage_DataType *arg_target = glmsg.add_args(); + arg_target->set_isarray(false); + arg_target->set_type(GLMessage::DataType::ENUM); + arg_target->add_intvalue((int)target); + + // copy argument samples + GLMessage_DataType *arg_samples = glmsg.add_args(); + arg_samples->set_isarray(false); + arg_samples->set_type(GLMessage::DataType::INT); + arg_samples->add_intvalue(samples); + + // copy argument internalformat + GLMessage_DataType *arg_internalformat = glmsg.add_args(); + arg_internalformat->set_isarray(false); + arg_internalformat->set_type(GLMessage::DataType::ENUM); + arg_internalformat->add_intvalue((int)internalformat); + + // copy argument width + GLMessage_DataType *arg_width = glmsg.add_args(); + arg_width->set_isarray(false); + arg_width->set_type(GLMessage::DataType::INT); + arg_width->add_intvalue(width); + + // copy argument height + GLMessage_DataType *arg_height = glmsg.add_args(); + arg_height->set_isarray(false); + arg_height->set_type(GLMessage::DataType::INT); + arg_height->add_intvalue(height); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glRenderbufferStorageMultisampleNV(target, samples, internalformat, width, height); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glVertexAttribDivisorNV(GLuint index, GLuint divisor) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glVertexAttribDivisorNV); + + // copy argument index + GLMessage_DataType *arg_index = glmsg.add_args(); + arg_index->set_isarray(false); + arg_index->set_type(GLMessage::DataType::INT); + arg_index->add_intvalue(index); + + // copy argument divisor + GLMessage_DataType *arg_divisor = glmsg.add_args(); + arg_divisor->set_isarray(false); + arg_divisor->set_type(GLMessage::DataType::INT); + arg_divisor->add_intvalue(divisor); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glVertexAttribDivisorNV(index, divisor); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glUniformMatrix2x3fvNV(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glUniformMatrix2x3fvNV); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); + + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT); + arg_count->add_intvalue(count); + + // copy argument transpose + GLMessage_DataType *arg_transpose = glmsg.add_args(); + arg_transpose->set_isarray(false); + arg_transpose->set_type(GLMessage::DataType::BOOL); + arg_transpose->add_boolvalue(transpose); + + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::INT64); + arg_value->add_int64value((uintptr_t)value); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glUniformMatrix2x3fvNV(location, count, transpose, value); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) value, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glUniformMatrix3x2fvNV(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glUniformMatrix3x2fvNV); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); + + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT); + arg_count->add_intvalue(count); + + // copy argument transpose + GLMessage_DataType *arg_transpose = glmsg.add_args(); + arg_transpose->set_isarray(false); + arg_transpose->set_type(GLMessage::DataType::BOOL); + arg_transpose->add_boolvalue(transpose); + + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::INT64); + arg_value->add_int64value((uintptr_t)value); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glUniformMatrix3x2fvNV(location, count, transpose, value); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) value, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glUniformMatrix2x4fvNV(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glUniformMatrix2x4fvNV); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); + + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT); + arg_count->add_intvalue(count); + + // copy argument transpose + GLMessage_DataType *arg_transpose = glmsg.add_args(); + arg_transpose->set_isarray(false); + arg_transpose->set_type(GLMessage::DataType::BOOL); + arg_transpose->add_boolvalue(transpose); + + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::INT64); + arg_value->add_int64value((uintptr_t)value); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glUniformMatrix2x4fvNV(location, count, transpose, value); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) value, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glUniformMatrix4x2fvNV(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glUniformMatrix4x2fvNV); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); + + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT); + arg_count->add_intvalue(count); + + // copy argument transpose + GLMessage_DataType *arg_transpose = glmsg.add_args(); + arg_transpose->set_isarray(false); + arg_transpose->set_type(GLMessage::DataType::BOOL); + arg_transpose->add_boolvalue(transpose); + + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::INT64); + arg_value->add_int64value((uintptr_t)value); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glUniformMatrix4x2fvNV(location, count, transpose, value); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) value, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glUniformMatrix3x4fvNV(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glUniformMatrix3x4fvNV); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); + + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT); + arg_count->add_intvalue(count); + + // copy argument transpose + GLMessage_DataType *arg_transpose = glmsg.add_args(); + arg_transpose->set_isarray(false); + arg_transpose->set_type(GLMessage::DataType::BOOL); + arg_transpose->add_boolvalue(transpose); + + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::INT64); + arg_value->add_int64value((uintptr_t)value); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glUniformMatrix3x4fvNV(location, count, transpose, value); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) value, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glUniformMatrix4x3fvNV(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glUniformMatrix4x3fvNV); + + // copy argument location + GLMessage_DataType *arg_location = glmsg.add_args(); + arg_location->set_isarray(false); + arg_location->set_type(GLMessage::DataType::INT); + arg_location->add_intvalue(location); + + // copy argument count + GLMessage_DataType *arg_count = glmsg.add_args(); + arg_count->set_isarray(false); + arg_count->set_type(GLMessage::DataType::INT); + arg_count->add_intvalue(count); + + // copy argument transpose + GLMessage_DataType *arg_transpose = glmsg.add_args(); + arg_transpose->set_isarray(false); + arg_transpose->set_type(GLMessage::DataType::BOOL); + arg_transpose->add_boolvalue(transpose); + + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::INT64); + arg_value->add_int64value((uintptr_t)value); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glUniformMatrix4x3fvNV(location, count, transpose, value); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) value, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + void GLTrace_glReadBufferNV(GLenum mode) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -15001,7 +18498,7 @@ void GLTrace_glAlphaFuncQCOM(GLenum func, GLclampf ref) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetDriverControlsQCOM(GLint *num, GLsizei size, GLuint *driverControls) { +void GLTrace_glGetDriverControlsQCOM(GLint * num, GLsizei size, GLuint * driverControls) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -15043,7 +18540,7 @@ void GLTrace_glGetDriverControlsQCOM(GLint *num, GLsizei size, GLuint *driverCon glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetDriverControlStringQCOM(GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString) { +void GLTrace_glGetDriverControlStringQCOM(GLuint driverControl, GLsizei bufSize, GLsizei * length, GLchar * driverControlString) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -15147,7 +18644,7 @@ void GLTrace_glDisableDriverControlQCOM(GLuint driverControl) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glExtGetTexturesQCOM(GLuint *textures, GLint maxTextures, GLint *numTextures) { +void GLTrace_glExtGetTexturesQCOM(GLuint * textures, GLint maxTextures, GLint * numTextures) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -15189,7 +18686,7 @@ void GLTrace_glExtGetTexturesQCOM(GLuint *textures, GLint maxTextures, GLint *nu glContext->traceGLMessage(&glmsg); } -void GLTrace_glExtGetBuffersQCOM(GLuint *buffers, GLint maxBuffers, GLint *numBuffers) { +void GLTrace_glExtGetBuffersQCOM(GLuint * buffers, GLint maxBuffers, GLint * numBuffers) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -15231,7 +18728,7 @@ void GLTrace_glExtGetBuffersQCOM(GLuint *buffers, GLint maxBuffers, GLint *numBu glContext->traceGLMessage(&glmsg); } -void GLTrace_glExtGetRenderbuffersQCOM(GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers) { +void GLTrace_glExtGetRenderbuffersQCOM(GLuint * renderbuffers, GLint maxRenderbuffers, GLint * numRenderbuffers) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -15273,7 +18770,7 @@ void GLTrace_glExtGetRenderbuffersQCOM(GLuint *renderbuffers, GLint maxRenderbuf glContext->traceGLMessage(&glmsg); } -void GLTrace_glExtGetFramebuffersQCOM(GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers) { +void GLTrace_glExtGetFramebuffersQCOM(GLuint * framebuffers, GLint maxFramebuffers, GLint * numFramebuffers) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -15315,7 +18812,7 @@ void GLTrace_glExtGetFramebuffersQCOM(GLuint *framebuffers, GLint maxFramebuffer glContext->traceGLMessage(&glmsg); } -void GLTrace_glExtGetTexLevelParameterivQCOM(GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params) { +void GLTrace_glExtGetTexLevelParameterivQCOM(GLuint texture, GLenum face, GLint level, GLenum pname, GLint * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -15408,7 +18905,7 @@ void GLTrace_glExtTexObjectStateOverrideiQCOM(GLenum target, GLenum pname, GLint glContext->traceGLMessage(&glmsg); } -void GLTrace_glExtGetTexSubImageQCOM(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels) { +void GLTrace_glExtGetTexSubImageQCOM(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void * texels) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -15497,7 +18994,7 @@ void GLTrace_glExtGetTexSubImageQCOM(GLenum target, GLint level, GLint xoffset, glContext->traceGLMessage(&glmsg); } -void GLTrace_glExtGetBufferPointervQCOM(GLenum target, GLvoid **params) { +void GLTrace_glExtGetBufferPointervQCOM(GLenum target, void ** params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -15532,7 +19029,7 @@ void GLTrace_glExtGetBufferPointervQCOM(GLenum target, GLvoid **params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glExtGetShadersQCOM(GLuint *shaders, GLint maxShaders, GLint *numShaders) { +void GLTrace_glExtGetShadersQCOM(GLuint * shaders, GLint maxShaders, GLint * numShaders) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -15574,7 +19071,7 @@ void GLTrace_glExtGetShadersQCOM(GLuint *shaders, GLint maxShaders, GLint *numSh glContext->traceGLMessage(&glmsg); } -void GLTrace_glExtGetProgramsQCOM(GLuint *programs, GLint maxPrograms, GLint *numPrograms) { +void GLTrace_glExtGetProgramsQCOM(GLuint * programs, GLint maxPrograms, GLint * numPrograms) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -15652,7 +19149,7 @@ GLboolean GLTrace_glExtIsProgramBinaryQCOM(GLuint program) { return retValue; } -void GLTrace_glExtGetProgramBinarySourceQCOM(GLuint program, GLenum shadertype, GLchar *source, GLint *length) { +void GLTrace_glExtGetProgramBinarySourceQCOM(GLuint program, GLenum shadertype, GLchar * source, GLint * length) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -15783,7 +19280,7 @@ void GLTrace_glEndTilingQCOM(GLbitfield preserveMask) { // Definitions for GL1 APIs -void GLTrace_glAlphaFunc(GLenum func, GLclampf ref) { +void GLTrace_glAlphaFunc(GLenum func, GLfloat ref) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -15817,33 +19314,33 @@ void GLTrace_glAlphaFunc(GLenum func, GLclampf ref) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glClipPlanef(GLenum plane, const GLfloat *equation) { +void GLTrace_glClipPlanef(GLenum p, const GLfloat * eqn) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); glmsg.set_function(GLMessage::glClipPlanef); - // copy argument plane - GLMessage_DataType *arg_plane = glmsg.add_args(); - arg_plane->set_isarray(false); - arg_plane->set_type(GLMessage::DataType::ENUM); - arg_plane->add_intvalue((int)plane); + // copy argument p + GLMessage_DataType *arg_p = glmsg.add_args(); + arg_p->set_isarray(false); + arg_p->set_type(GLMessage::DataType::ENUM); + arg_p->add_intvalue((int)p); - // copy argument equation - GLMessage_DataType *arg_equation = glmsg.add_args(); - arg_equation->set_isarray(false); - arg_equation->set_type(GLMessage::DataType::INT64); - arg_equation->add_int64value((uintptr_t)equation); + // copy argument eqn + GLMessage_DataType *arg_eqn = glmsg.add_args(); + arg_eqn->set_isarray(false); + arg_eqn->set_type(GLMessage::DataType::INT64); + arg_eqn->add_int64value((uintptr_t)eqn); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glClipPlanef(plane, equation); + glContext->hooks->gl.glClipPlanef(p, eqn); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { - (void *) equation, + (void *) eqn, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -15932,7 +19429,7 @@ void GLTrace_glFogf(GLenum pname, GLfloat param) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glFogfv(GLenum pname, const GLfloat *params) { +void GLTrace_glFogfv(GLenum pname, const GLfloat * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -15967,52 +19464,52 @@ void GLTrace_glFogfv(GLenum pname, const GLfloat *params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glFrustumf(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) { +void GLTrace_glFrustumf(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); glmsg.set_function(GLMessage::glFrustumf); - // copy argument left - GLMessage_DataType *arg_left = glmsg.add_args(); - arg_left->set_isarray(false); - arg_left->set_type(GLMessage::DataType::FLOAT); - arg_left->add_floatvalue(left); + // copy argument l + GLMessage_DataType *arg_l = glmsg.add_args(); + arg_l->set_isarray(false); + arg_l->set_type(GLMessage::DataType::FLOAT); + arg_l->add_floatvalue(l); - // copy argument right - GLMessage_DataType *arg_right = glmsg.add_args(); - arg_right->set_isarray(false); - arg_right->set_type(GLMessage::DataType::FLOAT); - arg_right->add_floatvalue(right); + // copy argument r + GLMessage_DataType *arg_r = glmsg.add_args(); + arg_r->set_isarray(false); + arg_r->set_type(GLMessage::DataType::FLOAT); + arg_r->add_floatvalue(r); - // copy argument bottom - GLMessage_DataType *arg_bottom = glmsg.add_args(); - arg_bottom->set_isarray(false); - arg_bottom->set_type(GLMessage::DataType::FLOAT); - arg_bottom->add_floatvalue(bottom); + // copy argument b + GLMessage_DataType *arg_b = glmsg.add_args(); + arg_b->set_isarray(false); + arg_b->set_type(GLMessage::DataType::FLOAT); + arg_b->add_floatvalue(b); - // copy argument top - GLMessage_DataType *arg_top = glmsg.add_args(); - arg_top->set_isarray(false); - arg_top->set_type(GLMessage::DataType::FLOAT); - arg_top->add_floatvalue(top); + // copy argument t + GLMessage_DataType *arg_t = glmsg.add_args(); + arg_t->set_isarray(false); + arg_t->set_type(GLMessage::DataType::FLOAT); + arg_t->add_floatvalue(t); - // copy argument zNear - GLMessage_DataType *arg_zNear = glmsg.add_args(); - arg_zNear->set_isarray(false); - arg_zNear->set_type(GLMessage::DataType::FLOAT); - arg_zNear->add_floatvalue(zNear); + // copy argument n + GLMessage_DataType *arg_n = glmsg.add_args(); + arg_n->set_isarray(false); + arg_n->set_type(GLMessage::DataType::FLOAT); + arg_n->add_floatvalue(n); - // copy argument zFar - GLMessage_DataType *arg_zFar = glmsg.add_args(); - arg_zFar->set_isarray(false); - arg_zFar->set_type(GLMessage::DataType::FLOAT); - arg_zFar->add_floatvalue(zFar); + // copy argument f + GLMessage_DataType *arg_f = glmsg.add_args(); + arg_f->set_isarray(false); + arg_f->set_type(GLMessage::DataType::FLOAT); + arg_f->add_floatvalue(f); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glFrustumf(left, right, bottom, top, zNear, zFar); + glContext->hooks->gl.glFrustumf(l, r, b, t, n, f); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -16025,33 +19522,33 @@ void GLTrace_glFrustumf(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetClipPlanef(GLenum pname, GLfloat eqn[4]) { +void GLTrace_glGetClipPlanef(GLenum plane, GLfloat * equation) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); glmsg.set_function(GLMessage::glGetClipPlanef); - // copy argument pname - GLMessage_DataType *arg_pname = glmsg.add_args(); - arg_pname->set_isarray(false); - arg_pname->set_type(GLMessage::DataType::ENUM); - arg_pname->add_intvalue((int)pname); + // copy argument plane + GLMessage_DataType *arg_plane = glmsg.add_args(); + arg_plane->set_isarray(false); + arg_plane->set_type(GLMessage::DataType::ENUM); + arg_plane->add_intvalue((int)plane); - // copy argument eqn - GLMessage_DataType *arg_eqn = glmsg.add_args(); - arg_eqn->set_isarray(false); - arg_eqn->set_type(GLMessage::DataType::INT64); - arg_eqn->add_int64value((uintptr_t)eqn); + // copy argument equation + GLMessage_DataType *arg_equation = glmsg.add_args(); + arg_equation->set_isarray(false); + arg_equation->set_type(GLMessage::DataType::INT64); + arg_equation->add_int64value((uintptr_t)equation); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glGetClipPlanef(pname, eqn); + glContext->hooks->gl.glGetClipPlanef(plane, equation); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { - (void *) eqn, + (void *) equation, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -16060,7 +19557,7 @@ void GLTrace_glGetClipPlanef(GLenum pname, GLfloat eqn[4]) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetLightfv(GLenum light, GLenum pname, GLfloat *params) { +void GLTrace_glGetLightfv(GLenum light, GLenum pname, GLfloat * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -16101,7 +19598,7 @@ void GLTrace_glGetLightfv(GLenum light, GLenum pname, GLfloat *params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params) { +void GLTrace_glGetMaterialfv(GLenum face, GLenum pname, GLfloat * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -16142,17 +19639,17 @@ void GLTrace_glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetTexEnvfv(GLenum env, GLenum pname, GLfloat *params) { +void GLTrace_glGetTexEnvfv(GLenum target, GLenum pname, GLfloat * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); glmsg.set_function(GLMessage::glGetTexEnvfv); - // copy argument env - GLMessage_DataType *arg_env = glmsg.add_args(); - arg_env->set_isarray(false); - arg_env->set_type(GLMessage::DataType::ENUM); - arg_env->add_intvalue((int)env); + // copy argument target + GLMessage_DataType *arg_target = glmsg.add_args(); + arg_target->set_isarray(false); + arg_target->set_type(GLMessage::DataType::ENUM); + arg_target->add_intvalue((int)target); // copy argument pname GLMessage_DataType *arg_pname = glmsg.add_args(); @@ -16169,7 +19666,7 @@ void GLTrace_glGetTexEnvfv(GLenum env, GLenum pname, GLfloat *params) { // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glGetTexEnvfv(env, pname, params); + glContext->hooks->gl.glGetTexEnvfv(target, pname, params); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -16217,7 +19714,7 @@ void GLTrace_glLightModelf(GLenum pname, GLfloat param) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glLightModelfv(GLenum pname, const GLfloat *params) { +void GLTrace_glLightModelfv(GLenum pname, const GLfloat * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -16292,7 +19789,7 @@ void GLTrace_glLightf(GLenum light, GLenum pname, GLfloat param) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glLightfv(GLenum light, GLenum pname, const GLfloat *params) { +void GLTrace_glLightfv(GLenum light, GLenum pname, const GLfloat * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -16333,7 +19830,7 @@ void GLTrace_glLightfv(GLenum light, GLenum pname, const GLfloat *params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glLoadMatrixf(const GLfloat *m) { +void GLTrace_glLoadMatrixf(const GLfloat * m) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -16402,7 +19899,7 @@ void GLTrace_glMaterialf(GLenum face, GLenum pname, GLfloat param) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glMaterialfv(GLenum face, GLenum pname, const GLfloat *params) { +void GLTrace_glMaterialfv(GLenum face, GLenum pname, const GLfloat * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -16443,7 +19940,7 @@ void GLTrace_glMaterialfv(GLenum face, GLenum pname, const GLfloat *params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glMultMatrixf(const GLfloat *m) { +void GLTrace_glMultMatrixf(const GLfloat * m) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -16564,52 +20061,52 @@ void GLTrace_glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glOrthof(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) { +void GLTrace_glOrthof(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); glmsg.set_function(GLMessage::glOrthof); - // copy argument left - GLMessage_DataType *arg_left = glmsg.add_args(); - arg_left->set_isarray(false); - arg_left->set_type(GLMessage::DataType::FLOAT); - arg_left->add_floatvalue(left); + // copy argument l + GLMessage_DataType *arg_l = glmsg.add_args(); + arg_l->set_isarray(false); + arg_l->set_type(GLMessage::DataType::FLOAT); + arg_l->add_floatvalue(l); - // copy argument right - GLMessage_DataType *arg_right = glmsg.add_args(); - arg_right->set_isarray(false); - arg_right->set_type(GLMessage::DataType::FLOAT); - arg_right->add_floatvalue(right); + // copy argument r + GLMessage_DataType *arg_r = glmsg.add_args(); + arg_r->set_isarray(false); + arg_r->set_type(GLMessage::DataType::FLOAT); + arg_r->add_floatvalue(r); - // copy argument bottom - GLMessage_DataType *arg_bottom = glmsg.add_args(); - arg_bottom->set_isarray(false); - arg_bottom->set_type(GLMessage::DataType::FLOAT); - arg_bottom->add_floatvalue(bottom); + // copy argument b + GLMessage_DataType *arg_b = glmsg.add_args(); + arg_b->set_isarray(false); + arg_b->set_type(GLMessage::DataType::FLOAT); + arg_b->add_floatvalue(b); - // copy argument top - GLMessage_DataType *arg_top = glmsg.add_args(); - arg_top->set_isarray(false); - arg_top->set_type(GLMessage::DataType::FLOAT); - arg_top->add_floatvalue(top); + // copy argument t + GLMessage_DataType *arg_t = glmsg.add_args(); + arg_t->set_isarray(false); + arg_t->set_type(GLMessage::DataType::FLOAT); + arg_t->add_floatvalue(t); - // copy argument zNear - GLMessage_DataType *arg_zNear = glmsg.add_args(); - arg_zNear->set_isarray(false); - arg_zNear->set_type(GLMessage::DataType::FLOAT); - arg_zNear->add_floatvalue(zNear); + // copy argument n + GLMessage_DataType *arg_n = glmsg.add_args(); + arg_n->set_isarray(false); + arg_n->set_type(GLMessage::DataType::FLOAT); + arg_n->add_floatvalue(n); - // copy argument zFar - GLMessage_DataType *arg_zFar = glmsg.add_args(); - arg_zFar->set_isarray(false); - arg_zFar->set_type(GLMessage::DataType::FLOAT); - arg_zFar->add_floatvalue(zFar); + // copy argument f + GLMessage_DataType *arg_f = glmsg.add_args(); + arg_f->set_isarray(false); + arg_f->set_type(GLMessage::DataType::FLOAT); + arg_f->add_floatvalue(f); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glOrthof(left, right, bottom, top, zNear, zFar); + glContext->hooks->gl.glOrthof(l, r, b, t, n, f); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -16656,7 +20153,7 @@ void GLTrace_glPointParameterf(GLenum pname, GLfloat param) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glPointParameterfv(GLenum pname, const GLfloat *params) { +void GLTrace_glPointParameterfv(GLenum pname, const GLfloat * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -16845,7 +20342,7 @@ void GLTrace_glTexEnvf(GLenum target, GLenum pname, GLfloat param) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params) { +void GLTrace_glTexEnvfv(GLenum target, GLenum pname, const GLfloat * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -16926,7 +20423,7 @@ void GLTrace_glTranslatef(GLfloat x, GLfloat y, GLfloat z) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glAlphaFuncx(GLenum func, GLclampx ref) { +void GLTrace_glAlphaFuncx(GLenum func, GLfixed ref) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -16960,7 +20457,7 @@ void GLTrace_glAlphaFuncx(GLenum func, GLclampx ref) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) { +void GLTrace_glClearColorx(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -17006,7 +20503,7 @@ void GLTrace_glClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx glContext->traceGLMessage(&glmsg); } -void GLTrace_glClearDepthx(GLclampx depth) { +void GLTrace_glClearDepthx(GLfixed depth) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -17062,7 +20559,7 @@ void GLTrace_glClientActiveTexture(GLenum texture) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glClipPlanex(GLenum plane, const GLfixed *equation) { +void GLTrace_glClipPlanex(GLenum plane, const GLfixed * equation) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -17189,7 +20686,7 @@ void GLTrace_glColor4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) glContext->traceGLMessage(&glmsg); } -void GLTrace_glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) { +void GLTrace_glColorPointer(GLint size, GLenum type, GLsizei stride, const void * pointer) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -17236,28 +20733,28 @@ void GLTrace_glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoi glContext->traceGLMessage(&glmsg); } -void GLTrace_glDepthRangex(GLclampx zNear, GLclampx zFar) { +void GLTrace_glDepthRangex(GLfixed n, GLfixed f) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); glmsg.set_function(GLMessage::glDepthRangex); - // copy argument zNear - GLMessage_DataType *arg_zNear = glmsg.add_args(); - arg_zNear->set_isarray(false); - arg_zNear->set_type(GLMessage::DataType::INT); - arg_zNear->add_intvalue(zNear); + // copy argument n + GLMessage_DataType *arg_n = glmsg.add_args(); + arg_n->set_isarray(false); + arg_n->set_type(GLMessage::DataType::INT); + arg_n->add_intvalue(n); - // copy argument zFar - GLMessage_DataType *arg_zFar = glmsg.add_args(); - arg_zFar->set_isarray(false); - arg_zFar->set_type(GLMessage::DataType::INT); - arg_zFar->add_intvalue(zFar); + // copy argument f + GLMessage_DataType *arg_f = glmsg.add_args(); + arg_f->set_isarray(false); + arg_f->set_type(GLMessage::DataType::INT); + arg_f->add_intvalue(f); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glDepthRangex(zNear, zFar); + glContext->hooks->gl.glDepthRangex(n, f); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -17360,7 +20857,7 @@ void GLTrace_glFogx(GLenum pname, GLfixed param) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glFogxv(GLenum pname, const GLfixed *params) { +void GLTrace_glFogxv(GLenum pname, const GLfixed * param) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -17372,21 +20869,21 @@ void GLTrace_glFogxv(GLenum pname, const GLfixed *params) { arg_pname->set_type(GLMessage::DataType::ENUM); arg_pname->add_intvalue((int)pname); - // copy argument params - GLMessage_DataType *arg_params = glmsg.add_args(); - arg_params->set_isarray(false); - arg_params->set_type(GLMessage::DataType::INT64); - arg_params->add_int64value((uintptr_t)params); + // copy argument param + GLMessage_DataType *arg_param = glmsg.add_args(); + arg_param->set_isarray(false); + arg_param->set_type(GLMessage::DataType::INT64); + arg_param->add_int64value((uintptr_t)param); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glFogxv(pname, params); + glContext->hooks->gl.glFogxv(pname, param); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { - (void *) params, + (void *) param, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -17395,52 +20892,52 @@ void GLTrace_glFogxv(GLenum pname, const GLfixed *params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glFrustumx(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) { +void GLTrace_glFrustumx(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); glmsg.set_function(GLMessage::glFrustumx); - // copy argument left - GLMessage_DataType *arg_left = glmsg.add_args(); - arg_left->set_isarray(false); - arg_left->set_type(GLMessage::DataType::INT); - arg_left->add_intvalue(left); + // copy argument l + GLMessage_DataType *arg_l = glmsg.add_args(); + arg_l->set_isarray(false); + arg_l->set_type(GLMessage::DataType::INT); + arg_l->add_intvalue(l); - // copy argument right - GLMessage_DataType *arg_right = glmsg.add_args(); - arg_right->set_isarray(false); - arg_right->set_type(GLMessage::DataType::INT); - arg_right->add_intvalue(right); + // copy argument r + GLMessage_DataType *arg_r = glmsg.add_args(); + arg_r->set_isarray(false); + arg_r->set_type(GLMessage::DataType::INT); + arg_r->add_intvalue(r); - // copy argument bottom - GLMessage_DataType *arg_bottom = glmsg.add_args(); - arg_bottom->set_isarray(false); - arg_bottom->set_type(GLMessage::DataType::INT); - arg_bottom->add_intvalue(bottom); + // copy argument b + GLMessage_DataType *arg_b = glmsg.add_args(); + arg_b->set_isarray(false); + arg_b->set_type(GLMessage::DataType::INT); + arg_b->add_intvalue(b); - // copy argument top - GLMessage_DataType *arg_top = glmsg.add_args(); - arg_top->set_isarray(false); - arg_top->set_type(GLMessage::DataType::INT); - arg_top->add_intvalue(top); + // copy argument t + GLMessage_DataType *arg_t = glmsg.add_args(); + arg_t->set_isarray(false); + arg_t->set_type(GLMessage::DataType::INT); + arg_t->add_intvalue(t); - // copy argument zNear - GLMessage_DataType *arg_zNear = glmsg.add_args(); - arg_zNear->set_isarray(false); - arg_zNear->set_type(GLMessage::DataType::INT); - arg_zNear->add_intvalue(zNear); + // copy argument n + GLMessage_DataType *arg_n = glmsg.add_args(); + arg_n->set_isarray(false); + arg_n->set_type(GLMessage::DataType::INT); + arg_n->add_intvalue(n); - // copy argument zFar - GLMessage_DataType *arg_zFar = glmsg.add_args(); - arg_zFar->set_isarray(false); - arg_zFar->set_type(GLMessage::DataType::INT); - arg_zFar->add_intvalue(zFar); + // copy argument f + GLMessage_DataType *arg_f = glmsg.add_args(); + arg_f->set_isarray(false); + arg_f->set_type(GLMessage::DataType::INT); + arg_f->add_intvalue(f); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glFrustumx(left, right, bottom, top, zNear, zFar); + glContext->hooks->gl.glFrustumx(l, r, b, t, n, f); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -17453,33 +20950,33 @@ void GLTrace_glFrustumx(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetClipPlanex(GLenum pname, GLfixed eqn[4]) { +void GLTrace_glGetClipPlanex(GLenum plane, GLfixed * equation) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); glmsg.set_function(GLMessage::glGetClipPlanex); - // copy argument pname - GLMessage_DataType *arg_pname = glmsg.add_args(); - arg_pname->set_isarray(false); - arg_pname->set_type(GLMessage::DataType::ENUM); - arg_pname->add_intvalue((int)pname); + // copy argument plane + GLMessage_DataType *arg_plane = glmsg.add_args(); + arg_plane->set_isarray(false); + arg_plane->set_type(GLMessage::DataType::ENUM); + arg_plane->add_intvalue((int)plane); - // copy argument eqn - GLMessage_DataType *arg_eqn = glmsg.add_args(); - arg_eqn->set_isarray(false); - arg_eqn->set_type(GLMessage::DataType::INT64); - arg_eqn->add_int64value((uintptr_t)eqn); + // copy argument equation + GLMessage_DataType *arg_equation = glmsg.add_args(); + arg_equation->set_isarray(false); + arg_equation->set_type(GLMessage::DataType::INT64); + arg_equation->add_int64value((uintptr_t)equation); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glGetClipPlanex(pname, eqn); + glContext->hooks->gl.glGetClipPlanex(plane, equation); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { - (void *) eqn, + (void *) equation, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -17488,7 +20985,7 @@ void GLTrace_glGetClipPlanex(GLenum pname, GLfixed eqn[4]) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetFixedv(GLenum pname, GLfixed *params) { +void GLTrace_glGetFixedv(GLenum pname, GLfixed * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -17523,7 +21020,7 @@ void GLTrace_glGetFixedv(GLenum pname, GLfixed *params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetLightxv(GLenum light, GLenum pname, GLfixed *params) { +void GLTrace_glGetLightxv(GLenum light, GLenum pname, GLfixed * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -17564,7 +21061,7 @@ void GLTrace_glGetLightxv(GLenum light, GLenum pname, GLfixed *params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetMaterialxv(GLenum face, GLenum pname, GLfixed *params) { +void GLTrace_glGetMaterialxv(GLenum face, GLenum pname, GLfixed * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -17605,7 +21102,7 @@ void GLTrace_glGetMaterialxv(GLenum face, GLenum pname, GLfixed *params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetPointerv(GLenum pname, GLvoid **params) { +void GLTrace_glGetPointerv(GLenum pname, void ** params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -17640,17 +21137,17 @@ void GLTrace_glGetPointerv(GLenum pname, GLvoid **params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetTexEnviv(GLenum env, GLenum pname, GLint *params) { +void GLTrace_glGetTexEnviv(GLenum target, GLenum pname, GLint * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); glmsg.set_function(GLMessage::glGetTexEnviv); - // copy argument env - GLMessage_DataType *arg_env = glmsg.add_args(); - arg_env->set_isarray(false); - arg_env->set_type(GLMessage::DataType::ENUM); - arg_env->add_intvalue((int)env); + // copy argument target + GLMessage_DataType *arg_target = glmsg.add_args(); + arg_target->set_isarray(false); + arg_target->set_type(GLMessage::DataType::ENUM); + arg_target->add_intvalue((int)target); // copy argument pname GLMessage_DataType *arg_pname = glmsg.add_args(); @@ -17667,7 +21164,7 @@ void GLTrace_glGetTexEnviv(GLenum env, GLenum pname, GLint *params) { // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glGetTexEnviv(env, pname, params); + glContext->hooks->gl.glGetTexEnviv(target, pname, params); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -17681,17 +21178,17 @@ void GLTrace_glGetTexEnviv(GLenum env, GLenum pname, GLint *params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetTexEnvxv(GLenum env, GLenum pname, GLfixed *params) { +void GLTrace_glGetTexEnvxv(GLenum target, GLenum pname, GLfixed * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); glmsg.set_function(GLMessage::glGetTexEnvxv); - // copy argument env - GLMessage_DataType *arg_env = glmsg.add_args(); - arg_env->set_isarray(false); - arg_env->set_type(GLMessage::DataType::ENUM); - arg_env->add_intvalue((int)env); + // copy argument target + GLMessage_DataType *arg_target = glmsg.add_args(); + arg_target->set_isarray(false); + arg_target->set_type(GLMessage::DataType::ENUM); + arg_target->add_intvalue((int)target); // copy argument pname GLMessage_DataType *arg_pname = glmsg.add_args(); @@ -17708,7 +21205,7 @@ void GLTrace_glGetTexEnvxv(GLenum env, GLenum pname, GLfixed *params) { // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glGetTexEnvxv(env, pname, params); + glContext->hooks->gl.glGetTexEnvxv(target, pname, params); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -17722,7 +21219,7 @@ void GLTrace_glGetTexEnvxv(GLenum env, GLenum pname, GLfixed *params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetTexParameterxv(GLenum target, GLenum pname, GLfixed *params) { +void GLTrace_glGetTexParameterxv(GLenum target, GLenum pname, GLfixed * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -17797,7 +21294,7 @@ void GLTrace_glLightModelx(GLenum pname, GLfixed param) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glLightModelxv(GLenum pname, const GLfixed *params) { +void GLTrace_glLightModelxv(GLenum pname, const GLfixed * param) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -17809,21 +21306,21 @@ void GLTrace_glLightModelxv(GLenum pname, const GLfixed *params) { arg_pname->set_type(GLMessage::DataType::ENUM); arg_pname->add_intvalue((int)pname); - // copy argument params - GLMessage_DataType *arg_params = glmsg.add_args(); - arg_params->set_isarray(false); - arg_params->set_type(GLMessage::DataType::INT64); - arg_params->add_int64value((uintptr_t)params); + // copy argument param + GLMessage_DataType *arg_param = glmsg.add_args(); + arg_param->set_isarray(false); + arg_param->set_type(GLMessage::DataType::INT64); + arg_param->add_int64value((uintptr_t)param); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glLightModelxv(pname, params); + glContext->hooks->gl.glLightModelxv(pname, param); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { - (void *) params, + (void *) param, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -17872,7 +21369,7 @@ void GLTrace_glLightx(GLenum light, GLenum pname, GLfixed param) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glLightxv(GLenum light, GLenum pname, const GLfixed *params) { +void GLTrace_glLightxv(GLenum light, GLenum pname, const GLfixed * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -17963,7 +21460,7 @@ void GLTrace_glLoadIdentity(void) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glLoadMatrixx(const GLfixed *m) { +void GLTrace_glLoadMatrixx(const GLfixed * m) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -18060,7 +21557,7 @@ void GLTrace_glMaterialx(GLenum face, GLenum pname, GLfixed param) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glMaterialxv(GLenum face, GLenum pname, const GLfixed *params) { +void GLTrace_glMaterialxv(GLenum face, GLenum pname, const GLfixed * param) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -18078,21 +21575,21 @@ void GLTrace_glMaterialxv(GLenum face, GLenum pname, const GLfixed *params) { arg_pname->set_type(GLMessage::DataType::ENUM); arg_pname->add_intvalue((int)pname); - // copy argument params - GLMessage_DataType *arg_params = glmsg.add_args(); - arg_params->set_isarray(false); - arg_params->set_type(GLMessage::DataType::INT64); - arg_params->add_int64value((uintptr_t)params); + // copy argument param + GLMessage_DataType *arg_param = glmsg.add_args(); + arg_param->set_isarray(false); + arg_param->set_type(GLMessage::DataType::INT64); + arg_param->add_int64value((uintptr_t)param); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glMaterialxv(face, pname, params); + glContext->hooks->gl.glMaterialxv(face, pname, param); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { - (void *) params, + (void *) param, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -18129,7 +21626,7 @@ void GLTrace_glMatrixMode(GLenum mode) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glMultMatrixx(const GLfixed *m) { +void GLTrace_glMultMatrixx(const GLfixed * m) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -18158,17 +21655,17 @@ void GLTrace_glMultMatrixx(const GLfixed *m) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glMultiTexCoord4x(GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q) { +void GLTrace_glMultiTexCoord4x(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); glmsg.set_function(GLMessage::glMultiTexCoord4x); - // copy argument target - GLMessage_DataType *arg_target = glmsg.add_args(); - arg_target->set_isarray(false); - arg_target->set_type(GLMessage::DataType::ENUM); - arg_target->add_intvalue((int)target); + // copy argument texture + GLMessage_DataType *arg_texture = glmsg.add_args(); + arg_texture->set_isarray(false); + arg_texture->set_type(GLMessage::DataType::ENUM); + arg_texture->add_intvalue((int)texture); // copy argument s GLMessage_DataType *arg_s = glmsg.add_args(); @@ -18197,7 +21694,7 @@ void GLTrace_glMultiTexCoord4x(GLenum target, GLfixed s, GLfixed t, GLfixed r, G // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glMultiTexCoord4x(target, s, t, r, q); + glContext->hooks->gl.glMultiTexCoord4x(texture, s, t, r, q); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -18250,7 +21747,7 @@ void GLTrace_glNormal3x(GLfixed nx, GLfixed ny, GLfixed nz) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer) { +void GLTrace_glNormalPointer(GLenum type, GLsizei stride, const void * pointer) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -18291,52 +21788,52 @@ void GLTrace_glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer) glContext->traceGLMessage(&glmsg); } -void GLTrace_glOrthox(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) { +void GLTrace_glOrthox(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); glmsg.set_function(GLMessage::glOrthox); - // copy argument left - GLMessage_DataType *arg_left = glmsg.add_args(); - arg_left->set_isarray(false); - arg_left->set_type(GLMessage::DataType::INT); - arg_left->add_intvalue(left); + // copy argument l + GLMessage_DataType *arg_l = glmsg.add_args(); + arg_l->set_isarray(false); + arg_l->set_type(GLMessage::DataType::INT); + arg_l->add_intvalue(l); - // copy argument right - GLMessage_DataType *arg_right = glmsg.add_args(); - arg_right->set_isarray(false); - arg_right->set_type(GLMessage::DataType::INT); - arg_right->add_intvalue(right); + // copy argument r + GLMessage_DataType *arg_r = glmsg.add_args(); + arg_r->set_isarray(false); + arg_r->set_type(GLMessage::DataType::INT); + arg_r->add_intvalue(r); - // copy argument bottom - GLMessage_DataType *arg_bottom = glmsg.add_args(); - arg_bottom->set_isarray(false); - arg_bottom->set_type(GLMessage::DataType::INT); - arg_bottom->add_intvalue(bottom); + // copy argument b + GLMessage_DataType *arg_b = glmsg.add_args(); + arg_b->set_isarray(false); + arg_b->set_type(GLMessage::DataType::INT); + arg_b->add_intvalue(b); - // copy argument top - GLMessage_DataType *arg_top = glmsg.add_args(); - arg_top->set_isarray(false); - arg_top->set_type(GLMessage::DataType::INT); - arg_top->add_intvalue(top); + // copy argument t + GLMessage_DataType *arg_t = glmsg.add_args(); + arg_t->set_isarray(false); + arg_t->set_type(GLMessage::DataType::INT); + arg_t->add_intvalue(t); - // copy argument zNear - GLMessage_DataType *arg_zNear = glmsg.add_args(); - arg_zNear->set_isarray(false); - arg_zNear->set_type(GLMessage::DataType::INT); - arg_zNear->add_intvalue(zNear); + // copy argument n + GLMessage_DataType *arg_n = glmsg.add_args(); + arg_n->set_isarray(false); + arg_n->set_type(GLMessage::DataType::INT); + arg_n->add_intvalue(n); - // copy argument zFar - GLMessage_DataType *arg_zFar = glmsg.add_args(); - arg_zFar->set_isarray(false); - arg_zFar->set_type(GLMessage::DataType::INT); - arg_zFar->add_intvalue(zFar); + // copy argument f + GLMessage_DataType *arg_f = glmsg.add_args(); + arg_f->set_isarray(false); + arg_f->set_type(GLMessage::DataType::INT); + arg_f->add_intvalue(f); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glOrthox(left, right, bottom, top, zNear, zFar); + glContext->hooks->gl.glOrthox(l, r, b, t, n, f); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -18383,7 +21880,7 @@ void GLTrace_glPointParameterx(GLenum pname, GLfixed param) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glPointParameterxv(GLenum pname, const GLfixed *params) { +void GLTrace_glPointParameterxv(GLenum pname, const GLfixed * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -18672,7 +22169,7 @@ void GLTrace_glShadeModel(GLenum mode) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) { +void GLTrace_glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const void * pointer) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -18799,7 +22296,7 @@ void GLTrace_glTexEnvx(GLenum target, GLenum pname, GLfixed param) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glTexEnviv(GLenum target, GLenum pname, const GLint *params) { +void GLTrace_glTexEnviv(GLenum target, GLenum pname, const GLint * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -18840,7 +22337,7 @@ void GLTrace_glTexEnviv(GLenum target, GLenum pname, const GLint *params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glTexEnvxv(GLenum target, GLenum pname, const GLfixed *params) { +void GLTrace_glTexEnvxv(GLenum target, GLenum pname, const GLfixed * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -18921,7 +22418,7 @@ void GLTrace_glTexParameterx(GLenum target, GLenum pname, GLfixed param) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glTexParameterxv(GLenum target, GLenum pname, const GLfixed *params) { +void GLTrace_glTexParameterxv(GLenum target, GLenum pname, const GLfixed * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -19002,7 +22499,7 @@ void GLTrace_glTranslatex(GLfixed x, GLfixed y, GLfixed z) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) { +void GLTrace_glVertexPointer(GLint size, GLenum type, GLsizei stride, const void * pointer) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -19049,47 +22546,6 @@ void GLTrace_glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvo glContext->traceGLMessage(&glmsg); } -void GLTrace_glPointSizePointerOES(GLenum type, GLsizei stride, const GLvoid *pointer) { - GLMessage glmsg; - GLTraceContext *glContext = getGLTraceContext(); - - glmsg.set_function(GLMessage::glPointSizePointerOES); - - // copy argument type - GLMessage_DataType *arg_type = glmsg.add_args(); - arg_type->set_isarray(false); - arg_type->set_type(GLMessage::DataType::ENUM); - arg_type->add_intvalue((int)type); - - // copy argument stride - GLMessage_DataType *arg_stride = glmsg.add_args(); - arg_stride->set_isarray(false); - arg_stride->set_type(GLMessage::DataType::INT); - arg_stride->add_intvalue(stride); - - // copy argument pointer - GLMessage_DataType *arg_pointer = glmsg.add_args(); - arg_pointer->set_isarray(false); - arg_pointer->set_type(GLMessage::DataType::INT64); - arg_pointer->add_int64value((uintptr_t)pointer); - - // call function - nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); - nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glPointSizePointerOES(type, stride, pointer); - nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); - nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); - - void *pointerArgs[] = { - (void *) pointer, - }; - - fixupGLMessage(glContext, wallStartTime, wallEndTime, - threadStartTime, threadEndTime, - &glmsg, pointerArgs); - glContext->traceGLMessage(&glmsg); -} - // Definitions for GL1Ext APIs @@ -19201,6 +22657,771 @@ void GLTrace_glBlendEquationOES(GLenum mode) { glContext->traceGLMessage(&glmsg); } +void GLTrace_glMultiTexCoord1bOES(GLenum texture, GLbyte s) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glMultiTexCoord1bOES); + + // copy argument texture + GLMessage_DataType *arg_texture = glmsg.add_args(); + arg_texture->set_isarray(false); + arg_texture->set_type(GLMessage::DataType::ENUM); + arg_texture->add_intvalue((int)texture); + + // copy argument s + GLMessage_DataType *arg_s = glmsg.add_args(); + arg_s->set_isarray(false); + arg_s->set_type(GLMessage::DataType::BYTE); + arg_s->add_intvalue((int)s); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glMultiTexCoord1bOES(texture, s); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glMultiTexCoord1bvOES(GLenum texture, const GLbyte * coords) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glMultiTexCoord1bvOES); + + // copy argument texture + GLMessage_DataType *arg_texture = glmsg.add_args(); + arg_texture->set_isarray(false); + arg_texture->set_type(GLMessage::DataType::ENUM); + arg_texture->add_intvalue((int)texture); + + // copy argument coords + GLMessage_DataType *arg_coords = glmsg.add_args(); + arg_coords->set_isarray(false); + arg_coords->set_type(GLMessage::DataType::INT64); + arg_coords->add_int64value((uintptr_t)coords); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glMultiTexCoord1bvOES(texture, coords); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) coords, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glMultiTexCoord2bOES(GLenum texture, GLbyte s, GLbyte t) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glMultiTexCoord2bOES); + + // copy argument texture + GLMessage_DataType *arg_texture = glmsg.add_args(); + arg_texture->set_isarray(false); + arg_texture->set_type(GLMessage::DataType::ENUM); + arg_texture->add_intvalue((int)texture); + + // copy argument s + GLMessage_DataType *arg_s = glmsg.add_args(); + arg_s->set_isarray(false); + arg_s->set_type(GLMessage::DataType::BYTE); + arg_s->add_intvalue((int)s); + + // copy argument t + GLMessage_DataType *arg_t = glmsg.add_args(); + arg_t->set_isarray(false); + arg_t->set_type(GLMessage::DataType::BYTE); + arg_t->add_intvalue((int)t); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glMultiTexCoord2bOES(texture, s, t); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glMultiTexCoord2bvOES(GLenum texture, const GLbyte * coords) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glMultiTexCoord2bvOES); + + // copy argument texture + GLMessage_DataType *arg_texture = glmsg.add_args(); + arg_texture->set_isarray(false); + arg_texture->set_type(GLMessage::DataType::ENUM); + arg_texture->add_intvalue((int)texture); + + // copy argument coords + GLMessage_DataType *arg_coords = glmsg.add_args(); + arg_coords->set_isarray(false); + arg_coords->set_type(GLMessage::DataType::INT64); + arg_coords->add_int64value((uintptr_t)coords); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glMultiTexCoord2bvOES(texture, coords); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) coords, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glMultiTexCoord3bOES(GLenum texture, GLbyte s, GLbyte t, GLbyte r) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glMultiTexCoord3bOES); + + // copy argument texture + GLMessage_DataType *arg_texture = glmsg.add_args(); + arg_texture->set_isarray(false); + arg_texture->set_type(GLMessage::DataType::ENUM); + arg_texture->add_intvalue((int)texture); + + // copy argument s + GLMessage_DataType *arg_s = glmsg.add_args(); + arg_s->set_isarray(false); + arg_s->set_type(GLMessage::DataType::BYTE); + arg_s->add_intvalue((int)s); + + // copy argument t + GLMessage_DataType *arg_t = glmsg.add_args(); + arg_t->set_isarray(false); + arg_t->set_type(GLMessage::DataType::BYTE); + arg_t->add_intvalue((int)t); + + // copy argument r + GLMessage_DataType *arg_r = glmsg.add_args(); + arg_r->set_isarray(false); + arg_r->set_type(GLMessage::DataType::BYTE); + arg_r->add_intvalue((int)r); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glMultiTexCoord3bOES(texture, s, t, r); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glMultiTexCoord3bvOES(GLenum texture, const GLbyte * coords) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glMultiTexCoord3bvOES); + + // copy argument texture + GLMessage_DataType *arg_texture = glmsg.add_args(); + arg_texture->set_isarray(false); + arg_texture->set_type(GLMessage::DataType::ENUM); + arg_texture->add_intvalue((int)texture); + + // copy argument coords + GLMessage_DataType *arg_coords = glmsg.add_args(); + arg_coords->set_isarray(false); + arg_coords->set_type(GLMessage::DataType::INT64); + arg_coords->add_int64value((uintptr_t)coords); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glMultiTexCoord3bvOES(texture, coords); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) coords, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glMultiTexCoord4bOES(GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glMultiTexCoord4bOES); + + // copy argument texture + GLMessage_DataType *arg_texture = glmsg.add_args(); + arg_texture->set_isarray(false); + arg_texture->set_type(GLMessage::DataType::ENUM); + arg_texture->add_intvalue((int)texture); + + // copy argument s + GLMessage_DataType *arg_s = glmsg.add_args(); + arg_s->set_isarray(false); + arg_s->set_type(GLMessage::DataType::BYTE); + arg_s->add_intvalue((int)s); + + // copy argument t + GLMessage_DataType *arg_t = glmsg.add_args(); + arg_t->set_isarray(false); + arg_t->set_type(GLMessage::DataType::BYTE); + arg_t->add_intvalue((int)t); + + // copy argument r + GLMessage_DataType *arg_r = glmsg.add_args(); + arg_r->set_isarray(false); + arg_r->set_type(GLMessage::DataType::BYTE); + arg_r->add_intvalue((int)r); + + // copy argument q + GLMessage_DataType *arg_q = glmsg.add_args(); + arg_q->set_isarray(false); + arg_q->set_type(GLMessage::DataType::BYTE); + arg_q->add_intvalue((int)q); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glMultiTexCoord4bOES(texture, s, t, r, q); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glMultiTexCoord4bvOES(GLenum texture, const GLbyte * coords) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glMultiTexCoord4bvOES); + + // copy argument texture + GLMessage_DataType *arg_texture = glmsg.add_args(); + arg_texture->set_isarray(false); + arg_texture->set_type(GLMessage::DataType::ENUM); + arg_texture->add_intvalue((int)texture); + + // copy argument coords + GLMessage_DataType *arg_coords = glmsg.add_args(); + arg_coords->set_isarray(false); + arg_coords->set_type(GLMessage::DataType::INT64); + arg_coords->add_int64value((uintptr_t)coords); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glMultiTexCoord4bvOES(texture, coords); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) coords, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glTexCoord1bOES(GLbyte s) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glTexCoord1bOES); + + // copy argument s + GLMessage_DataType *arg_s = glmsg.add_args(); + arg_s->set_isarray(false); + arg_s->set_type(GLMessage::DataType::BYTE); + arg_s->add_intvalue((int)s); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glTexCoord1bOES(s); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glTexCoord1bvOES(const GLbyte * coords) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glTexCoord1bvOES); + + // copy argument coords + GLMessage_DataType *arg_coords = glmsg.add_args(); + arg_coords->set_isarray(false); + arg_coords->set_type(GLMessage::DataType::INT64); + arg_coords->add_int64value((uintptr_t)coords); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glTexCoord1bvOES(coords); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) coords, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glTexCoord2bOES(GLbyte s, GLbyte t) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glTexCoord2bOES); + + // copy argument s + GLMessage_DataType *arg_s = glmsg.add_args(); + arg_s->set_isarray(false); + arg_s->set_type(GLMessage::DataType::BYTE); + arg_s->add_intvalue((int)s); + + // copy argument t + GLMessage_DataType *arg_t = glmsg.add_args(); + arg_t->set_isarray(false); + arg_t->set_type(GLMessage::DataType::BYTE); + arg_t->add_intvalue((int)t); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glTexCoord2bOES(s, t); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glTexCoord2bvOES(const GLbyte * coords) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glTexCoord2bvOES); + + // copy argument coords + GLMessage_DataType *arg_coords = glmsg.add_args(); + arg_coords->set_isarray(false); + arg_coords->set_type(GLMessage::DataType::INT64); + arg_coords->add_int64value((uintptr_t)coords); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glTexCoord2bvOES(coords); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) coords, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glTexCoord3bOES(GLbyte s, GLbyte t, GLbyte r) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glTexCoord3bOES); + + // copy argument s + GLMessage_DataType *arg_s = glmsg.add_args(); + arg_s->set_isarray(false); + arg_s->set_type(GLMessage::DataType::BYTE); + arg_s->add_intvalue((int)s); + + // copy argument t + GLMessage_DataType *arg_t = glmsg.add_args(); + arg_t->set_isarray(false); + arg_t->set_type(GLMessage::DataType::BYTE); + arg_t->add_intvalue((int)t); + + // copy argument r + GLMessage_DataType *arg_r = glmsg.add_args(); + arg_r->set_isarray(false); + arg_r->set_type(GLMessage::DataType::BYTE); + arg_r->add_intvalue((int)r); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glTexCoord3bOES(s, t, r); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glTexCoord3bvOES(const GLbyte * coords) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glTexCoord3bvOES); + + // copy argument coords + GLMessage_DataType *arg_coords = glmsg.add_args(); + arg_coords->set_isarray(false); + arg_coords->set_type(GLMessage::DataType::INT64); + arg_coords->add_int64value((uintptr_t)coords); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glTexCoord3bvOES(coords); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) coords, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glTexCoord4bOES(GLbyte s, GLbyte t, GLbyte r, GLbyte q) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glTexCoord4bOES); + + // copy argument s + GLMessage_DataType *arg_s = glmsg.add_args(); + arg_s->set_isarray(false); + arg_s->set_type(GLMessage::DataType::BYTE); + arg_s->add_intvalue((int)s); + + // copy argument t + GLMessage_DataType *arg_t = glmsg.add_args(); + arg_t->set_isarray(false); + arg_t->set_type(GLMessage::DataType::BYTE); + arg_t->add_intvalue((int)t); + + // copy argument r + GLMessage_DataType *arg_r = glmsg.add_args(); + arg_r->set_isarray(false); + arg_r->set_type(GLMessage::DataType::BYTE); + arg_r->add_intvalue((int)r); + + // copy argument q + GLMessage_DataType *arg_q = glmsg.add_args(); + arg_q->set_isarray(false); + arg_q->set_type(GLMessage::DataType::BYTE); + arg_q->add_intvalue((int)q); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glTexCoord4bOES(s, t, r, q); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glTexCoord4bvOES(const GLbyte * coords) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glTexCoord4bvOES); + + // copy argument coords + GLMessage_DataType *arg_coords = glmsg.add_args(); + arg_coords->set_isarray(false); + arg_coords->set_type(GLMessage::DataType::INT64); + arg_coords->add_int64value((uintptr_t)coords); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glTexCoord4bvOES(coords); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) coords, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glVertex2bOES(GLbyte x) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glVertex2bOES); + + // copy argument x + GLMessage_DataType *arg_x = glmsg.add_args(); + arg_x->set_isarray(false); + arg_x->set_type(GLMessage::DataType::BYTE); + arg_x->add_intvalue((int)x); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glVertex2bOES(x); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glVertex2bvOES(const GLbyte * coords) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glVertex2bvOES); + + // copy argument coords + GLMessage_DataType *arg_coords = glmsg.add_args(); + arg_coords->set_isarray(false); + arg_coords->set_type(GLMessage::DataType::INT64); + arg_coords->add_int64value((uintptr_t)coords); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glVertex2bvOES(coords); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) coords, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glVertex3bOES(GLbyte x, GLbyte y) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glVertex3bOES); + + // copy argument x + GLMessage_DataType *arg_x = glmsg.add_args(); + arg_x->set_isarray(false); + arg_x->set_type(GLMessage::DataType::BYTE); + arg_x->add_intvalue((int)x); + + // copy argument y + GLMessage_DataType *arg_y = glmsg.add_args(); + arg_y->set_isarray(false); + arg_y->set_type(GLMessage::DataType::BYTE); + arg_y->add_intvalue((int)y); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glVertex3bOES(x, y); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glVertex3bvOES(const GLbyte * coords) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glVertex3bvOES); + + // copy argument coords + GLMessage_DataType *arg_coords = glmsg.add_args(); + arg_coords->set_isarray(false); + arg_coords->set_type(GLMessage::DataType::INT64); + arg_coords->add_int64value((uintptr_t)coords); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glVertex3bvOES(coords); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) coords, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glVertex4bOES(GLbyte x, GLbyte y, GLbyte z) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glVertex4bOES); + + // copy argument x + GLMessage_DataType *arg_x = glmsg.add_args(); + arg_x->set_isarray(false); + arg_x->set_type(GLMessage::DataType::BYTE); + arg_x->add_intvalue((int)x); + + // copy argument y + GLMessage_DataType *arg_y = glmsg.add_args(); + arg_y->set_isarray(false); + arg_y->set_type(GLMessage::DataType::BYTE); + arg_y->add_intvalue((int)y); + + // copy argument z + GLMessage_DataType *arg_z = glmsg.add_args(); + arg_z->set_isarray(false); + arg_z->set_type(GLMessage::DataType::BYTE); + arg_z->add_intvalue((int)z); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glVertex4bOES(x, y, z); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glVertex4bvOES(const GLbyte * coords) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glVertex4bvOES); + + // copy argument coords + GLMessage_DataType *arg_coords = glmsg.add_args(); + arg_coords->set_isarray(false); + arg_coords->set_type(GLMessage::DataType::INT64); + arg_coords->add_int64value((uintptr_t)coords); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glVertex4bvOES(coords); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) coords, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + void GLTrace_glDrawTexsOES(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -19357,7 +23578,7 @@ void GLTrace_glDrawTexxOES(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfix glContext->traceGLMessage(&glmsg); } -void GLTrace_glDrawTexsvOES(const GLshort *coords) { +void GLTrace_glDrawTexsvOES(const GLshort * coords) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -19386,7 +23607,7 @@ void GLTrace_glDrawTexsvOES(const GLshort *coords) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glDrawTexivOES(const GLint *coords) { +void GLTrace_glDrawTexivOES(const GLint * coords) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -19415,7 +23636,7 @@ void GLTrace_glDrawTexivOES(const GLint *coords) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glDrawTexxvOES(const GLfixed *coords) { +void GLTrace_glDrawTexxvOES(const GLfixed * coords) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -19496,7 +23717,7 @@ void GLTrace_glDrawTexfOES(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLflo glContext->traceGLMessage(&glmsg); } -void GLTrace_glDrawTexfvOES(const GLfloat *coords) { +void GLTrace_glDrawTexfvOES(const GLfloat * coords) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -19525,7 +23746,7 @@ void GLTrace_glDrawTexfvOES(const GLfloat *coords) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glAlphaFuncxOES(GLenum func, GLclampx ref) { +void GLTrace_glAlphaFuncxOES(GLenum func, GLfixed ref) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -19559,7 +23780,7 @@ void GLTrace_glAlphaFuncxOES(GLenum func, GLclampx ref) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glClearColorxOES(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) { +void GLTrace_glClearColorxOES(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -19605,7 +23826,7 @@ void GLTrace_glClearColorxOES(GLclampx red, GLclampx green, GLclampx blue, GLcla glContext->traceGLMessage(&glmsg); } -void GLTrace_glClearDepthxOES(GLclampx depth) { +void GLTrace_glClearDepthxOES(GLfixed depth) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -19633,7 +23854,7 @@ void GLTrace_glClearDepthxOES(GLclampx depth) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glClipPlanexOES(GLenum plane, const GLfixed *equation) { +void GLTrace_glClipPlanexOES(GLenum plane, const GLfixed * equation) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -19714,28 +23935,28 @@ void GLTrace_glColor4xOES(GLfixed red, GLfixed green, GLfixed blue, GLfixed alph glContext->traceGLMessage(&glmsg); } -void GLTrace_glDepthRangexOES(GLclampx zNear, GLclampx zFar) { +void GLTrace_glDepthRangexOES(GLfixed n, GLfixed f) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); glmsg.set_function(GLMessage::glDepthRangexOES); - // copy argument zNear - GLMessage_DataType *arg_zNear = glmsg.add_args(); - arg_zNear->set_isarray(false); - arg_zNear->set_type(GLMessage::DataType::INT); - arg_zNear->add_intvalue(zNear); + // copy argument n + GLMessage_DataType *arg_n = glmsg.add_args(); + arg_n->set_isarray(false); + arg_n->set_type(GLMessage::DataType::INT); + arg_n->add_intvalue(n); - // copy argument zFar - GLMessage_DataType *arg_zFar = glmsg.add_args(); - arg_zFar->set_isarray(false); - arg_zFar->set_type(GLMessage::DataType::INT); - arg_zFar->add_intvalue(zFar); + // copy argument f + GLMessage_DataType *arg_f = glmsg.add_args(); + arg_f->set_isarray(false); + arg_f->set_type(GLMessage::DataType::INT); + arg_f->add_intvalue(f); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glDepthRangexOES(zNear, zFar); + glContext->hooks->gl.glDepthRangexOES(n, f); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -19782,7 +24003,7 @@ void GLTrace_glFogxOES(GLenum pname, GLfixed param) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glFogxvOES(GLenum pname, const GLfixed *params) { +void GLTrace_glFogxvOES(GLenum pname, const GLfixed * param) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -19794,21 +24015,21 @@ void GLTrace_glFogxvOES(GLenum pname, const GLfixed *params) { arg_pname->set_type(GLMessage::DataType::ENUM); arg_pname->add_intvalue((int)pname); - // copy argument params - GLMessage_DataType *arg_params = glmsg.add_args(); - arg_params->set_isarray(false); - arg_params->set_type(GLMessage::DataType::INT64); - arg_params->add_int64value((uintptr_t)params); + // copy argument param + GLMessage_DataType *arg_param = glmsg.add_args(); + arg_param->set_isarray(false); + arg_param->set_type(GLMessage::DataType::INT64); + arg_param->add_int64value((uintptr_t)param); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glFogxvOES(pname, params); + glContext->hooks->gl.glFogxvOES(pname, param); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { - (void *) params, + (void *) param, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -19817,52 +24038,52 @@ void GLTrace_glFogxvOES(GLenum pname, const GLfixed *params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glFrustumxOES(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) { +void GLTrace_glFrustumxOES(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); glmsg.set_function(GLMessage::glFrustumxOES); - // copy argument left - GLMessage_DataType *arg_left = glmsg.add_args(); - arg_left->set_isarray(false); - arg_left->set_type(GLMessage::DataType::INT); - arg_left->add_intvalue(left); + // copy argument l + GLMessage_DataType *arg_l = glmsg.add_args(); + arg_l->set_isarray(false); + arg_l->set_type(GLMessage::DataType::INT); + arg_l->add_intvalue(l); - // copy argument right - GLMessage_DataType *arg_right = glmsg.add_args(); - arg_right->set_isarray(false); - arg_right->set_type(GLMessage::DataType::INT); - arg_right->add_intvalue(right); + // copy argument r + GLMessage_DataType *arg_r = glmsg.add_args(); + arg_r->set_isarray(false); + arg_r->set_type(GLMessage::DataType::INT); + arg_r->add_intvalue(r); - // copy argument bottom - GLMessage_DataType *arg_bottom = glmsg.add_args(); - arg_bottom->set_isarray(false); - arg_bottom->set_type(GLMessage::DataType::INT); - arg_bottom->add_intvalue(bottom); + // copy argument b + GLMessage_DataType *arg_b = glmsg.add_args(); + arg_b->set_isarray(false); + arg_b->set_type(GLMessage::DataType::INT); + arg_b->add_intvalue(b); - // copy argument top - GLMessage_DataType *arg_top = glmsg.add_args(); - arg_top->set_isarray(false); - arg_top->set_type(GLMessage::DataType::INT); - arg_top->add_intvalue(top); + // copy argument t + GLMessage_DataType *arg_t = glmsg.add_args(); + arg_t->set_isarray(false); + arg_t->set_type(GLMessage::DataType::INT); + arg_t->add_intvalue(t); - // copy argument zNear - GLMessage_DataType *arg_zNear = glmsg.add_args(); - arg_zNear->set_isarray(false); - arg_zNear->set_type(GLMessage::DataType::INT); - arg_zNear->add_intvalue(zNear); + // copy argument n + GLMessage_DataType *arg_n = glmsg.add_args(); + arg_n->set_isarray(false); + arg_n->set_type(GLMessage::DataType::INT); + arg_n->add_intvalue(n); - // copy argument zFar - GLMessage_DataType *arg_zFar = glmsg.add_args(); - arg_zFar->set_isarray(false); - arg_zFar->set_type(GLMessage::DataType::INT); - arg_zFar->add_intvalue(zFar); + // copy argument f + GLMessage_DataType *arg_f = glmsg.add_args(); + arg_f->set_isarray(false); + arg_f->set_type(GLMessage::DataType::INT); + arg_f->add_intvalue(f); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glFrustumxOES(left, right, bottom, top, zNear, zFar); + glContext->hooks->gl.glFrustumxOES(l, r, b, t, n, f); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -19875,33 +24096,33 @@ void GLTrace_glFrustumxOES(GLfixed left, GLfixed right, GLfixed bottom, GLfixed glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetClipPlanexOES(GLenum pname, GLfixed eqn[4]) { +void GLTrace_glGetClipPlanexOES(GLenum plane, GLfixed * equation) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); glmsg.set_function(GLMessage::glGetClipPlanexOES); - // copy argument pname - GLMessage_DataType *arg_pname = glmsg.add_args(); - arg_pname->set_isarray(false); - arg_pname->set_type(GLMessage::DataType::ENUM); - arg_pname->add_intvalue((int)pname); + // copy argument plane + GLMessage_DataType *arg_plane = glmsg.add_args(); + arg_plane->set_isarray(false); + arg_plane->set_type(GLMessage::DataType::ENUM); + arg_plane->add_intvalue((int)plane); - // copy argument eqn - GLMessage_DataType *arg_eqn = glmsg.add_args(); - arg_eqn->set_isarray(false); - arg_eqn->set_type(GLMessage::DataType::INT64); - arg_eqn->add_int64value((uintptr_t)eqn); + // copy argument equation + GLMessage_DataType *arg_equation = glmsg.add_args(); + arg_equation->set_isarray(false); + arg_equation->set_type(GLMessage::DataType::INT64); + arg_equation->add_int64value((uintptr_t)equation); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glGetClipPlanexOES(pname, eqn); + glContext->hooks->gl.glGetClipPlanexOES(plane, equation); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { - (void *) eqn, + (void *) equation, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -19910,7 +24131,7 @@ void GLTrace_glGetClipPlanexOES(GLenum pname, GLfixed eqn[4]) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetFixedvOES(GLenum pname, GLfixed *params) { +void GLTrace_glGetFixedvOES(GLenum pname, GLfixed * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -19945,99 +24166,17 @@ void GLTrace_glGetFixedvOES(GLenum pname, GLfixed *params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetLightxvOES(GLenum light, GLenum pname, GLfixed *params) { - GLMessage glmsg; - GLTraceContext *glContext = getGLTraceContext(); - - glmsg.set_function(GLMessage::glGetLightxvOES); - - // copy argument light - GLMessage_DataType *arg_light = glmsg.add_args(); - arg_light->set_isarray(false); - arg_light->set_type(GLMessage::DataType::ENUM); - arg_light->add_intvalue((int)light); - - // copy argument pname - GLMessage_DataType *arg_pname = glmsg.add_args(); - arg_pname->set_isarray(false); - arg_pname->set_type(GLMessage::DataType::ENUM); - arg_pname->add_intvalue((int)pname); - - // copy argument params - GLMessage_DataType *arg_params = glmsg.add_args(); - arg_params->set_isarray(false); - arg_params->set_type(GLMessage::DataType::INT64); - arg_params->add_int64value((uintptr_t)params); - - // call function - nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); - nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glGetLightxvOES(light, pname, params); - nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); - nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); - - void *pointerArgs[] = { - (void *) params, - }; - - fixupGLMessage(glContext, wallStartTime, wallEndTime, - threadStartTime, threadEndTime, - &glmsg, pointerArgs); - glContext->traceGLMessage(&glmsg); -} - -void GLTrace_glGetMaterialxvOES(GLenum face, GLenum pname, GLfixed *params) { - GLMessage glmsg; - GLTraceContext *glContext = getGLTraceContext(); - - glmsg.set_function(GLMessage::glGetMaterialxvOES); - - // copy argument face - GLMessage_DataType *arg_face = glmsg.add_args(); - arg_face->set_isarray(false); - arg_face->set_type(GLMessage::DataType::ENUM); - arg_face->add_intvalue((int)face); - - // copy argument pname - GLMessage_DataType *arg_pname = glmsg.add_args(); - arg_pname->set_isarray(false); - arg_pname->set_type(GLMessage::DataType::ENUM); - arg_pname->add_intvalue((int)pname); - - // copy argument params - GLMessage_DataType *arg_params = glmsg.add_args(); - arg_params->set_isarray(false); - arg_params->set_type(GLMessage::DataType::INT64); - arg_params->add_int64value((uintptr_t)params); - - // call function - nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); - nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glGetMaterialxvOES(face, pname, params); - nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); - nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); - - void *pointerArgs[] = { - (void *) params, - }; - - fixupGLMessage(glContext, wallStartTime, wallEndTime, - threadStartTime, threadEndTime, - &glmsg, pointerArgs); - glContext->traceGLMessage(&glmsg); -} - -void GLTrace_glGetTexEnvxvOES(GLenum env, GLenum pname, GLfixed *params) { +void GLTrace_glGetTexEnvxvOES(GLenum target, GLenum pname, GLfixed * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); glmsg.set_function(GLMessage::glGetTexEnvxvOES); - // copy argument env - GLMessage_DataType *arg_env = glmsg.add_args(); - arg_env->set_isarray(false); - arg_env->set_type(GLMessage::DataType::ENUM); - arg_env->add_intvalue((int)env); + // copy argument target + GLMessage_DataType *arg_target = glmsg.add_args(); + arg_target->set_isarray(false); + arg_target->set_type(GLMessage::DataType::ENUM); + arg_target->add_intvalue((int)target); // copy argument pname GLMessage_DataType *arg_pname = glmsg.add_args(); @@ -20054,7 +24193,7 @@ void GLTrace_glGetTexEnvxvOES(GLenum env, GLenum pname, GLfixed *params) { // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glGetTexEnvxvOES(env, pname, params); + glContext->hooks->gl.glGetTexEnvxvOES(target, pname, params); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -20068,7 +24207,7 @@ void GLTrace_glGetTexEnvxvOES(GLenum env, GLenum pname, GLfixed *params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetTexParameterxvOES(GLenum target, GLenum pname, GLfixed *params) { +void GLTrace_glGetTexParameterxvOES(GLenum target, GLenum pname, GLfixed * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -20143,7 +24282,7 @@ void GLTrace_glLightModelxOES(GLenum pname, GLfixed param) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glLightModelxvOES(GLenum pname, const GLfixed *params) { +void GLTrace_glLightModelxvOES(GLenum pname, const GLfixed * param) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -20155,21 +24294,21 @@ void GLTrace_glLightModelxvOES(GLenum pname, const GLfixed *params) { arg_pname->set_type(GLMessage::DataType::ENUM); arg_pname->add_intvalue((int)pname); - // copy argument params - GLMessage_DataType *arg_params = glmsg.add_args(); - arg_params->set_isarray(false); - arg_params->set_type(GLMessage::DataType::INT64); - arg_params->add_int64value((uintptr_t)params); + // copy argument param + GLMessage_DataType *arg_param = glmsg.add_args(); + arg_param->set_isarray(false); + arg_param->set_type(GLMessage::DataType::INT64); + arg_param->add_int64value((uintptr_t)param); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glLightModelxvOES(pname, params); + glContext->hooks->gl.glLightModelxvOES(pname, param); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { - (void *) params, + (void *) param, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -20218,7 +24357,7 @@ void GLTrace_glLightxOES(GLenum light, GLenum pname, GLfixed param) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glLightxvOES(GLenum light, GLenum pname, const GLfixed *params) { +void GLTrace_glLightxvOES(GLenum light, GLenum pname, const GLfixed * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -20287,7 +24426,7 @@ void GLTrace_glLineWidthxOES(GLfixed width) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glLoadMatrixxOES(const GLfixed *m) { +void GLTrace_glLoadMatrixxOES(const GLfixed * m) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -20356,7 +24495,7 @@ void GLTrace_glMaterialxOES(GLenum face, GLenum pname, GLfixed param) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glMaterialxvOES(GLenum face, GLenum pname, const GLfixed *params) { +void GLTrace_glMaterialxvOES(GLenum face, GLenum pname, const GLfixed * param) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -20374,21 +24513,21 @@ void GLTrace_glMaterialxvOES(GLenum face, GLenum pname, const GLfixed *params) { arg_pname->set_type(GLMessage::DataType::ENUM); arg_pname->add_intvalue((int)pname); - // copy argument params - GLMessage_DataType *arg_params = glmsg.add_args(); - arg_params->set_isarray(false); - arg_params->set_type(GLMessage::DataType::INT64); - arg_params->add_int64value((uintptr_t)params); + // copy argument param + GLMessage_DataType *arg_param = glmsg.add_args(); + arg_param->set_isarray(false); + arg_param->set_type(GLMessage::DataType::INT64); + arg_param->add_int64value((uintptr_t)param); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glMaterialxvOES(face, pname, params); + glContext->hooks->gl.glMaterialxvOES(face, pname, param); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { - (void *) params, + (void *) param, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -20397,7 +24536,7 @@ void GLTrace_glMaterialxvOES(GLenum face, GLenum pname, const GLfixed *params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glMultMatrixxOES(const GLfixed *m) { +void GLTrace_glMultMatrixxOES(const GLfixed * m) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -20426,17 +24565,17 @@ void GLTrace_glMultMatrixxOES(const GLfixed *m) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glMultiTexCoord4xOES(GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q) { +void GLTrace_glMultiTexCoord4xOES(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); glmsg.set_function(GLMessage::glMultiTexCoord4xOES); - // copy argument target - GLMessage_DataType *arg_target = glmsg.add_args(); - arg_target->set_isarray(false); - arg_target->set_type(GLMessage::DataType::ENUM); - arg_target->add_intvalue((int)target); + // copy argument texture + GLMessage_DataType *arg_texture = glmsg.add_args(); + arg_texture->set_isarray(false); + arg_texture->set_type(GLMessage::DataType::ENUM); + arg_texture->add_intvalue((int)texture); // copy argument s GLMessage_DataType *arg_s = glmsg.add_args(); @@ -20465,7 +24604,7 @@ void GLTrace_glMultiTexCoord4xOES(GLenum target, GLfixed s, GLfixed t, GLfixed r // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glMultiTexCoord4xOES(target, s, t, r, q); + glContext->hooks->gl.glMultiTexCoord4xOES(texture, s, t, r, q); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -20518,52 +24657,52 @@ void GLTrace_glNormal3xOES(GLfixed nx, GLfixed ny, GLfixed nz) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glOrthoxOES(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) { +void GLTrace_glOrthoxOES(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); glmsg.set_function(GLMessage::glOrthoxOES); - // copy argument left - GLMessage_DataType *arg_left = glmsg.add_args(); - arg_left->set_isarray(false); - arg_left->set_type(GLMessage::DataType::INT); - arg_left->add_intvalue(left); + // copy argument l + GLMessage_DataType *arg_l = glmsg.add_args(); + arg_l->set_isarray(false); + arg_l->set_type(GLMessage::DataType::INT); + arg_l->add_intvalue(l); - // copy argument right - GLMessage_DataType *arg_right = glmsg.add_args(); - arg_right->set_isarray(false); - arg_right->set_type(GLMessage::DataType::INT); - arg_right->add_intvalue(right); + // copy argument r + GLMessage_DataType *arg_r = glmsg.add_args(); + arg_r->set_isarray(false); + arg_r->set_type(GLMessage::DataType::INT); + arg_r->add_intvalue(r); - // copy argument bottom - GLMessage_DataType *arg_bottom = glmsg.add_args(); - arg_bottom->set_isarray(false); - arg_bottom->set_type(GLMessage::DataType::INT); - arg_bottom->add_intvalue(bottom); + // copy argument b + GLMessage_DataType *arg_b = glmsg.add_args(); + arg_b->set_isarray(false); + arg_b->set_type(GLMessage::DataType::INT); + arg_b->add_intvalue(b); - // copy argument top - GLMessage_DataType *arg_top = glmsg.add_args(); - arg_top->set_isarray(false); - arg_top->set_type(GLMessage::DataType::INT); - arg_top->add_intvalue(top); + // copy argument t + GLMessage_DataType *arg_t = glmsg.add_args(); + arg_t->set_isarray(false); + arg_t->set_type(GLMessage::DataType::INT); + arg_t->add_intvalue(t); - // copy argument zNear - GLMessage_DataType *arg_zNear = glmsg.add_args(); - arg_zNear->set_isarray(false); - arg_zNear->set_type(GLMessage::DataType::INT); - arg_zNear->add_intvalue(zNear); + // copy argument n + GLMessage_DataType *arg_n = glmsg.add_args(); + arg_n->set_isarray(false); + arg_n->set_type(GLMessage::DataType::INT); + arg_n->add_intvalue(n); - // copy argument zFar - GLMessage_DataType *arg_zFar = glmsg.add_args(); - arg_zFar->set_isarray(false); - arg_zFar->set_type(GLMessage::DataType::INT); - arg_zFar->add_intvalue(zFar); + // copy argument f + GLMessage_DataType *arg_f = glmsg.add_args(); + arg_f->set_isarray(false); + arg_f->set_type(GLMessage::DataType::INT); + arg_f->add_intvalue(f); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glOrthoxOES(left, right, bottom, top, zNear, zFar); + glContext->hooks->gl.glOrthoxOES(l, r, b, t, n, f); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -20576,41 +24715,7 @@ void GLTrace_glOrthoxOES(GLfixed left, GLfixed right, GLfixed bottom, GLfixed to glContext->traceGLMessage(&glmsg); } -void GLTrace_glPointParameterxOES(GLenum pname, GLfixed param) { - GLMessage glmsg; - GLTraceContext *glContext = getGLTraceContext(); - - glmsg.set_function(GLMessage::glPointParameterxOES); - - // copy argument pname - GLMessage_DataType *arg_pname = glmsg.add_args(); - arg_pname->set_isarray(false); - arg_pname->set_type(GLMessage::DataType::ENUM); - arg_pname->add_intvalue((int)pname); - - // copy argument param - GLMessage_DataType *arg_param = glmsg.add_args(); - arg_param->set_isarray(false); - arg_param->set_type(GLMessage::DataType::INT); - arg_param->add_intvalue(param); - - // call function - nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); - nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glPointParameterxOES(pname, param); - nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); - nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); - - void *pointerArgs[] = { - }; - - fixupGLMessage(glContext, wallStartTime, wallEndTime, - threadStartTime, threadEndTime, - &glmsg, pointerArgs); - glContext->traceGLMessage(&glmsg); -} - -void GLTrace_glPointParameterxvOES(GLenum pname, const GLfixed *params) { +void GLTrace_glPointParameterxvOES(GLenum pname, const GLfixed * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -20753,11 +24858,11 @@ void GLTrace_glRotatexOES(GLfixed angle, GLfixed x, GLfixed y, GLfixed z) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glSampleCoveragexOES(GLclampx value, GLboolean invert) { +void GLTrace_glSampleCoverageOES(GLfixed value, GLboolean invert) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); - glmsg.set_function(GLMessage::glSampleCoveragexOES); + glmsg.set_function(GLMessage::glSampleCoverageOES); // copy argument value GLMessage_DataType *arg_value = glmsg.add_args(); @@ -20774,7 +24879,7 @@ void GLTrace_glSampleCoveragexOES(GLclampx value, GLboolean invert) { // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glSampleCoveragexOES(value, invert); + glContext->hooks->gl.glSampleCoverageOES(value, invert); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -20867,7 +24972,7 @@ void GLTrace_glTexEnvxOES(GLenum target, GLenum pname, GLfixed param) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glTexEnvxvOES(GLenum target, GLenum pname, const GLfixed *params) { +void GLTrace_glTexEnvxvOES(GLenum target, GLenum pname, const GLfixed * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -20948,7 +25053,7 @@ void GLTrace_glTexParameterxOES(GLenum target, GLenum pname, GLfixed param) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glTexParameterxvOES(GLenum target, GLenum pname, const GLfixed *params) { +void GLTrace_glTexParameterxvOES(GLenum target, GLenum pname, const GLfixed * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -21029,6 +25134,278 @@ void GLTrace_glTranslatexOES(GLfixed x, GLfixed y, GLfixed z) { glContext->traceGLMessage(&glmsg); } +void GLTrace_glGetLightxvOES(GLenum light, GLenum pname, GLfixed * params) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glGetLightxvOES); + + // copy argument light + GLMessage_DataType *arg_light = glmsg.add_args(); + arg_light->set_isarray(false); + arg_light->set_type(GLMessage::DataType::ENUM); + arg_light->add_intvalue((int)light); + + // copy argument pname + GLMessage_DataType *arg_pname = glmsg.add_args(); + arg_pname->set_isarray(false); + arg_pname->set_type(GLMessage::DataType::ENUM); + arg_pname->add_intvalue((int)pname); + + // copy argument params + GLMessage_DataType *arg_params = glmsg.add_args(); + arg_params->set_isarray(false); + arg_params->set_type(GLMessage::DataType::INT64); + arg_params->add_int64value((uintptr_t)params); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glGetLightxvOES(light, pname, params); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) params, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glGetMaterialxvOES(GLenum face, GLenum pname, GLfixed * params) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glGetMaterialxvOES); + + // copy argument face + GLMessage_DataType *arg_face = glmsg.add_args(); + arg_face->set_isarray(false); + arg_face->set_type(GLMessage::DataType::ENUM); + arg_face->add_intvalue((int)face); + + // copy argument pname + GLMessage_DataType *arg_pname = glmsg.add_args(); + arg_pname->set_isarray(false); + arg_pname->set_type(GLMessage::DataType::ENUM); + arg_pname->add_intvalue((int)pname); + + // copy argument params + GLMessage_DataType *arg_params = glmsg.add_args(); + arg_params->set_isarray(false); + arg_params->set_type(GLMessage::DataType::INT64); + arg_params->add_int64value((uintptr_t)params); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glGetMaterialxvOES(face, pname, params); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) params, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glPointParameterxOES(GLenum pname, GLfixed param) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glPointParameterxOES); + + // copy argument pname + GLMessage_DataType *arg_pname = glmsg.add_args(); + arg_pname->set_isarray(false); + arg_pname->set_type(GLMessage::DataType::ENUM); + arg_pname->add_intvalue((int)pname); + + // copy argument param + GLMessage_DataType *arg_param = glmsg.add_args(); + arg_param->set_isarray(false); + arg_param->set_type(GLMessage::DataType::INT); + arg_param->add_intvalue(param); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glPointParameterxOES(pname, param); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glSampleCoveragexOES(GLclampx value, GLboolean invert) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glSampleCoveragexOES); + + // copy argument value + GLMessage_DataType *arg_value = glmsg.add_args(); + arg_value->set_isarray(false); + arg_value->set_type(GLMessage::DataType::INT); + arg_value->add_intvalue(value); + + // copy argument invert + GLMessage_DataType *arg_invert = glmsg.add_args(); + arg_invert->set_isarray(false); + arg_invert->set_type(GLMessage::DataType::BOOL); + arg_invert->add_boolvalue(invert); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glSampleCoveragexOES(value, invert); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glGetTexGenxvOES(GLenum coord, GLenum pname, GLfixed * params) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glGetTexGenxvOES); + + // copy argument coord + GLMessage_DataType *arg_coord = glmsg.add_args(); + arg_coord->set_isarray(false); + arg_coord->set_type(GLMessage::DataType::ENUM); + arg_coord->add_intvalue((int)coord); + + // copy argument pname + GLMessage_DataType *arg_pname = glmsg.add_args(); + arg_pname->set_isarray(false); + arg_pname->set_type(GLMessage::DataType::ENUM); + arg_pname->add_intvalue((int)pname); + + // copy argument params + GLMessage_DataType *arg_params = glmsg.add_args(); + arg_params->set_isarray(false); + arg_params->set_type(GLMessage::DataType::INT64); + arg_params->add_int64value((uintptr_t)params); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glGetTexGenxvOES(coord, pname, params); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) params, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glTexGenxOES(GLenum coord, GLenum pname, GLfixed param) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glTexGenxOES); + + // copy argument coord + GLMessage_DataType *arg_coord = glmsg.add_args(); + arg_coord->set_isarray(false); + arg_coord->set_type(GLMessage::DataType::ENUM); + arg_coord->add_intvalue((int)coord); + + // copy argument pname + GLMessage_DataType *arg_pname = glmsg.add_args(); + arg_pname->set_isarray(false); + arg_pname->set_type(GLMessage::DataType::ENUM); + arg_pname->add_intvalue((int)pname); + + // copy argument param + GLMessage_DataType *arg_param = glmsg.add_args(); + arg_param->set_isarray(false); + arg_param->set_type(GLMessage::DataType::INT); + arg_param->add_intvalue(param); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glTexGenxOES(coord, pname, param); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glTexGenxvOES(GLenum coord, GLenum pname, const GLfixed * params) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glTexGenxvOES); + + // copy argument coord + GLMessage_DataType *arg_coord = glmsg.add_args(); + arg_coord->set_isarray(false); + arg_coord->set_type(GLMessage::DataType::ENUM); + arg_coord->add_intvalue((int)coord); + + // copy argument pname + GLMessage_DataType *arg_pname = glmsg.add_args(); + arg_pname->set_isarray(false); + arg_pname->set_type(GLMessage::DataType::ENUM); + arg_pname->add_intvalue((int)pname); + + // copy argument params + GLMessage_DataType *arg_params = glmsg.add_args(); + arg_params->set_isarray(false); + arg_params->set_type(GLMessage::DataType::INT64); + arg_params->add_int64value((uintptr_t)params); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glTexGenxvOES(coord, pname, params); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) params, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + GLboolean GLTrace_glIsRenderbufferOES(GLuint renderbuffer) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -21099,7 +25476,7 @@ void GLTrace_glBindRenderbufferOES(GLenum target, GLuint renderbuffer) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glDeleteRenderbuffersOES(GLsizei n, const GLuint* renderbuffers) { +void GLTrace_glDeleteRenderbuffersOES(GLsizei n, const GLuint * renderbuffers) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -21134,7 +25511,7 @@ void GLTrace_glDeleteRenderbuffersOES(GLsizei n, const GLuint* renderbuffers) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGenRenderbuffersOES(GLsizei n, GLuint* renderbuffers) { +void GLTrace_glGenRenderbuffersOES(GLsizei n, GLuint * renderbuffers) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -21215,7 +25592,7 @@ void GLTrace_glRenderbufferStorageOES(GLenum target, GLenum internalformat, GLsi glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetRenderbufferParameterivOES(GLenum target, GLenum pname, GLint* params) { +void GLTrace_glGetRenderbufferParameterivOES(GLenum target, GLenum pname, GLint * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -21326,7 +25703,7 @@ void GLTrace_glBindFramebufferOES(GLenum target, GLuint framebuffer) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glDeleteFramebuffersOES(GLsizei n, const GLuint* framebuffers) { +void GLTrace_glDeleteFramebuffersOES(GLsizei n, const GLuint * framebuffers) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -21361,7 +25738,7 @@ void GLTrace_glDeleteFramebuffersOES(GLsizei n, const GLuint* framebuffers) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGenFramebuffersOES(GLsizei n, GLuint* framebuffers) { +void GLTrace_glGenFramebuffersOES(GLsizei n, GLuint * framebuffers) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -21530,7 +25907,7 @@ void GLTrace_glFramebufferTexture2DOES(GLenum target, GLenum attachment, GLenum glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetFramebufferAttachmentParameterivOES(GLenum target, GLenum attachment, GLenum pname, GLint* params) { +void GLTrace_glGetFramebufferAttachmentParameterivOES(GLenum target, GLenum attachment, GLenum pname, GLint * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -21655,7 +26032,7 @@ void GLTrace_glLoadPaletteFromModelViewMatrixOES(void) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glMatrixIndexPointerOES(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) { +void GLTrace_glMatrixIndexPointerOES(GLint size, GLenum type, GLsizei stride, const void * pointer) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -21702,7 +26079,7 @@ void GLTrace_glMatrixIndexPointerOES(GLint size, GLenum type, GLsizei stride, co glContext->traceGLMessage(&glmsg); } -void GLTrace_glWeightPointerOES(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) { +void GLTrace_glWeightPointerOES(GLint size, GLenum type, GLsizei stride, const void * pointer) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -21749,7 +26126,48 @@ void GLTrace_glWeightPointerOES(GLint size, GLenum type, GLsizei stride, const G glContext->traceGLMessage(&glmsg); } -GLbitfield GLTrace_glQueryMatrixxOES(GLfixed mantissa[16], GLint exponent[16]) { +void GLTrace_glPointSizePointerOES(GLenum type, GLsizei stride, const void * pointer) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glPointSizePointerOES); + + // copy argument type + GLMessage_DataType *arg_type = glmsg.add_args(); + arg_type->set_isarray(false); + arg_type->set_type(GLMessage::DataType::ENUM); + arg_type->add_intvalue((int)type); + + // copy argument stride + GLMessage_DataType *arg_stride = glmsg.add_args(); + arg_stride->set_isarray(false); + arg_stride->set_type(GLMessage::DataType::INT); + arg_stride->add_intvalue(stride); + + // copy argument pointer + GLMessage_DataType *arg_pointer = glmsg.add_args(); + arg_pointer->set_isarray(false); + arg_pointer->set_type(GLMessage::DataType::INT64); + arg_pointer->add_int64value((uintptr_t)pointer); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glPointSizePointerOES(type, stride, pointer); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) pointer, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +GLbitfield GLTrace_glQueryMatrixxOES(GLfixed * mantissa, GLint * exponent) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -21793,28 +26211,22 @@ GLbitfield GLTrace_glQueryMatrixxOES(GLfixed mantissa[16], GLint exponent[16]) { return retValue; } -void GLTrace_glDepthRangefOES(GLclampf zNear, GLclampf zFar) { +void GLTrace_glClearDepthfOES(GLclampf depth) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); - glmsg.set_function(GLMessage::glDepthRangefOES); + glmsg.set_function(GLMessage::glClearDepthfOES); - // copy argument zNear - GLMessage_DataType *arg_zNear = glmsg.add_args(); - arg_zNear->set_isarray(false); - arg_zNear->set_type(GLMessage::DataType::FLOAT); - arg_zNear->add_floatvalue(zNear); - - // copy argument zFar - GLMessage_DataType *arg_zFar = glmsg.add_args(); - arg_zFar->set_isarray(false); - arg_zFar->set_type(GLMessage::DataType::FLOAT); - arg_zFar->add_floatvalue(zFar); + // copy argument depth + GLMessage_DataType *arg_depth = glmsg.add_args(); + arg_depth->set_isarray(false); + arg_depth->set_type(GLMessage::DataType::FLOAT); + arg_depth->add_floatvalue(depth); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glDepthRangefOES(zNear, zFar); + glContext->hooks->gl.glClearDepthfOES(depth); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -21827,123 +26239,7 @@ void GLTrace_glDepthRangefOES(GLclampf zNear, GLclampf zFar) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glFrustumfOES(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) { - GLMessage glmsg; - GLTraceContext *glContext = getGLTraceContext(); - - glmsg.set_function(GLMessage::glFrustumfOES); - - // copy argument left - GLMessage_DataType *arg_left = glmsg.add_args(); - arg_left->set_isarray(false); - arg_left->set_type(GLMessage::DataType::FLOAT); - arg_left->add_floatvalue(left); - - // copy argument right - GLMessage_DataType *arg_right = glmsg.add_args(); - arg_right->set_isarray(false); - arg_right->set_type(GLMessage::DataType::FLOAT); - arg_right->add_floatvalue(right); - - // copy argument bottom - GLMessage_DataType *arg_bottom = glmsg.add_args(); - arg_bottom->set_isarray(false); - arg_bottom->set_type(GLMessage::DataType::FLOAT); - arg_bottom->add_floatvalue(bottom); - - // copy argument top - GLMessage_DataType *arg_top = glmsg.add_args(); - arg_top->set_isarray(false); - arg_top->set_type(GLMessage::DataType::FLOAT); - arg_top->add_floatvalue(top); - - // copy argument zNear - GLMessage_DataType *arg_zNear = glmsg.add_args(); - arg_zNear->set_isarray(false); - arg_zNear->set_type(GLMessage::DataType::FLOAT); - arg_zNear->add_floatvalue(zNear); - - // copy argument zFar - GLMessage_DataType *arg_zFar = glmsg.add_args(); - arg_zFar->set_isarray(false); - arg_zFar->set_type(GLMessage::DataType::FLOAT); - arg_zFar->add_floatvalue(zFar); - - // call function - nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); - nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glFrustumfOES(left, right, bottom, top, zNear, zFar); - nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); - nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); - - void *pointerArgs[] = { - }; - - fixupGLMessage(glContext, wallStartTime, wallEndTime, - threadStartTime, threadEndTime, - &glmsg, pointerArgs); - glContext->traceGLMessage(&glmsg); -} - -void GLTrace_glOrthofOES(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) { - GLMessage glmsg; - GLTraceContext *glContext = getGLTraceContext(); - - glmsg.set_function(GLMessage::glOrthofOES); - - // copy argument left - GLMessage_DataType *arg_left = glmsg.add_args(); - arg_left->set_isarray(false); - arg_left->set_type(GLMessage::DataType::FLOAT); - arg_left->add_floatvalue(left); - - // copy argument right - GLMessage_DataType *arg_right = glmsg.add_args(); - arg_right->set_isarray(false); - arg_right->set_type(GLMessage::DataType::FLOAT); - arg_right->add_floatvalue(right); - - // copy argument bottom - GLMessage_DataType *arg_bottom = glmsg.add_args(); - arg_bottom->set_isarray(false); - arg_bottom->set_type(GLMessage::DataType::FLOAT); - arg_bottom->add_floatvalue(bottom); - - // copy argument top - GLMessage_DataType *arg_top = glmsg.add_args(); - arg_top->set_isarray(false); - arg_top->set_type(GLMessage::DataType::FLOAT); - arg_top->add_floatvalue(top); - - // copy argument zNear - GLMessage_DataType *arg_zNear = glmsg.add_args(); - arg_zNear->set_isarray(false); - arg_zNear->set_type(GLMessage::DataType::FLOAT); - arg_zNear->add_floatvalue(zNear); - - // copy argument zFar - GLMessage_DataType *arg_zFar = glmsg.add_args(); - arg_zFar->set_isarray(false); - arg_zFar->set_type(GLMessage::DataType::FLOAT); - arg_zFar->add_floatvalue(zFar); - - // call function - nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); - nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glOrthofOES(left, right, bottom, top, zNear, zFar); - nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); - nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); - - void *pointerArgs[] = { - }; - - fixupGLMessage(glContext, wallStartTime, wallEndTime, - threadStartTime, threadEndTime, - &glmsg, pointerArgs); - glContext->traceGLMessage(&glmsg); -} - -void GLTrace_glClipPlanefOES(GLenum plane, const GLfloat *equation) { +void GLTrace_glClipPlanefOES(GLenum plane, const GLfloat * equation) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -21978,33 +26274,32 @@ void GLTrace_glClipPlanefOES(GLenum plane, const GLfloat *equation) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetClipPlanefOES(GLenum pname, GLfloat eqn[4]) { +void GLTrace_glDepthRangefOES(GLclampf n, GLclampf f) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); - glmsg.set_function(GLMessage::glGetClipPlanefOES); + glmsg.set_function(GLMessage::glDepthRangefOES); - // copy argument pname - GLMessage_DataType *arg_pname = glmsg.add_args(); - arg_pname->set_isarray(false); - arg_pname->set_type(GLMessage::DataType::ENUM); - arg_pname->add_intvalue((int)pname); + // copy argument n + GLMessage_DataType *arg_n = glmsg.add_args(); + arg_n->set_isarray(false); + arg_n->set_type(GLMessage::DataType::FLOAT); + arg_n->add_floatvalue(n); - // copy argument eqn - GLMessage_DataType *arg_eqn = glmsg.add_args(); - arg_eqn->set_isarray(false); - arg_eqn->set_type(GLMessage::DataType::INT64); - arg_eqn->add_int64value((uintptr_t)eqn); + // copy argument f + GLMessage_DataType *arg_f = glmsg.add_args(); + arg_f->set_isarray(false); + arg_f->set_type(GLMessage::DataType::FLOAT); + arg_f->add_floatvalue(f); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glGetClipPlanefOES(pname, eqn); + glContext->hooks->gl.glDepthRangefOES(n, f); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); void *pointerArgs[] = { - (void *) eqn, }; fixupGLMessage(glContext, wallStartTime, wallEndTime, @@ -22013,22 +26308,145 @@ void GLTrace_glGetClipPlanefOES(GLenum pname, GLfloat eqn[4]) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glClearDepthfOES(GLclampf depth) { +void GLTrace_glFrustumfOES(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); - glmsg.set_function(GLMessage::glClearDepthfOES); + glmsg.set_function(GLMessage::glFrustumfOES); - // copy argument depth - GLMessage_DataType *arg_depth = glmsg.add_args(); - arg_depth->set_isarray(false); - arg_depth->set_type(GLMessage::DataType::FLOAT); - arg_depth->add_floatvalue(depth); + // copy argument l + GLMessage_DataType *arg_l = glmsg.add_args(); + arg_l->set_isarray(false); + arg_l->set_type(GLMessage::DataType::FLOAT); + arg_l->add_floatvalue(l); + + // copy argument r + GLMessage_DataType *arg_r = glmsg.add_args(); + arg_r->set_isarray(false); + arg_r->set_type(GLMessage::DataType::FLOAT); + arg_r->add_floatvalue(r); + + // copy argument b + GLMessage_DataType *arg_b = glmsg.add_args(); + arg_b->set_isarray(false); + arg_b->set_type(GLMessage::DataType::FLOAT); + arg_b->add_floatvalue(b); + + // copy argument t + GLMessage_DataType *arg_t = glmsg.add_args(); + arg_t->set_isarray(false); + arg_t->set_type(GLMessage::DataType::FLOAT); + arg_t->add_floatvalue(t); + + // copy argument n + GLMessage_DataType *arg_n = glmsg.add_args(); + arg_n->set_isarray(false); + arg_n->set_type(GLMessage::DataType::FLOAT); + arg_n->add_floatvalue(n); + + // copy argument f + GLMessage_DataType *arg_f = glmsg.add_args(); + arg_f->set_isarray(false); + arg_f->set_type(GLMessage::DataType::FLOAT); + arg_f->add_floatvalue(f); // call function nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glClearDepthfOES(depth); + glContext->hooks->gl.glFrustumfOES(l, r, b, t, n, f); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glGetClipPlanefOES(GLenum plane, GLfloat * equation) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glGetClipPlanefOES); + + // copy argument plane + GLMessage_DataType *arg_plane = glmsg.add_args(); + arg_plane->set_isarray(false); + arg_plane->set_type(GLMessage::DataType::ENUM); + arg_plane->add_intvalue((int)plane); + + // copy argument equation + GLMessage_DataType *arg_equation = glmsg.add_args(); + arg_equation->set_isarray(false); + arg_equation->set_type(GLMessage::DataType::INT64); + arg_equation->add_int64value((uintptr_t)equation); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glGetClipPlanefOES(plane, equation); + nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); + nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); + + void *pointerArgs[] = { + (void *) equation, + }; + + fixupGLMessage(glContext, wallStartTime, wallEndTime, + threadStartTime, threadEndTime, + &glmsg, pointerArgs); + glContext->traceGLMessage(&glmsg); +} + +void GLTrace_glOrthofOES(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) { + GLMessage glmsg; + GLTraceContext *glContext = getGLTraceContext(); + + glmsg.set_function(GLMessage::glOrthofOES); + + // copy argument l + GLMessage_DataType *arg_l = glmsg.add_args(); + arg_l->set_isarray(false); + arg_l->set_type(GLMessage::DataType::FLOAT); + arg_l->add_floatvalue(l); + + // copy argument r + GLMessage_DataType *arg_r = glmsg.add_args(); + arg_r->set_isarray(false); + arg_r->set_type(GLMessage::DataType::FLOAT); + arg_r->add_floatvalue(r); + + // copy argument b + GLMessage_DataType *arg_b = glmsg.add_args(); + arg_b->set_isarray(false); + arg_b->set_type(GLMessage::DataType::FLOAT); + arg_b->add_floatvalue(b); + + // copy argument t + GLMessage_DataType *arg_t = glmsg.add_args(); + arg_t->set_isarray(false); + arg_t->set_type(GLMessage::DataType::FLOAT); + arg_t->add_floatvalue(t); + + // copy argument n + GLMessage_DataType *arg_n = glmsg.add_args(); + arg_n->set_isarray(false); + arg_n->set_type(GLMessage::DataType::FLOAT); + arg_n->add_floatvalue(n); + + // copy argument f + GLMessage_DataType *arg_f = glmsg.add_args(); + arg_f->set_isarray(false); + arg_f->set_type(GLMessage::DataType::FLOAT); + arg_f->add_floatvalue(f); + + // call function + nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); + nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); + glContext->hooks->gl.glOrthofOES(l, r, b, t, n, f); nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); @@ -22081,7 +26499,7 @@ void GLTrace_glTexGenfOES(GLenum coord, GLenum pname, GLfloat param) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glTexGenfvOES(GLenum coord, GLenum pname, const GLfloat *params) { +void GLTrace_glTexGenfvOES(GLenum coord, GLenum pname, const GLfloat * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -22162,7 +26580,7 @@ void GLTrace_glTexGeniOES(GLenum coord, GLenum pname, GLint param) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glTexGenivOES(GLenum coord, GLenum pname, const GLint *params) { +void GLTrace_glTexGenivOES(GLenum coord, GLenum pname, const GLint * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -22203,88 +26621,7 @@ void GLTrace_glTexGenivOES(GLenum coord, GLenum pname, const GLint *params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glTexGenxOES(GLenum coord, GLenum pname, GLfixed param) { - GLMessage glmsg; - GLTraceContext *glContext = getGLTraceContext(); - - glmsg.set_function(GLMessage::glTexGenxOES); - - // copy argument coord - GLMessage_DataType *arg_coord = glmsg.add_args(); - arg_coord->set_isarray(false); - arg_coord->set_type(GLMessage::DataType::ENUM); - arg_coord->add_intvalue((int)coord); - - // copy argument pname - GLMessage_DataType *arg_pname = glmsg.add_args(); - arg_pname->set_isarray(false); - arg_pname->set_type(GLMessage::DataType::ENUM); - arg_pname->add_intvalue((int)pname); - - // copy argument param - GLMessage_DataType *arg_param = glmsg.add_args(); - arg_param->set_isarray(false); - arg_param->set_type(GLMessage::DataType::INT); - arg_param->add_intvalue(param); - - // call function - nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); - nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glTexGenxOES(coord, pname, param); - nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); - nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); - - void *pointerArgs[] = { - }; - - fixupGLMessage(glContext, wallStartTime, wallEndTime, - threadStartTime, threadEndTime, - &glmsg, pointerArgs); - glContext->traceGLMessage(&glmsg); -} - -void GLTrace_glTexGenxvOES(GLenum coord, GLenum pname, const GLfixed *params) { - GLMessage glmsg; - GLTraceContext *glContext = getGLTraceContext(); - - glmsg.set_function(GLMessage::glTexGenxvOES); - - // copy argument coord - GLMessage_DataType *arg_coord = glmsg.add_args(); - arg_coord->set_isarray(false); - arg_coord->set_type(GLMessage::DataType::ENUM); - arg_coord->add_intvalue((int)coord); - - // copy argument pname - GLMessage_DataType *arg_pname = glmsg.add_args(); - arg_pname->set_isarray(false); - arg_pname->set_type(GLMessage::DataType::ENUM); - arg_pname->add_intvalue((int)pname); - - // copy argument params - GLMessage_DataType *arg_params = glmsg.add_args(); - arg_params->set_isarray(false); - arg_params->set_type(GLMessage::DataType::INT64); - arg_params->add_int64value((uintptr_t)params); - - // call function - nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); - nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glTexGenxvOES(coord, pname, params); - nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); - nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); - - void *pointerArgs[] = { - (void *) params, - }; - - fixupGLMessage(glContext, wallStartTime, wallEndTime, - threadStartTime, threadEndTime, - &glmsg, pointerArgs); - glContext->traceGLMessage(&glmsg); -} - -void GLTrace_glGetTexGenfvOES(GLenum coord, GLenum pname, GLfloat *params) { +void GLTrace_glGetTexGenfvOES(GLenum coord, GLenum pname, GLfloat * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -22325,7 +26662,7 @@ void GLTrace_glGetTexGenfvOES(GLenum coord, GLenum pname, GLfloat *params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetTexGenivOES(GLenum coord, GLenum pname, GLint *params) { +void GLTrace_glGetTexGenivOES(GLenum coord, GLenum pname, GLint * params) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -22366,48 +26703,7 @@ void GLTrace_glGetTexGenivOES(GLenum coord, GLenum pname, GLint *params) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glGetTexGenxvOES(GLenum coord, GLenum pname, GLfixed *params) { - GLMessage glmsg; - GLTraceContext *glContext = getGLTraceContext(); - - glmsg.set_function(GLMessage::glGetTexGenxvOES); - - // copy argument coord - GLMessage_DataType *arg_coord = glmsg.add_args(); - arg_coord->set_isarray(false); - arg_coord->set_type(GLMessage::DataType::ENUM); - arg_coord->add_intvalue((int)coord); - - // copy argument pname - GLMessage_DataType *arg_pname = glmsg.add_args(); - arg_pname->set_isarray(false); - arg_pname->set_type(GLMessage::DataType::ENUM); - arg_pname->add_intvalue((int)pname); - - // copy argument params - GLMessage_DataType *arg_params = glmsg.add_args(); - arg_params->set_isarray(false); - arg_params->set_type(GLMessage::DataType::INT64); - arg_params->add_int64value((uintptr_t)params); - - // call function - nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); - nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); - glContext->hooks->gl.glGetTexGenxvOES(coord, pname, params); - nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); - nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); - - void *pointerArgs[] = { - (void *) params, - }; - - fixupGLMessage(glContext, wallStartTime, wallEndTime, - threadStartTime, threadEndTime, - &glmsg, pointerArgs); - glContext->traceGLMessage(&glmsg); -} - -void GLTrace_glClipPlanefIMG(GLenum p, const GLfloat *eqn) { +void GLTrace_glClipPlanefIMG(GLenum p, const GLfloat * eqn) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); @@ -22442,7 +26738,7 @@ void GLTrace_glClipPlanefIMG(GLenum p, const GLfloat *eqn) { glContext->traceGLMessage(&glmsg); } -void GLTrace_glClipPlanexIMG(GLenum p, const GLfixed *eqn) { +void GLTrace_glClipPlanexIMG(GLenum p, const GLfixed * eqn) { GLMessage glmsg; GLTraceContext *glContext = getGLTraceContext(); diff --git a/opengl/libs/GLES_trace/src/gltrace_api.h b/opengl/libs/GLES_trace/src/gltrace_api.h index 95d7f77cc..353057980 100644 --- a/opengl/libs/GLES_trace/src/gltrace_api.h +++ b/opengl/libs/GLES_trace/src/gltrace_api.h @@ -23,7 +23,7 @@ namespace gltrace { void GLTrace_glActiveTexture(GLenum texture); void GLTrace_glAttachShader(GLuint program, GLuint shader); -void GLTrace_glBindAttribLocation(GLuint program, GLuint index, const GLchar* name); +void GLTrace_glBindAttribLocation(GLuint program, GLuint index, const GLchar * name); void GLTrace_glBindBuffer(GLenum target, GLuint buffer); void GLTrace_glBindFramebuffer(GLenum target, GLuint framebuffer); void GLTrace_glBindRenderbuffer(GLenum target, GLuint renderbuffer); @@ -32,29 +32,29 @@ void GLTrace_glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alph void GLTrace_glBlendEquation(GLenum mode); void GLTrace_glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha); void GLTrace_glBlendFunc(GLenum sfactor, GLenum dfactor); -void GLTrace_glBlendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -void GLTrace_glBufferData(GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage); -void GLTrace_glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data); +void GLTrace_glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); +void GLTrace_glBufferData(GLenum target, GLsizeiptr size, const void * data, GLenum usage); +void GLTrace_glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const void * data); GLenum GLTrace_glCheckFramebufferStatus(GLenum target); void GLTrace_glClear(GLbitfield mask); void GLTrace_glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -void GLTrace_glClearDepthf(GLfloat depth); +void GLTrace_glClearDepthf(GLfloat d); void GLTrace_glClearStencil(GLint s); void GLTrace_glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); void GLTrace_glCompileShader(GLuint shader); -void GLTrace_glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data); -void GLTrace_glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data); +void GLTrace_glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * data); +void GLTrace_glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * data); void GLTrace_glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); void GLTrace_glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); GLuint GLTrace_glCreateProgram(void); GLuint GLTrace_glCreateShader(GLenum type); void GLTrace_glCullFace(GLenum mode); -void GLTrace_glDeleteBuffers(GLsizei n, const GLuint* buffers); -void GLTrace_glDeleteFramebuffers(GLsizei n, const GLuint* framebuffers); +void GLTrace_glDeleteBuffers(GLsizei n, const GLuint * buffers); +void GLTrace_glDeleteFramebuffers(GLsizei n, const GLuint * framebuffers); void GLTrace_glDeleteProgram(GLuint program); -void GLTrace_glDeleteRenderbuffers(GLsizei n, const GLuint* renderbuffers); +void GLTrace_glDeleteRenderbuffers(GLsizei n, const GLuint * renderbuffers); void GLTrace_glDeleteShader(GLuint shader); -void GLTrace_glDeleteTextures(GLsizei n, const GLuint* textures); +void GLTrace_glDeleteTextures(GLsizei n, const GLuint * textures); void GLTrace_glDepthFunc(GLenum func); void GLTrace_glDepthMask(GLboolean flag); void GLTrace_glDepthRangef(GLfloat n, GLfloat f); @@ -62,7 +62,7 @@ void GLTrace_glDetachShader(GLuint program, GLuint shader); void GLTrace_glDisable(GLenum cap); void GLTrace_glDisableVertexAttribArray(GLuint index); void GLTrace_glDrawArrays(GLenum mode, GLint first, GLsizei count); -void GLTrace_glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices); +void GLTrace_glDrawElements(GLenum mode, GLsizei count, GLenum type, const void * indices); void GLTrace_glEnable(GLenum cap); void GLTrace_glEnableVertexAttribArray(GLuint index); void GLTrace_glFinish(void); @@ -70,37 +70,37 @@ void GLTrace_glFlush(void); void GLTrace_glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); void GLTrace_glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); void GLTrace_glFrontFace(GLenum mode); -void GLTrace_glGenBuffers(GLsizei n, GLuint* buffers); +void GLTrace_glGenBuffers(GLsizei n, GLuint * buffers); void GLTrace_glGenerateMipmap(GLenum target); -void GLTrace_glGenFramebuffers(GLsizei n, GLuint* framebuffers); -void GLTrace_glGenRenderbuffers(GLsizei n, GLuint* renderbuffers); -void GLTrace_glGenTextures(GLsizei n, GLuint* textures); -void GLTrace_glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name); -void GLTrace_glGetActiveUniform(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name); -void GLTrace_glGetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders); -GLint GLTrace_glGetAttribLocation(GLuint program, const GLchar* name); -void GLTrace_glGetBooleanv(GLenum pname, GLboolean* params); -void GLTrace_glGetBufferParameteriv(GLenum target, GLenum pname, GLint* params); +void GLTrace_glGenFramebuffers(GLsizei n, GLuint * framebuffers); +void GLTrace_glGenRenderbuffers(GLsizei n, GLuint * renderbuffers); +void GLTrace_glGenTextures(GLsizei n, GLuint * textures); +void GLTrace_glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name); +void GLTrace_glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name); +void GLTrace_glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei * count, GLuint * shaders); +GLint GLTrace_glGetAttribLocation(GLuint program, const GLchar * name); +void GLTrace_glGetBooleanv(GLenum pname, GLboolean * data); +void GLTrace_glGetBufferParameteriv(GLenum target, GLenum pname, GLint * params); GLenum GLTrace_glGetError(void); -void GLTrace_glGetFloatv(GLenum pname, GLfloat* params); -void GLTrace_glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint* params); -void GLTrace_glGetIntegerv(GLenum pname, GLint* params); -void GLTrace_glGetProgramiv(GLuint program, GLenum pname, GLint* params); -void GLTrace_glGetProgramInfoLog(GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog); -void GLTrace_glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint* params); -void GLTrace_glGetShaderiv(GLuint shader, GLenum pname, GLint* params); -void GLTrace_glGetShaderInfoLog(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog); -void GLTrace_glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision); -void GLTrace_glGetShaderSource(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source); -const GLubyte* GLTrace_glGetString(GLenum name); -void GLTrace_glGetTexParameterfv(GLenum target, GLenum pname, GLfloat* params); -void GLTrace_glGetTexParameteriv(GLenum target, GLenum pname, GLint* params); -void GLTrace_glGetUniformfv(GLuint program, GLint location, GLfloat* params); -void GLTrace_glGetUniformiv(GLuint program, GLint location, GLint* params); -GLint GLTrace_glGetUniformLocation(GLuint program, const GLchar* name); -void GLTrace_glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params); -void GLTrace_glGetVertexAttribiv(GLuint index, GLenum pname, GLint* params); -void GLTrace_glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid** pointer); +void GLTrace_glGetFloatv(GLenum pname, GLfloat * data); +void GLTrace_glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint * params); +void GLTrace_glGetIntegerv(GLenum pname, GLint * data); +void GLTrace_glGetProgramiv(GLuint program, GLenum pname, GLint * params); +void GLTrace_glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei * length, GLchar * infoLog); +void GLTrace_glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint * params); +void GLTrace_glGetShaderiv(GLuint shader, GLenum pname, GLint * params); +void GLTrace_glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * infoLog); +void GLTrace_glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint * range, GLint * precision); +void GLTrace_glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * source); +const GLubyte * GLTrace_glGetString(GLenum name); +void GLTrace_glGetTexParameterfv(GLenum target, GLenum pname, GLfloat * params); +void GLTrace_glGetTexParameteriv(GLenum target, GLenum pname, GLint * params); +void GLTrace_glGetUniformfv(GLuint program, GLint location, GLfloat * params); +void GLTrace_glGetUniformiv(GLuint program, GLint location, GLint * params); +GLint GLTrace_glGetUniformLocation(GLuint program, const GLchar * name); +void GLTrace_glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat * params); +void GLTrace_glGetVertexAttribiv(GLuint index, GLenum pname, GLint * params); +void GLTrace_glGetVertexAttribPointerv(GLuint index, GLenum pname, void ** pointer); void GLTrace_glHint(GLenum target, GLenum mode); GLboolean GLTrace_glIsBuffer(GLuint buffer); GLboolean GLTrace_glIsEnabled(GLenum cap); @@ -113,246 +113,299 @@ void GLTrace_glLineWidth(GLfloat width); void GLTrace_glLinkProgram(GLuint program); void GLTrace_glPixelStorei(GLenum pname, GLint param); void GLTrace_glPolygonOffset(GLfloat factor, GLfloat units); -void GLTrace_glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels); +void GLTrace_glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void * pixels); void GLTrace_glReleaseShaderCompiler(void); void GLTrace_glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); void GLTrace_glSampleCoverage(GLfloat value, GLboolean invert); void GLTrace_glScissor(GLint x, GLint y, GLsizei width, GLsizei height); -void GLTrace_glShaderBinary(GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length); -void GLTrace_glShaderSource(GLuint shader, GLsizei count, const GLchar* const* string, const GLint* length); +void GLTrace_glShaderBinary(GLsizei count, const GLuint * shaders, GLenum binaryformat, const void * binary, GLsizei length); +void GLTrace_glShaderSource(GLuint shader, GLsizei count, const GLchar *const* string, const GLint * length); void GLTrace_glStencilFunc(GLenum func, GLint ref, GLuint mask); void GLTrace_glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask); void GLTrace_glStencilMask(GLuint mask); void GLTrace_glStencilMaskSeparate(GLenum face, GLuint mask); void GLTrace_glStencilOp(GLenum fail, GLenum zfail, GLenum zpass); -void GLTrace_glStencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass); -void GLTrace_glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels); +void GLTrace_glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); +void GLTrace_glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void * pixels); void GLTrace_glTexParameterf(GLenum target, GLenum pname, GLfloat param); -void GLTrace_glTexParameterfv(GLenum target, GLenum pname, const GLfloat* params); +void GLTrace_glTexParameterfv(GLenum target, GLenum pname, const GLfloat * params); void GLTrace_glTexParameteri(GLenum target, GLenum pname, GLint param); -void GLTrace_glTexParameteriv(GLenum target, GLenum pname, const GLint* params); -void GLTrace_glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels); -void GLTrace_glUniform1f(GLint location, GLfloat x); -void GLTrace_glUniform1fv(GLint location, GLsizei count, const GLfloat* v); -void GLTrace_glUniform1i(GLint location, GLint x); -void GLTrace_glUniform1iv(GLint location, GLsizei count, const GLint* v); -void GLTrace_glUniform2f(GLint location, GLfloat x, GLfloat y); -void GLTrace_glUniform2fv(GLint location, GLsizei count, const GLfloat* v); -void GLTrace_glUniform2i(GLint location, GLint x, GLint y); -void GLTrace_glUniform2iv(GLint location, GLsizei count, const GLint* v); -void GLTrace_glUniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z); -void GLTrace_glUniform3fv(GLint location, GLsizei count, const GLfloat* v); -void GLTrace_glUniform3i(GLint location, GLint x, GLint y, GLint z); -void GLTrace_glUniform3iv(GLint location, GLsizei count, const GLint* v); -void GLTrace_glUniform4f(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -void GLTrace_glUniform4fv(GLint location, GLsizei count, const GLfloat* v); -void GLTrace_glUniform4i(GLint location, GLint x, GLint y, GLint z, GLint w); -void GLTrace_glUniform4iv(GLint location, GLsizei count, const GLint* v); -void GLTrace_glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -void GLTrace_glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -void GLTrace_glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); +void GLTrace_glTexParameteriv(GLenum target, GLenum pname, const GLint * params); +void GLTrace_glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels); +void GLTrace_glUniform1f(GLint location, GLfloat v0); +void GLTrace_glUniform1fv(GLint location, GLsizei count, const GLfloat * value); +void GLTrace_glUniform1i(GLint location, GLint v0); +void GLTrace_glUniform1iv(GLint location, GLsizei count, const GLint * value); +void GLTrace_glUniform2f(GLint location, GLfloat v0, GLfloat v1); +void GLTrace_glUniform2fv(GLint location, GLsizei count, const GLfloat * value); +void GLTrace_glUniform2i(GLint location, GLint v0, GLint v1); +void GLTrace_glUniform2iv(GLint location, GLsizei count, const GLint * value); +void GLTrace_glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +void GLTrace_glUniform3fv(GLint location, GLsizei count, const GLfloat * value); +void GLTrace_glUniform3i(GLint location, GLint v0, GLint v1, GLint v2); +void GLTrace_glUniform3iv(GLint location, GLsizei count, const GLint * value); +void GLTrace_glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +void GLTrace_glUniform4fv(GLint location, GLsizei count, const GLfloat * value); +void GLTrace_glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +void GLTrace_glUniform4iv(GLint location, GLsizei count, const GLint * value); +void GLTrace_glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); +void GLTrace_glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); +void GLTrace_glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); void GLTrace_glUseProgram(GLuint program); void GLTrace_glValidateProgram(GLuint program); -void GLTrace_glVertexAttrib1f(GLuint indx, GLfloat x); -void GLTrace_glVertexAttrib1fv(GLuint indx, const GLfloat* values); -void GLTrace_glVertexAttrib2f(GLuint indx, GLfloat x, GLfloat y); -void GLTrace_glVertexAttrib2fv(GLuint indx, const GLfloat* values); -void GLTrace_glVertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z); -void GLTrace_glVertexAttrib3fv(GLuint indx, const GLfloat* values); -void GLTrace_glVertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -void GLTrace_glVertexAttrib4fv(GLuint indx, const GLfloat* values); -void GLTrace_glVertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr); +void GLTrace_glVertexAttrib1f(GLuint index, GLfloat x); +void GLTrace_glVertexAttrib1fv(GLuint index, const GLfloat * v); +void GLTrace_glVertexAttrib2f(GLuint index, GLfloat x, GLfloat y); +void GLTrace_glVertexAttrib2fv(GLuint index, const GLfloat * v); +void GLTrace_glVertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z); +void GLTrace_glVertexAttrib3fv(GLuint index, const GLfloat * v); +void GLTrace_glVertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +void GLTrace_glVertexAttrib4fv(GLuint index, const GLfloat * v); +void GLTrace_glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void * pointer); void GLTrace_glViewport(GLint x, GLint y, GLsizei width, GLsizei height); void GLTrace_glReadBuffer(GLenum mode); -void GLTrace_glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid* indices); -void GLTrace_glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels); -void GLTrace_glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels); +void GLTrace_glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices); +void GLTrace_glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels); +void GLTrace_glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels); void GLTrace_glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -void GLTrace_glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data); -void GLTrace_glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data); -void GLTrace_glGenQueries(GLsizei n, GLuint* ids); -void GLTrace_glDeleteQueries(GLsizei n, const GLuint* ids); +void GLTrace_glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * data); +void GLTrace_glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * data); +void GLTrace_glGenQueries(GLsizei n, GLuint * ids); +void GLTrace_glDeleteQueries(GLsizei n, const GLuint * ids); GLboolean GLTrace_glIsQuery(GLuint id); void GLTrace_glBeginQuery(GLenum target, GLuint id); void GLTrace_glEndQuery(GLenum target); -void GLTrace_glGetQueryiv(GLenum target, GLenum pname, GLint* params); -void GLTrace_glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint* params); +void GLTrace_glGetQueryiv(GLenum target, GLenum pname, GLint * params); +void GLTrace_glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint * params); GLboolean GLTrace_glUnmapBuffer(GLenum target); -void GLTrace_glGetBufferPointerv(GLenum target, GLenum pname, GLvoid** params); -void GLTrace_glDrawBuffers(GLsizei n, const GLenum* bufs); -void GLTrace_glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -void GLTrace_glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -void GLTrace_glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -void GLTrace_glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -void GLTrace_glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -void GLTrace_glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); +void GLTrace_glGetBufferPointerv(GLenum target, GLenum pname, void ** params); +void GLTrace_glDrawBuffers(GLsizei n, const GLenum * bufs); +void GLTrace_glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); +void GLTrace_glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); +void GLTrace_glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); +void GLTrace_glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); +void GLTrace_glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); +void GLTrace_glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); void GLTrace_glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); void GLTrace_glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); void GLTrace_glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); -GLvoid* GLTrace_glMapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); +void * GLTrace_glMapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); void GLTrace_glFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length); void GLTrace_glBindVertexArray(GLuint array); -void GLTrace_glDeleteVertexArrays(GLsizei n, const GLuint* arrays); -void GLTrace_glGenVertexArrays(GLsizei n, GLuint* arrays); +void GLTrace_glDeleteVertexArrays(GLsizei n, const GLuint * arrays); +void GLTrace_glGenVertexArrays(GLsizei n, GLuint * arrays); GLboolean GLTrace_glIsVertexArray(GLuint array); -void GLTrace_glGetIntegeri_v(GLenum target, GLuint index, GLint* data); +void GLTrace_glGetIntegeri_v(GLenum target, GLuint index, GLint * data); void GLTrace_glBeginTransformFeedback(GLenum primitiveMode); void GLTrace_glEndTransformFeedback(void); void GLTrace_glBindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); void GLTrace_glBindBufferBase(GLenum target, GLuint index, GLuint buffer); -void GLTrace_glTransformFeedbackVaryings(GLuint program, GLsizei count, const GLchar* const* varyings, GLenum bufferMode); -void GLTrace_glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei* length, GLsizei* size, GLenum* type, GLchar* name); -void GLTrace_glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid* pointer); -void GLTrace_glGetVertexAttribIiv(GLuint index, GLenum pname, GLint* params); -void GLTrace_glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint* params); +void GLTrace_glTransformFeedbackVaryings(GLuint program, GLsizei count, const GLchar *const* varyings, GLenum bufferMode); +void GLTrace_glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, GLchar * name); +void GLTrace_glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const void * pointer); +void GLTrace_glGetVertexAttribIiv(GLuint index, GLenum pname, GLint * params); +void GLTrace_glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint * params); void GLTrace_glVertexAttribI4i(GLuint index, GLint x, GLint y, GLint z, GLint w); void GLTrace_glVertexAttribI4ui(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -void GLTrace_glVertexAttribI4iv(GLuint index, const GLint* v); -void GLTrace_glVertexAttribI4uiv(GLuint index, const GLuint* v); -void GLTrace_glGetUniformuiv(GLuint program, GLint location, GLuint* params); -GLint GLTrace_glGetFragDataLocation(GLuint program, const GLchar *name); +void GLTrace_glVertexAttribI4iv(GLuint index, const GLint * v); +void GLTrace_glVertexAttribI4uiv(GLuint index, const GLuint * v); +void GLTrace_glGetUniformuiv(GLuint program, GLint location, GLuint * params); +GLint GLTrace_glGetFragDataLocation(GLuint program, const GLchar * name); void GLTrace_glUniform1ui(GLint location, GLuint v0); void GLTrace_glUniform2ui(GLint location, GLuint v0, GLuint v1); void GLTrace_glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2); void GLTrace_glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -void GLTrace_glUniform1uiv(GLint location, GLsizei count, const GLuint* value); -void GLTrace_glUniform2uiv(GLint location, GLsizei count, const GLuint* value); -void GLTrace_glUniform3uiv(GLint location, GLsizei count, const GLuint* value); -void GLTrace_glUniform4uiv(GLint location, GLsizei count, const GLuint* value); -void GLTrace_glClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint* value); -void GLTrace_glClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint* value); -void GLTrace_glClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat* value); +void GLTrace_glUniform1uiv(GLint location, GLsizei count, const GLuint * value); +void GLTrace_glUniform2uiv(GLint location, GLsizei count, const GLuint * value); +void GLTrace_glUniform3uiv(GLint location, GLsizei count, const GLuint * value); +void GLTrace_glUniform4uiv(GLint location, GLsizei count, const GLuint * value); +void GLTrace_glClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint * value); +void GLTrace_glClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint * value); +void GLTrace_glClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat * value); void GLTrace_glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); -const GLubyte* GLTrace_glGetStringi(GLenum name, GLuint index); +const GLubyte * GLTrace_glGetStringi(GLenum name, GLuint index); void GLTrace_glCopyBufferSubData(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); -void GLTrace_glGetUniformIndices(GLuint program, GLsizei uniformCount, const GLchar* const* uniformNames, GLuint* uniformIndices); -void GLTrace_glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const GLuint* uniformIndices, GLenum pname, GLint* params); -GLuint GLTrace_glGetUniformBlockIndex(GLuint program, const GLchar* uniformBlockName); -void GLTrace_glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint* params); -void GLTrace_glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformBlockName); +void GLTrace_glGetUniformIndices(GLuint program, GLsizei uniformCount, const GLchar *const* uniformNames, GLuint * uniformIndices); +void GLTrace_glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const GLuint * uniformIndices, GLenum pname, GLint * params); +GLuint GLTrace_glGetUniformBlockIndex(GLuint program, const GLchar * uniformBlockName); +void GLTrace_glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint * params); +void GLTrace_glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei * length, GLchar * uniformBlockName); void GLTrace_glUniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); -void GLTrace_glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei instanceCount); -void GLTrace_glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices, GLsizei instanceCount); +void GLTrace_glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei instancecount); +void GLTrace_glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount); GLsync GLTrace_glFenceSync(GLenum condition, GLbitfield flags); GLboolean GLTrace_glIsSync(GLsync sync); void GLTrace_glDeleteSync(GLsync sync); GLenum GLTrace_glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout); void GLTrace_glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout); -void GLTrace_glGetInteger64v(GLenum pname, GLint64* params); -void GLTrace_glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei* length, GLint* values); -void GLTrace_glGetInteger64i_v(GLenum target, GLuint index, GLint64* data); -void GLTrace_glGetBufferParameteri64v(GLenum target, GLenum pname, GLint64* params); -void GLTrace_glGenSamplers(GLsizei count, GLuint* samplers); -void GLTrace_glDeleteSamplers(GLsizei count, const GLuint* samplers); +void GLTrace_glGetInteger64v(GLenum pname, GLint64 * data); +void GLTrace_glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values); +void GLTrace_glGetInteger64i_v(GLenum target, GLuint index, GLint64 * data); +void GLTrace_glGetBufferParameteri64v(GLenum target, GLenum pname, GLint64 * params); +void GLTrace_glGenSamplers(GLsizei count, GLuint * samplers); +void GLTrace_glDeleteSamplers(GLsizei count, const GLuint * samplers); GLboolean GLTrace_glIsSampler(GLuint sampler); void GLTrace_glBindSampler(GLuint unit, GLuint sampler); void GLTrace_glSamplerParameteri(GLuint sampler, GLenum pname, GLint param); -void GLTrace_glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint* param); +void GLTrace_glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint * param); void GLTrace_glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param); -void GLTrace_glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat* param); -void GLTrace_glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint* params); -void GLTrace_glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat* params); +void GLTrace_glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat * param); +void GLTrace_glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint * params); +void GLTrace_glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat * params); void GLTrace_glVertexAttribDivisor(GLuint index, GLuint divisor); void GLTrace_glBindTransformFeedback(GLenum target, GLuint id); -void GLTrace_glDeleteTransformFeedbacks(GLsizei n, const GLuint* ids); -void GLTrace_glGenTransformFeedbacks(GLsizei n, GLuint* ids); +void GLTrace_glDeleteTransformFeedbacks(GLsizei n, const GLuint * ids); +void GLTrace_glGenTransformFeedbacks(GLsizei n, GLuint * ids); GLboolean GLTrace_glIsTransformFeedback(GLuint id); void GLTrace_glPauseTransformFeedback(void); void GLTrace_glResumeTransformFeedback(void); -void GLTrace_glGetProgramBinary(GLuint program, GLsizei bufSize, GLsizei* length, GLenum* binaryFormat, GLvoid* binary); -void GLTrace_glProgramBinary(GLuint program, GLenum binaryFormat, const GLvoid* binary, GLsizei length); +void GLTrace_glGetProgramBinary(GLuint program, GLsizei bufSize, GLsizei * length, GLenum * binaryFormat, void * binary); +void GLTrace_glProgramBinary(GLuint program, GLenum binaryFormat, const void * binary, GLsizei length); void GLTrace_glProgramParameteri(GLuint program, GLenum pname, GLint value); -void GLTrace_glInvalidateFramebuffer(GLenum target, GLsizei numAttachments, const GLenum* attachments); -void GLTrace_glInvalidateSubFramebuffer(GLenum target, GLsizei numAttachments, const GLenum* attachments, GLint x, GLint y, GLsizei width, GLsizei height); +void GLTrace_glInvalidateFramebuffer(GLenum target, GLsizei numAttachments, const GLenum * attachments); +void GLTrace_glInvalidateSubFramebuffer(GLenum target, GLsizei numAttachments, const GLenum * attachments, GLint x, GLint y, GLsizei width, GLsizei height); void GLTrace_glTexStorage2D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); void GLTrace_glTexStorage3D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -void GLTrace_glGetInternalformativ(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint* params); +void GLTrace_glGetInternalformativ(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint * params); // Declarations for GL2Ext APIs +void GLTrace_glBlendBarrierKHR(void); +void GLTrace_glDebugMessageControlKHR(GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled); +void GLTrace_glDebugMessageInsertKHR(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar * buf); +void GLTrace_glDebugMessageCallbackKHR(GLDEBUGPROCKHR callback, const void * userParam); +GLuint GLTrace_glGetDebugMessageLogKHR(GLuint count, GLsizei bufSize, GLenum * sources, GLenum * types, GLuint * ids, GLenum * severities, GLsizei * lengths, GLchar * messageLog); +void GLTrace_glPushDebugGroupKHR(GLenum source, GLuint id, GLsizei length, const GLchar * message); +void GLTrace_glPopDebugGroupKHR(void); +void GLTrace_glObjectLabelKHR(GLenum identifier, GLuint name, GLsizei length, const GLchar * label); +void GLTrace_glGetObjectLabelKHR(GLenum identifier, GLuint name, GLsizei bufSize, GLsizei * length, GLchar * label); +void GLTrace_glObjectPtrLabelKHR(const void * ptr, GLsizei length, const GLchar * label); +void GLTrace_glGetObjectPtrLabelKHR(const void * ptr, GLsizei bufSize, GLsizei * length, GLchar * label); +void GLTrace_glGetPointervKHR(GLenum pname, void ** params); void GLTrace_glEGLImageTargetTexture2DOES(GLenum target, GLeglImageOES image); void GLTrace_glEGLImageTargetRenderbufferStorageOES(GLenum target, GLeglImageOES image); -void GLTrace_glGetProgramBinaryOES(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary); -void GLTrace_glProgramBinaryOES(GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length); -void* GLTrace_glMapBufferOES(GLenum target, GLenum access); +void GLTrace_glGetProgramBinaryOES(GLuint program, GLsizei bufSize, GLsizei * length, GLenum * binaryFormat, void * binary); +void GLTrace_glProgramBinaryOES(GLuint program, GLenum binaryFormat, const void * binary, GLint length); +void * GLTrace_glMapBufferOES(GLenum target, GLenum access); GLboolean GLTrace_glUnmapBufferOES(GLenum target); -void GLTrace_glGetBufferPointervOES(GLenum target, GLenum pname, GLvoid** params); -void GLTrace_glTexImage3DOES(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels); -void GLTrace_glTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels); +void GLTrace_glGetBufferPointervOES(GLenum target, GLenum pname, void ** params); +void GLTrace_glMinSampleShadingOES(GLfloat value); +void GLTrace_glTexImage3DOES(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels); +void GLTrace_glTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels); void GLTrace_glCopyTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -void GLTrace_glCompressedTexImage3DOES(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data); -void GLTrace_glCompressedTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data); +void GLTrace_glCompressedTexImage3DOES(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * data); +void GLTrace_glCompressedTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * data); void GLTrace_glFramebufferTexture3DOES(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); +void GLTrace_glTexStorage3DMultisampleOES(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); void GLTrace_glBindVertexArrayOES(GLuint array); -void GLTrace_glDeleteVertexArraysOES(GLsizei n, const GLuint *arrays); -void GLTrace_glGenVertexArraysOES(GLsizei n, GLuint *arrays); +void GLTrace_glDeleteVertexArraysOES(GLsizei n, const GLuint * arrays); +void GLTrace_glGenVertexArraysOES(GLsizei n, GLuint * arrays); GLboolean GLTrace_glIsVertexArrayOES(GLuint array); -void GLTrace_glGetPerfMonitorGroupsAMD(GLint *numGroups, GLsizei groupsSize, GLuint *groups); -void GLTrace_glGetPerfMonitorCountersAMD(GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); -void GLTrace_glGetPerfMonitorGroupStringAMD(GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); -void GLTrace_glGetPerfMonitorCounterStringAMD(GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); -void GLTrace_glGetPerfMonitorCounterInfoAMD(GLuint group, GLuint counter, GLenum pname, GLvoid *data); -void GLTrace_glGenPerfMonitorsAMD(GLsizei n, GLuint *monitors); -void GLTrace_glDeletePerfMonitorsAMD(GLsizei n, GLuint *monitors); -void GLTrace_glSelectPerfMonitorCountersAMD(GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList); +void GLTrace_glGetPerfMonitorGroupsAMD(GLint * numGroups, GLsizei groupsSize, GLuint * groups); +void GLTrace_glGetPerfMonitorCountersAMD(GLuint group, GLint * numCounters, GLint * maxActiveCounters, GLsizei counterSize, GLuint * counters); +void GLTrace_glGetPerfMonitorGroupStringAMD(GLuint group, GLsizei bufSize, GLsizei * length, GLchar * groupString); +void GLTrace_glGetPerfMonitorCounterStringAMD(GLuint group, GLuint counter, GLsizei bufSize, GLsizei * length, GLchar * counterString); +void GLTrace_glGetPerfMonitorCounterInfoAMD(GLuint group, GLuint counter, GLenum pname, void * data); +void GLTrace_glGenPerfMonitorsAMD(GLsizei n, GLuint * monitors); +void GLTrace_glDeletePerfMonitorsAMD(GLsizei n, GLuint * monitors); +void GLTrace_glSelectPerfMonitorCountersAMD(GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint * counterList); void GLTrace_glBeginPerfMonitorAMD(GLuint monitor); void GLTrace_glEndPerfMonitorAMD(GLuint monitor); -void GLTrace_glGetPerfMonitorCounterDataAMD(GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); +void GLTrace_glGetPerfMonitorCounterDataAMD(GLuint monitor, GLenum pname, GLsizei dataSize, GLuint * data, GLint * bytesWritten); void GLTrace_glBlitFramebufferANGLE(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); void GLTrace_glRenderbufferStorageMultisampleANGLE(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +void GLTrace_glDrawArraysInstancedANGLE(GLenum mode, GLint first, GLsizei count, GLsizei primcount); +void GLTrace_glDrawElementsInstancedANGLE(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount); +void GLTrace_glVertexAttribDivisorANGLE(GLuint index, GLuint divisor); +void GLTrace_glGetTranslatedShaderSourceANGLE(GLuint shader, GLsizei bufsize, GLsizei * length, GLchar * source); +void GLTrace_glCopyTextureLevelsAPPLE(GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); void GLTrace_glRenderbufferStorageMultisampleAPPLE(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); void GLTrace_glResolveMultisampleFramebufferAPPLE(void); -void GLTrace_glLabelObjectEXT(GLenum type, GLuint object, GLsizei length, const GLchar *label); -void GLTrace_glGetObjectLabelEXT(GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); -void GLTrace_glInsertEventMarkerEXT(GLsizei length, const GLchar *marker); -void GLTrace_glPushGroupMarkerEXT(GLsizei length, const GLchar *marker); +GLsync GLTrace_glFenceSyncAPPLE(GLenum condition, GLbitfield flags); +GLboolean GLTrace_glIsSyncAPPLE(GLsync sync); +void GLTrace_glDeleteSyncAPPLE(GLsync sync); +GLenum GLTrace_glClientWaitSyncAPPLE(GLsync sync, GLbitfield flags, GLuint64 timeout); +void GLTrace_glWaitSyncAPPLE(GLsync sync, GLbitfield flags, GLuint64 timeout); +void GLTrace_glGetInteger64vAPPLE(GLenum pname, GLint64 * params); +void GLTrace_glGetSyncivAPPLE(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values); +void GLTrace_glLabelObjectEXT(GLenum type, GLuint object, GLsizei length, const GLchar * label); +void GLTrace_glGetObjectLabelEXT(GLenum type, GLuint object, GLsizei bufSize, GLsizei * length, GLchar * label); +void GLTrace_glInsertEventMarkerEXT(GLsizei length, const GLchar * marker); +void GLTrace_glPushGroupMarkerEXT(GLsizei length, const GLchar * marker); void GLTrace_glPopGroupMarkerEXT(void); -void GLTrace_glDiscardFramebufferEXT(GLenum target, GLsizei numAttachments, const GLenum *attachments); -void GLTrace_glRenderbufferStorageMultisampleEXT(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -void GLTrace_glFramebufferTexture2DMultisampleEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); -void GLTrace_glMultiDrawArraysEXT(GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); -void GLTrace_glMultiDrawElementsEXT(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); -void GLTrace_glGenQueriesEXT(GLsizei n, GLuint *ids); -void GLTrace_glDeleteQueriesEXT(GLsizei n, const GLuint *ids); +void GLTrace_glDiscardFramebufferEXT(GLenum target, GLsizei numAttachments, const GLenum * attachments); +void GLTrace_glGenQueriesEXT(GLsizei n, GLuint * ids); +void GLTrace_glDeleteQueriesEXT(GLsizei n, const GLuint * ids); GLboolean GLTrace_glIsQueryEXT(GLuint id); void GLTrace_glBeginQueryEXT(GLenum target, GLuint id); void GLTrace_glEndQueryEXT(GLenum target); -void GLTrace_glGetQueryivEXT(GLenum target, GLenum pname, GLint *params); -void GLTrace_glGetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint *params); +void GLTrace_glQueryCounterEXT(GLuint id, GLenum target); +void GLTrace_glGetQueryivEXT(GLenum target, GLenum pname, GLint * params); +void GLTrace_glGetQueryObjectivEXT(GLuint id, GLenum pname, GLint * params); +void GLTrace_glGetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint * params); +void GLTrace_glGetQueryObjecti64vEXT(GLuint id, GLenum pname, GLint64 * params); +void GLTrace_glGetQueryObjectui64vEXT(GLuint id, GLenum pname, GLuint64 * params); +void GLTrace_glDrawBuffersEXT(GLsizei n, const GLenum * bufs); +void GLTrace_glDrawArraysInstancedEXT(GLenum mode, GLint start, GLsizei count, GLsizei primcount); +void GLTrace_glDrawElementsInstancedEXT(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount); +void GLTrace_glVertexAttribDivisorEXT(GLuint index, GLuint divisor); +void * GLTrace_glMapBufferRangeEXT(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); +void GLTrace_glFlushMappedBufferRangeEXT(GLenum target, GLintptr offset, GLsizeiptr length); +void GLTrace_glMultiDrawArraysEXT(GLenum mode, const GLint * first, const GLsizei * count, GLsizei primcount); +void GLTrace_glMultiDrawElementsEXT(GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount); +void GLTrace_glRenderbufferStorageMultisampleEXT(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +void GLTrace_glFramebufferTexture2DMultisampleEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); +void GLTrace_glReadBufferIndexedEXT(GLenum src, GLint index); +void GLTrace_glDrawBuffersIndexedEXT(GLint n, const GLenum * location, const GLint * indices); +void GLTrace_glGetIntegeri_vEXT(GLenum target, GLuint index, GLint * data); GLenum GLTrace_glGetGraphicsResetStatusEXT(void); -void GLTrace_glReadnPixelsEXT(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); -void GLTrace_glGetnUniformfvEXT(GLuint program, GLint location, GLsizei bufSize, float *params); -void GLTrace_glGetnUniformivEXT(GLuint program, GLint location, GLsizei bufSize, GLint *params); -void GLTrace_glUseProgramStagesEXT(GLuint pipeline, GLbitfield stages, GLuint program); +void GLTrace_glReadnPixelsEXT(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data); +void GLTrace_glGetnUniformfvEXT(GLuint program, GLint location, GLsizei bufSize, GLfloat * params); +void GLTrace_glGetnUniformivEXT(GLuint program, GLint location, GLsizei bufSize, GLint * params); void GLTrace_glActiveShaderProgramEXT(GLuint pipeline, GLuint program); -GLuint GLTrace_glCreateShaderProgramvEXT(GLenum type, GLsizei count, const GLchar **strings); void GLTrace_glBindProgramPipelineEXT(GLuint pipeline); -void GLTrace_glDeleteProgramPipelinesEXT(GLsizei n, const GLuint *pipelines); -void GLTrace_glGenProgramPipelinesEXT(GLsizei n, GLuint *pipelines); +GLuint GLTrace_glCreateShaderProgramvEXT(GLenum type, GLsizei count, const GLchar ** strings); +void GLTrace_glDeleteProgramPipelinesEXT(GLsizei n, const GLuint * pipelines); +void GLTrace_glGenProgramPipelinesEXT(GLsizei n, GLuint * pipelines); +void GLTrace_glGetProgramPipelineInfoLogEXT(GLuint pipeline, GLsizei bufSize, GLsizei * length, GLchar * infoLog); +void GLTrace_glGetProgramPipelineivEXT(GLuint pipeline, GLenum pname, GLint * params); GLboolean GLTrace_glIsProgramPipelineEXT(GLuint pipeline); void GLTrace_glProgramParameteriEXT(GLuint program, GLenum pname, GLint value); -void GLTrace_glGetProgramPipelineivEXT(GLuint pipeline, GLenum pname, GLint *params); -void GLTrace_glProgramUniform1iEXT(GLuint program, GLint location, GLint x); -void GLTrace_glProgramUniform2iEXT(GLuint program, GLint location, GLint x, GLint y); -void GLTrace_glProgramUniform3iEXT(GLuint program, GLint location, GLint x, GLint y, GLint z); -void GLTrace_glProgramUniform4iEXT(GLuint program, GLint location, GLint x, GLint y, GLint z, GLint w); -void GLTrace_glProgramUniform1fEXT(GLuint program, GLint location, GLfloat x); -void GLTrace_glProgramUniform2fEXT(GLuint program, GLint location, GLfloat x, GLfloat y); -void GLTrace_glProgramUniform3fEXT(GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z); -void GLTrace_glProgramUniform4fEXT(GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -void GLTrace_glProgramUniform1ivEXT(GLuint program, GLint location, GLsizei count, const GLint *value); -void GLTrace_glProgramUniform2ivEXT(GLuint program, GLint location, GLsizei count, const GLint *value); -void GLTrace_glProgramUniform3ivEXT(GLuint program, GLint location, GLsizei count, const GLint *value); -void GLTrace_glProgramUniform4ivEXT(GLuint program, GLint location, GLsizei count, const GLint *value); -void GLTrace_glProgramUniform1fvEXT(GLuint program, GLint location, GLsizei count, const GLfloat *value); -void GLTrace_glProgramUniform2fvEXT(GLuint program, GLint location, GLsizei count, const GLfloat *value); -void GLTrace_glProgramUniform3fvEXT(GLuint program, GLint location, GLsizei count, const GLfloat *value); -void GLTrace_glProgramUniform4fvEXT(GLuint program, GLint location, GLsizei count, const GLfloat *value); -void GLTrace_glProgramUniformMatrix2fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -void GLTrace_glProgramUniformMatrix3fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -void GLTrace_glProgramUniformMatrix4fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +void GLTrace_glProgramUniform1fEXT(GLuint program, GLint location, GLfloat v0); +void GLTrace_glProgramUniform1fvEXT(GLuint program, GLint location, GLsizei count, const GLfloat * value); +void GLTrace_glProgramUniform1iEXT(GLuint program, GLint location, GLint v0); +void GLTrace_glProgramUniform1ivEXT(GLuint program, GLint location, GLsizei count, const GLint * value); +void GLTrace_glProgramUniform2fEXT(GLuint program, GLint location, GLfloat v0, GLfloat v1); +void GLTrace_glProgramUniform2fvEXT(GLuint program, GLint location, GLsizei count, const GLfloat * value); +void GLTrace_glProgramUniform2iEXT(GLuint program, GLint location, GLint v0, GLint v1); +void GLTrace_glProgramUniform2ivEXT(GLuint program, GLint location, GLsizei count, const GLint * value); +void GLTrace_glProgramUniform3fEXT(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +void GLTrace_glProgramUniform3fvEXT(GLuint program, GLint location, GLsizei count, const GLfloat * value); +void GLTrace_glProgramUniform3iEXT(GLuint program, GLint location, GLint v0, GLint v1, GLint v2); +void GLTrace_glProgramUniform3ivEXT(GLuint program, GLint location, GLsizei count, const GLint * value); +void GLTrace_glProgramUniform4fEXT(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +void GLTrace_glProgramUniform4fvEXT(GLuint program, GLint location, GLsizei count, const GLfloat * value); +void GLTrace_glProgramUniform4iEXT(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +void GLTrace_glProgramUniform4ivEXT(GLuint program, GLint location, GLsizei count, const GLint * value); +void GLTrace_glProgramUniformMatrix2fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); +void GLTrace_glProgramUniformMatrix3fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); +void GLTrace_glProgramUniformMatrix4fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); +void GLTrace_glUseProgramStagesEXT(GLuint pipeline, GLbitfield stages, GLuint program); void GLTrace_glValidateProgramPipelineEXT(GLuint pipeline); -void GLTrace_glGetProgramPipelineInfoLogEXT(GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +void GLTrace_glProgramUniform1uiEXT(GLuint program, GLint location, GLuint v0); +void GLTrace_glProgramUniform2uiEXT(GLuint program, GLint location, GLuint v0, GLuint v1); +void GLTrace_glProgramUniform3uiEXT(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); +void GLTrace_glProgramUniform4uiEXT(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); +void GLTrace_glProgramUniform1uivEXT(GLuint program, GLint location, GLsizei count, const GLuint * value); +void GLTrace_glProgramUniform2uivEXT(GLuint program, GLint location, GLsizei count, const GLuint * value); +void GLTrace_glProgramUniform3uivEXT(GLuint program, GLint location, GLsizei count, const GLuint * value); +void GLTrace_glProgramUniform4uivEXT(GLuint program, GLint location, GLsizei count, const GLuint * value); +void GLTrace_glProgramUniformMatrix2x3fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); +void GLTrace_glProgramUniformMatrix3x2fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); +void GLTrace_glProgramUniformMatrix2x4fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); +void GLTrace_glProgramUniformMatrix4x2fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); +void GLTrace_glProgramUniformMatrix3x4fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); +void GLTrace_glProgramUniformMatrix4x3fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); void GLTrace_glTexStorage1DEXT(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); void GLTrace_glTexStorage2DEXT(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); void GLTrace_glTexStorage3DEXT(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); @@ -361,108 +414,132 @@ void GLTrace_glTextureStorage2DEXT(GLuint texture, GLenum target, GLsizei levels void GLTrace_glTextureStorage3DEXT(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); void GLTrace_glRenderbufferStorageMultisampleIMG(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); void GLTrace_glFramebufferTexture2DMultisampleIMG(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); +void GLTrace_glBeginPerfQueryINTEL(GLuint queryHandle); +void GLTrace_glCreatePerfQueryINTEL(GLuint queryId, GLuint * queryHandle); +void GLTrace_glDeletePerfQueryINTEL(GLuint queryHandle); +void GLTrace_glEndPerfQueryINTEL(GLuint queryHandle); +void GLTrace_glGetFirstPerfQueryIdINTEL(GLuint * queryId); +void GLTrace_glGetNextPerfQueryIdINTEL(GLuint queryId, GLuint * nextQueryId); +void GLTrace_glGetPerfCounterInfoINTEL(GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar * counterName, GLuint counterDescLength, GLchar * counterDesc, GLuint * counterOffset, GLuint * counterDataSize, GLuint * counterTypeEnum, GLuint * counterDataTypeEnum, GLuint64 * rawCounterMaxValue); +void GLTrace_glGetPerfQueryDataINTEL(GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid * data, GLuint * bytesWritten); +void GLTrace_glGetPerfQueryIdByNameINTEL(GLchar * queryName, GLuint * queryId); +void GLTrace_glGetPerfQueryInfoINTEL(GLuint queryId, GLuint queryNameLength, GLchar * queryName, GLuint * dataSize, GLuint * noCounters, GLuint * noInstances, GLuint * capsMask); +void GLTrace_glBlendParameteriNV(GLenum pname, GLint value); +void GLTrace_glBlendBarrierNV(void); +void GLTrace_glCopyBufferSubDataNV(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); void GLTrace_glCoverageMaskNV(GLboolean mask); void GLTrace_glCoverageOperationNV(GLenum operation); -void GLTrace_glDrawBuffersNV(GLsizei n, const GLenum *bufs); -void GLTrace_glDeleteFencesNV(GLsizei n, const GLuint *fences); -void GLTrace_glGenFencesNV(GLsizei n, GLuint *fences); +void GLTrace_glDrawBuffersNV(GLsizei n, const GLenum * bufs); +void GLTrace_glDrawArraysInstancedNV(GLenum mode, GLint first, GLsizei count, GLsizei primcount); +void GLTrace_glDrawElementsInstancedNV(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount); +void GLTrace_glDeleteFencesNV(GLsizei n, const GLuint * fences); +void GLTrace_glGenFencesNV(GLsizei n, GLuint * fences); GLboolean GLTrace_glIsFenceNV(GLuint fence); GLboolean GLTrace_glTestFenceNV(GLuint fence); -void GLTrace_glGetFenceivNV(GLuint fence, GLenum pname, GLint *params); +void GLTrace_glGetFenceivNV(GLuint fence, GLenum pname, GLint * params); void GLTrace_glFinishFenceNV(GLuint fence); void GLTrace_glSetFenceNV(GLuint fence, GLenum condition); +void GLTrace_glBlitFramebufferNV(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); +void GLTrace_glRenderbufferStorageMultisampleNV(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +void GLTrace_glVertexAttribDivisorNV(GLuint index, GLuint divisor); +void GLTrace_glUniformMatrix2x3fvNV(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); +void GLTrace_glUniformMatrix3x2fvNV(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); +void GLTrace_glUniformMatrix2x4fvNV(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); +void GLTrace_glUniformMatrix4x2fvNV(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); +void GLTrace_glUniformMatrix3x4fvNV(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); +void GLTrace_glUniformMatrix4x3fvNV(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); void GLTrace_glReadBufferNV(GLenum mode); void GLTrace_glAlphaFuncQCOM(GLenum func, GLclampf ref); -void GLTrace_glGetDriverControlsQCOM(GLint *num, GLsizei size, GLuint *driverControls); -void GLTrace_glGetDriverControlStringQCOM(GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); +void GLTrace_glGetDriverControlsQCOM(GLint * num, GLsizei size, GLuint * driverControls); +void GLTrace_glGetDriverControlStringQCOM(GLuint driverControl, GLsizei bufSize, GLsizei * length, GLchar * driverControlString); void GLTrace_glEnableDriverControlQCOM(GLuint driverControl); void GLTrace_glDisableDriverControlQCOM(GLuint driverControl); -void GLTrace_glExtGetTexturesQCOM(GLuint *textures, GLint maxTextures, GLint *numTextures); -void GLTrace_glExtGetBuffersQCOM(GLuint *buffers, GLint maxBuffers, GLint *numBuffers); -void GLTrace_glExtGetRenderbuffersQCOM(GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); -void GLTrace_glExtGetFramebuffersQCOM(GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); -void GLTrace_glExtGetTexLevelParameterivQCOM(GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); +void GLTrace_glExtGetTexturesQCOM(GLuint * textures, GLint maxTextures, GLint * numTextures); +void GLTrace_glExtGetBuffersQCOM(GLuint * buffers, GLint maxBuffers, GLint * numBuffers); +void GLTrace_glExtGetRenderbuffersQCOM(GLuint * renderbuffers, GLint maxRenderbuffers, GLint * numRenderbuffers); +void GLTrace_glExtGetFramebuffersQCOM(GLuint * framebuffers, GLint maxFramebuffers, GLint * numFramebuffers); +void GLTrace_glExtGetTexLevelParameterivQCOM(GLuint texture, GLenum face, GLint level, GLenum pname, GLint * params); void GLTrace_glExtTexObjectStateOverrideiQCOM(GLenum target, GLenum pname, GLint param); -void GLTrace_glExtGetTexSubImageQCOM(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels); -void GLTrace_glExtGetBufferPointervQCOM(GLenum target, GLvoid **params); -void GLTrace_glExtGetShadersQCOM(GLuint *shaders, GLint maxShaders, GLint *numShaders); -void GLTrace_glExtGetProgramsQCOM(GLuint *programs, GLint maxPrograms, GLint *numPrograms); +void GLTrace_glExtGetTexSubImageQCOM(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void * texels); +void GLTrace_glExtGetBufferPointervQCOM(GLenum target, void ** params); +void GLTrace_glExtGetShadersQCOM(GLuint * shaders, GLint maxShaders, GLint * numShaders); +void GLTrace_glExtGetProgramsQCOM(GLuint * programs, GLint maxPrograms, GLint * numPrograms); GLboolean GLTrace_glExtIsProgramBinaryQCOM(GLuint program); -void GLTrace_glExtGetProgramBinarySourceQCOM(GLuint program, GLenum shadertype, GLchar *source, GLint *length); +void GLTrace_glExtGetProgramBinarySourceQCOM(GLuint program, GLenum shadertype, GLchar * source, GLint * length); void GLTrace_glStartTilingQCOM(GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); void GLTrace_glEndTilingQCOM(GLbitfield preserveMask); // Declarations for GL1 APIs -void GLTrace_glAlphaFunc(GLenum func, GLclampf ref); -void GLTrace_glClipPlanef(GLenum plane, const GLfloat *equation); +void GLTrace_glAlphaFunc(GLenum func, GLfloat ref); +void GLTrace_glClipPlanef(GLenum p, const GLfloat * eqn); void GLTrace_glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); void GLTrace_glFogf(GLenum pname, GLfloat param); -void GLTrace_glFogfv(GLenum pname, const GLfloat *params); -void GLTrace_glFrustumf(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); -void GLTrace_glGetClipPlanef(GLenum pname, GLfloat eqn[4]); -void GLTrace_glGetLightfv(GLenum light, GLenum pname, GLfloat *params); -void GLTrace_glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params); -void GLTrace_glGetTexEnvfv(GLenum env, GLenum pname, GLfloat *params); +void GLTrace_glFogfv(GLenum pname, const GLfloat * params); +void GLTrace_glFrustumf(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); +void GLTrace_glGetClipPlanef(GLenum plane, GLfloat * equation); +void GLTrace_glGetLightfv(GLenum light, GLenum pname, GLfloat * params); +void GLTrace_glGetMaterialfv(GLenum face, GLenum pname, GLfloat * params); +void GLTrace_glGetTexEnvfv(GLenum target, GLenum pname, GLfloat * params); void GLTrace_glLightModelf(GLenum pname, GLfloat param); -void GLTrace_glLightModelfv(GLenum pname, const GLfloat *params); +void GLTrace_glLightModelfv(GLenum pname, const GLfloat * params); void GLTrace_glLightf(GLenum light, GLenum pname, GLfloat param); -void GLTrace_glLightfv(GLenum light, GLenum pname, const GLfloat *params); -void GLTrace_glLoadMatrixf(const GLfloat *m); +void GLTrace_glLightfv(GLenum light, GLenum pname, const GLfloat * params); +void GLTrace_glLoadMatrixf(const GLfloat * m); void GLTrace_glMaterialf(GLenum face, GLenum pname, GLfloat param); -void GLTrace_glMaterialfv(GLenum face, GLenum pname, const GLfloat *params); -void GLTrace_glMultMatrixf(const GLfloat *m); +void GLTrace_glMaterialfv(GLenum face, GLenum pname, const GLfloat * params); +void GLTrace_glMultMatrixf(const GLfloat * m); void GLTrace_glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); void GLTrace_glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz); -void GLTrace_glOrthof(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); +void GLTrace_glOrthof(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); void GLTrace_glPointParameterf(GLenum pname, GLfloat param); -void GLTrace_glPointParameterfv(GLenum pname, const GLfloat *params); +void GLTrace_glPointParameterfv(GLenum pname, const GLfloat * params); void GLTrace_glPointSize(GLfloat size); void GLTrace_glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z); void GLTrace_glScalef(GLfloat x, GLfloat y, GLfloat z); void GLTrace_glTexEnvf(GLenum target, GLenum pname, GLfloat param); -void GLTrace_glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params); +void GLTrace_glTexEnvfv(GLenum target, GLenum pname, const GLfloat * params); void GLTrace_glTranslatef(GLfloat x, GLfloat y, GLfloat z); -void GLTrace_glAlphaFuncx(GLenum func, GLclampx ref); -void GLTrace_glClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); -void GLTrace_glClearDepthx(GLclampx depth); +void GLTrace_glAlphaFuncx(GLenum func, GLfixed ref); +void GLTrace_glClearColorx(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); +void GLTrace_glClearDepthx(GLfixed depth); void GLTrace_glClientActiveTexture(GLenum texture); -void GLTrace_glClipPlanex(GLenum plane, const GLfixed *equation); +void GLTrace_glClipPlanex(GLenum plane, const GLfixed * equation); void GLTrace_glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); void GLTrace_glColor4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); -void GLTrace_glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); -void GLTrace_glDepthRangex(GLclampx zNear, GLclampx zFar); +void GLTrace_glColorPointer(GLint size, GLenum type, GLsizei stride, const void * pointer); +void GLTrace_glDepthRangex(GLfixed n, GLfixed f); void GLTrace_glDisableClientState(GLenum array); void GLTrace_glEnableClientState(GLenum array); void GLTrace_glFogx(GLenum pname, GLfixed param); -void GLTrace_glFogxv(GLenum pname, const GLfixed *params); -void GLTrace_glFrustumx(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); -void GLTrace_glGetClipPlanex(GLenum pname, GLfixed eqn[4]); -void GLTrace_glGetFixedv(GLenum pname, GLfixed *params); -void GLTrace_glGetLightxv(GLenum light, GLenum pname, GLfixed *params); -void GLTrace_glGetMaterialxv(GLenum face, GLenum pname, GLfixed *params); -void GLTrace_glGetPointerv(GLenum pname, GLvoid **params); -void GLTrace_glGetTexEnviv(GLenum env, GLenum pname, GLint *params); -void GLTrace_glGetTexEnvxv(GLenum env, GLenum pname, GLfixed *params); -void GLTrace_glGetTexParameterxv(GLenum target, GLenum pname, GLfixed *params); +void GLTrace_glFogxv(GLenum pname, const GLfixed * param); +void GLTrace_glFrustumx(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); +void GLTrace_glGetClipPlanex(GLenum plane, GLfixed * equation); +void GLTrace_glGetFixedv(GLenum pname, GLfixed * params); +void GLTrace_glGetLightxv(GLenum light, GLenum pname, GLfixed * params); +void GLTrace_glGetMaterialxv(GLenum face, GLenum pname, GLfixed * params); +void GLTrace_glGetPointerv(GLenum pname, void ** params); +void GLTrace_glGetTexEnviv(GLenum target, GLenum pname, GLint * params); +void GLTrace_glGetTexEnvxv(GLenum target, GLenum pname, GLfixed * params); +void GLTrace_glGetTexParameterxv(GLenum target, GLenum pname, GLfixed * params); void GLTrace_glLightModelx(GLenum pname, GLfixed param); -void GLTrace_glLightModelxv(GLenum pname, const GLfixed *params); +void GLTrace_glLightModelxv(GLenum pname, const GLfixed * param); void GLTrace_glLightx(GLenum light, GLenum pname, GLfixed param); -void GLTrace_glLightxv(GLenum light, GLenum pname, const GLfixed *params); +void GLTrace_glLightxv(GLenum light, GLenum pname, const GLfixed * params); void GLTrace_glLineWidthx(GLfixed width); void GLTrace_glLoadIdentity(void); -void GLTrace_glLoadMatrixx(const GLfixed *m); +void GLTrace_glLoadMatrixx(const GLfixed * m); void GLTrace_glLogicOp(GLenum opcode); void GLTrace_glMaterialx(GLenum face, GLenum pname, GLfixed param); -void GLTrace_glMaterialxv(GLenum face, GLenum pname, const GLfixed *params); +void GLTrace_glMaterialxv(GLenum face, GLenum pname, const GLfixed * param); void GLTrace_glMatrixMode(GLenum mode); -void GLTrace_glMultMatrixx(const GLfixed *m); -void GLTrace_glMultiTexCoord4x(GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q); +void GLTrace_glMultMatrixx(const GLfixed * m); +void GLTrace_glMultiTexCoord4x(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q); void GLTrace_glNormal3x(GLfixed nx, GLfixed ny, GLfixed nz); -void GLTrace_glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer); -void GLTrace_glOrthox(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); +void GLTrace_glNormalPointer(GLenum type, GLsizei stride, const void * pointer); +void GLTrace_glOrthox(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); void GLTrace_glPointParameterx(GLenum pname, GLfixed param); -void GLTrace_glPointParameterxv(GLenum pname, const GLfixed *params); +void GLTrace_glPointParameterxv(GLenum pname, const GLfixed * params); void GLTrace_glPointSizex(GLfixed size); void GLTrace_glPolygonOffsetx(GLfixed factor, GLfixed units); void GLTrace_glPopMatrix(void); @@ -471,106 +548,129 @@ void GLTrace_glRotatex(GLfixed angle, GLfixed x, GLfixed y, GLfixed z); void GLTrace_glSampleCoveragex(GLclampx value, GLboolean invert); void GLTrace_glScalex(GLfixed x, GLfixed y, GLfixed z); void GLTrace_glShadeModel(GLenum mode); -void GLTrace_glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); +void GLTrace_glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const void * pointer); void GLTrace_glTexEnvi(GLenum target, GLenum pname, GLint param); void GLTrace_glTexEnvx(GLenum target, GLenum pname, GLfixed param); -void GLTrace_glTexEnviv(GLenum target, GLenum pname, const GLint *params); -void GLTrace_glTexEnvxv(GLenum target, GLenum pname, const GLfixed *params); +void GLTrace_glTexEnviv(GLenum target, GLenum pname, const GLint * params); +void GLTrace_glTexEnvxv(GLenum target, GLenum pname, const GLfixed * params); void GLTrace_glTexParameterx(GLenum target, GLenum pname, GLfixed param); -void GLTrace_glTexParameterxv(GLenum target, GLenum pname, const GLfixed *params); +void GLTrace_glTexParameterxv(GLenum target, GLenum pname, const GLfixed * params); void GLTrace_glTranslatex(GLfixed x, GLfixed y, GLfixed z); -void GLTrace_glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); -void GLTrace_glPointSizePointerOES(GLenum type, GLsizei stride, const GLvoid *pointer); +void GLTrace_glVertexPointer(GLint size, GLenum type, GLsizei stride, const void * pointer); // Declarations for GL1Ext APIs void GLTrace_glBlendEquationSeparateOES(GLenum modeRGB, GLenum modeAlpha); void GLTrace_glBlendFuncSeparateOES(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); void GLTrace_glBlendEquationOES(GLenum mode); +void GLTrace_glMultiTexCoord1bOES(GLenum texture, GLbyte s); +void GLTrace_glMultiTexCoord1bvOES(GLenum texture, const GLbyte * coords); +void GLTrace_glMultiTexCoord2bOES(GLenum texture, GLbyte s, GLbyte t); +void GLTrace_glMultiTexCoord2bvOES(GLenum texture, const GLbyte * coords); +void GLTrace_glMultiTexCoord3bOES(GLenum texture, GLbyte s, GLbyte t, GLbyte r); +void GLTrace_glMultiTexCoord3bvOES(GLenum texture, const GLbyte * coords); +void GLTrace_glMultiTexCoord4bOES(GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q); +void GLTrace_glMultiTexCoord4bvOES(GLenum texture, const GLbyte * coords); +void GLTrace_glTexCoord1bOES(GLbyte s); +void GLTrace_glTexCoord1bvOES(const GLbyte * coords); +void GLTrace_glTexCoord2bOES(GLbyte s, GLbyte t); +void GLTrace_glTexCoord2bvOES(const GLbyte * coords); +void GLTrace_glTexCoord3bOES(GLbyte s, GLbyte t, GLbyte r); +void GLTrace_glTexCoord3bvOES(const GLbyte * coords); +void GLTrace_glTexCoord4bOES(GLbyte s, GLbyte t, GLbyte r, GLbyte q); +void GLTrace_glTexCoord4bvOES(const GLbyte * coords); +void GLTrace_glVertex2bOES(GLbyte x); +void GLTrace_glVertex2bvOES(const GLbyte * coords); +void GLTrace_glVertex3bOES(GLbyte x, GLbyte y); +void GLTrace_glVertex3bvOES(const GLbyte * coords); +void GLTrace_glVertex4bOES(GLbyte x, GLbyte y, GLbyte z); +void GLTrace_glVertex4bvOES(const GLbyte * coords); void GLTrace_glDrawTexsOES(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height); void GLTrace_glDrawTexiOES(GLint x, GLint y, GLint z, GLint width, GLint height); void GLTrace_glDrawTexxOES(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height); -void GLTrace_glDrawTexsvOES(const GLshort *coords); -void GLTrace_glDrawTexivOES(const GLint *coords); -void GLTrace_glDrawTexxvOES(const GLfixed *coords); +void GLTrace_glDrawTexsvOES(const GLshort * coords); +void GLTrace_glDrawTexivOES(const GLint * coords); +void GLTrace_glDrawTexxvOES(const GLfixed * coords); void GLTrace_glDrawTexfOES(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height); -void GLTrace_glDrawTexfvOES(const GLfloat *coords); -void GLTrace_glAlphaFuncxOES(GLenum func, GLclampx ref); -void GLTrace_glClearColorxOES(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); -void GLTrace_glClearDepthxOES(GLclampx depth); -void GLTrace_glClipPlanexOES(GLenum plane, const GLfixed *equation); +void GLTrace_glDrawTexfvOES(const GLfloat * coords); +void GLTrace_glAlphaFuncxOES(GLenum func, GLfixed ref); +void GLTrace_glClearColorxOES(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); +void GLTrace_glClearDepthxOES(GLfixed depth); +void GLTrace_glClipPlanexOES(GLenum plane, const GLfixed * equation); void GLTrace_glColor4xOES(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); -void GLTrace_glDepthRangexOES(GLclampx zNear, GLclampx zFar); +void GLTrace_glDepthRangexOES(GLfixed n, GLfixed f); void GLTrace_glFogxOES(GLenum pname, GLfixed param); -void GLTrace_glFogxvOES(GLenum pname, const GLfixed *params); -void GLTrace_glFrustumxOES(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); -void GLTrace_glGetClipPlanexOES(GLenum pname, GLfixed eqn[4]); -void GLTrace_glGetFixedvOES(GLenum pname, GLfixed *params); -void GLTrace_glGetLightxvOES(GLenum light, GLenum pname, GLfixed *params); -void GLTrace_glGetMaterialxvOES(GLenum face, GLenum pname, GLfixed *params); -void GLTrace_glGetTexEnvxvOES(GLenum env, GLenum pname, GLfixed *params); -void GLTrace_glGetTexParameterxvOES(GLenum target, GLenum pname, GLfixed *params); +void GLTrace_glFogxvOES(GLenum pname, const GLfixed * param); +void GLTrace_glFrustumxOES(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); +void GLTrace_glGetClipPlanexOES(GLenum plane, GLfixed * equation); +void GLTrace_glGetFixedvOES(GLenum pname, GLfixed * params); +void GLTrace_glGetTexEnvxvOES(GLenum target, GLenum pname, GLfixed * params); +void GLTrace_glGetTexParameterxvOES(GLenum target, GLenum pname, GLfixed * params); void GLTrace_glLightModelxOES(GLenum pname, GLfixed param); -void GLTrace_glLightModelxvOES(GLenum pname, const GLfixed *params); +void GLTrace_glLightModelxvOES(GLenum pname, const GLfixed * param); void GLTrace_glLightxOES(GLenum light, GLenum pname, GLfixed param); -void GLTrace_glLightxvOES(GLenum light, GLenum pname, const GLfixed *params); +void GLTrace_glLightxvOES(GLenum light, GLenum pname, const GLfixed * params); void GLTrace_glLineWidthxOES(GLfixed width); -void GLTrace_glLoadMatrixxOES(const GLfixed *m); +void GLTrace_glLoadMatrixxOES(const GLfixed * m); void GLTrace_glMaterialxOES(GLenum face, GLenum pname, GLfixed param); -void GLTrace_glMaterialxvOES(GLenum face, GLenum pname, const GLfixed *params); -void GLTrace_glMultMatrixxOES(const GLfixed *m); -void GLTrace_glMultiTexCoord4xOES(GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q); +void GLTrace_glMaterialxvOES(GLenum face, GLenum pname, const GLfixed * param); +void GLTrace_glMultMatrixxOES(const GLfixed * m); +void GLTrace_glMultiTexCoord4xOES(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q); void GLTrace_glNormal3xOES(GLfixed nx, GLfixed ny, GLfixed nz); -void GLTrace_glOrthoxOES(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); -void GLTrace_glPointParameterxOES(GLenum pname, GLfixed param); -void GLTrace_glPointParameterxvOES(GLenum pname, const GLfixed *params); +void GLTrace_glOrthoxOES(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); +void GLTrace_glPointParameterxvOES(GLenum pname, const GLfixed * params); void GLTrace_glPointSizexOES(GLfixed size); void GLTrace_glPolygonOffsetxOES(GLfixed factor, GLfixed units); void GLTrace_glRotatexOES(GLfixed angle, GLfixed x, GLfixed y, GLfixed z); -void GLTrace_glSampleCoveragexOES(GLclampx value, GLboolean invert); +void GLTrace_glSampleCoverageOES(GLfixed value, GLboolean invert); void GLTrace_glScalexOES(GLfixed x, GLfixed y, GLfixed z); void GLTrace_glTexEnvxOES(GLenum target, GLenum pname, GLfixed param); -void GLTrace_glTexEnvxvOES(GLenum target, GLenum pname, const GLfixed *params); +void GLTrace_glTexEnvxvOES(GLenum target, GLenum pname, const GLfixed * params); void GLTrace_glTexParameterxOES(GLenum target, GLenum pname, GLfixed param); -void GLTrace_glTexParameterxvOES(GLenum target, GLenum pname, const GLfixed *params); +void GLTrace_glTexParameterxvOES(GLenum target, GLenum pname, const GLfixed * params); void GLTrace_glTranslatexOES(GLfixed x, GLfixed y, GLfixed z); +void GLTrace_glGetLightxvOES(GLenum light, GLenum pname, GLfixed * params); +void GLTrace_glGetMaterialxvOES(GLenum face, GLenum pname, GLfixed * params); +void GLTrace_glPointParameterxOES(GLenum pname, GLfixed param); +void GLTrace_glSampleCoveragexOES(GLclampx value, GLboolean invert); +void GLTrace_glGetTexGenxvOES(GLenum coord, GLenum pname, GLfixed * params); +void GLTrace_glTexGenxOES(GLenum coord, GLenum pname, GLfixed param); +void GLTrace_glTexGenxvOES(GLenum coord, GLenum pname, const GLfixed * params); GLboolean GLTrace_glIsRenderbufferOES(GLuint renderbuffer); void GLTrace_glBindRenderbufferOES(GLenum target, GLuint renderbuffer); -void GLTrace_glDeleteRenderbuffersOES(GLsizei n, const GLuint* renderbuffers); -void GLTrace_glGenRenderbuffersOES(GLsizei n, GLuint* renderbuffers); +void GLTrace_glDeleteRenderbuffersOES(GLsizei n, const GLuint * renderbuffers); +void GLTrace_glGenRenderbuffersOES(GLsizei n, GLuint * renderbuffers); void GLTrace_glRenderbufferStorageOES(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -void GLTrace_glGetRenderbufferParameterivOES(GLenum target, GLenum pname, GLint* params); +void GLTrace_glGetRenderbufferParameterivOES(GLenum target, GLenum pname, GLint * params); GLboolean GLTrace_glIsFramebufferOES(GLuint framebuffer); void GLTrace_glBindFramebufferOES(GLenum target, GLuint framebuffer); -void GLTrace_glDeleteFramebuffersOES(GLsizei n, const GLuint* framebuffers); -void GLTrace_glGenFramebuffersOES(GLsizei n, GLuint* framebuffers); +void GLTrace_glDeleteFramebuffersOES(GLsizei n, const GLuint * framebuffers); +void GLTrace_glGenFramebuffersOES(GLsizei n, GLuint * framebuffers); GLenum GLTrace_glCheckFramebufferStatusOES(GLenum target); void GLTrace_glFramebufferRenderbufferOES(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); void GLTrace_glFramebufferTexture2DOES(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -void GLTrace_glGetFramebufferAttachmentParameterivOES(GLenum target, GLenum attachment, GLenum pname, GLint* params); +void GLTrace_glGetFramebufferAttachmentParameterivOES(GLenum target, GLenum attachment, GLenum pname, GLint * params); void GLTrace_glGenerateMipmapOES(GLenum target); void GLTrace_glCurrentPaletteMatrixOES(GLuint matrixpaletteindex); void GLTrace_glLoadPaletteFromModelViewMatrixOES(void); -void GLTrace_glMatrixIndexPointerOES(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); -void GLTrace_glWeightPointerOES(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); -GLbitfield GLTrace_glQueryMatrixxOES(GLfixed mantissa[16], GLint exponent[16]); -void GLTrace_glDepthRangefOES(GLclampf zNear, GLclampf zFar); -void GLTrace_glFrustumfOES(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); -void GLTrace_glOrthofOES(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); -void GLTrace_glClipPlanefOES(GLenum plane, const GLfloat *equation); -void GLTrace_glGetClipPlanefOES(GLenum pname, GLfloat eqn[4]); +void GLTrace_glMatrixIndexPointerOES(GLint size, GLenum type, GLsizei stride, const void * pointer); +void GLTrace_glWeightPointerOES(GLint size, GLenum type, GLsizei stride, const void * pointer); +void GLTrace_glPointSizePointerOES(GLenum type, GLsizei stride, const void * pointer); +GLbitfield GLTrace_glQueryMatrixxOES(GLfixed * mantissa, GLint * exponent); void GLTrace_glClearDepthfOES(GLclampf depth); +void GLTrace_glClipPlanefOES(GLenum plane, const GLfloat * equation); +void GLTrace_glDepthRangefOES(GLclampf n, GLclampf f); +void GLTrace_glFrustumfOES(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); +void GLTrace_glGetClipPlanefOES(GLenum plane, GLfloat * equation); +void GLTrace_glOrthofOES(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); void GLTrace_glTexGenfOES(GLenum coord, GLenum pname, GLfloat param); -void GLTrace_glTexGenfvOES(GLenum coord, GLenum pname, const GLfloat *params); +void GLTrace_glTexGenfvOES(GLenum coord, GLenum pname, const GLfloat * params); void GLTrace_glTexGeniOES(GLenum coord, GLenum pname, GLint param); -void GLTrace_glTexGenivOES(GLenum coord, GLenum pname, const GLint *params); -void GLTrace_glTexGenxOES(GLenum coord, GLenum pname, GLfixed param); -void GLTrace_glTexGenxvOES(GLenum coord, GLenum pname, const GLfixed *params); -void GLTrace_glGetTexGenfvOES(GLenum coord, GLenum pname, GLfloat *params); -void GLTrace_glGetTexGenivOES(GLenum coord, GLenum pname, GLint *params); -void GLTrace_glGetTexGenxvOES(GLenum coord, GLenum pname, GLfixed *params); -void GLTrace_glClipPlanefIMG(GLenum p, const GLfloat *eqn); -void GLTrace_glClipPlanexIMG(GLenum p, const GLfixed *eqn); +void GLTrace_glTexGenivOES(GLenum coord, GLenum pname, const GLint * params); +void GLTrace_glGetTexGenfvOES(GLenum coord, GLenum pname, GLfloat * params); +void GLTrace_glGetTexGenivOES(GLenum coord, GLenum pname, GLint * params); +void GLTrace_glClipPlanefIMG(GLenum p, const GLfloat * eqn); +void GLTrace_glClipPlanexIMG(GLenum p, const GLfixed * eqn); }; // namespace gltrace }; // namespace android diff --git a/opengl/libs/GLES_trace/tools/genapi.py b/opengl/libs/GLES_trace/tools/genapi.py index ea6817db7..2dea5dac2 100755 --- a/opengl/libs/GLES_trace/tools/genapi.py +++ b/opengl/libs/GLES_trace/tools/genapi.py @@ -18,7 +18,7 @@ # This script is used to generate the trace implementations of all # OpenGL calls. When executed, it reads the specs for the OpenGL calls # from the files GLES2/gl2_api.in, GLES2/gl2ext_api.in, GLES_CM/gl_api.in, -# and GLES_CM/glext_api.in, and generates trace versions for all the +# and GLES_CM/glext_api.in, and generates trace versions for all the # defined functions. # # PREREQUISITES @@ -103,6 +103,7 @@ GLPROTOBUF_TYPE_MAP = { "GLint64":DataType.INT64, "GLuint64":DataType.INT64, "GLsync":DataType.POINTER, + "GLDEBUGPROCKHR":DataType.POINTER, } API_SPECS = [ @@ -231,7 +232,7 @@ def getNameTypePair(decl): # if name is a pointer (e.g. "*ptr"), then remove the "*" from the name # and add it to the data type - pointersInName = name.count("*") + pointersInName = name.count("*") if pointersInName > 0: name = name.replace("*", "") dataType += "*" * pointersInName @@ -267,7 +268,7 @@ class ApiCall(object): API_ENTRY_REGEX = "(.*)API_ENTRY\(.*?\)\((.*?)\)" # Regex to match CALL_GL_API specification: - # e.g. CALL_GL_API(glCullFace, mode); + # e.g. CALL_GL_API(glCullFace, mode); # CALL_GL_API_RETURN(glCreateProgram); CALL_GL_API_REGEX = "CALL_GL_API(_RETURN)?\((.*)\);" @@ -279,7 +280,7 @@ class ApiCall(object): defn: specification line containing API_ENTRY macro e.g: void API_ENTRY(glActiveTexture)(GLenum texture) { callsite: specification line containing CALL_GL_API macro - e.g: CALL_GL_API(glActiveTexture, texture); + e.g: CALL_GL_API(glActiveTexture, texture); """ self.prefix = prefix self.ret = self.getReturnType(apientry) @@ -295,7 +296,7 @@ class ApiCall(object): '''Extract the return type from the API_ENTRY specification''' m = re.search(self.API_ENTRY_REGEX, apientry) if not m: - raise ValueError("%s does not match API_ENTRY specification %s" + raise ValueError("%s does not match API_ENTRY specification %s" % (apientry, self.API_ENTRY_REGEX)) return m.group(1).strip() @@ -304,7 +305,7 @@ class ApiCall(object): '''Extract the argument list from the API_ENTRY specification''' m = re.search(self.API_ENTRY_REGEX, apientry) if not m: - raise ValueError("%s does not match API_ENTRY specification %s" + raise ValueError("%s does not match API_ENTRY specification %s" % (apientry, self.API_ENTRY_REGEX)) return m.group(2).strip() @@ -335,7 +336,7 @@ class ApiCall(object): return "%s GLTrace_%s(%s);" % (self.ret, self.func, self.arglist) def genCode(self): - return TRACE_CALL_TEMPLATE(func = self.func, + return TRACE_CALL_TEMPLATE(func = self.func, retType = self.ret, retDataType = getDataTypeFromKw(self.ret), inputArgList = self.arglist, diff --git a/opengl/libs/entries.in b/opengl/libs/entries.in index 43c2676e9..48e389093 100644 --- a/opengl/libs/entries.in +++ b/opengl/libs/entries.in @@ -1,15 +1,16 @@ GL_ENTRY(void, glActiveShaderProgramEXT, GLuint pipeline, GLuint program) GL_ENTRY(void, glActiveTexture, GLenum texture) -GL_ENTRY(void, glAlphaFunc, GLenum func, GLclampf ref) +GL_ENTRY(void, glAlphaFunc, GLenum func, GLfloat ref) GL_ENTRY(void, glAlphaFuncQCOM, GLenum func, GLclampf ref) -GL_ENTRY(void, glAlphaFuncx, GLenum func, GLclampx ref) -GL_ENTRY(void, glAlphaFuncxOES, GLenum func, GLclampx ref) +GL_ENTRY(void, glAlphaFuncx, GLenum func, GLfixed ref) +GL_ENTRY(void, glAlphaFuncxOES, GLenum func, GLfixed ref) GL_ENTRY(void, glAttachShader, GLuint program, GLuint shader) GL_ENTRY(void, glBeginPerfMonitorAMD, GLuint monitor) +GL_ENTRY(void, glBeginPerfQueryINTEL, GLuint queryHandle) GL_ENTRY(void, glBeginQuery, GLenum target, GLuint id) GL_ENTRY(void, glBeginQueryEXT, GLenum target, GLuint id) GL_ENTRY(void, glBeginTransformFeedback, GLenum primitiveMode) -GL_ENTRY(void, glBindAttribLocation, GLuint program, GLuint index, const GLchar* name) +GL_ENTRY(void, glBindAttribLocation, GLuint program, GLuint index, const GLchar * name) GL_ENTRY(void, glBindBuffer, GLenum target, GLuint buffer) GL_ENTRY(void, glBindBufferBase, GLenum target, GLuint index, GLuint buffer) GL_ENTRY(void, glBindBufferRange, GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) @@ -23,111 +24,132 @@ GL_ENTRY(void, glBindTexture, GLenum target, GLuint texture) GL_ENTRY(void, glBindTransformFeedback, GLenum target, GLuint id) GL_ENTRY(void, glBindVertexArray, GLuint array) GL_ENTRY(void, glBindVertexArrayOES, GLuint array) -GL_ENTRY(void, glBlendColor, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) -GL_ENTRY(void, glBlendEquation, GLenum mode ) +GL_ENTRY(void, glBlendBarrierKHR, void) +GL_ENTRY(void, glBlendBarrierNV, void) +GL_ENTRY(void, glBlendColor, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) +GL_ENTRY(void, glBlendEquation, GLenum mode) GL_ENTRY(void, glBlendEquationOES, GLenum mode) GL_ENTRY(void, glBlendEquationSeparate, GLenum modeRGB, GLenum modeAlpha) GL_ENTRY(void, glBlendEquationSeparateOES, GLenum modeRGB, GLenum modeAlpha) GL_ENTRY(void, glBlendFunc, GLenum sfactor, GLenum dfactor) -GL_ENTRY(void, glBlendFuncSeparate, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) +GL_ENTRY(void, glBlendFuncSeparate, GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) GL_ENTRY(void, glBlendFuncSeparateOES, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) +GL_ENTRY(void, glBlendParameteriNV, GLenum pname, GLint value) GL_ENTRY(void, glBlitFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) GL_ENTRY(void, glBlitFramebufferANGLE, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) -GL_ENTRY(void, glBufferData, GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage) -GL_ENTRY(void, glBufferSubData, GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data) +GL_ENTRY(void, glBlitFramebufferNV, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) +GL_ENTRY(void, glBufferData, GLenum target, GLsizeiptr size, const void * data, GLenum usage) +GL_ENTRY(void, glBufferSubData, GLenum target, GLintptr offset, GLsizeiptr size, const void * data) GL_ENTRY(GLenum, glCheckFramebufferStatus, GLenum target) GL_ENTRY(GLenum, glCheckFramebufferStatusOES, GLenum target) GL_ENTRY(void, glClear, GLbitfield mask) GL_ENTRY(void, glClearBufferfi, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) -GL_ENTRY(void, glClearBufferfv, GLenum buffer, GLint drawbuffer, const GLfloat* value) -GL_ENTRY(void, glClearBufferiv, GLenum buffer, GLint drawbuffer, const GLint* value) -GL_ENTRY(void, glClearBufferuiv, GLenum buffer, GLint drawbuffer, const GLuint* value) -GL_ENTRY(void, glClearColor, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) -GL_ENTRY(void, glClearColorx, GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) -GL_ENTRY(void, glClearColorxOES, GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) -GL_ENTRY(void, glClearDepthf, GLclampf depth) +GL_ENTRY(void, glClearBufferfv, GLenum buffer, GLint drawbuffer, const GLfloat * value) +GL_ENTRY(void, glClearBufferiv, GLenum buffer, GLint drawbuffer, const GLint * value) +GL_ENTRY(void, glClearBufferuiv, GLenum buffer, GLint drawbuffer, const GLuint * value) +GL_ENTRY(void, glClearColor, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) +GL_ENTRY(void, glClearColorx, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) +GL_ENTRY(void, glClearColorxOES, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) +GL_ENTRY(void, glClearDepthf, GLfloat d) GL_ENTRY(void, glClearDepthfOES, GLclampf depth) -GL_ENTRY(void, glClearDepthx, GLclampx depth) -GL_ENTRY(void, glClearDepthxOES, GLclampx depth) +GL_ENTRY(void, glClearDepthx, GLfixed depth) +GL_ENTRY(void, glClearDepthxOES, GLfixed depth) GL_ENTRY(void, glClearStencil, GLint s) GL_ENTRY(void, glClientActiveTexture, GLenum texture) GL_ENTRY(GLenum, glClientWaitSync, GLsync sync, GLbitfield flags, GLuint64 timeout) -GL_ENTRY(void, glClipPlanef, GLenum plane, const GLfloat *equation) -GL_ENTRY(void, glClipPlanefIMG, GLenum p, const GLfloat *eqn) -GL_ENTRY(void, glClipPlanefOES, GLenum plane, const GLfloat *equation) -GL_ENTRY(void, glClipPlanex, GLenum plane, const GLfixed *equation) -GL_ENTRY(void, glClipPlanexIMG, GLenum p, const GLfixed *eqn) -GL_ENTRY(void, glClipPlanexOES, GLenum plane, const GLfixed *equation) +GL_ENTRY(GLenum, glClientWaitSyncAPPLE, GLsync sync, GLbitfield flags, GLuint64 timeout) +GL_ENTRY(void, glClipPlanef, GLenum p, const GLfloat * eqn) +GL_ENTRY(void, glClipPlanefIMG, GLenum p, const GLfloat * eqn) +GL_ENTRY(void, glClipPlanefOES, GLenum plane, const GLfloat * equation) +GL_ENTRY(void, glClipPlanex, GLenum plane, const GLfixed * equation) +GL_ENTRY(void, glClipPlanexIMG, GLenum p, const GLfixed * eqn) +GL_ENTRY(void, glClipPlanexOES, GLenum plane, const GLfixed * equation) GL_ENTRY(void, glColor4f, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) GL_ENTRY(void, glColor4ub, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) GL_ENTRY(void, glColor4x, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) GL_ENTRY(void, glColor4xOES, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) GL_ENTRY(void, glColorMask, GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) -GL_ENTRY(void, glColorPointer, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) +GL_ENTRY(void, glColorPointer, GLint size, GLenum type, GLsizei stride, const void * pointer) GL_ENTRY(void, glCompileShader, GLuint shader) -GL_ENTRY(void, glCompressedTexImage2D, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) -GL_ENTRY(void, glCompressedTexImage3D, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data) -GL_ENTRY(void, glCompressedTexImage3DOES, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data) -GL_ENTRY(void, glCompressedTexSubImage2D, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data) -GL_ENTRY(void, glCompressedTexSubImage3D, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data) -GL_ENTRY(void, glCompressedTexSubImage3DOES, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data) +GL_ENTRY(void, glCompressedTexImage2D, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * data) +GL_ENTRY(void, glCompressedTexImage3D, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * data) +GL_ENTRY(void, glCompressedTexImage3DOES, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * data) +GL_ENTRY(void, glCompressedTexSubImage2D, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * data) +GL_ENTRY(void, glCompressedTexSubImage3D, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * data) +GL_ENTRY(void, glCompressedTexSubImage3DOES, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * data) GL_ENTRY(void, glCopyBufferSubData, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) +GL_ENTRY(void, glCopyBufferSubDataNV, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) GL_ENTRY(void, glCopyTexImage2D, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) GL_ENTRY(void, glCopyTexSubImage2D, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) GL_ENTRY(void, glCopyTexSubImage3D, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) GL_ENTRY(void, glCopyTexSubImage3DOES, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) +GL_ENTRY(void, glCopyTextureLevelsAPPLE, GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount) GL_ENTRY(void, glCoverageMaskNV, GLboolean mask) GL_ENTRY(void, glCoverageOperationNV, GLenum operation) +GL_ENTRY(void, glCreatePerfQueryINTEL, GLuint queryId, GLuint * queryHandle) GL_ENTRY(GLuint, glCreateProgram, void) GL_ENTRY(GLuint, glCreateShader, GLenum type) -GL_ENTRY(GLuint, glCreateShaderProgramvEXT, GLenum type, GLsizei count, const GLchar **strings) +GL_ENTRY(GLuint, glCreateShaderProgramvEXT, GLenum type, GLsizei count, const GLchar ** strings) GL_ENTRY(void, glCullFace, GLenum mode) GL_ENTRY(void, glCurrentPaletteMatrixOES, GLuint matrixpaletteindex) -GL_ENTRY(void, glDeleteBuffers, GLsizei n, const GLuint *buffers) -GL_ENTRY(void, glDeleteFencesNV, GLsizei n, const GLuint *fences) -GL_ENTRY(void, glDeleteFramebuffers, GLsizei n, const GLuint* framebuffers) -GL_ENTRY(void, glDeleteFramebuffersOES, GLsizei n, const GLuint* framebuffers) -GL_ENTRY(void, glDeletePerfMonitorsAMD, GLsizei n, GLuint *monitors) +GL_ENTRY(void, glDebugMessageCallbackKHR, GLDEBUGPROCKHR callback, const void * userParam) +GL_ENTRY(void, glDebugMessageControlKHR, GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled) +GL_ENTRY(void, glDebugMessageInsertKHR, GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar * buf) +GL_ENTRY(void, glDeleteBuffers, GLsizei n, const GLuint * buffers) +GL_ENTRY(void, glDeleteFencesNV, GLsizei n, const GLuint * fences) +GL_ENTRY(void, glDeleteFramebuffers, GLsizei n, const GLuint * framebuffers) +GL_ENTRY(void, glDeleteFramebuffersOES, GLsizei n, const GLuint * framebuffers) +GL_ENTRY(void, glDeletePerfMonitorsAMD, GLsizei n, GLuint * monitors) +GL_ENTRY(void, glDeletePerfQueryINTEL, GLuint queryHandle) GL_ENTRY(void, glDeleteProgram, GLuint program) -GL_ENTRY(void, glDeleteProgramPipelinesEXT, GLsizei n, const GLuint *pipelines) -GL_ENTRY(void, glDeleteQueries, GLsizei n, const GLuint* ids) -GL_ENTRY(void, glDeleteQueriesEXT, GLsizei n, const GLuint *ids) -GL_ENTRY(void, glDeleteRenderbuffers, GLsizei n, const GLuint* renderbuffers) -GL_ENTRY(void, glDeleteRenderbuffersOES, GLsizei n, const GLuint* renderbuffers) -GL_ENTRY(void, glDeleteSamplers, GLsizei count, const GLuint* samplers) +GL_ENTRY(void, glDeleteProgramPipelinesEXT, GLsizei n, const GLuint * pipelines) +GL_ENTRY(void, glDeleteQueries, GLsizei n, const GLuint * ids) +GL_ENTRY(void, glDeleteQueriesEXT, GLsizei n, const GLuint * ids) +GL_ENTRY(void, glDeleteRenderbuffers, GLsizei n, const GLuint * renderbuffers) +GL_ENTRY(void, glDeleteRenderbuffersOES, GLsizei n, const GLuint * renderbuffers) +GL_ENTRY(void, glDeleteSamplers, GLsizei count, const GLuint * samplers) GL_ENTRY(void, glDeleteShader, GLuint shader) GL_ENTRY(void, glDeleteSync, GLsync sync) -GL_ENTRY(void, glDeleteTextures, GLsizei n, const GLuint *textures) -GL_ENTRY(void, glDeleteTransformFeedbacks, GLsizei n, const GLuint* ids) -GL_ENTRY(void, glDeleteVertexArrays, GLsizei n, const GLuint* arrays) -GL_ENTRY(void, glDeleteVertexArraysOES, GLsizei n, const GLuint *arrays) +GL_ENTRY(void, glDeleteSyncAPPLE, GLsync sync) +GL_ENTRY(void, glDeleteTextures, GLsizei n, const GLuint * textures) +GL_ENTRY(void, glDeleteTransformFeedbacks, GLsizei n, const GLuint * ids) +GL_ENTRY(void, glDeleteVertexArrays, GLsizei n, const GLuint * arrays) +GL_ENTRY(void, glDeleteVertexArraysOES, GLsizei n, const GLuint * arrays) GL_ENTRY(void, glDepthFunc, GLenum func) GL_ENTRY(void, glDepthMask, GLboolean flag) -GL_ENTRY(void, glDepthRangef, GLclampf zNear, GLclampf zFar) -GL_ENTRY(void, glDepthRangefOES, GLclampf zNear, GLclampf zFar) -GL_ENTRY(void, glDepthRangex, GLclampx zNear, GLclampx zFar) -GL_ENTRY(void, glDepthRangexOES, GLclampx zNear, GLclampx zFar) +GL_ENTRY(void, glDepthRangef, GLfloat n, GLfloat f) +GL_ENTRY(void, glDepthRangefOES, GLclampf n, GLclampf f) +GL_ENTRY(void, glDepthRangex, GLfixed n, GLfixed f) +GL_ENTRY(void, glDepthRangexOES, GLfixed n, GLfixed f) GL_ENTRY(void, glDetachShader, GLuint program, GLuint shader) GL_ENTRY(void, glDisable, GLenum cap) GL_ENTRY(void, glDisableClientState, GLenum array) GL_ENTRY(void, glDisableDriverControlQCOM, GLuint driverControl) GL_ENTRY(void, glDisableVertexAttribArray, GLuint index) -GL_ENTRY(void, glDiscardFramebufferEXT, GLenum target, GLsizei numAttachments, const GLenum *attachments) +GL_ENTRY(void, glDiscardFramebufferEXT, GLenum target, GLsizei numAttachments, const GLenum * attachments) GL_ENTRY(void, glDrawArrays, GLenum mode, GLint first, GLsizei count) -GL_ENTRY(void, glDrawArraysInstanced, GLenum mode, GLint first, GLsizei count, GLsizei instanceCount) -GL_ENTRY(void, glDrawBuffers, GLsizei n, const GLenum* bufs) -GL_ENTRY(void, glDrawBuffersNV, GLsizei n, const GLenum *bufs) -GL_ENTRY(void, glDrawElements, GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) -GL_ENTRY(void, glDrawElementsInstanced, GLenum mode, GLsizei count, GLenum type, const GLvoid* indices, GLsizei instanceCount) -GL_ENTRY(void, glDrawRangeElements, GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid* indices) +GL_ENTRY(void, glDrawArraysInstanced, GLenum mode, GLint first, GLsizei count, GLsizei instancecount) +GL_ENTRY(void, glDrawArraysInstancedANGLE, GLenum mode, GLint first, GLsizei count, GLsizei primcount) +GL_ENTRY(void, glDrawArraysInstancedEXT, GLenum mode, GLint start, GLsizei count, GLsizei primcount) +GL_ENTRY(void, glDrawArraysInstancedNV, GLenum mode, GLint first, GLsizei count, GLsizei primcount) +GL_ENTRY(void, glDrawBuffers, GLsizei n, const GLenum * bufs) +GL_ENTRY(void, glDrawBuffersEXT, GLsizei n, const GLenum * bufs) +GL_ENTRY(void, glDrawBuffersIndexedEXT, GLint n, const GLenum * location, const GLint * indices) +GL_ENTRY(void, glDrawBuffersNV, GLsizei n, const GLenum * bufs) +GL_ENTRY(void, glDrawElements, GLenum mode, GLsizei count, GLenum type, const void * indices) +GL_ENTRY(void, glDrawElementsInstanced, GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount) +GL_ENTRY(void, glDrawElementsInstancedANGLE, GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount) +GL_ENTRY(void, glDrawElementsInstancedEXT, GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount) +GL_ENTRY(void, glDrawElementsInstancedNV, GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount) +GL_ENTRY(void, glDrawRangeElements, GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices) GL_ENTRY(void, glDrawTexfOES, GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height) -GL_ENTRY(void, glDrawTexfvOES, const GLfloat *coords) +GL_ENTRY(void, glDrawTexfvOES, const GLfloat * coords) GL_ENTRY(void, glDrawTexiOES, GLint x, GLint y, GLint z, GLint width, GLint height) -GL_ENTRY(void, glDrawTexivOES, const GLint *coords) +GL_ENTRY(void, glDrawTexivOES, const GLint * coords) GL_ENTRY(void, glDrawTexsOES, GLshort x, GLshort y, GLshort z, GLshort width, GLshort height) -GL_ENTRY(void, glDrawTexsvOES, const GLshort *coords) +GL_ENTRY(void, glDrawTexsvOES, const GLshort * coords) GL_ENTRY(void, glDrawTexxOES, GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height) -GL_ENTRY(void, glDrawTexxvOES, const GLfixed *coords) +GL_ENTRY(void, glDrawTexxvOES, const GLfixed * coords) GL_ENTRY(void, glEGLImageTargetRenderbufferStorageOES, GLenum target, GLeglImageOES image) GL_ENTRY(void, glEGLImageTargetTexture2DOES, GLenum target, GLeglImageOES image) GL_ENTRY(void, glEnable, GLenum cap) @@ -135,33 +157,36 @@ GL_ENTRY(void, glEnableClientState, GLenum array) GL_ENTRY(void, glEnableDriverControlQCOM, GLuint driverControl) GL_ENTRY(void, glEnableVertexAttribArray, GLuint index) GL_ENTRY(void, glEndPerfMonitorAMD, GLuint monitor) +GL_ENTRY(void, glEndPerfQueryINTEL, GLuint queryHandle) GL_ENTRY(void, glEndQuery, GLenum target) GL_ENTRY(void, glEndQueryEXT, GLenum target) GL_ENTRY(void, glEndTilingQCOM, GLbitfield preserveMask) GL_ENTRY(void, glEndTransformFeedback, void) -GL_ENTRY(void, glExtGetBufferPointervQCOM, GLenum target, GLvoid **params) -GL_ENTRY(void, glExtGetBuffersQCOM, GLuint *buffers, GLint maxBuffers, GLint *numBuffers) -GL_ENTRY(void, glExtGetFramebuffersQCOM, GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers) -GL_ENTRY(void, glExtGetProgramBinarySourceQCOM, GLuint program, GLenum shadertype, GLchar *source, GLint *length) -GL_ENTRY(void, glExtGetProgramsQCOM, GLuint *programs, GLint maxPrograms, GLint *numPrograms) -GL_ENTRY(void, glExtGetRenderbuffersQCOM, GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers) -GL_ENTRY(void, glExtGetShadersQCOM, GLuint *shaders, GLint maxShaders, GLint *numShaders) -GL_ENTRY(void, glExtGetTexLevelParameterivQCOM, GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params) -GL_ENTRY(void, glExtGetTexSubImageQCOM, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels) -GL_ENTRY(void, glExtGetTexturesQCOM, GLuint *textures, GLint maxTextures, GLint *numTextures) +GL_ENTRY(void, glExtGetBufferPointervQCOM, GLenum target, void ** params) +GL_ENTRY(void, glExtGetBuffersQCOM, GLuint * buffers, GLint maxBuffers, GLint * numBuffers) +GL_ENTRY(void, glExtGetFramebuffersQCOM, GLuint * framebuffers, GLint maxFramebuffers, GLint * numFramebuffers) +GL_ENTRY(void, glExtGetProgramBinarySourceQCOM, GLuint program, GLenum shadertype, GLchar * source, GLint * length) +GL_ENTRY(void, glExtGetProgramsQCOM, GLuint * programs, GLint maxPrograms, GLint * numPrograms) +GL_ENTRY(void, glExtGetRenderbuffersQCOM, GLuint * renderbuffers, GLint maxRenderbuffers, GLint * numRenderbuffers) +GL_ENTRY(void, glExtGetShadersQCOM, GLuint * shaders, GLint maxShaders, GLint * numShaders) +GL_ENTRY(void, glExtGetTexLevelParameterivQCOM, GLuint texture, GLenum face, GLint level, GLenum pname, GLint * params) +GL_ENTRY(void, glExtGetTexSubImageQCOM, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void * texels) +GL_ENTRY(void, glExtGetTexturesQCOM, GLuint * textures, GLint maxTextures, GLint * numTextures) GL_ENTRY(GLboolean, glExtIsProgramBinaryQCOM, GLuint program) GL_ENTRY(void, glExtTexObjectStateOverrideiQCOM, GLenum target, GLenum pname, GLint param) GL_ENTRY(GLsync, glFenceSync, GLenum condition, GLbitfield flags) +GL_ENTRY(GLsync, glFenceSyncAPPLE, GLenum condition, GLbitfield flags) GL_ENTRY(void, glFinish, void) GL_ENTRY(void, glFinishFenceNV, GLuint fence) GL_ENTRY(void, glFlush, void) GL_ENTRY(void, glFlushMappedBufferRange, GLenum target, GLintptr offset, GLsizeiptr length) +GL_ENTRY(void, glFlushMappedBufferRangeEXT, GLenum target, GLintptr offset, GLsizeiptr length) GL_ENTRY(void, glFogf, GLenum pname, GLfloat param) -GL_ENTRY(void, glFogfv, GLenum pname, const GLfloat *params) +GL_ENTRY(void, glFogfv, GLenum pname, const GLfloat * params) GL_ENTRY(void, glFogx, GLenum pname, GLfixed param) GL_ENTRY(void, glFogxOES, GLenum pname, GLfixed param) -GL_ENTRY(void, glFogxv, GLenum pname, const GLfixed *params) -GL_ENTRY(void, glFogxvOES, GLenum pname, const GLfixed *params) +GL_ENTRY(void, glFogxv, GLenum pname, const GLfixed * param) +GL_ENTRY(void, glFogxvOES, GLenum pname, const GLfixed * param) GL_ENTRY(void, glFramebufferRenderbuffer, GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) GL_ENTRY(void, glFramebufferRenderbufferOES, GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) GL_ENTRY(void, glFramebufferTexture2D, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) @@ -171,123 +196,140 @@ GL_ENTRY(void, glFramebufferTexture2DOES, GLenum target, GLenum attachment, GLen GL_ENTRY(void, glFramebufferTexture3DOES, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) GL_ENTRY(void, glFramebufferTextureLayer, GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) GL_ENTRY(void, glFrontFace, GLenum mode) -GL_ENTRY(void, glFrustumf, GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) -GL_ENTRY(void, glFrustumfOES, GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) -GL_ENTRY(void, glFrustumx, GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) -GL_ENTRY(void, glFrustumxOES, GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) -GL_ENTRY(void, glGenBuffers, GLsizei n, GLuint *buffers) -GL_ENTRY(void, glGenFencesNV, GLsizei n, GLuint *fences) -GL_ENTRY(void, glGenFramebuffers, GLsizei n, GLuint* framebuffers) -GL_ENTRY(void, glGenFramebuffersOES, GLsizei n, GLuint* framebuffers) -GL_ENTRY(void, glGenPerfMonitorsAMD, GLsizei n, GLuint *monitors) -GL_ENTRY(void, glGenProgramPipelinesEXT, GLsizei n, GLuint *pipelines) -GL_ENTRY(void, glGenQueries, GLsizei n, GLuint* ids) -GL_ENTRY(void, glGenQueriesEXT, GLsizei n, GLuint *ids) -GL_ENTRY(void, glGenRenderbuffers, GLsizei n, GLuint* renderbuffers) -GL_ENTRY(void, glGenRenderbuffersOES, GLsizei n, GLuint* renderbuffers) -GL_ENTRY(void, glGenSamplers, GLsizei count, GLuint* samplers) -GL_ENTRY(void, glGenTextures, GLsizei n, GLuint *textures) -GL_ENTRY(void, glGenTransformFeedbacks, GLsizei n, GLuint* ids) -GL_ENTRY(void, glGenVertexArrays, GLsizei n, GLuint* arrays) -GL_ENTRY(void, glGenVertexArraysOES, GLsizei n, GLuint *arrays) +GL_ENTRY(void, glFrustumf, GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) +GL_ENTRY(void, glFrustumfOES, GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) +GL_ENTRY(void, glFrustumx, GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f) +GL_ENTRY(void, glFrustumxOES, GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f) +GL_ENTRY(void, glGenBuffers, GLsizei n, GLuint * buffers) +GL_ENTRY(void, glGenFencesNV, GLsizei n, GLuint * fences) +GL_ENTRY(void, glGenFramebuffers, GLsizei n, GLuint * framebuffers) +GL_ENTRY(void, glGenFramebuffersOES, GLsizei n, GLuint * framebuffers) +GL_ENTRY(void, glGenPerfMonitorsAMD, GLsizei n, GLuint * monitors) +GL_ENTRY(void, glGenProgramPipelinesEXT, GLsizei n, GLuint * pipelines) +GL_ENTRY(void, glGenQueries, GLsizei n, GLuint * ids) +GL_ENTRY(void, glGenQueriesEXT, GLsizei n, GLuint * ids) +GL_ENTRY(void, glGenRenderbuffers, GLsizei n, GLuint * renderbuffers) +GL_ENTRY(void, glGenRenderbuffersOES, GLsizei n, GLuint * renderbuffers) +GL_ENTRY(void, glGenSamplers, GLsizei count, GLuint * samplers) +GL_ENTRY(void, glGenTextures, GLsizei n, GLuint * textures) +GL_ENTRY(void, glGenTransformFeedbacks, GLsizei n, GLuint * ids) +GL_ENTRY(void, glGenVertexArrays, GLsizei n, GLuint * arrays) +GL_ENTRY(void, glGenVertexArraysOES, GLsizei n, GLuint * arrays) GL_ENTRY(void, glGenerateMipmap, GLenum target) GL_ENTRY(void, glGenerateMipmapOES, GLenum target) -GL_ENTRY(void, glGetActiveAttrib, GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name) -GL_ENTRY(void, glGetActiveUniform, GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name) -GL_ENTRY(void, glGetActiveUniformBlockName, GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformBlockName) -GL_ENTRY(void, glGetActiveUniformBlockiv, GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint* params) -GL_ENTRY(void, glGetActiveUniformsiv, GLuint program, GLsizei uniformCount, const GLuint* uniformIndices, GLenum pname, GLint* params) -GL_ENTRY(void, glGetAttachedShaders, GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders) -GL_ENTRY(GLint, glGetAttribLocation, GLuint program, const GLchar* name) -GL_ENTRY(void, glGetBooleanv, GLenum pname, GLboolean *params) -GL_ENTRY(void, glGetBufferParameteri64v, GLenum target, GLenum pname, GLint64* params) -GL_ENTRY(void, glGetBufferParameteriv, GLenum target, GLenum pname, GLint *params) -GL_ENTRY(void, glGetBufferPointerv, GLenum target, GLenum pname, GLvoid** params) -GL_ENTRY(void, glGetBufferPointervOES, GLenum target, GLenum pname, GLvoid ** params) -GL_ENTRY(void, glGetClipPlanef, GLenum pname, GLfloat eqn[4]) -GL_ENTRY(void, glGetClipPlanefOES, GLenum pname, GLfloat eqn[4]) -GL_ENTRY(void, glGetClipPlanex, GLenum pname, GLfixed eqn[4]) -GL_ENTRY(void, glGetClipPlanexOES, GLenum pname, GLfixed eqn[4]) -GL_ENTRY(void, glGetDriverControlStringQCOM, GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString) -GL_ENTRY(void, glGetDriverControlsQCOM, GLint *num, GLsizei size, GLuint *driverControls) +GL_ENTRY(void, glGetActiveAttrib, GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) +GL_ENTRY(void, glGetActiveUniform, GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) +GL_ENTRY(void, glGetActiveUniformBlockName, GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei * length, GLchar * uniformBlockName) +GL_ENTRY(void, glGetActiveUniformBlockiv, GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint * params) +GL_ENTRY(void, glGetActiveUniformsiv, GLuint program, GLsizei uniformCount, const GLuint * uniformIndices, GLenum pname, GLint * params) +GL_ENTRY(void, glGetAttachedShaders, GLuint program, GLsizei maxCount, GLsizei * count, GLuint * shaders) +GL_ENTRY(GLint, glGetAttribLocation, GLuint program, const GLchar * name) +GL_ENTRY(void, glGetBooleanv, GLenum pname, GLboolean * data) +GL_ENTRY(void, glGetBufferParameteri64v, GLenum target, GLenum pname, GLint64 * params) +GL_ENTRY(void, glGetBufferParameteriv, GLenum target, GLenum pname, GLint * params) +GL_ENTRY(void, glGetBufferPointerv, GLenum target, GLenum pname, void ** params) +GL_ENTRY(void, glGetBufferPointervOES, GLenum target, GLenum pname, void ** params) +GL_ENTRY(void, glGetClipPlanef, GLenum plane, GLfloat * equation) +GL_ENTRY(void, glGetClipPlanefOES, GLenum plane, GLfloat * equation) +GL_ENTRY(void, glGetClipPlanex, GLenum plane, GLfixed * equation) +GL_ENTRY(void, glGetClipPlanexOES, GLenum plane, GLfixed * equation) +GL_ENTRY(GLuint, glGetDebugMessageLogKHR, GLuint count, GLsizei bufSize, GLenum * sources, GLenum * types, GLuint * ids, GLenum * severities, GLsizei * lengths, GLchar * messageLog) +GL_ENTRY(void, glGetDriverControlStringQCOM, GLuint driverControl, GLsizei bufSize, GLsizei * length, GLchar * driverControlString) +GL_ENTRY(void, glGetDriverControlsQCOM, GLint * num, GLsizei size, GLuint * driverControls) GL_ENTRY(GLenum, glGetError, void) -GL_ENTRY(void, glGetFenceivNV, GLuint fence, GLenum pname, GLint *params) -GL_ENTRY(void, glGetFixedv, GLenum pname, GLfixed *params) -GL_ENTRY(void, glGetFixedvOES, GLenum pname, GLfixed *params) -GL_ENTRY(void, glGetFloatv, GLenum pname, GLfloat *params) -GL_ENTRY(GLint, glGetFragDataLocation, GLuint program, const GLchar *name) -GL_ENTRY(void, glGetFramebufferAttachmentParameteriv, GLenum target, GLenum attachment, GLenum pname, GLint* params) -GL_ENTRY(void, glGetFramebufferAttachmentParameterivOES, GLenum target, GLenum attachment, GLenum pname, GLint* params) +GL_ENTRY(void, glGetFenceivNV, GLuint fence, GLenum pname, GLint * params) +GL_ENTRY(void, glGetFirstPerfQueryIdINTEL, GLuint * queryId) +GL_ENTRY(void, glGetFixedv, GLenum pname, GLfixed * params) +GL_ENTRY(void, glGetFixedvOES, GLenum pname, GLfixed * params) +GL_ENTRY(void, glGetFloatv, GLenum pname, GLfloat * data) +GL_ENTRY(GLint, glGetFragDataLocation, GLuint program, const GLchar * name) +GL_ENTRY(void, glGetFramebufferAttachmentParameteriv, GLenum target, GLenum attachment, GLenum pname, GLint * params) +GL_ENTRY(void, glGetFramebufferAttachmentParameterivOES, GLenum target, GLenum attachment, GLenum pname, GLint * params) GL_ENTRY(GLenum, glGetGraphicsResetStatusEXT, void) -GL_ENTRY(void, glGetInteger64i_v, GLenum target, GLuint index, GLint64* data) -GL_ENTRY(void, glGetInteger64v, GLenum pname, GLint64* params) -GL_ENTRY(void, glGetIntegeri_v, GLenum target, GLuint index, GLint* data) -GL_ENTRY(void, glGetIntegerv, GLenum pname, GLint *params) -GL_ENTRY(void, glGetInternalformativ, GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint* params) -GL_ENTRY(void, glGetLightfv, GLenum light, GLenum pname, GLfloat *params) -GL_ENTRY(void, glGetLightxv, GLenum light, GLenum pname, GLfixed *params) -GL_ENTRY(void, glGetLightxvOES, GLenum light, GLenum pname, GLfixed *params) -GL_ENTRY(void, glGetMaterialfv, GLenum face, GLenum pname, GLfloat *params) -GL_ENTRY(void, glGetMaterialxv, GLenum face, GLenum pname, GLfixed *params) -GL_ENTRY(void, glGetMaterialxvOES, GLenum face, GLenum pname, GLfixed *params) -GL_ENTRY(void, glGetObjectLabelEXT, GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label) -GL_ENTRY(void, glGetPerfMonitorCounterDataAMD, GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten) -GL_ENTRY(void, glGetPerfMonitorCounterInfoAMD, GLuint group, GLuint counter, GLenum pname, GLvoid *data) -GL_ENTRY(void, glGetPerfMonitorCounterStringAMD, GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString) -GL_ENTRY(void, glGetPerfMonitorCountersAMD, GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters) -GL_ENTRY(void, glGetPerfMonitorGroupStringAMD, GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString) -GL_ENTRY(void, glGetPerfMonitorGroupsAMD, GLint *numGroups, GLsizei groupsSize, GLuint *groups) -GL_ENTRY(void, glGetPointerv, GLenum pname, GLvoid **params) -GL_ENTRY(void, glGetProgramBinary, GLuint program, GLsizei bufSize, GLsizei* length, GLenum* binaryFormat, GLvoid* binary) -GL_ENTRY(void, glGetProgramBinaryOES, GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary) -GL_ENTRY(void, glGetProgramInfoLog, GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog) -GL_ENTRY(void, glGetProgramPipelineInfoLogEXT, GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog) -GL_ENTRY(void, glGetProgramPipelineivEXT, GLuint pipeline, GLenum pname, GLint *params) -GL_ENTRY(void, glGetProgramiv, GLuint program, GLenum pname, GLint* params) -GL_ENTRY(void, glGetQueryObjectuiv, GLuint id, GLenum pname, GLuint* params) -GL_ENTRY(void, glGetQueryObjectuivEXT, GLuint id, GLenum pname, GLuint *params) -GL_ENTRY(void, glGetQueryiv, GLenum target, GLenum pname, GLint* params) -GL_ENTRY(void, glGetQueryivEXT, GLenum target, GLenum pname, GLint *params) -GL_ENTRY(void, glGetRenderbufferParameteriv, GLenum target, GLenum pname, GLint* params) -GL_ENTRY(void, glGetRenderbufferParameterivOES, GLenum target, GLenum pname, GLint* params) -GL_ENTRY(void, glGetSamplerParameterfv, GLuint sampler, GLenum pname, GLfloat* params) -GL_ENTRY(void, glGetSamplerParameteriv, GLuint sampler, GLenum pname, GLint* params) -GL_ENTRY(void, glGetShaderInfoLog, GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog) -GL_ENTRY(void, glGetShaderPrecisionFormat, GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision) -GL_ENTRY(void, glGetShaderSource, GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source) -GL_ENTRY(void, glGetShaderiv, GLuint shader, GLenum pname, GLint* params) +GL_ENTRY(void, glGetInteger64i_v, GLenum target, GLuint index, GLint64 * data) +GL_ENTRY(void, glGetInteger64v, GLenum pname, GLint64 * data) +GL_ENTRY(void, glGetInteger64vAPPLE, GLenum pname, GLint64 * params) +GL_ENTRY(void, glGetIntegeri_v, GLenum target, GLuint index, GLint * data) +GL_ENTRY(void, glGetIntegeri_vEXT, GLenum target, GLuint index, GLint * data) +GL_ENTRY(void, glGetIntegerv, GLenum pname, GLint * data) +GL_ENTRY(void, glGetInternalformativ, GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint * params) +GL_ENTRY(void, glGetLightfv, GLenum light, GLenum pname, GLfloat * params) +GL_ENTRY(void, glGetLightxv, GLenum light, GLenum pname, GLfixed * params) +GL_ENTRY(void, glGetLightxvOES, GLenum light, GLenum pname, GLfixed * params) +GL_ENTRY(void, glGetMaterialfv, GLenum face, GLenum pname, GLfloat * params) +GL_ENTRY(void, glGetMaterialxv, GLenum face, GLenum pname, GLfixed * params) +GL_ENTRY(void, glGetMaterialxvOES, GLenum face, GLenum pname, GLfixed * params) +GL_ENTRY(void, glGetNextPerfQueryIdINTEL, GLuint queryId, GLuint * nextQueryId) +GL_ENTRY(void, glGetObjectLabelEXT, GLenum type, GLuint object, GLsizei bufSize, GLsizei * length, GLchar * label) +GL_ENTRY(void, glGetObjectLabelKHR, GLenum identifier, GLuint name, GLsizei bufSize, GLsizei * length, GLchar * label) +GL_ENTRY(void, glGetObjectPtrLabelKHR, const void * ptr, GLsizei bufSize, GLsizei * length, GLchar * label) +GL_ENTRY(void, glGetPerfCounterInfoINTEL, GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar * counterName, GLuint counterDescLength, GLchar * counterDesc, GLuint * counterOffset, GLuint * counterDataSize, GLuint * counterTypeEnum, GLuint * counterDataTypeEnum, GLuint64 * rawCounterMaxValue) +GL_ENTRY(void, glGetPerfMonitorCounterDataAMD, GLuint monitor, GLenum pname, GLsizei dataSize, GLuint * data, GLint * bytesWritten) +GL_ENTRY(void, glGetPerfMonitorCounterInfoAMD, GLuint group, GLuint counter, GLenum pname, void * data) +GL_ENTRY(void, glGetPerfMonitorCounterStringAMD, GLuint group, GLuint counter, GLsizei bufSize, GLsizei * length, GLchar * counterString) +GL_ENTRY(void, glGetPerfMonitorCountersAMD, GLuint group, GLint * numCounters, GLint * maxActiveCounters, GLsizei counterSize, GLuint * counters) +GL_ENTRY(void, glGetPerfMonitorGroupStringAMD, GLuint group, GLsizei bufSize, GLsizei * length, GLchar * groupString) +GL_ENTRY(void, glGetPerfMonitorGroupsAMD, GLint * numGroups, GLsizei groupsSize, GLuint * groups) +GL_ENTRY(void, glGetPerfQueryDataINTEL, GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid * data, GLuint * bytesWritten) +GL_ENTRY(void, glGetPerfQueryIdByNameINTEL, GLchar * queryName, GLuint * queryId) +GL_ENTRY(void, glGetPerfQueryInfoINTEL, GLuint queryId, GLuint queryNameLength, GLchar * queryName, GLuint * dataSize, GLuint * noCounters, GLuint * noInstances, GLuint * capsMask) +GL_ENTRY(void, glGetPointerv, GLenum pname, void ** params) +GL_ENTRY(void, glGetPointervKHR, GLenum pname, void ** params) +GL_ENTRY(void, glGetProgramBinary, GLuint program, GLsizei bufSize, GLsizei * length, GLenum * binaryFormat, void * binary) +GL_ENTRY(void, glGetProgramBinaryOES, GLuint program, GLsizei bufSize, GLsizei * length, GLenum * binaryFormat, void * binary) +GL_ENTRY(void, glGetProgramInfoLog, GLuint program, GLsizei bufSize, GLsizei * length, GLchar * infoLog) +GL_ENTRY(void, glGetProgramPipelineInfoLogEXT, GLuint pipeline, GLsizei bufSize, GLsizei * length, GLchar * infoLog) +GL_ENTRY(void, glGetProgramPipelineivEXT, GLuint pipeline, GLenum pname, GLint * params) +GL_ENTRY(void, glGetProgramiv, GLuint program, GLenum pname, GLint * params) +GL_ENTRY(void, glGetQueryObjecti64vEXT, GLuint id, GLenum pname, GLint64 * params) +GL_ENTRY(void, glGetQueryObjectivEXT, GLuint id, GLenum pname, GLint * params) +GL_ENTRY(void, glGetQueryObjectui64vEXT, GLuint id, GLenum pname, GLuint64 * params) +GL_ENTRY(void, glGetQueryObjectuiv, GLuint id, GLenum pname, GLuint * params) +GL_ENTRY(void, glGetQueryObjectuivEXT, GLuint id, GLenum pname, GLuint * params) +GL_ENTRY(void, glGetQueryiv, GLenum target, GLenum pname, GLint * params) +GL_ENTRY(void, glGetQueryivEXT, GLenum target, GLenum pname, GLint * params) +GL_ENTRY(void, glGetRenderbufferParameteriv, GLenum target, GLenum pname, GLint * params) +GL_ENTRY(void, glGetRenderbufferParameterivOES, GLenum target, GLenum pname, GLint * params) +GL_ENTRY(void, glGetSamplerParameterfv, GLuint sampler, GLenum pname, GLfloat * params) +GL_ENTRY(void, glGetSamplerParameteriv, GLuint sampler, GLenum pname, GLint * params) +GL_ENTRY(void, glGetShaderInfoLog, GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * infoLog) +GL_ENTRY(void, glGetShaderPrecisionFormat, GLenum shadertype, GLenum precisiontype, GLint * range, GLint * precision) +GL_ENTRY(void, glGetShaderSource, GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * source) +GL_ENTRY(void, glGetShaderiv, GLuint shader, GLenum pname, GLint * params) GL_ENTRY(const GLubyte *, glGetString, GLenum name) -GL_ENTRY(const GLubyte*, glGetStringi, GLenum name, GLuint index) -GL_ENTRY(void, glGetSynciv, GLsync sync, GLenum pname, GLsizei bufSize, GLsizei* length, GLint* values) -GL_ENTRY(void, glGetTexEnvfv, GLenum env, GLenum pname, GLfloat *params) -GL_ENTRY(void, glGetTexEnviv, GLenum env, GLenum pname, GLint *params) -GL_ENTRY(void, glGetTexEnvxv, GLenum env, GLenum pname, GLfixed *params) -GL_ENTRY(void, glGetTexEnvxvOES, GLenum env, GLenum pname, GLfixed *params) -GL_ENTRY(void, glGetTexGenfvOES, GLenum coord, GLenum pname, GLfloat *params) -GL_ENTRY(void, glGetTexGenivOES, GLenum coord, GLenum pname, GLint *params) -GL_ENTRY(void, glGetTexGenxvOES, GLenum coord, GLenum pname, GLfixed *params) -GL_ENTRY(void, glGetTexParameterfv, GLenum target, GLenum pname, GLfloat *params) -GL_ENTRY(void, glGetTexParameteriv, GLenum target, GLenum pname, GLint *params) -GL_ENTRY(void, glGetTexParameterxv, GLenum target, GLenum pname, GLfixed *params) -GL_ENTRY(void, glGetTexParameterxvOES, GLenum target, GLenum pname, GLfixed *params) -GL_ENTRY(void, glGetTransformFeedbackVarying, GLuint program, GLuint index, GLsizei bufSize, GLsizei* length, GLsizei* size, GLenum* type, GLchar* name) -GL_ENTRY(GLuint, glGetUniformBlockIndex, GLuint program, const GLchar* uniformBlockName) -GL_ENTRY(void, glGetUniformIndices, GLuint program, GLsizei uniformCount, const GLchar* const* uniformNames, GLuint* uniformIndices) -GL_ENTRY(GLint, glGetUniformLocation, GLuint program, const GLchar* name) -GL_ENTRY(void, glGetUniformfv, GLuint program, GLint location, GLfloat* params) -GL_ENTRY(void, glGetUniformiv, GLuint program, GLint location, GLint* params) -GL_ENTRY(void, glGetUniformuiv, GLuint program, GLint location, GLuint* params) -GL_ENTRY(void, glGetVertexAttribIiv, GLuint index, GLenum pname, GLint* params) -GL_ENTRY(void, glGetVertexAttribIuiv, GLuint index, GLenum pname, GLuint* params) -GL_ENTRY(void, glGetVertexAttribPointerv, GLuint index, GLenum pname, GLvoid** pointer) -GL_ENTRY(void, glGetVertexAttribfv, GLuint index, GLenum pname, GLfloat* params) -GL_ENTRY(void, glGetVertexAttribiv, GLuint index, GLenum pname, GLint* params) -GL_ENTRY(void, glGetnUniformfvEXT, GLuint program, GLint location, GLsizei bufSize, float *params) -GL_ENTRY(void, glGetnUniformivEXT, GLuint program, GLint location, GLsizei bufSize, GLint *params) +GL_ENTRY(const GLubyte *, glGetStringi, GLenum name, GLuint index) +GL_ENTRY(void, glGetSynciv, GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values) +GL_ENTRY(void, glGetSyncivAPPLE, GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values) +GL_ENTRY(void, glGetTexEnvfv, GLenum target, GLenum pname, GLfloat * params) +GL_ENTRY(void, glGetTexEnviv, GLenum target, GLenum pname, GLint * params) +GL_ENTRY(void, glGetTexEnvxv, GLenum target, GLenum pname, GLfixed * params) +GL_ENTRY(void, glGetTexEnvxvOES, GLenum target, GLenum pname, GLfixed * params) +GL_ENTRY(void, glGetTexGenfvOES, GLenum coord, GLenum pname, GLfloat * params) +GL_ENTRY(void, glGetTexGenivOES, GLenum coord, GLenum pname, GLint * params) +GL_ENTRY(void, glGetTexGenxvOES, GLenum coord, GLenum pname, GLfixed * params) +GL_ENTRY(void, glGetTexParameterfv, GLenum target, GLenum pname, GLfloat * params) +GL_ENTRY(void, glGetTexParameteriv, GLenum target, GLenum pname, GLint * params) +GL_ENTRY(void, glGetTexParameterxv, GLenum target, GLenum pname, GLfixed * params) +GL_ENTRY(void, glGetTexParameterxvOES, GLenum target, GLenum pname, GLfixed * params) +GL_ENTRY(void, glGetTransformFeedbackVarying, GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, GLchar * name) +GL_ENTRY(void, glGetTranslatedShaderSourceANGLE, GLuint shader, GLsizei bufsize, GLsizei * length, GLchar * source) +GL_ENTRY(GLuint, glGetUniformBlockIndex, GLuint program, const GLchar * uniformBlockName) +GL_ENTRY(void, glGetUniformIndices, GLuint program, GLsizei uniformCount, const GLchar *const* uniformNames, GLuint * uniformIndices) +GL_ENTRY(GLint, glGetUniformLocation, GLuint program, const GLchar * name) +GL_ENTRY(void, glGetUniformfv, GLuint program, GLint location, GLfloat * params) +GL_ENTRY(void, glGetUniformiv, GLuint program, GLint location, GLint * params) +GL_ENTRY(void, glGetUniformuiv, GLuint program, GLint location, GLuint * params) +GL_ENTRY(void, glGetVertexAttribIiv, GLuint index, GLenum pname, GLint * params) +GL_ENTRY(void, glGetVertexAttribIuiv, GLuint index, GLenum pname, GLuint * params) +GL_ENTRY(void, glGetVertexAttribPointerv, GLuint index, GLenum pname, void ** pointer) +GL_ENTRY(void, glGetVertexAttribfv, GLuint index, GLenum pname, GLfloat * params) +GL_ENTRY(void, glGetVertexAttribiv, GLuint index, GLenum pname, GLint * params) +GL_ENTRY(void, glGetnUniformfvEXT, GLuint program, GLint location, GLsizei bufSize, GLfloat * params) +GL_ENTRY(void, glGetnUniformivEXT, GLuint program, GLint location, GLsizei bufSize, GLint * params) GL_ENTRY(void, glHint, GLenum target, GLenum mode) -GL_ENTRY(void, glInsertEventMarkerEXT, GLsizei length, const GLchar *marker) -GL_ENTRY(void, glInvalidateFramebuffer, GLenum target, GLsizei numAttachments, const GLenum* attachments) -GL_ENTRY(void, glInvalidateSubFramebuffer, GLenum target, GLsizei numAttachments, const GLenum* attachments, GLint x, GLint y, GLsizei width, GLsizei height) +GL_ENTRY(void, glInsertEventMarkerEXT, GLsizei length, const GLchar * marker) +GL_ENTRY(void, glInvalidateFramebuffer, GLenum target, GLsizei numAttachments, const GLenum * attachments) +GL_ENTRY(void, glInvalidateSubFramebuffer, GLenum target, GLsizei numAttachments, const GLenum * attachments, GLint x, GLint y, GLsizei width, GLsizei height) GL_ENTRY(GLboolean, glIsBuffer, GLuint buffer) GL_ENTRY(GLboolean, glIsEnabled, GLenum cap) GL_ENTRY(GLboolean, glIsFenceNV, GLuint fence) @@ -302,106 +344,137 @@ GL_ENTRY(GLboolean, glIsRenderbufferOES, GLuint renderbuffer) GL_ENTRY(GLboolean, glIsSampler, GLuint sampler) GL_ENTRY(GLboolean, glIsShader, GLuint shader) GL_ENTRY(GLboolean, glIsSync, GLsync sync) +GL_ENTRY(GLboolean, glIsSyncAPPLE, GLsync sync) GL_ENTRY(GLboolean, glIsTexture, GLuint texture) GL_ENTRY(GLboolean, glIsTransformFeedback, GLuint id) GL_ENTRY(GLboolean, glIsVertexArray, GLuint array) GL_ENTRY(GLboolean, glIsVertexArrayOES, GLuint array) -GL_ENTRY(void, glLabelObjectEXT, GLenum type, GLuint object, GLsizei length, const GLchar *label) +GL_ENTRY(void, glLabelObjectEXT, GLenum type, GLuint object, GLsizei length, const GLchar * label) GL_ENTRY(void, glLightModelf, GLenum pname, GLfloat param) -GL_ENTRY(void, glLightModelfv, GLenum pname, const GLfloat *params) +GL_ENTRY(void, glLightModelfv, GLenum pname, const GLfloat * params) GL_ENTRY(void, glLightModelx, GLenum pname, GLfixed param) GL_ENTRY(void, glLightModelxOES, GLenum pname, GLfixed param) -GL_ENTRY(void, glLightModelxv, GLenum pname, const GLfixed *params) -GL_ENTRY(void, glLightModelxvOES, GLenum pname, const GLfixed *params) +GL_ENTRY(void, glLightModelxv, GLenum pname, const GLfixed * param) +GL_ENTRY(void, glLightModelxvOES, GLenum pname, const GLfixed * param) GL_ENTRY(void, glLightf, GLenum light, GLenum pname, GLfloat param) -GL_ENTRY(void, glLightfv, GLenum light, GLenum pname, const GLfloat *params) +GL_ENTRY(void, glLightfv, GLenum light, GLenum pname, const GLfloat * params) GL_ENTRY(void, glLightx, GLenum light, GLenum pname, GLfixed param) GL_ENTRY(void, glLightxOES, GLenum light, GLenum pname, GLfixed param) -GL_ENTRY(void, glLightxv, GLenum light, GLenum pname, const GLfixed *params) -GL_ENTRY(void, glLightxvOES, GLenum light, GLenum pname, const GLfixed *params) +GL_ENTRY(void, glLightxv, GLenum light, GLenum pname, const GLfixed * params) +GL_ENTRY(void, glLightxvOES, GLenum light, GLenum pname, const GLfixed * params) GL_ENTRY(void, glLineWidth, GLfloat width) GL_ENTRY(void, glLineWidthx, GLfixed width) GL_ENTRY(void, glLineWidthxOES, GLfixed width) GL_ENTRY(void, glLinkProgram, GLuint program) GL_ENTRY(void, glLoadIdentity, void) -GL_ENTRY(void, glLoadMatrixf, const GLfloat *m) -GL_ENTRY(void, glLoadMatrixx, const GLfixed *m) -GL_ENTRY(void, glLoadMatrixxOES, const GLfixed *m) +GL_ENTRY(void, glLoadMatrixf, const GLfloat * m) +GL_ENTRY(void, glLoadMatrixx, const GLfixed * m) +GL_ENTRY(void, glLoadMatrixxOES, const GLfixed * m) GL_ENTRY(void, glLoadPaletteFromModelViewMatrixOES, void) GL_ENTRY(void, glLogicOp, GLenum opcode) -GL_ENTRY(void*, glMapBufferOES, GLenum target, GLenum access) -GL_ENTRY(GLvoid*, glMapBufferRange, GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access) +GL_ENTRY(void *, glMapBufferOES, GLenum target, GLenum access) +GL_ENTRY(void *, glMapBufferRange, GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access) +GL_ENTRY(void *, glMapBufferRangeEXT, GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access) GL_ENTRY(void, glMaterialf, GLenum face, GLenum pname, GLfloat param) -GL_ENTRY(void, glMaterialfv, GLenum face, GLenum pname, const GLfloat *params) +GL_ENTRY(void, glMaterialfv, GLenum face, GLenum pname, const GLfloat * params) GL_ENTRY(void, glMaterialx, GLenum face, GLenum pname, GLfixed param) GL_ENTRY(void, glMaterialxOES, GLenum face, GLenum pname, GLfixed param) -GL_ENTRY(void, glMaterialxv, GLenum face, GLenum pname, const GLfixed *params) -GL_ENTRY(void, glMaterialxvOES, GLenum face, GLenum pname, const GLfixed *params) -GL_ENTRY(void, glMatrixIndexPointerOES, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) +GL_ENTRY(void, glMaterialxv, GLenum face, GLenum pname, const GLfixed * param) +GL_ENTRY(void, glMaterialxvOES, GLenum face, GLenum pname, const GLfixed * param) +GL_ENTRY(void, glMatrixIndexPointerOES, GLint size, GLenum type, GLsizei stride, const void * pointer) GL_ENTRY(void, glMatrixMode, GLenum mode) -GL_ENTRY(void, glMultMatrixf, const GLfloat *m) -GL_ENTRY(void, glMultMatrixx, const GLfixed *m) -GL_ENTRY(void, glMultMatrixxOES, const GLfixed *m) -GL_ENTRY(void, glMultiDrawArraysEXT, GLenum mode, GLint *first, GLsizei *count, GLsizei primcount) -GL_ENTRY(void, glMultiDrawElementsEXT, GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount) +GL_ENTRY(void, glMinSampleShadingOES, GLfloat value) +GL_ENTRY(void, glMultMatrixf, const GLfloat * m) +GL_ENTRY(void, glMultMatrixx, const GLfixed * m) +GL_ENTRY(void, glMultMatrixxOES, const GLfixed * m) +GL_ENTRY(void, glMultiDrawArraysEXT, GLenum mode, const GLint * first, const GLsizei * count, GLsizei primcount) +GL_ENTRY(void, glMultiDrawElementsEXT, GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount) +GL_ENTRY(void, glMultiTexCoord1bOES, GLenum texture, GLbyte s) +GL_ENTRY(void, glMultiTexCoord1bvOES, GLenum texture, const GLbyte * coords) +GL_ENTRY(void, glMultiTexCoord2bOES, GLenum texture, GLbyte s, GLbyte t) +GL_ENTRY(void, glMultiTexCoord2bvOES, GLenum texture, const GLbyte * coords) +GL_ENTRY(void, glMultiTexCoord3bOES, GLenum texture, GLbyte s, GLbyte t, GLbyte r) +GL_ENTRY(void, glMultiTexCoord3bvOES, GLenum texture, const GLbyte * coords) +GL_ENTRY(void, glMultiTexCoord4bOES, GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q) +GL_ENTRY(void, glMultiTexCoord4bvOES, GLenum texture, const GLbyte * coords) GL_ENTRY(void, glMultiTexCoord4f, GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) -GL_ENTRY(void, glMultiTexCoord4x, GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q) -GL_ENTRY(void, glMultiTexCoord4xOES, GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q) +GL_ENTRY(void, glMultiTexCoord4x, GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q) +GL_ENTRY(void, glMultiTexCoord4xOES, GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q) GL_ENTRY(void, glNormal3f, GLfloat nx, GLfloat ny, GLfloat nz) GL_ENTRY(void, glNormal3x, GLfixed nx, GLfixed ny, GLfixed nz) GL_ENTRY(void, glNormal3xOES, GLfixed nx, GLfixed ny, GLfixed nz) -GL_ENTRY(void, glNormalPointer, GLenum type, GLsizei stride, const GLvoid *pointer) -GL_ENTRY(void, glOrthof, GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) -GL_ENTRY(void, glOrthofOES, GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) -GL_ENTRY(void, glOrthox, GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) -GL_ENTRY(void, glOrthoxOES, GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) +GL_ENTRY(void, glNormalPointer, GLenum type, GLsizei stride, const void * pointer) +GL_ENTRY(void, glObjectLabelKHR, GLenum identifier, GLuint name, GLsizei length, const GLchar * label) +GL_ENTRY(void, glObjectPtrLabelKHR, const void * ptr, GLsizei length, const GLchar * label) +GL_ENTRY(void, glOrthof, GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) +GL_ENTRY(void, glOrthofOES, GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) +GL_ENTRY(void, glOrthox, GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f) +GL_ENTRY(void, glOrthoxOES, GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f) GL_ENTRY(void, glPauseTransformFeedback, void) GL_ENTRY(void, glPixelStorei, GLenum pname, GLint param) GL_ENTRY(void, glPointParameterf, GLenum pname, GLfloat param) -GL_ENTRY(void, glPointParameterfv, GLenum pname, const GLfloat *params) +GL_ENTRY(void, glPointParameterfv, GLenum pname, const GLfloat * params) GL_ENTRY(void, glPointParameterx, GLenum pname, GLfixed param) GL_ENTRY(void, glPointParameterxOES, GLenum pname, GLfixed param) -GL_ENTRY(void, glPointParameterxv, GLenum pname, const GLfixed *params) -GL_ENTRY(void, glPointParameterxvOES, GLenum pname, const GLfixed *params) +GL_ENTRY(void, glPointParameterxv, GLenum pname, const GLfixed * params) +GL_ENTRY(void, glPointParameterxvOES, GLenum pname, const GLfixed * params) GL_ENTRY(void, glPointSize, GLfloat size) -GL_ENTRY(void, glPointSizePointerOES, GLenum type, GLsizei stride, const GLvoid *pointer) +GL_ENTRY(void, glPointSizePointerOES, GLenum type, GLsizei stride, const void * pointer) GL_ENTRY(void, glPointSizex, GLfixed size) GL_ENTRY(void, glPointSizexOES, GLfixed size) GL_ENTRY(void, glPolygonOffset, GLfloat factor, GLfloat units) GL_ENTRY(void, glPolygonOffsetx, GLfixed factor, GLfixed units) GL_ENTRY(void, glPolygonOffsetxOES, GLfixed factor, GLfixed units) +GL_ENTRY(void, glPopDebugGroupKHR, void) GL_ENTRY(void, glPopGroupMarkerEXT, void) GL_ENTRY(void, glPopMatrix, void) -GL_ENTRY(void, glProgramBinary, GLuint program, GLenum binaryFormat, const GLvoid* binary, GLsizei length) -GL_ENTRY(void, glProgramBinaryOES, GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length) +GL_ENTRY(void, glProgramBinary, GLuint program, GLenum binaryFormat, const void * binary, GLsizei length) +GL_ENTRY(void, glProgramBinaryOES, GLuint program, GLenum binaryFormat, const void * binary, GLint length) GL_ENTRY(void, glProgramParameteri, GLuint program, GLenum pname, GLint value) GL_ENTRY(void, glProgramParameteriEXT, GLuint program, GLenum pname, GLint value) -GL_ENTRY(void, glProgramUniform1fEXT, GLuint program, GLint location, GLfloat x) -GL_ENTRY(void, glProgramUniform1fvEXT, GLuint program, GLint location, GLsizei count, const GLfloat *value) -GL_ENTRY(void, glProgramUniform1iEXT, GLuint program, GLint location, GLint x) -GL_ENTRY(void, glProgramUniform1ivEXT, GLuint program, GLint location, GLsizei count, const GLint *value) -GL_ENTRY(void, glProgramUniform2fEXT, GLuint program, GLint location, GLfloat x, GLfloat y) -GL_ENTRY(void, glProgramUniform2fvEXT, GLuint program, GLint location, GLsizei count, const GLfloat *value) -GL_ENTRY(void, glProgramUniform2iEXT, GLuint program, GLint location, GLint x, GLint y) -GL_ENTRY(void, glProgramUniform2ivEXT, GLuint program, GLint location, GLsizei count, const GLint *value) -GL_ENTRY(void, glProgramUniform3fEXT, GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z) -GL_ENTRY(void, glProgramUniform3fvEXT, GLuint program, GLint location, GLsizei count, const GLfloat *value) -GL_ENTRY(void, glProgramUniform3iEXT, GLuint program, GLint location, GLint x, GLint y, GLint z) -GL_ENTRY(void, glProgramUniform3ivEXT, GLuint program, GLint location, GLsizei count, const GLint *value) -GL_ENTRY(void, glProgramUniform4fEXT, GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) -GL_ENTRY(void, glProgramUniform4fvEXT, GLuint program, GLint location, GLsizei count, const GLfloat *value) -GL_ENTRY(void, glProgramUniform4iEXT, GLuint program, GLint location, GLint x, GLint y, GLint z, GLint w) -GL_ENTRY(void, glProgramUniform4ivEXT, GLuint program, GLint location, GLsizei count, const GLint *value) -GL_ENTRY(void, glProgramUniformMatrix2fvEXT, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) -GL_ENTRY(void, glProgramUniformMatrix3fvEXT, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) -GL_ENTRY(void, glProgramUniformMatrix4fvEXT, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) -GL_ENTRY(void, glPushGroupMarkerEXT, GLsizei length, const GLchar *marker) +GL_ENTRY(void, glProgramUniform1fEXT, GLuint program, GLint location, GLfloat v0) +GL_ENTRY(void, glProgramUniform1fvEXT, GLuint program, GLint location, GLsizei count, const GLfloat * value) +GL_ENTRY(void, glProgramUniform1iEXT, GLuint program, GLint location, GLint v0) +GL_ENTRY(void, glProgramUniform1ivEXT, GLuint program, GLint location, GLsizei count, const GLint * value) +GL_ENTRY(void, glProgramUniform1uiEXT, GLuint program, GLint location, GLuint v0) +GL_ENTRY(void, glProgramUniform1uivEXT, GLuint program, GLint location, GLsizei count, const GLuint * value) +GL_ENTRY(void, glProgramUniform2fEXT, GLuint program, GLint location, GLfloat v0, GLfloat v1) +GL_ENTRY(void, glProgramUniform2fvEXT, GLuint program, GLint location, GLsizei count, const GLfloat * value) +GL_ENTRY(void, glProgramUniform2iEXT, GLuint program, GLint location, GLint v0, GLint v1) +GL_ENTRY(void, glProgramUniform2ivEXT, GLuint program, GLint location, GLsizei count, const GLint * value) +GL_ENTRY(void, glProgramUniform2uiEXT, GLuint program, GLint location, GLuint v0, GLuint v1) +GL_ENTRY(void, glProgramUniform2uivEXT, GLuint program, GLint location, GLsizei count, const GLuint * value) +GL_ENTRY(void, glProgramUniform3fEXT, GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) +GL_ENTRY(void, glProgramUniform3fvEXT, GLuint program, GLint location, GLsizei count, const GLfloat * value) +GL_ENTRY(void, glProgramUniform3iEXT, GLuint program, GLint location, GLint v0, GLint v1, GLint v2) +GL_ENTRY(void, glProgramUniform3ivEXT, GLuint program, GLint location, GLsizei count, const GLint * value) +GL_ENTRY(void, glProgramUniform3uiEXT, GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2) +GL_ENTRY(void, glProgramUniform3uivEXT, GLuint program, GLint location, GLsizei count, const GLuint * value) +GL_ENTRY(void, glProgramUniform4fEXT, GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) +GL_ENTRY(void, glProgramUniform4fvEXT, GLuint program, GLint location, GLsizei count, const GLfloat * value) +GL_ENTRY(void, glProgramUniform4iEXT, GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) +GL_ENTRY(void, glProgramUniform4ivEXT, GLuint program, GLint location, GLsizei count, const GLint * value) +GL_ENTRY(void, glProgramUniform4uiEXT, GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) +GL_ENTRY(void, glProgramUniform4uivEXT, GLuint program, GLint location, GLsizei count, const GLuint * value) +GL_ENTRY(void, glProgramUniformMatrix2fvEXT, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +GL_ENTRY(void, glProgramUniformMatrix2x3fvEXT, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +GL_ENTRY(void, glProgramUniformMatrix2x4fvEXT, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +GL_ENTRY(void, glProgramUniformMatrix3fvEXT, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +GL_ENTRY(void, glProgramUniformMatrix3x2fvEXT, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +GL_ENTRY(void, glProgramUniformMatrix3x4fvEXT, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +GL_ENTRY(void, glProgramUniformMatrix4fvEXT, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +GL_ENTRY(void, glProgramUniformMatrix4x2fvEXT, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +GL_ENTRY(void, glProgramUniformMatrix4x3fvEXT, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +GL_ENTRY(void, glPushDebugGroupKHR, GLenum source, GLuint id, GLsizei length, const GLchar * message) +GL_ENTRY(void, glPushGroupMarkerEXT, GLsizei length, const GLchar * marker) GL_ENTRY(void, glPushMatrix, void) -GL_ENTRY(GLbitfield, glQueryMatrixxOES, GLfixed mantissa[16], GLint exponent[16]) +GL_ENTRY(void, glQueryCounterEXT, GLuint id, GLenum target) +GL_ENTRY(GLbitfield, glQueryMatrixxOES, GLfixed * mantissa, GLint * exponent) GL_ENTRY(void, glReadBuffer, GLenum mode) +GL_ENTRY(void, glReadBufferIndexedEXT, GLenum src, GLint index) GL_ENTRY(void, glReadBufferNV, GLenum mode) -GL_ENTRY(void, glReadPixels, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels) -GL_ENTRY(void, glReadnPixelsEXT, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data) +GL_ENTRY(void, glReadPixels, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void * pixels) +GL_ENTRY(void, glReadnPixelsEXT, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data) GL_ENTRY(void, glReleaseShaderCompiler, void) GL_ENTRY(void, glRenderbufferStorage, GLenum target, GLenum internalformat, GLsizei width, GLsizei height) GL_ENTRY(void, glRenderbufferStorageMultisample, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) @@ -409,133 +482,160 @@ GL_ENTRY(void, glRenderbufferStorageMultisampleANGLE, GLenum target, GLsizei sam GL_ENTRY(void, glRenderbufferStorageMultisampleAPPLE, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) GL_ENTRY(void, glRenderbufferStorageMultisampleEXT, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) GL_ENTRY(void, glRenderbufferStorageMultisampleIMG, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) +GL_ENTRY(void, glRenderbufferStorageMultisampleNV, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) GL_ENTRY(void, glRenderbufferStorageOES, GLenum target, GLenum internalformat, GLsizei width, GLsizei height) GL_ENTRY(void, glResolveMultisampleFramebufferAPPLE, void) GL_ENTRY(void, glResumeTransformFeedback, void) GL_ENTRY(void, glRotatef, GLfloat angle, GLfloat x, GLfloat y, GLfloat z) GL_ENTRY(void, glRotatex, GLfixed angle, GLfixed x, GLfixed y, GLfixed z) GL_ENTRY(void, glRotatexOES, GLfixed angle, GLfixed x, GLfixed y, GLfixed z) -GL_ENTRY(void, glSampleCoverage, GLclampf value, GLboolean invert) +GL_ENTRY(void, glSampleCoverage, GLfloat value, GLboolean invert) +GL_ENTRY(void, glSampleCoverageOES, GLfixed value, GLboolean invert) GL_ENTRY(void, glSampleCoveragex, GLclampx value, GLboolean invert) GL_ENTRY(void, glSampleCoveragexOES, GLclampx value, GLboolean invert) GL_ENTRY(void, glSamplerParameterf, GLuint sampler, GLenum pname, GLfloat param) -GL_ENTRY(void, glSamplerParameterfv, GLuint sampler, GLenum pname, const GLfloat* param) +GL_ENTRY(void, glSamplerParameterfv, GLuint sampler, GLenum pname, const GLfloat * param) GL_ENTRY(void, glSamplerParameteri, GLuint sampler, GLenum pname, GLint param) -GL_ENTRY(void, glSamplerParameteriv, GLuint sampler, GLenum pname, const GLint* param) +GL_ENTRY(void, glSamplerParameteriv, GLuint sampler, GLenum pname, const GLint * param) GL_ENTRY(void, glScalef, GLfloat x, GLfloat y, GLfloat z) GL_ENTRY(void, glScalex, GLfixed x, GLfixed y, GLfixed z) GL_ENTRY(void, glScalexOES, GLfixed x, GLfixed y, GLfixed z) GL_ENTRY(void, glScissor, GLint x, GLint y, GLsizei width, GLsizei height) -GL_ENTRY(void, glSelectPerfMonitorCountersAMD, GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList) +GL_ENTRY(void, glSelectPerfMonitorCountersAMD, GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint * counterList) GL_ENTRY(void, glSetFenceNV, GLuint fence, GLenum condition) GL_ENTRY(void, glShadeModel, GLenum mode) -GL_ENTRY(void, glShaderBinary, GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length) -GL_ENTRY(void, glShaderSource, GLuint shader, GLsizei count, const GLchar* const* string, const GLint* length) +GL_ENTRY(void, glShaderBinary, GLsizei count, const GLuint * shaders, GLenum binaryformat, const void * binary, GLsizei length) +GL_ENTRY(void, glShaderSource, GLuint shader, GLsizei count, const GLchar *const* string, const GLint * length) GL_ENTRY(void, glStartTilingQCOM, GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask) GL_ENTRY(void, glStencilFunc, GLenum func, GLint ref, GLuint mask) GL_ENTRY(void, glStencilFuncSeparate, GLenum face, GLenum func, GLint ref, GLuint mask) GL_ENTRY(void, glStencilMask, GLuint mask) GL_ENTRY(void, glStencilMaskSeparate, GLenum face, GLuint mask) GL_ENTRY(void, glStencilOp, GLenum fail, GLenum zfail, GLenum zpass) -GL_ENTRY(void, glStencilOpSeparate, GLenum face, GLenum fail, GLenum zfail, GLenum zpass) +GL_ENTRY(void, glStencilOpSeparate, GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) GL_ENTRY(GLboolean, glTestFenceNV, GLuint fence) -GL_ENTRY(void, glTexCoordPointer, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) +GL_ENTRY(void, glTexCoord1bOES, GLbyte s) +GL_ENTRY(void, glTexCoord1bvOES, const GLbyte * coords) +GL_ENTRY(void, glTexCoord2bOES, GLbyte s, GLbyte t) +GL_ENTRY(void, glTexCoord2bvOES, const GLbyte * coords) +GL_ENTRY(void, glTexCoord3bOES, GLbyte s, GLbyte t, GLbyte r) +GL_ENTRY(void, glTexCoord3bvOES, const GLbyte * coords) +GL_ENTRY(void, glTexCoord4bOES, GLbyte s, GLbyte t, GLbyte r, GLbyte q) +GL_ENTRY(void, glTexCoord4bvOES, const GLbyte * coords) +GL_ENTRY(void, glTexCoordPointer, GLint size, GLenum type, GLsizei stride, const void * pointer) GL_ENTRY(void, glTexEnvf, GLenum target, GLenum pname, GLfloat param) -GL_ENTRY(void, glTexEnvfv, GLenum target, GLenum pname, const GLfloat *params) +GL_ENTRY(void, glTexEnvfv, GLenum target, GLenum pname, const GLfloat * params) GL_ENTRY(void, glTexEnvi, GLenum target, GLenum pname, GLint param) -GL_ENTRY(void, glTexEnviv, GLenum target, GLenum pname, const GLint *params) +GL_ENTRY(void, glTexEnviv, GLenum target, GLenum pname, const GLint * params) GL_ENTRY(void, glTexEnvx, GLenum target, GLenum pname, GLfixed param) GL_ENTRY(void, glTexEnvxOES, GLenum target, GLenum pname, GLfixed param) -GL_ENTRY(void, glTexEnvxv, GLenum target, GLenum pname, const GLfixed *params) -GL_ENTRY(void, glTexEnvxvOES, GLenum target, GLenum pname, const GLfixed *params) +GL_ENTRY(void, glTexEnvxv, GLenum target, GLenum pname, const GLfixed * params) +GL_ENTRY(void, glTexEnvxvOES, GLenum target, GLenum pname, const GLfixed * params) GL_ENTRY(void, glTexGenfOES, GLenum coord, GLenum pname, GLfloat param) -GL_ENTRY(void, glTexGenfvOES, GLenum coord, GLenum pname, const GLfloat *params) +GL_ENTRY(void, glTexGenfvOES, GLenum coord, GLenum pname, const GLfloat * params) GL_ENTRY(void, glTexGeniOES, GLenum coord, GLenum pname, GLint param) -GL_ENTRY(void, glTexGenivOES, GLenum coord, GLenum pname, const GLint *params) +GL_ENTRY(void, glTexGenivOES, GLenum coord, GLenum pname, const GLint * params) GL_ENTRY(void, glTexGenxOES, GLenum coord, GLenum pname, GLfixed param) -GL_ENTRY(void, glTexGenxvOES, GLenum coord, GLenum pname, const GLfixed *params) -GL_ENTRY(void, glTexImage2D, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) -GL_ENTRY(void, glTexImage3D, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels) -GL_ENTRY(void, glTexImage3DOES, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels) +GL_ENTRY(void, glTexGenxvOES, GLenum coord, GLenum pname, const GLfixed * params) +GL_ENTRY(void, glTexImage2D, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void * pixels) +GL_ENTRY(void, glTexImage3D, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels) +GL_ENTRY(void, glTexImage3DOES, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels) GL_ENTRY(void, glTexParameterf, GLenum target, GLenum pname, GLfloat param) -GL_ENTRY(void, glTexParameterfv, GLenum target, GLenum pname, const GLfloat *params) +GL_ENTRY(void, glTexParameterfv, GLenum target, GLenum pname, const GLfloat * params) GL_ENTRY(void, glTexParameteri, GLenum target, GLenum pname, GLint param) -GL_ENTRY(void, glTexParameteriv, GLenum target, GLenum pname, const GLint *params) +GL_ENTRY(void, glTexParameteriv, GLenum target, GLenum pname, const GLint * params) GL_ENTRY(void, glTexParameterx, GLenum target, GLenum pname, GLfixed param) GL_ENTRY(void, glTexParameterxOES, GLenum target, GLenum pname, GLfixed param) -GL_ENTRY(void, glTexParameterxv, GLenum target, GLenum pname, const GLfixed *params) -GL_ENTRY(void, glTexParameterxvOES, GLenum target, GLenum pname, const GLfixed *params) +GL_ENTRY(void, glTexParameterxv, GLenum target, GLenum pname, const GLfixed * params) +GL_ENTRY(void, glTexParameterxvOES, GLenum target, GLenum pname, const GLfixed * params) GL_ENTRY(void, glTexStorage1DEXT, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width) GL_ENTRY(void, glTexStorage2D, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) GL_ENTRY(void, glTexStorage2DEXT, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) GL_ENTRY(void, glTexStorage3D, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) GL_ENTRY(void, glTexStorage3DEXT, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) -GL_ENTRY(void, glTexSubImage2D, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) -GL_ENTRY(void, glTexSubImage3D, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels) -GL_ENTRY(void, glTexSubImage3DOES, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels) +GL_ENTRY(void, glTexStorage3DMultisampleOES, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations) +GL_ENTRY(void, glTexSubImage2D, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels) +GL_ENTRY(void, glTexSubImage3D, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels) +GL_ENTRY(void, glTexSubImage3DOES, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels) GL_ENTRY(void, glTextureStorage1DEXT, GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width) GL_ENTRY(void, glTextureStorage2DEXT, GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) GL_ENTRY(void, glTextureStorage3DEXT, GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) -GL_ENTRY(void, glTransformFeedbackVaryings, GLuint program, GLsizei count, const GLchar* const* varyings, GLenum bufferMode) +GL_ENTRY(void, glTransformFeedbackVaryings, GLuint program, GLsizei count, const GLchar *const* varyings, GLenum bufferMode) GL_ENTRY(void, glTranslatef, GLfloat x, GLfloat y, GLfloat z) GL_ENTRY(void, glTranslatex, GLfixed x, GLfixed y, GLfixed z) GL_ENTRY(void, glTranslatexOES, GLfixed x, GLfixed y, GLfixed z) -GL_ENTRY(void, glUniform1f, GLint location, GLfloat x) -GL_ENTRY(void, glUniform1fv, GLint location, GLsizei count, const GLfloat* v) -GL_ENTRY(void, glUniform1i, GLint location, GLint x) -GL_ENTRY(void, glUniform1iv, GLint location, GLsizei count, const GLint* v) +GL_ENTRY(void, glUniform1f, GLint location, GLfloat v0) +GL_ENTRY(void, glUniform1fv, GLint location, GLsizei count, const GLfloat * value) +GL_ENTRY(void, glUniform1i, GLint location, GLint v0) +GL_ENTRY(void, glUniform1iv, GLint location, GLsizei count, const GLint * value) GL_ENTRY(void, glUniform1ui, GLint location, GLuint v0) -GL_ENTRY(void, glUniform1uiv, GLint location, GLsizei count, const GLuint* value) -GL_ENTRY(void, glUniform2f, GLint location, GLfloat x, GLfloat y) -GL_ENTRY(void, glUniform2fv, GLint location, GLsizei count, const GLfloat* v) -GL_ENTRY(void, glUniform2i, GLint location, GLint x, GLint y) -GL_ENTRY(void, glUniform2iv, GLint location, GLsizei count, const GLint* v) +GL_ENTRY(void, glUniform1uiv, GLint location, GLsizei count, const GLuint * value) +GL_ENTRY(void, glUniform2f, GLint location, GLfloat v0, GLfloat v1) +GL_ENTRY(void, glUniform2fv, GLint location, GLsizei count, const GLfloat * value) +GL_ENTRY(void, glUniform2i, GLint location, GLint v0, GLint v1) +GL_ENTRY(void, glUniform2iv, GLint location, GLsizei count, const GLint * value) GL_ENTRY(void, glUniform2ui, GLint location, GLuint v0, GLuint v1) -GL_ENTRY(void, glUniform2uiv, GLint location, GLsizei count, const GLuint* value) -GL_ENTRY(void, glUniform3f, GLint location, GLfloat x, GLfloat y, GLfloat z) -GL_ENTRY(void, glUniform3fv, GLint location, GLsizei count, const GLfloat* v) -GL_ENTRY(void, glUniform3i, GLint location, GLint x, GLint y, GLint z) -GL_ENTRY(void, glUniform3iv, GLint location, GLsizei count, const GLint* v) +GL_ENTRY(void, glUniform2uiv, GLint location, GLsizei count, const GLuint * value) +GL_ENTRY(void, glUniform3f, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) +GL_ENTRY(void, glUniform3fv, GLint location, GLsizei count, const GLfloat * value) +GL_ENTRY(void, glUniform3i, GLint location, GLint v0, GLint v1, GLint v2) +GL_ENTRY(void, glUniform3iv, GLint location, GLsizei count, const GLint * value) GL_ENTRY(void, glUniform3ui, GLint location, GLuint v0, GLuint v1, GLuint v2) -GL_ENTRY(void, glUniform3uiv, GLint location, GLsizei count, const GLuint* value) -GL_ENTRY(void, glUniform4f, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) -GL_ENTRY(void, glUniform4fv, GLint location, GLsizei count, const GLfloat* v) -GL_ENTRY(void, glUniform4i, GLint location, GLint x, GLint y, GLint z, GLint w) -GL_ENTRY(void, glUniform4iv, GLint location, GLsizei count, const GLint* v) +GL_ENTRY(void, glUniform3uiv, GLint location, GLsizei count, const GLuint * value) +GL_ENTRY(void, glUniform4f, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) +GL_ENTRY(void, glUniform4fv, GLint location, GLsizei count, const GLfloat * value) +GL_ENTRY(void, glUniform4i, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) +GL_ENTRY(void, glUniform4iv, GLint location, GLsizei count, const GLint * value) GL_ENTRY(void, glUniform4ui, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) -GL_ENTRY(void, glUniform4uiv, GLint location, GLsizei count, const GLuint* value) +GL_ENTRY(void, glUniform4uiv, GLint location, GLsizei count, const GLuint * value) GL_ENTRY(void, glUniformBlockBinding, GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding) -GL_ENTRY(void, glUniformMatrix2fv, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) -GL_ENTRY(void, glUniformMatrix2x3fv, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) -GL_ENTRY(void, glUniformMatrix2x4fv, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) -GL_ENTRY(void, glUniformMatrix3fv, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) -GL_ENTRY(void, glUniformMatrix3x2fv, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) -GL_ENTRY(void, glUniformMatrix3x4fv, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) -GL_ENTRY(void, glUniformMatrix4fv, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) -GL_ENTRY(void, glUniformMatrix4x2fv, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) -GL_ENTRY(void, glUniformMatrix4x3fv, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) +GL_ENTRY(void, glUniformMatrix2fv, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +GL_ENTRY(void, glUniformMatrix2x3fv, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +GL_ENTRY(void, glUniformMatrix2x3fvNV, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +GL_ENTRY(void, glUniformMatrix2x4fv, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +GL_ENTRY(void, glUniformMatrix2x4fvNV, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +GL_ENTRY(void, glUniformMatrix3fv, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +GL_ENTRY(void, glUniformMatrix3x2fv, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +GL_ENTRY(void, glUniformMatrix3x2fvNV, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +GL_ENTRY(void, glUniformMatrix3x4fv, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +GL_ENTRY(void, glUniformMatrix3x4fvNV, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +GL_ENTRY(void, glUniformMatrix4fv, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +GL_ENTRY(void, glUniformMatrix4x2fv, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +GL_ENTRY(void, glUniformMatrix4x2fvNV, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +GL_ENTRY(void, glUniformMatrix4x3fv, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +GL_ENTRY(void, glUniformMatrix4x3fvNV, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) GL_ENTRY(GLboolean, glUnmapBuffer, GLenum target) GL_ENTRY(GLboolean, glUnmapBufferOES, GLenum target) GL_ENTRY(void, glUseProgram, GLuint program) GL_ENTRY(void, glUseProgramStagesEXT, GLuint pipeline, GLbitfield stages, GLuint program) GL_ENTRY(void, glValidateProgram, GLuint program) GL_ENTRY(void, glValidateProgramPipelineEXT, GLuint pipeline) -GL_ENTRY(void, glVertexAttrib1f, GLuint indx, GLfloat x) -GL_ENTRY(void, glVertexAttrib1fv, GLuint indx, const GLfloat* values) -GL_ENTRY(void, glVertexAttrib2f, GLuint indx, GLfloat x, GLfloat y) -GL_ENTRY(void, glVertexAttrib2fv, GLuint indx, const GLfloat* values) -GL_ENTRY(void, glVertexAttrib3f, GLuint indx, GLfloat x, GLfloat y, GLfloat z) -GL_ENTRY(void, glVertexAttrib3fv, GLuint indx, const GLfloat* values) -GL_ENTRY(void, glVertexAttrib4f, GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w) -GL_ENTRY(void, glVertexAttrib4fv, GLuint indx, const GLfloat* values) +GL_ENTRY(void, glVertex2bOES, GLbyte x) +GL_ENTRY(void, glVertex2bvOES, const GLbyte * coords) +GL_ENTRY(void, glVertex3bOES, GLbyte x, GLbyte y) +GL_ENTRY(void, glVertex3bvOES, const GLbyte * coords) +GL_ENTRY(void, glVertex4bOES, GLbyte x, GLbyte y, GLbyte z) +GL_ENTRY(void, glVertex4bvOES, const GLbyte * coords) +GL_ENTRY(void, glVertexAttrib1f, GLuint index, GLfloat x) +GL_ENTRY(void, glVertexAttrib1fv, GLuint index, const GLfloat * v) +GL_ENTRY(void, glVertexAttrib2f, GLuint index, GLfloat x, GLfloat y) +GL_ENTRY(void, glVertexAttrib2fv, GLuint index, const GLfloat * v) +GL_ENTRY(void, glVertexAttrib3f, GLuint index, GLfloat x, GLfloat y, GLfloat z) +GL_ENTRY(void, glVertexAttrib3fv, GLuint index, const GLfloat * v) +GL_ENTRY(void, glVertexAttrib4f, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) +GL_ENTRY(void, glVertexAttrib4fv, GLuint index, const GLfloat * v) GL_ENTRY(void, glVertexAttribDivisor, GLuint index, GLuint divisor) +GL_ENTRY(void, glVertexAttribDivisorANGLE, GLuint index, GLuint divisor) +GL_ENTRY(void, glVertexAttribDivisorEXT, GLuint index, GLuint divisor) +GL_ENTRY(void, glVertexAttribDivisorNV, GLuint index, GLuint divisor) GL_ENTRY(void, glVertexAttribI4i, GLuint index, GLint x, GLint y, GLint z, GLint w) -GL_ENTRY(void, glVertexAttribI4iv, GLuint index, const GLint* v) +GL_ENTRY(void, glVertexAttribI4iv, GLuint index, const GLint * v) GL_ENTRY(void, glVertexAttribI4ui, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) -GL_ENTRY(void, glVertexAttribI4uiv, GLuint index, const GLuint* v) -GL_ENTRY(void, glVertexAttribIPointer, GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid* pointer) -GL_ENTRY(void, glVertexAttribPointer, GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr) -GL_ENTRY(void, glVertexPointer, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) +GL_ENTRY(void, glVertexAttribI4uiv, GLuint index, const GLuint * v) +GL_ENTRY(void, glVertexAttribIPointer, GLuint index, GLint size, GLenum type, GLsizei stride, const void * pointer) +GL_ENTRY(void, glVertexAttribPointer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void * pointer) +GL_ENTRY(void, glVertexPointer, GLint size, GLenum type, GLsizei stride, const void * pointer) GL_ENTRY(void, glViewport, GLint x, GLint y, GLsizei width, GLsizei height) GL_ENTRY(void, glWaitSync, GLsync sync, GLbitfield flags, GLuint64 timeout) -GL_ENTRY(void, glWeightPointerOES, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) +GL_ENTRY(void, glWaitSyncAPPLE, GLsync sync, GLbitfield flags, GLuint64 timeout) +GL_ENTRY(void, glWeightPointerOES, GLint size, GLenum type, GLsizei stride, const void * pointer) diff --git a/opengl/libs/enums.in b/opengl/libs/enums.in index 427957424..b4b276187 100644 --- a/opengl/libs/enums.in +++ b/opengl/libs/enums.in @@ -1,13 +1,10 @@ GL_ENUM(0x0000,GL_POINTS) -GL_ENUM(0x00000001,GL_VERTEX_SHADER_BIT_EXT) -GL_ENUM(0x00000002,GL_FRAGMENT_SHADER_BIT_EXT) GL_ENUM(0x0001,GL_LINES) GL_ENUM(0x0002,GL_LINE_LOOP) GL_ENUM(0x0003,GL_LINE_STRIP) GL_ENUM(0x0004,GL_TRIANGLES) GL_ENUM(0x0005,GL_TRIANGLE_STRIP) GL_ENUM(0x0006,GL_TRIANGLE_FAN) -GL_ENUM(0x0104,GL_ADD) GL_ENUM(0x0200,GL_NEVER) GL_ENUM(0x0201,GL_LESS) GL_ENUM(0x0202,GL_EQUAL) @@ -25,49 +22,74 @@ GL_ENUM(0x0305,GL_ONE_MINUS_DST_ALPHA) GL_ENUM(0x0306,GL_DST_COLOR) GL_ENUM(0x0307,GL_ONE_MINUS_DST_COLOR) GL_ENUM(0x0308,GL_SRC_ALPHA_SATURATE) +GL_ENUM(0x3000,GL_CLIP_PLANE0) +GL_ENUM(0x3001,GL_CLIP_PLANE1) +GL_ENUM(0x3002,GL_CLIP_PLANE2) +GL_ENUM(0x3003,GL_CLIP_PLANE3) +GL_ENUM(0x3004,GL_CLIP_PLANE4) +GL_ENUM(0x3005,GL_CLIP_PLANE5) GL_ENUM(0x0404,GL_FRONT) GL_ENUM(0x0405,GL_BACK) GL_ENUM(0x0408,GL_FRONT_AND_BACK) +GL_ENUM(0x0B60,GL_FOG) +GL_ENUM(0x0B50,GL_LIGHTING) +GL_ENUM(0x0DE1,GL_TEXTURE_2D) +GL_ENUM(0x0B44,GL_CULL_FACE) +GL_ENUM(0x0BC0,GL_ALPHA_TEST) +GL_ENUM(0x0BE2,GL_BLEND) +GL_ENUM(0x0BF2,GL_COLOR_LOGIC_OP) +GL_ENUM(0x0BD0,GL_DITHER) +GL_ENUM(0x0B90,GL_STENCIL_TEST) +GL_ENUM(0x0B71,GL_DEPTH_TEST) +GL_ENUM(0x0B10,GL_POINT_SMOOTH) +GL_ENUM(0x0B20,GL_LINE_SMOOTH) +GL_ENUM(0x0C11,GL_SCISSOR_TEST) +GL_ENUM(0x0B57,GL_COLOR_MATERIAL) +GL_ENUM(0x0BA1,GL_NORMALIZE) +GL_ENUM(0x803A,GL_RESCALE_NORMAL) +GL_ENUM(0x8074,GL_VERTEX_ARRAY) +GL_ENUM(0x8075,GL_NORMAL_ARRAY) +GL_ENUM(0x8076,GL_COLOR_ARRAY) +GL_ENUM(0x8078,GL_TEXTURE_COORD_ARRAY) +GL_ENUM(0x809D,GL_MULTISAMPLE) +GL_ENUM(0x809E,GL_SAMPLE_ALPHA_TO_COVERAGE) +GL_ENUM(0x809F,GL_SAMPLE_ALPHA_TO_ONE) +GL_ENUM(0x80A0,GL_SAMPLE_COVERAGE) GL_ENUM(0x0500,GL_INVALID_ENUM) GL_ENUM(0x0501,GL_INVALID_VALUE) GL_ENUM(0x0502,GL_INVALID_OPERATION) GL_ENUM(0x0503,GL_STACK_OVERFLOW) GL_ENUM(0x0504,GL_STACK_UNDERFLOW) GL_ENUM(0x0505,GL_OUT_OF_MEMORY) -GL_ENUM(0x0506,GL_INVALID_FRAMEBUFFER_OPERATION_OES) GL_ENUM(0x0800,GL_EXP) GL_ENUM(0x0801,GL_EXP2) -GL_ENUM(0x0900,GL_CW) -GL_ENUM(0x0901,GL_CCW) -GL_ENUM(0x0B00,GL_CURRENT_COLOR) -GL_ENUM(0x0B02,GL_CURRENT_NORMAL) -GL_ENUM(0x0B03,GL_CURRENT_TEXTURE_COORDS) -GL_ENUM(0x0B10,GL_POINT_SMOOTH) -GL_ENUM(0x0B11,GL_POINT_SIZE) -GL_ENUM(0x0B12,GL_SMOOTH_POINT_SIZE_RANGE) -GL_ENUM(0x0B20,GL_LINE_SMOOTH) -GL_ENUM(0x0B21,GL_LINE_WIDTH) -GL_ENUM(0x0B22,GL_SMOOTH_LINE_WIDTH_RANGE) -GL_ENUM(0x0B44,GL_CULL_FACE) -GL_ENUM(0x0B45,GL_CULL_FACE_MODE) -GL_ENUM(0x0B46,GL_FRONT_FACE) -GL_ENUM(0x0B50,GL_LIGHTING) -GL_ENUM(0x0B52,GL_LIGHT_MODEL_TWO_SIDE) -GL_ENUM(0x0B53,GL_LIGHT_MODEL_AMBIENT) -GL_ENUM(0x0B54,GL_SHADE_MODEL) -GL_ENUM(0x0B57,GL_COLOR_MATERIAL) -GL_ENUM(0x0B60,GL_FOG) GL_ENUM(0x0B62,GL_FOG_DENSITY) GL_ENUM(0x0B63,GL_FOG_START) GL_ENUM(0x0B64,GL_FOG_END) GL_ENUM(0x0B65,GL_FOG_MODE) GL_ENUM(0x0B66,GL_FOG_COLOR) +GL_ENUM(0x0900,GL_CW) +GL_ENUM(0x0901,GL_CCW) +GL_ENUM(0x0B00,GL_CURRENT_COLOR) +GL_ENUM(0x0B02,GL_CURRENT_NORMAL) +GL_ENUM(0x0B03,GL_CURRENT_TEXTURE_COORDS) +GL_ENUM(0x0B11,GL_POINT_SIZE) +GL_ENUM(0x8126,GL_POINT_SIZE_MIN) +GL_ENUM(0x8127,GL_POINT_SIZE_MAX) +GL_ENUM(0x8128,GL_POINT_FADE_THRESHOLD_SIZE) +GL_ENUM(0x8129,GL_POINT_DISTANCE_ATTENUATION) +GL_ENUM(0x0B12,GL_SMOOTH_POINT_SIZE_RANGE) +GL_ENUM(0x0B21,GL_LINE_WIDTH) +GL_ENUM(0x0B22,GL_SMOOTH_LINE_WIDTH_RANGE) +GL_ENUM(0x846D,GL_ALIASED_POINT_SIZE_RANGE) +GL_ENUM(0x846E,GL_ALIASED_LINE_WIDTH_RANGE) +GL_ENUM(0x0B45,GL_CULL_FACE_MODE) +GL_ENUM(0x0B46,GL_FRONT_FACE) +GL_ENUM(0x0B54,GL_SHADE_MODEL) GL_ENUM(0x0B70,GL_DEPTH_RANGE) -GL_ENUM(0x0B71,GL_DEPTH_TEST) GL_ENUM(0x0B72,GL_DEPTH_WRITEMASK) GL_ENUM(0x0B73,GL_DEPTH_CLEAR_VALUE) GL_ENUM(0x0B74,GL_DEPTH_FUNC) -GL_ENUM(0x0B90,GL_STENCIL_TEST) GL_ENUM(0x0B91,GL_STENCIL_CLEAR_VALUE) GL_ENUM(0x0B92,GL_STENCIL_FUNC) GL_ENUM(0x0B93,GL_STENCIL_VALUE_MASK) @@ -77,7 +99,6 @@ GL_ENUM(0x0B96,GL_STENCIL_PASS_DEPTH_PASS) GL_ENUM(0x0B97,GL_STENCIL_REF) GL_ENUM(0x0B98,GL_STENCIL_WRITEMASK) GL_ENUM(0x0BA0,GL_MATRIX_MODE) -GL_ENUM(0x0BA1,GL_NORMALIZE) GL_ENUM(0x0BA2,GL_VIEWPORT) GL_ENUM(0x0BA3,GL_MODELVIEW_STACK_DEPTH) GL_ENUM(0x0BA4,GL_PROJECTION_STACK_DEPTH) @@ -85,33 +106,14 @@ GL_ENUM(0x0BA5,GL_TEXTURE_STACK_DEPTH) GL_ENUM(0x0BA6,GL_MODELVIEW_MATRIX) GL_ENUM(0x0BA7,GL_PROJECTION_MATRIX) GL_ENUM(0x0BA8,GL_TEXTURE_MATRIX) -GL_ENUM(0x0BC0,GL_ALPHA_TEST) GL_ENUM(0x0BC1,GL_ALPHA_TEST_FUNC) GL_ENUM(0x0BC2,GL_ALPHA_TEST_REF) -GL_ENUM(0x0BD0,GL_DITHER) GL_ENUM(0x0BE0,GL_BLEND_DST) GL_ENUM(0x0BE1,GL_BLEND_SRC) -GL_ENUM(0x0BE2,GL_BLEND) GL_ENUM(0x0BF0,GL_LOGIC_OP_MODE) -GL_ENUM(0x0BF2,GL_COLOR_LOGIC_OP) -GL_ENUM(0x0C02,GL_READ_BUFFER_NV) GL_ENUM(0x0C10,GL_SCISSOR_BOX) -GL_ENUM(0x0C11,GL_SCISSOR_TEST) GL_ENUM(0x0C22,GL_COLOR_CLEAR_VALUE) GL_ENUM(0x0C23,GL_COLOR_WRITEMASK) -GL_ENUM(0x0C50,GL_PERSPECTIVE_CORRECTION_HINT) -GL_ENUM(0x0C51,GL_POINT_SMOOTH_HINT) -GL_ENUM(0x0C52,GL_LINE_SMOOTH_HINT) -GL_ENUM(0x0C54,GL_FOG_HINT) -GL_ENUM(0x0CF2,GL_UNPACK_ROW_LENGTH) -GL_ENUM(0x0CF3,GL_UNPACK_SKIP_ROWS) -GL_ENUM(0x0CF4,GL_UNPACK_SKIP_PIXELS) -GL_ENUM(0x0CF5,GL_UNPACK_ALIGNMENT) -GL_ENUM(0x0D02,GL_PACK_ROW_LENGTH) -GL_ENUM(0x0D03,GL_PACK_SKIP_ROWS) -GL_ENUM(0x0D04,GL_PACK_SKIP_PIXELS) -GL_ENUM(0x0D05,GL_PACK_ALIGNMENT) -GL_ENUM(0x0D1C,GL_ALPHA_SCALE) GL_ENUM(0x0D31,GL_MAX_LIGHTS) GL_ENUM(0x0D32,GL_MAX_CLIP_PLANES) GL_ENUM(0x0D33,GL_MAX_TEXTURE_SIZE) @@ -119,6 +121,7 @@ GL_ENUM(0x0D36,GL_MAX_MODELVIEW_STACK_DEPTH) GL_ENUM(0x0D38,GL_MAX_PROJECTION_STACK_DEPTH) GL_ENUM(0x0D39,GL_MAX_TEXTURE_STACK_DEPTH) GL_ENUM(0x0D3A,GL_MAX_VIEWPORT_DIMS) +GL_ENUM(0x84E2,GL_MAX_TEXTURE_UNITS) GL_ENUM(0x0D50,GL_SUBPIXEL_BITS) GL_ENUM(0x0D52,GL_RED_BITS) GL_ENUM(0x0D53,GL_GREEN_BITS) @@ -126,10 +129,41 @@ GL_ENUM(0x0D54,GL_BLUE_BITS) GL_ENUM(0x0D55,GL_ALPHA_BITS) GL_ENUM(0x0D56,GL_DEPTH_BITS) GL_ENUM(0x0D57,GL_STENCIL_BITS) -GL_ENUM(0x0DE1,GL_TEXTURE_2D) +GL_ENUM(0x2A00,GL_POLYGON_OFFSET_UNITS) +GL_ENUM(0x8037,GL_POLYGON_OFFSET_FILL) +GL_ENUM(0x8038,GL_POLYGON_OFFSET_FACTOR) +GL_ENUM(0x8069,GL_TEXTURE_BINDING_2D) +GL_ENUM(0x807A,GL_VERTEX_ARRAY_SIZE) +GL_ENUM(0x807B,GL_VERTEX_ARRAY_TYPE) +GL_ENUM(0x807C,GL_VERTEX_ARRAY_STRIDE) +GL_ENUM(0x807E,GL_NORMAL_ARRAY_TYPE) +GL_ENUM(0x807F,GL_NORMAL_ARRAY_STRIDE) +GL_ENUM(0x8081,GL_COLOR_ARRAY_SIZE) +GL_ENUM(0x8082,GL_COLOR_ARRAY_TYPE) +GL_ENUM(0x8083,GL_COLOR_ARRAY_STRIDE) +GL_ENUM(0x8088,GL_TEXTURE_COORD_ARRAY_SIZE) +GL_ENUM(0x8089,GL_TEXTURE_COORD_ARRAY_TYPE) +GL_ENUM(0x808A,GL_TEXTURE_COORD_ARRAY_STRIDE) +GL_ENUM(0x808E,GL_VERTEX_ARRAY_POINTER) +GL_ENUM(0x808F,GL_NORMAL_ARRAY_POINTER) +GL_ENUM(0x8090,GL_COLOR_ARRAY_POINTER) +GL_ENUM(0x8092,GL_TEXTURE_COORD_ARRAY_POINTER) +GL_ENUM(0x80A8,GL_SAMPLE_BUFFERS) +GL_ENUM(0x80A9,GL_SAMPLES) +GL_ENUM(0x80AA,GL_SAMPLE_COVERAGE_VALUE) +GL_ENUM(0x80AB,GL_SAMPLE_COVERAGE_INVERT) +GL_ENUM(0x86A2,GL_NUM_COMPRESSED_TEXTURE_FORMATS) +GL_ENUM(0x86A3,GL_COMPRESSED_TEXTURE_FORMATS) GL_ENUM(0x1100,GL_DONT_CARE) GL_ENUM(0x1101,GL_FASTEST) GL_ENUM(0x1102,GL_NICEST) +GL_ENUM(0x0C50,GL_PERSPECTIVE_CORRECTION_HINT) +GL_ENUM(0x0C51,GL_POINT_SMOOTH_HINT) +GL_ENUM(0x0C52,GL_LINE_SMOOTH_HINT) +GL_ENUM(0x0C54,GL_FOG_HINT) +GL_ENUM(0x8192,GL_GENERATE_MIPMAP_HINT) +GL_ENUM(0x0B53,GL_LIGHT_MODEL_AMBIENT) +GL_ENUM(0x0B52,GL_LIGHT_MODEL_TWO_SIDE) GL_ENUM(0x1200,GL_AMBIENT) GL_ENUM(0x1201,GL_DIFFUSE) GL_ENUM(0x1202,GL_SPECULAR) @@ -144,10 +178,7 @@ GL_ENUM(0x1400,GL_BYTE) GL_ENUM(0x1401,GL_UNSIGNED_BYTE) GL_ENUM(0x1402,GL_SHORT) GL_ENUM(0x1403,GL_UNSIGNED_SHORT) -GL_ENUM(0x1404,GL_INT) -GL_ENUM(0x1405,GL_UNSIGNED_INT) GL_ENUM(0x1406,GL_FLOAT) -GL_ENUM(0x140B,GL_HALF_FLOAT) GL_ENUM(0x140C,GL_FIXED) GL_ENUM(0x1500,GL_CLEAR) GL_ENUM(0x1501,GL_AND) @@ -171,19 +202,16 @@ GL_ENUM(0x1602,GL_AMBIENT_AND_DIFFUSE) GL_ENUM(0x1700,GL_MODELVIEW) GL_ENUM(0x1701,GL_PROJECTION) GL_ENUM(0x1702,GL_TEXTURE) -GL_ENUM(0x1800,GL_COLOR_EXT) -GL_ENUM(0x1801,GL_DEPTH_EXT) -GL_ENUM(0x1802,GL_STENCIL_EXT) -GL_ENUM(0x1901,GL_STENCIL_INDEX) -GL_ENUM(0x1902,GL_DEPTH_COMPONENT) -GL_ENUM(0x1903,GL_RED_EXT) -GL_ENUM(0x1904,GL_GREEN) -GL_ENUM(0x1905,GL_BLUE) GL_ENUM(0x1906,GL_ALPHA) GL_ENUM(0x1907,GL_RGB) GL_ENUM(0x1908,GL_RGBA) GL_ENUM(0x1909,GL_LUMINANCE) GL_ENUM(0x190A,GL_LUMINANCE_ALPHA) +GL_ENUM(0x0CF5,GL_UNPACK_ALIGNMENT) +GL_ENUM(0x0D05,GL_PACK_ALIGNMENT) +GL_ENUM(0x8033,GL_UNSIGNED_SHORT_4_4_4_4) +GL_ENUM(0x8034,GL_UNSIGNED_SHORT_5_5_5_1) +GL_ENUM(0x8363,GL_UNSIGNED_SHORT_5_6_5) GL_ENUM(0x1D00,GL_FLAT) GL_ENUM(0x1D01,GL_SMOOTH) GL_ENUM(0x1E00,GL_KEEP) @@ -196,10 +224,10 @@ GL_ENUM(0x1F02,GL_VERSION) GL_ENUM(0x1F03,GL_EXTENSIONS) GL_ENUM(0x2100,GL_MODULATE) GL_ENUM(0x2101,GL_DECAL) +GL_ENUM(0x0104,GL_ADD) GL_ENUM(0x2200,GL_TEXTURE_ENV_MODE) GL_ENUM(0x2201,GL_TEXTURE_ENV_COLOR) GL_ENUM(0x2300,GL_TEXTURE_ENV) -GL_ENUM(0x2500,GL_TEXTURE_GEN_MODE_OES) GL_ENUM(0x2600,GL_NEAREST) GL_ENUM(0x2601,GL_LINEAR) GL_ENUM(0x2700,GL_NEAREST_MIPMAP_NEAREST) @@ -210,157 +238,7 @@ GL_ENUM(0x2800,GL_TEXTURE_MAG_FILTER) GL_ENUM(0x2801,GL_TEXTURE_MIN_FILTER) GL_ENUM(0x2802,GL_TEXTURE_WRAP_S) GL_ENUM(0x2803,GL_TEXTURE_WRAP_T) -GL_ENUM(0x2901,GL_REPEAT) -GL_ENUM(0x2A00,GL_POLYGON_OFFSET_UNITS) -GL_ENUM(0x3000,GL_CLIP_PLANE0) -GL_ENUM(0x3001,GL_CLIP_PLANE1) -GL_ENUM(0x3002,GL_CLIP_PLANE2) -GL_ENUM(0x3003,GL_CLIP_PLANE3) -GL_ENUM(0x3004,GL_CLIP_PLANE4) -GL_ENUM(0x3005,GL_CLIP_PLANE5) -GL_ENUM(0x4000,GL_LIGHT0) -GL_ENUM(0x4001,GL_LIGHT1) -GL_ENUM(0x4002,GL_LIGHT2) -GL_ENUM(0x4003,GL_LIGHT3) -GL_ENUM(0x4004,GL_LIGHT4) -GL_ENUM(0x4005,GL_LIGHT5) -GL_ENUM(0x4006,GL_LIGHT6) -GL_ENUM(0x4007,GL_LIGHT7) -GL_ENUM(0x8000,GL_COVERAGE_BUFFER_BIT_NV) -GL_ENUM(0x8001,GL_CONSTANT_COLOR) -GL_ENUM(0x8002,GL_ONE_MINUS_CONSTANT_COLOR) -GL_ENUM(0x8003,GL_CONSTANT_ALPHA) -GL_ENUM(0x8004,GL_ONE_MINUS_CONSTANT_ALPHA) -GL_ENUM(0x8005,GL_BLEND_COLOR) -GL_ENUM(0x8006,GL_FUNC_ADD_OES) -GL_ENUM(0x8007,GL_MIN_EXT) -GL_ENUM(0x8008,GL_MAX_EXT) -GL_ENUM(0x8009,GL_BLEND_EQUATION_RGB_OES) -GL_ENUM(0x800A,GL_FUNC_SUBTRACT_OES) -GL_ENUM(0x800B,GL_FUNC_REVERSE_SUBTRACT_OES) -GL_ENUM(0x8033,GL_UNSIGNED_SHORT_4_4_4_4) -GL_ENUM(0x8034,GL_UNSIGNED_SHORT_5_5_5_1) -GL_ENUM(0x8037,GL_POLYGON_OFFSET_FILL) -GL_ENUM(0x8038,GL_POLYGON_OFFSET_FACTOR) -GL_ENUM(0x803A,GL_RESCALE_NORMAL) -GL_ENUM(0x803C,GL_ALPHA8_EXT) -GL_ENUM(0x8040,GL_LUMINANCE8_EXT) -GL_ENUM(0x8045,GL_LUMINANCE8_ALPHA8_EXT) -GL_ENUM(0x8051,GL_RGB8_OES) -GL_ENUM(0x8052,GL_RGB10_EXT) -GL_ENUM(0x8056,GL_RGBA4_OES) -GL_ENUM(0x8057,GL_RGB5_A1_OES) -GL_ENUM(0x8058,GL_RGBA8_OES) -GL_ENUM(0x8059,GL_RGB10_A2_EXT) -GL_ENUM(0x8069,GL_TEXTURE_BINDING_2D) -GL_ENUM(0x806A,GL_TEXTURE_BINDING_3D_OES) -GL_ENUM(0x806D,GL_UNPACK_SKIP_IMAGES) -GL_ENUM(0x806E,GL_UNPACK_IMAGE_HEIGHT) -GL_ENUM(0x806F,GL_TEXTURE_3D_OES) -GL_ENUM(0x8072,GL_TEXTURE_WRAP_R_OES) -GL_ENUM(0x8073,GL_MAX_3D_TEXTURE_SIZE_OES) -GL_ENUM(0x8074,GL_VERTEX_ARRAY) -GL_ENUM(0x8075,GL_NORMAL_ARRAY) -GL_ENUM(0x8076,GL_COLOR_ARRAY) -GL_ENUM(0x8078,GL_TEXTURE_COORD_ARRAY) -GL_ENUM(0x807A,GL_VERTEX_ARRAY_SIZE) -GL_ENUM(0x807B,GL_VERTEX_ARRAY_TYPE) -GL_ENUM(0x807C,GL_VERTEX_ARRAY_STRIDE) -GL_ENUM(0x807E,GL_NORMAL_ARRAY_TYPE) -GL_ENUM(0x807F,GL_NORMAL_ARRAY_STRIDE) -GL_ENUM(0x8081,GL_COLOR_ARRAY_SIZE) -GL_ENUM(0x8082,GL_COLOR_ARRAY_TYPE) -GL_ENUM(0x8083,GL_COLOR_ARRAY_STRIDE) -GL_ENUM(0x8088,GL_TEXTURE_COORD_ARRAY_SIZE) -GL_ENUM(0x8089,GL_TEXTURE_COORD_ARRAY_TYPE) -GL_ENUM(0x808A,GL_TEXTURE_COORD_ARRAY_STRIDE) -GL_ENUM(0x808E,GL_VERTEX_ARRAY_POINTER) -GL_ENUM(0x808F,GL_NORMAL_ARRAY_POINTER) -GL_ENUM(0x8090,GL_COLOR_ARRAY_POINTER) -GL_ENUM(0x8092,GL_TEXTURE_COORD_ARRAY_POINTER) -GL_ENUM(0x809D,GL_MULTISAMPLE) -GL_ENUM(0x809E,GL_SAMPLE_ALPHA_TO_COVERAGE) -GL_ENUM(0x809F,GL_SAMPLE_ALPHA_TO_ONE) -GL_ENUM(0x80A0,GL_SAMPLE_COVERAGE) -GL_ENUM(0x80A8,GL_SAMPLE_BUFFERS) -GL_ENUM(0x80A9,GL_SAMPLES) -GL_ENUM(0x80AA,GL_SAMPLE_COVERAGE_VALUE) -GL_ENUM(0x80AB,GL_SAMPLE_COVERAGE_INVERT) -GL_ENUM(0x80C8,GL_BLEND_DST_RGB_OES) -GL_ENUM(0x80C9,GL_BLEND_SRC_RGB_OES) -GL_ENUM(0x80CA,GL_BLEND_DST_ALPHA_OES) -GL_ENUM(0x80CB,GL_BLEND_SRC_ALPHA_OES) -GL_ENUM(0x80E1,GL_BGRA_EXT) -GL_ENUM(0x80E8,GL_MAX_ELEMENTS_VERTICES) -GL_ENUM(0x80E9,GL_MAX_ELEMENTS_INDICES) -GL_ENUM(0x8126,GL_POINT_SIZE_MIN) -GL_ENUM(0x8127,GL_POINT_SIZE_MAX) -GL_ENUM(0x8128,GL_POINT_FADE_THRESHOLD_SIZE) -GL_ENUM(0x8129,GL_POINT_DISTANCE_ATTENUATION) -GL_ENUM(0x812F,GL_CLAMP_TO_EDGE) -GL_ENUM(0x813A,GL_TEXTURE_MIN_LOD) -GL_ENUM(0x813B,GL_TEXTURE_MAX_LOD) -GL_ENUM(0x813C,GL_TEXTURE_BASE_LEVEL) -GL_ENUM(0x813D,GL_TEXTURE_MAX_LEVEL_APPLE) GL_ENUM(0x8191,GL_GENERATE_MIPMAP) -GL_ENUM(0x8192,GL_GENERATE_MIPMAP_HINT) -GL_ENUM(0x81A5,GL_DEPTH_COMPONENT16_OES) -GL_ENUM(0x81A6,GL_DEPTH_COMPONENT24_OES) -GL_ENUM(0x81A7,GL_DEPTH_COMPONENT32_OES) -GL_ENUM(0x8210,GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT) -GL_ENUM(0x8211,GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT) -GL_ENUM(0x8212,GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE) -GL_ENUM(0x8213,GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE) -GL_ENUM(0x8214,GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE) -GL_ENUM(0x8215,GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE) -GL_ENUM(0x8216,GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE) -GL_ENUM(0x8217,GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE) -GL_ENUM(0x8218,GL_FRAMEBUFFER_DEFAULT) -GL_ENUM(0x8219,GL_FRAMEBUFFER_UNDEFINED) -GL_ENUM(0x821A,GL_DEPTH_STENCIL_ATTACHMENT) -GL_ENUM(0x821B,GL_MAJOR_VERSION) -GL_ENUM(0x821C,GL_MINOR_VERSION) -GL_ENUM(0x821D,GL_NUM_EXTENSIONS) -GL_ENUM(0x8227,GL_RG_EXT) -GL_ENUM(0x8228,GL_RG_INTEGER) -GL_ENUM(0x8229,GL_R8_EXT) -GL_ENUM(0x822B,GL_RG8_EXT) -GL_ENUM(0x822D,GL_R16F_EXT) -GL_ENUM(0x822E,GL_R32F) -GL_ENUM(0x822F,GL_RG16F_EXT) -GL_ENUM(0x8230,GL_RG32F) -GL_ENUM(0x8231,GL_R8I) -GL_ENUM(0x8232,GL_R8UI) -GL_ENUM(0x8233,GL_R16I) -GL_ENUM(0x8234,GL_R16UI) -GL_ENUM(0x8235,GL_R32I) -GL_ENUM(0x8236,GL_R32UI) -GL_ENUM(0x8237,GL_RG8I) -GL_ENUM(0x8238,GL_RG8UI) -GL_ENUM(0x8239,GL_RG16I) -GL_ENUM(0x823A,GL_RG16UI) -GL_ENUM(0x823B,GL_RG32I) -GL_ENUM(0x823C,GL_RG32UI) -GL_ENUM(0x8252,GL_LOSE_CONTEXT_ON_RESET_EXT) -GL_ENUM(0x8253,GL_GUILTY_CONTEXT_RESET_EXT) -GL_ENUM(0x8254,GL_INNOCENT_CONTEXT_RESET_EXT) -GL_ENUM(0x8255,GL_UNKNOWN_CONTEXT_RESET_EXT) -GL_ENUM(0x8256,GL_RESET_NOTIFICATION_STRATEGY_EXT) -GL_ENUM(0x8257,GL_PROGRAM_BINARY_RETRIEVABLE_HINT) -GL_ENUM(0x8258,GL_PROGRAM_SEPARABLE_EXT) -GL_ENUM(0x8259,GL_ACTIVE_PROGRAM_EXT) -GL_ENUM(0x825A,GL_PROGRAM_PIPELINE_BINDING_EXT) -GL_ENUM(0x8261,GL_NO_RESET_NOTIFICATION_EXT) -GL_ENUM(0x82DF,GL_TEXTURE_IMMUTABLE_LEVELS) -GL_ENUM(0x8363,GL_UNSIGNED_SHORT_5_6_5) -GL_ENUM(0x8365,GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT) -GL_ENUM(0x8366,GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT) -GL_ENUM(0x8368,GL_UNSIGNED_INT_2_10_10_10_REV_EXT) -GL_ENUM(0x8370,GL_MIRRORED_REPEAT_OES) -GL_ENUM(0x83F0,GL_COMPRESSED_RGB_S3TC_DXT1_EXT) -GL_ENUM(0x83F1,GL_COMPRESSED_RGBA_S3TC_DXT1_EXT) -GL_ENUM(0x846D,GL_ALIASED_POINT_SIZE_RANGE) -GL_ENUM(0x846E,GL_ALIASED_LINE_WIDTH_RANGE) GL_ENUM(0x84C0,GL_TEXTURE0) GL_ENUM(0x84C1,GL_TEXTURE1) GL_ENUM(0x84C2,GL_TEXTURE2) @@ -395,32 +273,29 @@ GL_ENUM(0x84DE,GL_TEXTURE30) GL_ENUM(0x84DF,GL_TEXTURE31) GL_ENUM(0x84E0,GL_ACTIVE_TEXTURE) GL_ENUM(0x84E1,GL_CLIENT_ACTIVE_TEXTURE) -GL_ENUM(0x84E2,GL_MAX_TEXTURE_UNITS) +GL_ENUM(0x2901,GL_REPEAT) +GL_ENUM(0x812F,GL_CLAMP_TO_EDGE) +GL_ENUM(0x4000,GL_LIGHT0) +GL_ENUM(0x4001,GL_LIGHT1) +GL_ENUM(0x4002,GL_LIGHT2) +GL_ENUM(0x4003,GL_LIGHT3) +GL_ENUM(0x4004,GL_LIGHT4) +GL_ENUM(0x4005,GL_LIGHT5) +GL_ENUM(0x4006,GL_LIGHT6) +GL_ENUM(0x4007,GL_LIGHT7) +GL_ENUM(0x8892,GL_ARRAY_BUFFER) +GL_ENUM(0x8893,GL_ELEMENT_ARRAY_BUFFER) +GL_ENUM(0x8894,GL_ARRAY_BUFFER_BINDING) +GL_ENUM(0x8895,GL_ELEMENT_ARRAY_BUFFER_BINDING) +GL_ENUM(0x8896,GL_VERTEX_ARRAY_BUFFER_BINDING) +GL_ENUM(0x8897,GL_NORMAL_ARRAY_BUFFER_BINDING) +GL_ENUM(0x8898,GL_COLOR_ARRAY_BUFFER_BINDING) +GL_ENUM(0x889A,GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING) +GL_ENUM(0x88E4,GL_STATIC_DRAW) +GL_ENUM(0x88E8,GL_DYNAMIC_DRAW) +GL_ENUM(0x8764,GL_BUFFER_SIZE) +GL_ENUM(0x8765,GL_BUFFER_USAGE) GL_ENUM(0x84E7,GL_SUBTRACT) -GL_ENUM(0x84E8,GL_MAX_RENDERBUFFER_SIZE_OES) -GL_ENUM(0x84F2,GL_ALL_COMPLETED_NV) -GL_ENUM(0x84F3,GL_FENCE_STATUS_NV) -GL_ENUM(0x84F4,GL_FENCE_CONDITION_NV) -GL_ENUM(0x84F9,GL_DEPTH_STENCIL_OES) -GL_ENUM(0x84FA,GL_UNSIGNED_INT_24_8_OES) -GL_ENUM(0x84FD,GL_MAX_TEXTURE_LOD_BIAS_EXT) -GL_ENUM(0x84FE,GL_TEXTURE_MAX_ANISOTROPY_EXT) -GL_ENUM(0x84FF,GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT) -GL_ENUM(0x8500,GL_TEXTURE_FILTER_CONTROL_EXT) -GL_ENUM(0x8501,GL_TEXTURE_LOD_BIAS_EXT) -GL_ENUM(0x8507,GL_INCR_WRAP_OES) -GL_ENUM(0x8508,GL_DECR_WRAP_OES) -GL_ENUM(0x8511,GL_NORMAL_MAP_OES) -GL_ENUM(0x8512,GL_REFLECTION_MAP_OES) -GL_ENUM(0x8513,GL_TEXTURE_CUBE_MAP_OES) -GL_ENUM(0x8514,GL_TEXTURE_BINDING_CUBE_MAP_OES) -GL_ENUM(0x8515,GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES) -GL_ENUM(0x8516,GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES) -GL_ENUM(0x8517,GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES) -GL_ENUM(0x8518,GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES) -GL_ENUM(0x8519,GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES) -GL_ENUM(0x851A,GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES) -GL_ENUM(0x851C,GL_MAX_CUBE_MAP_TEXTURE_SIZE_OES) GL_ENUM(0x8570,GL_COMBINE) GL_ENUM(0x8571,GL_COMBINE_RGB) GL_ENUM(0x8572,GL_COMBINE_ALPHA) @@ -430,140 +305,363 @@ GL_ENUM(0x8575,GL_INTERPOLATE) GL_ENUM(0x8576,GL_CONSTANT) GL_ENUM(0x8577,GL_PRIMARY_COLOR) GL_ENUM(0x8578,GL_PREVIOUS) -GL_ENUM(0x8580,GL_SRC0_RGB) -GL_ENUM(0x8581,GL_SRC1_RGB) -GL_ENUM(0x8582,GL_SRC2_RGB) -GL_ENUM(0x8588,GL_SRC0_ALPHA) -GL_ENUM(0x8589,GL_SRC1_ALPHA) -GL_ENUM(0x858A,GL_SRC2_ALPHA) GL_ENUM(0x8590,GL_OPERAND0_RGB) GL_ENUM(0x8591,GL_OPERAND1_RGB) GL_ENUM(0x8592,GL_OPERAND2_RGB) GL_ENUM(0x8598,GL_OPERAND0_ALPHA) GL_ENUM(0x8599,GL_OPERAND1_ALPHA) GL_ENUM(0x859A,GL_OPERAND2_ALPHA) -GL_ENUM(0x85B5,GL_VERTEX_ARRAY_BINDING_OES) -GL_ENUM(0x85BA,GL_UNSIGNED_SHORT_8_8_APPLE) -GL_ENUM(0x85BB,GL_UNSIGNED_SHORT_8_8_REV_APPLE) -GL_ENUM(0x8622,GL_VERTEX_ATTRIB_ARRAY_ENABLED) -GL_ENUM(0x8623,GL_VERTEX_ATTRIB_ARRAY_SIZE) -GL_ENUM(0x8624,GL_VERTEX_ATTRIB_ARRAY_STRIDE) -GL_ENUM(0x8625,GL_VERTEX_ATTRIB_ARRAY_TYPE) -GL_ENUM(0x8626,GL_CURRENT_VERTEX_ATTRIB) -GL_ENUM(0x8645,GL_VERTEX_ATTRIB_ARRAY_POINTER) -GL_ENUM(0x86A2,GL_NUM_COMPRESSED_TEXTURE_FORMATS) -GL_ENUM(0x86A3,GL_COMPRESSED_TEXTURE_FORMATS) -GL_ENUM(0x86A4,GL_MAX_VERTEX_UNITS_OES) -GL_ENUM(0x86A9,GL_WEIGHT_ARRAY_TYPE_OES) -GL_ENUM(0x86AA,GL_WEIGHT_ARRAY_STRIDE_OES) -GL_ENUM(0x86AB,GL_WEIGHT_ARRAY_SIZE_OES) -GL_ENUM(0x86AC,GL_WEIGHT_ARRAY_POINTER_OES) -GL_ENUM(0x86AD,GL_WEIGHT_ARRAY_OES) +GL_ENUM(0x0D1C,GL_ALPHA_SCALE) +GL_ENUM(0x8580,GL_SRC0_RGB) +GL_ENUM(0x8581,GL_SRC1_RGB) +GL_ENUM(0x8582,GL_SRC2_RGB) +GL_ENUM(0x8588,GL_SRC0_ALPHA) +GL_ENUM(0x8589,GL_SRC1_ALPHA) +GL_ENUM(0x858A,GL_SRC2_ALPHA) GL_ENUM(0x86AE,GL_DOT3_RGB) GL_ENUM(0x86AF,GL_DOT3_RGBA) -GL_ENUM(0x8740,GL_Z400_BINARY_AMD) -GL_ENUM(0x8741,GL_PROGRAM_BINARY_LENGTH_OES) -GL_ENUM(0x8764,GL_BUFFER_SIZE) -GL_ENUM(0x8765,GL_BUFFER_USAGE) -GL_ENUM(0x87EE,GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD) -GL_ENUM(0x87F9,GL_3DC_X_AMD) -GL_ENUM(0x87FA,GL_3DC_XY_AMD) -GL_ENUM(0x87FE,GL_NUM_PROGRAM_BINARY_FORMATS_OES) -GL_ENUM(0x87FF,GL_PROGRAM_BINARY_FORMATS_OES) +GL_ENUM(0x8006,GL_FUNC_ADD) +GL_ENUM(0x8009,GL_BLEND_EQUATION) +GL_ENUM(0x883D,GL_BLEND_EQUATION_ALPHA) +GL_ENUM(0x800A,GL_FUNC_SUBTRACT) +GL_ENUM(0x800B,GL_FUNC_REVERSE_SUBTRACT) +GL_ENUM(0x80C8,GL_BLEND_DST_RGB) +GL_ENUM(0x80C9,GL_BLEND_SRC_RGB) +GL_ENUM(0x80CA,GL_BLEND_DST_ALPHA) +GL_ENUM(0x80CB,GL_BLEND_SRC_ALPHA) +GL_ENUM(0x8001,GL_CONSTANT_COLOR) +GL_ENUM(0x8002,GL_ONE_MINUS_CONSTANT_COLOR) +GL_ENUM(0x8003,GL_CONSTANT_ALPHA) +GL_ENUM(0x8004,GL_ONE_MINUS_CONSTANT_ALPHA) +GL_ENUM(0x8005,GL_BLEND_COLOR) +GL_ENUM(0x88E0,GL_STREAM_DRAW) +GL_ENUM(0x8626,GL_CURRENT_VERTEX_ATTRIB) GL_ENUM(0x8800,GL_STENCIL_BACK_FUNC) GL_ENUM(0x8801,GL_STENCIL_BACK_FAIL) GL_ENUM(0x8802,GL_STENCIL_BACK_PASS_DEPTH_FAIL) GL_ENUM(0x8803,GL_STENCIL_BACK_PASS_DEPTH_PASS) -GL_ENUM(0x8814,GL_RGBA32F_EXT) -GL_ENUM(0x8815,GL_RGB32F_EXT) -GL_ENUM(0x8816,GL_ALPHA32F_EXT) -GL_ENUM(0x8818,GL_LUMINANCE32F_EXT) -GL_ENUM(0x8819,GL_LUMINANCE_ALPHA32F_EXT) -GL_ENUM(0x881A,GL_RGBA16F_EXT) -GL_ENUM(0x881B,GL_RGB16F_EXT) -GL_ENUM(0x881C,GL_ALPHA16F_EXT) -GL_ENUM(0x881E,GL_LUMINANCE16F_EXT) -GL_ENUM(0x881F,GL_LUMINANCE_ALPHA16F_EXT) -GL_ENUM(0x8823,GL_WRITEONLY_RENDERING_QCOM) -GL_ENUM(0x8824,GL_MAX_DRAW_BUFFERS_NV) -GL_ENUM(0x8825,GL_DRAW_BUFFER0_NV) -GL_ENUM(0x8826,GL_DRAW_BUFFER1_NV) -GL_ENUM(0x8827,GL_DRAW_BUFFER2_NV) -GL_ENUM(0x8828,GL_DRAW_BUFFER3_NV) -GL_ENUM(0x8829,GL_DRAW_BUFFER4_NV) -GL_ENUM(0x882A,GL_DRAW_BUFFER5_NV) -GL_ENUM(0x882B,GL_DRAW_BUFFER6_NV) -GL_ENUM(0x882C,GL_DRAW_BUFFER7_NV) -GL_ENUM(0x882D,GL_DRAW_BUFFER8_NV) -GL_ENUM(0x882E,GL_DRAW_BUFFER9_NV) -GL_ENUM(0x882F,GL_DRAW_BUFFER10_NV) -GL_ENUM(0x8830,GL_DRAW_BUFFER11_NV) -GL_ENUM(0x8831,GL_DRAW_BUFFER12_NV) -GL_ENUM(0x8832,GL_DRAW_BUFFER13_NV) -GL_ENUM(0x8833,GL_DRAW_BUFFER14_NV) -GL_ENUM(0x8834,GL_DRAW_BUFFER15_NV) -GL_ENUM(0x883D,GL_BLEND_EQUATION_ALPHA_OES) -GL_ENUM(0x8840,GL_MATRIX_PALETTE_OES) -GL_ENUM(0x8842,GL_MAX_PALETTE_MATRICES_OES) -GL_ENUM(0x8843,GL_CURRENT_PALETTE_MATRIX_OES) -GL_ENUM(0x8844,GL_MATRIX_INDEX_ARRAY_OES) -GL_ENUM(0x8846,GL_MATRIX_INDEX_ARRAY_SIZE_OES) -GL_ENUM(0x8847,GL_MATRIX_INDEX_ARRAY_TYPE_OES) -GL_ENUM(0x8848,GL_MATRIX_INDEX_ARRAY_STRIDE_OES) -GL_ENUM(0x8849,GL_MATRIX_INDEX_ARRAY_POINTER_OES) -GL_ENUM(0x884C,GL_TEXTURE_COMPARE_MODE_EXT) -GL_ENUM(0x884D,GL_TEXTURE_COMPARE_FUNC_EXT) -GL_ENUM(0x884E,GL_COMPARE_REF_TO_TEXTURE_EXT) -GL_ENUM(0x8861,GL_POINT_SPRITE_OES) -GL_ENUM(0x8862,GL_COORD_REPLACE_OES) -GL_ENUM(0x8865,GL_CURRENT_QUERY_EXT) -GL_ENUM(0x8866,GL_QUERY_RESULT_EXT) -GL_ENUM(0x8867,GL_QUERY_RESULT_AVAILABLE_EXT) +GL_ENUM(0x8CA3,GL_STENCIL_BACK_REF) +GL_ENUM(0x8CA4,GL_STENCIL_BACK_VALUE_MASK) +GL_ENUM(0x8CA5,GL_STENCIL_BACK_WRITEMASK) +GL_ENUM(0x1404,GL_INT) +GL_ENUM(0x1405,GL_UNSIGNED_INT) +GL_ENUM(0x1902,GL_DEPTH_COMPONENT) +GL_ENUM(0x8B30,GL_FRAGMENT_SHADER) +GL_ENUM(0x8B31,GL_VERTEX_SHADER) GL_ENUM(0x8869,GL_MAX_VERTEX_ATTRIBS) -GL_ENUM(0x886A,GL_VERTEX_ATTRIB_ARRAY_NORMALIZED) +GL_ENUM(0x8DFB,GL_MAX_VERTEX_UNIFORM_VECTORS) +GL_ENUM(0x8DFC,GL_MAX_VARYING_VECTORS) +GL_ENUM(0x8B4D,GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS) +GL_ENUM(0x8B4C,GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS) GL_ENUM(0x8872,GL_MAX_TEXTURE_IMAGE_UNITS) -GL_ENUM(0x8892,GL_ARRAY_BUFFER) -GL_ENUM(0x8893,GL_ELEMENT_ARRAY_BUFFER) -GL_ENUM(0x8894,GL_ARRAY_BUFFER_BINDING) -GL_ENUM(0x8895,GL_ELEMENT_ARRAY_BUFFER_BINDING) -GL_ENUM(0x8896,GL_VERTEX_ARRAY_BUFFER_BINDING) -GL_ENUM(0x8897,GL_NORMAL_ARRAY_BUFFER_BINDING) -GL_ENUM(0x8898,GL_COLOR_ARRAY_BUFFER_BINDING) -GL_ENUM(0x889A,GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING) -GL_ENUM(0x889E,GL_WEIGHT_ARRAY_BUFFER_BINDING_OES) +GL_ENUM(0x8DFD,GL_MAX_FRAGMENT_UNIFORM_VECTORS) +GL_ENUM(0x8B4F,GL_SHADER_TYPE) +GL_ENUM(0x8B80,GL_DELETE_STATUS) +GL_ENUM(0x8B82,GL_LINK_STATUS) +GL_ENUM(0x8B83,GL_VALIDATE_STATUS) +GL_ENUM(0x8B85,GL_ATTACHED_SHADERS) +GL_ENUM(0x8B86,GL_ACTIVE_UNIFORMS) +GL_ENUM(0x8B87,GL_ACTIVE_UNIFORM_MAX_LENGTH) +GL_ENUM(0x8B89,GL_ACTIVE_ATTRIBUTES) +GL_ENUM(0x8B8A,GL_ACTIVE_ATTRIBUTE_MAX_LENGTH) +GL_ENUM(0x8B8C,GL_SHADING_LANGUAGE_VERSION) +GL_ENUM(0x8B8D,GL_CURRENT_PROGRAM) +GL_ENUM(0x8507,GL_INCR_WRAP) +GL_ENUM(0x8508,GL_DECR_WRAP) +GL_ENUM(0x8513,GL_TEXTURE_CUBE_MAP) +GL_ENUM(0x8514,GL_TEXTURE_BINDING_CUBE_MAP) +GL_ENUM(0x8515,GL_TEXTURE_CUBE_MAP_POSITIVE_X) +GL_ENUM(0x8516,GL_TEXTURE_CUBE_MAP_NEGATIVE_X) +GL_ENUM(0x8517,GL_TEXTURE_CUBE_MAP_POSITIVE_Y) +GL_ENUM(0x8518,GL_TEXTURE_CUBE_MAP_NEGATIVE_Y) +GL_ENUM(0x8519,GL_TEXTURE_CUBE_MAP_POSITIVE_Z) +GL_ENUM(0x851A,GL_TEXTURE_CUBE_MAP_NEGATIVE_Z) +GL_ENUM(0x851C,GL_MAX_CUBE_MAP_TEXTURE_SIZE) +GL_ENUM(0x8370,GL_MIRRORED_REPEAT) +GL_ENUM(0x8B50,GL_FLOAT_VEC2) +GL_ENUM(0x8B51,GL_FLOAT_VEC3) +GL_ENUM(0x8B52,GL_FLOAT_VEC4) +GL_ENUM(0x8B53,GL_INT_VEC2) +GL_ENUM(0x8B54,GL_INT_VEC3) +GL_ENUM(0x8B55,GL_INT_VEC4) +GL_ENUM(0x8B56,GL_BOOL) +GL_ENUM(0x8B57,GL_BOOL_VEC2) +GL_ENUM(0x8B58,GL_BOOL_VEC3) +GL_ENUM(0x8B59,GL_BOOL_VEC4) +GL_ENUM(0x8B5A,GL_FLOAT_MAT2) +GL_ENUM(0x8B5B,GL_FLOAT_MAT3) +GL_ENUM(0x8B5C,GL_FLOAT_MAT4) +GL_ENUM(0x8B5E,GL_SAMPLER_2D) +GL_ENUM(0x8B60,GL_SAMPLER_CUBE) +GL_ENUM(0x8622,GL_VERTEX_ATTRIB_ARRAY_ENABLED) +GL_ENUM(0x8623,GL_VERTEX_ATTRIB_ARRAY_SIZE) +GL_ENUM(0x8624,GL_VERTEX_ATTRIB_ARRAY_STRIDE) +GL_ENUM(0x8625,GL_VERTEX_ATTRIB_ARRAY_TYPE) +GL_ENUM(0x886A,GL_VERTEX_ATTRIB_ARRAY_NORMALIZED) +GL_ENUM(0x8645,GL_VERTEX_ATTRIB_ARRAY_POINTER) GL_ENUM(0x889F,GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING) -GL_ENUM(0x88B9,GL_WRITE_ONLY_OES) -GL_ENUM(0x88BB,GL_BUFFER_ACCESS_OES) -GL_ENUM(0x88BC,GL_BUFFER_MAPPED_OES) -GL_ENUM(0x88BD,GL_BUFFER_MAP_POINTER_OES) -GL_ENUM(0x88E0,GL_STREAM_DRAW) +GL_ENUM(0x8B9A,GL_IMPLEMENTATION_COLOR_READ_TYPE) +GL_ENUM(0x8B9B,GL_IMPLEMENTATION_COLOR_READ_FORMAT) +GL_ENUM(0x8B81,GL_COMPILE_STATUS) +GL_ENUM(0x8B84,GL_INFO_LOG_LENGTH) +GL_ENUM(0x8B88,GL_SHADER_SOURCE_LENGTH) +GL_ENUM(0x8DFA,GL_SHADER_COMPILER) +GL_ENUM(0x8DF8,GL_SHADER_BINARY_FORMATS) +GL_ENUM(0x8DF9,GL_NUM_SHADER_BINARY_FORMATS) +GL_ENUM(0x8DF0,GL_LOW_FLOAT) +GL_ENUM(0x8DF1,GL_MEDIUM_FLOAT) +GL_ENUM(0x8DF2,GL_HIGH_FLOAT) +GL_ENUM(0x8DF3,GL_LOW_INT) +GL_ENUM(0x8DF4,GL_MEDIUM_INT) +GL_ENUM(0x8DF5,GL_HIGH_INT) +GL_ENUM(0x8D40,GL_FRAMEBUFFER) +GL_ENUM(0x8D41,GL_RENDERBUFFER) +GL_ENUM(0x8056,GL_RGBA4) +GL_ENUM(0x8057,GL_RGB5_A1) +GL_ENUM(0x8D62,GL_RGB565) +GL_ENUM(0x81A5,GL_DEPTH_COMPONENT16) +GL_ENUM(0x8D48,GL_STENCIL_INDEX8) +GL_ENUM(0x8D42,GL_RENDERBUFFER_WIDTH) +GL_ENUM(0x8D43,GL_RENDERBUFFER_HEIGHT) +GL_ENUM(0x8D44,GL_RENDERBUFFER_INTERNAL_FORMAT) +GL_ENUM(0x8D50,GL_RENDERBUFFER_RED_SIZE) +GL_ENUM(0x8D51,GL_RENDERBUFFER_GREEN_SIZE) +GL_ENUM(0x8D52,GL_RENDERBUFFER_BLUE_SIZE) +GL_ENUM(0x8D53,GL_RENDERBUFFER_ALPHA_SIZE) +GL_ENUM(0x8D54,GL_RENDERBUFFER_DEPTH_SIZE) +GL_ENUM(0x8D55,GL_RENDERBUFFER_STENCIL_SIZE) +GL_ENUM(0x8CD0,GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE) +GL_ENUM(0x8CD1,GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME) +GL_ENUM(0x8CD2,GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL) +GL_ENUM(0x8CD3,GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE) +GL_ENUM(0x8CE0,GL_COLOR_ATTACHMENT0) +GL_ENUM(0x8D00,GL_DEPTH_ATTACHMENT) +GL_ENUM(0x8D20,GL_STENCIL_ATTACHMENT) +GL_ENUM(0x8CD5,GL_FRAMEBUFFER_COMPLETE) +GL_ENUM(0x8CD6,GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT) +GL_ENUM(0x8CD7,GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT) +GL_ENUM(0x8CD9,GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS) +GL_ENUM(0x8CDD,GL_FRAMEBUFFER_UNSUPPORTED) +GL_ENUM(0x8CA6,GL_FRAMEBUFFER_BINDING) +GL_ENUM(0x8CA7,GL_RENDERBUFFER_BINDING) +GL_ENUM(0x84E8,GL_MAX_RENDERBUFFER_SIZE) +GL_ENUM(0x0506,GL_INVALID_FRAMEBUFFER_OPERATION) +GL_ENUM(0x0C02,GL_READ_BUFFER) +GL_ENUM(0x0CF2,GL_UNPACK_ROW_LENGTH) +GL_ENUM(0x0CF3,GL_UNPACK_SKIP_ROWS) +GL_ENUM(0x0CF4,GL_UNPACK_SKIP_PIXELS) +GL_ENUM(0x0D02,GL_PACK_ROW_LENGTH) +GL_ENUM(0x0D03,GL_PACK_SKIP_ROWS) +GL_ENUM(0x0D04,GL_PACK_SKIP_PIXELS) +GL_ENUM(0x1800,GL_COLOR) +GL_ENUM(0x1801,GL_DEPTH) +GL_ENUM(0x1802,GL_STENCIL) +GL_ENUM(0x1903,GL_RED) +GL_ENUM(0x8051,GL_RGB8) +GL_ENUM(0x8058,GL_RGBA8) +GL_ENUM(0x8059,GL_RGB10_A2) +GL_ENUM(0x806A,GL_TEXTURE_BINDING_3D) +GL_ENUM(0x806D,GL_UNPACK_SKIP_IMAGES) +GL_ENUM(0x806E,GL_UNPACK_IMAGE_HEIGHT) +GL_ENUM(0x806F,GL_TEXTURE_3D) +GL_ENUM(0x8072,GL_TEXTURE_WRAP_R) +GL_ENUM(0x8073,GL_MAX_3D_TEXTURE_SIZE) +GL_ENUM(0x8368,GL_UNSIGNED_INT_2_10_10_10_REV) +GL_ENUM(0x80E8,GL_MAX_ELEMENTS_VERTICES) +GL_ENUM(0x80E9,GL_MAX_ELEMENTS_INDICES) +GL_ENUM(0x813A,GL_TEXTURE_MIN_LOD) +GL_ENUM(0x813B,GL_TEXTURE_MAX_LOD) +GL_ENUM(0x813C,GL_TEXTURE_BASE_LEVEL) +GL_ENUM(0x813D,GL_TEXTURE_MAX_LEVEL) +GL_ENUM(0x8007,GL_MIN) +GL_ENUM(0x8008,GL_MAX) +GL_ENUM(0x81A6,GL_DEPTH_COMPONENT24) +GL_ENUM(0x84FD,GL_MAX_TEXTURE_LOD_BIAS) +GL_ENUM(0x884C,GL_TEXTURE_COMPARE_MODE) +GL_ENUM(0x884D,GL_TEXTURE_COMPARE_FUNC) +GL_ENUM(0x8865,GL_CURRENT_QUERY) +GL_ENUM(0x8866,GL_QUERY_RESULT) +GL_ENUM(0x8867,GL_QUERY_RESULT_AVAILABLE) +GL_ENUM(0x88BC,GL_BUFFER_MAPPED) +GL_ENUM(0x88BD,GL_BUFFER_MAP_POINTER) GL_ENUM(0x88E1,GL_STREAM_READ) GL_ENUM(0x88E2,GL_STREAM_COPY) -GL_ENUM(0x88E4,GL_STATIC_DRAW) GL_ENUM(0x88E5,GL_STATIC_READ) GL_ENUM(0x88E6,GL_STATIC_COPY) -GL_ENUM(0x88E8,GL_DYNAMIC_DRAW) GL_ENUM(0x88E9,GL_DYNAMIC_READ) GL_ENUM(0x88EA,GL_DYNAMIC_COPY) +GL_ENUM(0x8824,GL_MAX_DRAW_BUFFERS) +GL_ENUM(0x8825,GL_DRAW_BUFFER0) +GL_ENUM(0x8826,GL_DRAW_BUFFER1) +GL_ENUM(0x8827,GL_DRAW_BUFFER2) +GL_ENUM(0x8828,GL_DRAW_BUFFER3) +GL_ENUM(0x8829,GL_DRAW_BUFFER4) +GL_ENUM(0x882A,GL_DRAW_BUFFER5) +GL_ENUM(0x882B,GL_DRAW_BUFFER6) +GL_ENUM(0x882C,GL_DRAW_BUFFER7) +GL_ENUM(0x882D,GL_DRAW_BUFFER8) +GL_ENUM(0x882E,GL_DRAW_BUFFER9) +GL_ENUM(0x882F,GL_DRAW_BUFFER10) +GL_ENUM(0x8830,GL_DRAW_BUFFER11) +GL_ENUM(0x8831,GL_DRAW_BUFFER12) +GL_ENUM(0x8832,GL_DRAW_BUFFER13) +GL_ENUM(0x8833,GL_DRAW_BUFFER14) +GL_ENUM(0x8834,GL_DRAW_BUFFER15) +GL_ENUM(0x8B49,GL_MAX_FRAGMENT_UNIFORM_COMPONENTS) +GL_ENUM(0x8B4A,GL_MAX_VERTEX_UNIFORM_COMPONENTS) +GL_ENUM(0x8B5F,GL_SAMPLER_3D) +GL_ENUM(0x8B62,GL_SAMPLER_2D_SHADOW) +GL_ENUM(0x8B8B,GL_FRAGMENT_SHADER_DERIVATIVE_HINT) GL_ENUM(0x88EB,GL_PIXEL_PACK_BUFFER) GL_ENUM(0x88EC,GL_PIXEL_UNPACK_BUFFER) GL_ENUM(0x88ED,GL_PIXEL_PACK_BUFFER_BINDING) GL_ENUM(0x88EF,GL_PIXEL_UNPACK_BUFFER_BINDING) -GL_ENUM(0x88F0,GL_DEPTH24_STENCIL8_OES) +GL_ENUM(0x8B65,GL_FLOAT_MAT2x3) +GL_ENUM(0x8B66,GL_FLOAT_MAT2x4) +GL_ENUM(0x8B67,GL_FLOAT_MAT3x2) +GL_ENUM(0x8B68,GL_FLOAT_MAT3x4) +GL_ENUM(0x8B69,GL_FLOAT_MAT4x2) +GL_ENUM(0x8B6A,GL_FLOAT_MAT4x3) +GL_ENUM(0x8C40,GL_SRGB) +GL_ENUM(0x8C41,GL_SRGB8) +GL_ENUM(0x8C43,GL_SRGB8_ALPHA8) +GL_ENUM(0x884E,GL_COMPARE_REF_TO_TEXTURE) +GL_ENUM(0x821B,GL_MAJOR_VERSION) +GL_ENUM(0x821C,GL_MINOR_VERSION) +GL_ENUM(0x821D,GL_NUM_EXTENSIONS) +GL_ENUM(0x8814,GL_RGBA32F) +GL_ENUM(0x8815,GL_RGB32F) +GL_ENUM(0x881A,GL_RGBA16F) +GL_ENUM(0x881B,GL_RGB16F) GL_ENUM(0x88FD,GL_VERTEX_ATTRIB_ARRAY_INTEGER) -GL_ENUM(0x88FE,GL_VERTEX_ATTRIB_ARRAY_DIVISOR) GL_ENUM(0x88FF,GL_MAX_ARRAY_TEXTURE_LAYERS) GL_ENUM(0x8904,GL_MIN_PROGRAM_TEXEL_OFFSET) GL_ENUM(0x8905,GL_MAX_PROGRAM_TEXEL_OFFSET) -GL_ENUM(0x8919,GL_SAMPLER_BINDING) -GL_ENUM(0x898A,GL_POINT_SIZE_ARRAY_TYPE_OES) -GL_ENUM(0x898B,GL_POINT_SIZE_ARRAY_STRIDE_OES) -GL_ENUM(0x898C,GL_POINT_SIZE_ARRAY_POINTER_OES) -GL_ENUM(0x898D,GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES) -GL_ENUM(0x898E,GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES) -GL_ENUM(0x898F,GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES) +GL_ENUM(0x8B4B,GL_MAX_VARYING_COMPONENTS) +GL_ENUM(0x8C1A,GL_TEXTURE_2D_ARRAY) +GL_ENUM(0x8C1D,GL_TEXTURE_BINDING_2D_ARRAY) +GL_ENUM(0x8C3A,GL_R11F_G11F_B10F) +GL_ENUM(0x8C3B,GL_UNSIGNED_INT_10F_11F_11F_REV) +GL_ENUM(0x8C3D,GL_RGB9_E5) +GL_ENUM(0x8C3E,GL_UNSIGNED_INT_5_9_9_9_REV) +GL_ENUM(0x8C76,GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH) +GL_ENUM(0x8C7F,GL_TRANSFORM_FEEDBACK_BUFFER_MODE) +GL_ENUM(0x8C80,GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS) +GL_ENUM(0x8C83,GL_TRANSFORM_FEEDBACK_VARYINGS) +GL_ENUM(0x8C84,GL_TRANSFORM_FEEDBACK_BUFFER_START) +GL_ENUM(0x8C85,GL_TRANSFORM_FEEDBACK_BUFFER_SIZE) +GL_ENUM(0x8C88,GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN) +GL_ENUM(0x8C89,GL_RASTERIZER_DISCARD) +GL_ENUM(0x8C8A,GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS) +GL_ENUM(0x8C8B,GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS) +GL_ENUM(0x8C8C,GL_INTERLEAVED_ATTRIBS) +GL_ENUM(0x8C8D,GL_SEPARATE_ATTRIBS) +GL_ENUM(0x8C8E,GL_TRANSFORM_FEEDBACK_BUFFER) +GL_ENUM(0x8C8F,GL_TRANSFORM_FEEDBACK_BUFFER_BINDING) +GL_ENUM(0x8D70,GL_RGBA32UI) +GL_ENUM(0x8D71,GL_RGB32UI) +GL_ENUM(0x8D76,GL_RGBA16UI) +GL_ENUM(0x8D77,GL_RGB16UI) +GL_ENUM(0x8D7C,GL_RGBA8UI) +GL_ENUM(0x8D7D,GL_RGB8UI) +GL_ENUM(0x8D82,GL_RGBA32I) +GL_ENUM(0x8D83,GL_RGB32I) +GL_ENUM(0x8D88,GL_RGBA16I) +GL_ENUM(0x8D89,GL_RGB16I) +GL_ENUM(0x8D8E,GL_RGBA8I) +GL_ENUM(0x8D8F,GL_RGB8I) +GL_ENUM(0x8D94,GL_RED_INTEGER) +GL_ENUM(0x8D98,GL_RGB_INTEGER) +GL_ENUM(0x8D99,GL_RGBA_INTEGER) +GL_ENUM(0x8DC1,GL_SAMPLER_2D_ARRAY) +GL_ENUM(0x8DC4,GL_SAMPLER_2D_ARRAY_SHADOW) +GL_ENUM(0x8DC5,GL_SAMPLER_CUBE_SHADOW) +GL_ENUM(0x8DC6,GL_UNSIGNED_INT_VEC2) +GL_ENUM(0x8DC7,GL_UNSIGNED_INT_VEC3) +GL_ENUM(0x8DC8,GL_UNSIGNED_INT_VEC4) +GL_ENUM(0x8DCA,GL_INT_SAMPLER_2D) +GL_ENUM(0x8DCB,GL_INT_SAMPLER_3D) +GL_ENUM(0x8DCC,GL_INT_SAMPLER_CUBE) +GL_ENUM(0x8DCF,GL_INT_SAMPLER_2D_ARRAY) +GL_ENUM(0x8DD2,GL_UNSIGNED_INT_SAMPLER_2D) +GL_ENUM(0x8DD3,GL_UNSIGNED_INT_SAMPLER_3D) +GL_ENUM(0x8DD4,GL_UNSIGNED_INT_SAMPLER_CUBE) +GL_ENUM(0x8DD7,GL_UNSIGNED_INT_SAMPLER_2D_ARRAY) +GL_ENUM(0x911F,GL_BUFFER_ACCESS_FLAGS) +GL_ENUM(0x9120,GL_BUFFER_MAP_LENGTH) +GL_ENUM(0x9121,GL_BUFFER_MAP_OFFSET) +GL_ENUM(0x8CAC,GL_DEPTH_COMPONENT32F) +GL_ENUM(0x8CAD,GL_DEPTH32F_STENCIL8) +GL_ENUM(0x8DAD,GL_FLOAT_32_UNSIGNED_INT_24_8_REV) +GL_ENUM(0x8210,GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING) +GL_ENUM(0x8211,GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE) +GL_ENUM(0x8212,GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE) +GL_ENUM(0x8213,GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE) +GL_ENUM(0x8214,GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE) +GL_ENUM(0x8215,GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE) +GL_ENUM(0x8216,GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE) +GL_ENUM(0x8217,GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE) +GL_ENUM(0x8218,GL_FRAMEBUFFER_DEFAULT) +GL_ENUM(0x8219,GL_FRAMEBUFFER_UNDEFINED) +GL_ENUM(0x821A,GL_DEPTH_STENCIL_ATTACHMENT) +GL_ENUM(0x84F9,GL_DEPTH_STENCIL) +GL_ENUM(0x84FA,GL_UNSIGNED_INT_24_8) +GL_ENUM(0x88F0,GL_DEPTH24_STENCIL8) +GL_ENUM(0x8C17,GL_UNSIGNED_NORMALIZED) +GL_ENUM(0x8CA8,GL_READ_FRAMEBUFFER) +GL_ENUM(0x8CA9,GL_DRAW_FRAMEBUFFER) +GL_ENUM(0x8CAA,GL_READ_FRAMEBUFFER_BINDING) +GL_ENUM(0x8CAB,GL_RENDERBUFFER_SAMPLES) +GL_ENUM(0x8CD4,GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER) +GL_ENUM(0x8CDF,GL_MAX_COLOR_ATTACHMENTS) +GL_ENUM(0x8CE1,GL_COLOR_ATTACHMENT1) +GL_ENUM(0x8CE2,GL_COLOR_ATTACHMENT2) +GL_ENUM(0x8CE3,GL_COLOR_ATTACHMENT3) +GL_ENUM(0x8CE4,GL_COLOR_ATTACHMENT4) +GL_ENUM(0x8CE5,GL_COLOR_ATTACHMENT5) +GL_ENUM(0x8CE6,GL_COLOR_ATTACHMENT6) +GL_ENUM(0x8CE7,GL_COLOR_ATTACHMENT7) +GL_ENUM(0x8CE8,GL_COLOR_ATTACHMENT8) +GL_ENUM(0x8CE9,GL_COLOR_ATTACHMENT9) +GL_ENUM(0x8CEA,GL_COLOR_ATTACHMENT10) +GL_ENUM(0x8CEB,GL_COLOR_ATTACHMENT11) +GL_ENUM(0x8CEC,GL_COLOR_ATTACHMENT12) +GL_ENUM(0x8CED,GL_COLOR_ATTACHMENT13) +GL_ENUM(0x8CEE,GL_COLOR_ATTACHMENT14) +GL_ENUM(0x8CEF,GL_COLOR_ATTACHMENT15) +GL_ENUM(0x8D56,GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE) +GL_ENUM(0x8D57,GL_MAX_SAMPLES) +GL_ENUM(0x140B,GL_HALF_FLOAT) +GL_ENUM(0x8227,GL_RG) +GL_ENUM(0x8228,GL_RG_INTEGER) +GL_ENUM(0x8229,GL_R8) +GL_ENUM(0x822B,GL_RG8) +GL_ENUM(0x822D,GL_R16F) +GL_ENUM(0x822E,GL_R32F) +GL_ENUM(0x822F,GL_RG16F) +GL_ENUM(0x8230,GL_RG32F) +GL_ENUM(0x8231,GL_R8I) +GL_ENUM(0x8232,GL_R8UI) +GL_ENUM(0x8233,GL_R16I) +GL_ENUM(0x8234,GL_R16UI) +GL_ENUM(0x8235,GL_R32I) +GL_ENUM(0x8236,GL_R32UI) +GL_ENUM(0x8237,GL_RG8I) +GL_ENUM(0x8238,GL_RG8UI) +GL_ENUM(0x8239,GL_RG16I) +GL_ENUM(0x823A,GL_RG16UI) +GL_ENUM(0x823B,GL_RG32I) +GL_ENUM(0x823C,GL_RG32UI) +GL_ENUM(0x85B5,GL_VERTEX_ARRAY_BINDING) +GL_ENUM(0x8F94,GL_R8_SNORM) +GL_ENUM(0x8F95,GL_RG8_SNORM) +GL_ENUM(0x8F96,GL_RGB8_SNORM) +GL_ENUM(0x8F97,GL_RGBA8_SNORM) +GL_ENUM(0x8F9C,GL_SIGNED_NORMALIZED) +GL_ENUM(0x8D69,GL_PRIMITIVE_RESTART_FIXED_INDEX) +GL_ENUM(0x8F36,GL_COPY_READ_BUFFER) +GL_ENUM(0x8F37,GL_COPY_WRITE_BUFFER) GL_ENUM(0x8A11,GL_UNIFORM_BUFFER) -GL_ENUM(0x8A1F,GL_RGB_422_APPLE) GL_ENUM(0x8A28,GL_UNIFORM_BUFFER_BINDING) GL_ENUM(0x8A29,GL_UNIFORM_BUFFER_START) GL_ENUM(0x8A2A,GL_UNIFORM_BUFFER_SIZE) @@ -592,270 +690,9 @@ GL_ENUM(0x8A42,GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS) GL_ENUM(0x8A43,GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES) GL_ENUM(0x8A44,GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER) GL_ENUM(0x8A46,GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER) -GL_ENUM(0x8A4F,GL_PROGRAM_PIPELINE_OBJECT_EXT) -GL_ENUM(0x8B30,GL_FRAGMENT_SHADER) -GL_ENUM(0x8B31,GL_VERTEX_SHADER) -GL_ENUM(0x8B40,GL_PROGRAM_OBJECT_EXT) -GL_ENUM(0x8B48,GL_SHADER_OBJECT_EXT) -GL_ENUM(0x8B49,GL_MAX_FRAGMENT_UNIFORM_COMPONENTS) -GL_ENUM(0x8B4A,GL_MAX_VERTEX_UNIFORM_COMPONENTS) -GL_ENUM(0x8B4B,GL_MAX_VARYING_COMPONENTS) -GL_ENUM(0x8B4C,GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS) -GL_ENUM(0x8B4D,GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS) -GL_ENUM(0x8B4F,GL_SHADER_TYPE) -GL_ENUM(0x8B50,GL_FLOAT_VEC2) -GL_ENUM(0x8B51,GL_FLOAT_VEC3) -GL_ENUM(0x8B52,GL_FLOAT_VEC4) -GL_ENUM(0x8B53,GL_INT_VEC2) -GL_ENUM(0x8B54,GL_INT_VEC3) -GL_ENUM(0x8B55,GL_INT_VEC4) -GL_ENUM(0x8B56,GL_BOOL) -GL_ENUM(0x8B57,GL_BOOL_VEC2) -GL_ENUM(0x8B58,GL_BOOL_VEC3) -GL_ENUM(0x8B59,GL_BOOL_VEC4) -GL_ENUM(0x8B5A,GL_FLOAT_MAT2) -GL_ENUM(0x8B5B,GL_FLOAT_MAT3) -GL_ENUM(0x8B5C,GL_FLOAT_MAT4) -GL_ENUM(0x8B5E,GL_SAMPLER_2D) -GL_ENUM(0x8B5F,GL_SAMPLER_3D_OES) -GL_ENUM(0x8B60,GL_SAMPLER_CUBE) -GL_ENUM(0x8B62,GL_SAMPLER_2D_SHADOW_EXT) -GL_ENUM(0x8B65,GL_FLOAT_MAT2x3) -GL_ENUM(0x8B66,GL_FLOAT_MAT2x4) -GL_ENUM(0x8B67,GL_FLOAT_MAT3x2) -GL_ENUM(0x8B68,GL_FLOAT_MAT3x4) -GL_ENUM(0x8B69,GL_FLOAT_MAT4x2) -GL_ENUM(0x8B6A,GL_FLOAT_MAT4x3) -GL_ENUM(0x8B80,GL_DELETE_STATUS) -GL_ENUM(0x8B81,GL_COMPILE_STATUS) -GL_ENUM(0x8B82,GL_LINK_STATUS) -GL_ENUM(0x8B83,GL_VALIDATE_STATUS) -GL_ENUM(0x8B84,GL_INFO_LOG_LENGTH) -GL_ENUM(0x8B85,GL_ATTACHED_SHADERS) -GL_ENUM(0x8B86,GL_ACTIVE_UNIFORMS) -GL_ENUM(0x8B87,GL_ACTIVE_UNIFORM_MAX_LENGTH) -GL_ENUM(0x8B88,GL_SHADER_SOURCE_LENGTH) -GL_ENUM(0x8B89,GL_ACTIVE_ATTRIBUTES) -GL_ENUM(0x8B8A,GL_ACTIVE_ATTRIBUTE_MAX_LENGTH) -GL_ENUM(0x8B8B,GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES) -GL_ENUM(0x8B8C,GL_SHADING_LANGUAGE_VERSION) -GL_ENUM(0x8B8D,GL_CURRENT_PROGRAM) -GL_ENUM(0x8B90,GL_PALETTE4_RGB8_OES) -GL_ENUM(0x8B91,GL_PALETTE4_RGBA8_OES) -GL_ENUM(0x8B92,GL_PALETTE4_R5_G6_B5_OES) -GL_ENUM(0x8B93,GL_PALETTE4_RGBA4_OES) -GL_ENUM(0x8B94,GL_PALETTE4_RGB5_A1_OES) -GL_ENUM(0x8B95,GL_PALETTE8_RGB8_OES) -GL_ENUM(0x8B96,GL_PALETTE8_RGBA8_OES) -GL_ENUM(0x8B97,GL_PALETTE8_R5_G6_B5_OES) -GL_ENUM(0x8B98,GL_PALETTE8_RGBA4_OES) -GL_ENUM(0x8B99,GL_PALETTE8_RGB5_A1_OES) -GL_ENUM(0x8B9A,GL_IMPLEMENTATION_COLOR_READ_TYPE_OES) -GL_ENUM(0x8B9B,GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES) -GL_ENUM(0x8B9C,GL_POINT_SIZE_ARRAY_OES) -GL_ENUM(0x8B9D,GL_TEXTURE_CROP_RECT_OES) -GL_ENUM(0x8B9E,GL_MATRIX_INDEX_ARRAY_BUFFER_BINDING_OES) -GL_ENUM(0x8B9F,GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES) -GL_ENUM(0x8BC0,GL_COUNTER_TYPE_AMD) -GL_ENUM(0x8BC1,GL_COUNTER_RANGE_AMD) -GL_ENUM(0x8BC2,GL_UNSIGNED_INT64_AMD) -GL_ENUM(0x8BC3,GL_PERCENTAGE_AMD) -GL_ENUM(0x8BC4,GL_PERFMON_RESULT_AVAILABLE_AMD) -GL_ENUM(0x8BC5,GL_PERFMON_RESULT_SIZE_AMD) -GL_ENUM(0x8BC6,GL_PERFMON_RESULT_AMD) -GL_ENUM(0x8BD2,GL_TEXTURE_WIDTH_QCOM) -GL_ENUM(0x8BD3,GL_TEXTURE_HEIGHT_QCOM) -GL_ENUM(0x8BD4,GL_TEXTURE_DEPTH_QCOM) -GL_ENUM(0x8BD5,GL_TEXTURE_INTERNAL_FORMAT_QCOM) -GL_ENUM(0x8BD6,GL_TEXTURE_FORMAT_QCOM) -GL_ENUM(0x8BD7,GL_TEXTURE_TYPE_QCOM) -GL_ENUM(0x8BD8,GL_TEXTURE_IMAGE_VALID_QCOM) -GL_ENUM(0x8BD9,GL_TEXTURE_NUM_LEVELS_QCOM) -GL_ENUM(0x8BDA,GL_TEXTURE_TARGET_QCOM) -GL_ENUM(0x8BDB,GL_TEXTURE_OBJECT_VALID_QCOM) -GL_ENUM(0x8BDC,GL_STATE_RESTORE) -GL_ENUM(0x8C00,GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG) -GL_ENUM(0x8C01,GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG) -GL_ENUM(0x8C02,GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG) -GL_ENUM(0x8C03,GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG) -GL_ENUM(0x8C04,GL_MODULATE_COLOR_IMG) -GL_ENUM(0x8C05,GL_RECIP_ADD_SIGNED_ALPHA_IMG) -GL_ENUM(0x8C06,GL_TEXTURE_ALPHA_MODULATE_IMG) -GL_ENUM(0x8C07,GL_FACTOR_ALPHA_MODULATE_IMG) -GL_ENUM(0x8C08,GL_FRAGMENT_ALPHA_MODULATE_IMG) -GL_ENUM(0x8C09,GL_ADD_BLEND_IMG) -GL_ENUM(0x8C0A,GL_SGX_BINARY_IMG) -GL_ENUM(0x8C17,GL_UNSIGNED_NORMALIZED_EXT) -GL_ENUM(0x8C1A,GL_TEXTURE_2D_ARRAY) -GL_ENUM(0x8C1D,GL_TEXTURE_BINDING_2D_ARRAY) -GL_ENUM(0x8C2F,GL_ANY_SAMPLES_PASSED_EXT) -GL_ENUM(0x8C3A,GL_R11F_G11F_B10F) -GL_ENUM(0x8C3B,GL_UNSIGNED_INT_10F_11F_11F_REV) -GL_ENUM(0x8C3D,GL_RGB9_E5) -GL_ENUM(0x8C3E,GL_UNSIGNED_INT_5_9_9_9_REV) -GL_ENUM(0x8C40,GL_SRGB_EXT) -GL_ENUM(0x8C41,GL_SRGB8) -GL_ENUM(0x8C42,GL_SRGB_ALPHA_EXT) -GL_ENUM(0x8C43,GL_SRGB8_ALPHA8_EXT) -GL_ENUM(0x8C76,GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH) -GL_ENUM(0x8C7F,GL_TRANSFORM_FEEDBACK_BUFFER_MODE) -GL_ENUM(0x8C80,GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS) -GL_ENUM(0x8C83,GL_TRANSFORM_FEEDBACK_VARYINGS) -GL_ENUM(0x8C84,GL_TRANSFORM_FEEDBACK_BUFFER_START) -GL_ENUM(0x8C85,GL_TRANSFORM_FEEDBACK_BUFFER_SIZE) -GL_ENUM(0x8C88,GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN) -GL_ENUM(0x8C89,GL_RASTERIZER_DISCARD) -GL_ENUM(0x8C8A,GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS) -GL_ENUM(0x8C8B,GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS) -GL_ENUM(0x8C8C,GL_INTERLEAVED_ATTRIBS) -GL_ENUM(0x8C8D,GL_SEPARATE_ATTRIBS) -GL_ENUM(0x8C8E,GL_TRANSFORM_FEEDBACK_BUFFER) -GL_ENUM(0x8C8F,GL_TRANSFORM_FEEDBACK_BUFFER_BINDING) -GL_ENUM(0x8C92,GL_ATC_RGB_AMD) -GL_ENUM(0x8C93,GL_ATC_RGBA_EXPLICIT_ALPHA_AMD) -GL_ENUM(0x8CA3,GL_STENCIL_BACK_REF) -GL_ENUM(0x8CA4,GL_STENCIL_BACK_VALUE_MASK) -GL_ENUM(0x8CA5,GL_STENCIL_BACK_WRITEMASK) -GL_ENUM(0x8CA6,GL_FRAMEBUFFER_BINDING_OES) -GL_ENUM(0x8CA7,GL_RENDERBUFFER_BINDING_OES) -GL_ENUM(0x8CA8,GL_READ_FRAMEBUFFER_APPLE) -GL_ENUM(0x8CA9,GL_DRAW_FRAMEBUFFER_APPLE) -GL_ENUM(0x8CAA,GL_READ_FRAMEBUFFER_BINDING_APPLE) -GL_ENUM(0x8CAB,GL_RENDERBUFFER_SAMPLES_APPLE) -GL_ENUM(0x8CAC,GL_DEPTH_COMPONENT32F) -GL_ENUM(0x8CAD,GL_DEPTH32F_STENCIL8) -GL_ENUM(0x8CD0,GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES) -GL_ENUM(0x8CD1,GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES) -GL_ENUM(0x8CD2,GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES) -GL_ENUM(0x8CD3,GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES) -GL_ENUM(0x8CD4,GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES) -GL_ENUM(0x8CD5,GL_FRAMEBUFFER_COMPLETE_OES) -GL_ENUM(0x8CD6,GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_OES) -GL_ENUM(0x8CD7,GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_OES) -GL_ENUM(0x8CD9,GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_OES) -GL_ENUM(0x8CDA,GL_FRAMEBUFFER_INCOMPLETE_FORMATS_OES) -GL_ENUM(0x8CDD,GL_FRAMEBUFFER_UNSUPPORTED_OES) -GL_ENUM(0x8CDF,GL_MAX_COLOR_ATTACHMENTS_NV) -GL_ENUM(0x8CE0,GL_COLOR_ATTACHMENT0_OES) -GL_ENUM(0x8CE1,GL_COLOR_ATTACHMENT1_NV) -GL_ENUM(0x8CE2,GL_COLOR_ATTACHMENT2_NV) -GL_ENUM(0x8CE3,GL_COLOR_ATTACHMENT3_NV) -GL_ENUM(0x8CE4,GL_COLOR_ATTACHMENT4_NV) -GL_ENUM(0x8CE5,GL_COLOR_ATTACHMENT5_NV) -GL_ENUM(0x8CE6,GL_COLOR_ATTACHMENT6_NV) -GL_ENUM(0x8CE7,GL_COLOR_ATTACHMENT7_NV) -GL_ENUM(0x8CE8,GL_COLOR_ATTACHMENT8_NV) -GL_ENUM(0x8CE9,GL_COLOR_ATTACHMENT9_NV) -GL_ENUM(0x8CEA,GL_COLOR_ATTACHMENT10_NV) -GL_ENUM(0x8CEB,GL_COLOR_ATTACHMENT11_NV) -GL_ENUM(0x8CEC,GL_COLOR_ATTACHMENT12_NV) -GL_ENUM(0x8CED,GL_COLOR_ATTACHMENT13_NV) -GL_ENUM(0x8CEE,GL_COLOR_ATTACHMENT14_NV) -GL_ENUM(0x8CEF,GL_COLOR_ATTACHMENT15_NV) -GL_ENUM(0x8D00,GL_DEPTH_ATTACHMENT_OES) -GL_ENUM(0x8D20,GL_STENCIL_ATTACHMENT_OES) -GL_ENUM(0x8D40,GL_FRAMEBUFFER_OES) -GL_ENUM(0x8D41,GL_RENDERBUFFER_OES) -GL_ENUM(0x8D42,GL_RENDERBUFFER_WIDTH_OES) -GL_ENUM(0x8D43,GL_RENDERBUFFER_HEIGHT_OES) -GL_ENUM(0x8D44,GL_RENDERBUFFER_INTERNAL_FORMAT_OES) -GL_ENUM(0x8D46,GL_STENCIL_INDEX1_OES) -GL_ENUM(0x8D47,GL_STENCIL_INDEX4_OES) -GL_ENUM(0x8D48,GL_STENCIL_INDEX8_OES) -GL_ENUM(0x8D50,GL_RENDERBUFFER_RED_SIZE_OES) -GL_ENUM(0x8D51,GL_RENDERBUFFER_GREEN_SIZE_OES) -GL_ENUM(0x8D52,GL_RENDERBUFFER_BLUE_SIZE_OES) -GL_ENUM(0x8D53,GL_RENDERBUFFER_ALPHA_SIZE_OES) -GL_ENUM(0x8D54,GL_RENDERBUFFER_DEPTH_SIZE_OES) -GL_ENUM(0x8D55,GL_RENDERBUFFER_STENCIL_SIZE_OES) -GL_ENUM(0x8D56,GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE) -GL_ENUM(0x8D57,GL_MAX_SAMPLES_APPLE) -GL_ENUM(0x8D60,GL_TEXTURE_GEN_STR_OES) -GL_ENUM(0x8D61,GL_HALF_FLOAT_OES) -GL_ENUM(0x8D62,GL_RGB565_OES) -GL_ENUM(0x8D64,GL_ETC1_RGB8_OES) -GL_ENUM(0x8D65,GL_TEXTURE_EXTERNAL_OES) -GL_ENUM(0x8D66,GL_SAMPLER_EXTERNAL_OES) -GL_ENUM(0x8D67,GL_TEXTURE_BINDING_EXTERNAL_OES) -GL_ENUM(0x8D68,GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES) -GL_ENUM(0x8D69,GL_PRIMITIVE_RESTART_FIXED_INDEX) -GL_ENUM(0x8D6A,GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT) -GL_ENUM(0x8D6B,GL_MAX_ELEMENT_INDEX) -GL_ENUM(0x8D6C,GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT) -GL_ENUM(0x8D70,GL_RGBA32UI) -GL_ENUM(0x8D71,GL_RGB32UI) -GL_ENUM(0x8D76,GL_RGBA16UI) -GL_ENUM(0x8D77,GL_RGB16UI) -GL_ENUM(0x8D7C,GL_RGBA8UI) -GL_ENUM(0x8D7D,GL_RGB8UI) -GL_ENUM(0x8D82,GL_RGBA32I) -GL_ENUM(0x8D83,GL_RGB32I) -GL_ENUM(0x8D88,GL_RGBA16I) -GL_ENUM(0x8D89,GL_RGB16I) -GL_ENUM(0x8D8E,GL_RGBA8I) -GL_ENUM(0x8D8F,GL_RGB8I) -GL_ENUM(0x8D94,GL_RED_INTEGER) -GL_ENUM(0x8D98,GL_RGB_INTEGER) -GL_ENUM(0x8D99,GL_RGBA_INTEGER) -GL_ENUM(0x8D9F,GL_INT_2_10_10_10_REV) -GL_ENUM(0x8DAD,GL_FLOAT_32_UNSIGNED_INT_24_8_REV) -GL_ENUM(0x8DC1,GL_SAMPLER_2D_ARRAY) -GL_ENUM(0x8DC4,GL_SAMPLER_2D_ARRAY_SHADOW) -GL_ENUM(0x8DC5,GL_SAMPLER_CUBE_SHADOW) -GL_ENUM(0x8DC6,GL_UNSIGNED_INT_VEC2) -GL_ENUM(0x8DC7,GL_UNSIGNED_INT_VEC3) -GL_ENUM(0x8DC8,GL_UNSIGNED_INT_VEC4) -GL_ENUM(0x8DCA,GL_INT_SAMPLER_2D) -GL_ENUM(0x8DCB,GL_INT_SAMPLER_3D) -GL_ENUM(0x8DCC,GL_INT_SAMPLER_CUBE) -GL_ENUM(0x8DCF,GL_INT_SAMPLER_2D_ARRAY) -GL_ENUM(0x8DD2,GL_UNSIGNED_INT_SAMPLER_2D) -GL_ENUM(0x8DD3,GL_UNSIGNED_INT_SAMPLER_3D) -GL_ENUM(0x8DD4,GL_UNSIGNED_INT_SAMPLER_CUBE) -GL_ENUM(0x8DD7,GL_UNSIGNED_INT_SAMPLER_2D_ARRAY) -GL_ENUM(0x8DF0,GL_LOW_FLOAT) -GL_ENUM(0x8DF1,GL_MEDIUM_FLOAT) -GL_ENUM(0x8DF2,GL_HIGH_FLOAT) -GL_ENUM(0x8DF3,GL_LOW_INT) -GL_ENUM(0x8DF4,GL_MEDIUM_INT) -GL_ENUM(0x8DF5,GL_HIGH_INT) -GL_ENUM(0x8DF6,GL_UNSIGNED_INT_10_10_10_2_OES) -GL_ENUM(0x8DF7,GL_INT_10_10_10_2_OES) -GL_ENUM(0x8DF8,GL_SHADER_BINARY_FORMATS) -GL_ENUM(0x8DF9,GL_NUM_SHADER_BINARY_FORMATS) -GL_ENUM(0x8DFA,GL_SHADER_COMPILER) -GL_ENUM(0x8DFB,GL_MAX_VERTEX_UNIFORM_VECTORS) -GL_ENUM(0x8DFC,GL_MAX_VARYING_VECTORS) -GL_ENUM(0x8DFD,GL_MAX_FRAGMENT_UNIFORM_VECTORS) -GL_ENUM(0x8E22,GL_TRANSFORM_FEEDBACK) -GL_ENUM(0x8E23,GL_TRANSFORM_FEEDBACK_PAUSED) -GL_ENUM(0x8E24,GL_TRANSFORM_FEEDBACK_ACTIVE) -GL_ENUM(0x8E25,GL_TRANSFORM_FEEDBACK_BINDING) -GL_ENUM(0x8E2C,GL_DEPTH_COMPONENT16_NONLINEAR_NV) -GL_ENUM(0x8E42,GL_TEXTURE_SWIZZLE_R) -GL_ENUM(0x8E43,GL_TEXTURE_SWIZZLE_G) -GL_ENUM(0x8E44,GL_TEXTURE_SWIZZLE_B) -GL_ENUM(0x8E45,GL_TEXTURE_SWIZZLE_A) -GL_ENUM(0x8ED0,GL_COVERAGE_COMPONENT_NV) -GL_ENUM(0x8ED1,GL_COVERAGE_COMPONENT4_NV) -GL_ENUM(0x8ED2,GL_COVERAGE_ATTACHMENT_NV) -GL_ENUM(0x8ED3,GL_COVERAGE_BUFFERS_NV) -GL_ENUM(0x8ED4,GL_COVERAGE_SAMPLES_NV) -GL_ENUM(0x8ED5,GL_COVERAGE_ALL_FRAGMENTS_NV) -GL_ENUM(0x8ED6,GL_COVERAGE_EDGE_FRAGMENTS_NV) -GL_ENUM(0x8ED7,GL_COVERAGE_AUTOMATIC_NV) -GL_ENUM(0x8F36,GL_COPY_READ_BUFFER) -GL_ENUM(0x8F37,GL_COPY_WRITE_BUFFER) -GL_ENUM(0x8F60,GL_MALI_SHADER_BINARY_ARM) -GL_ENUM(0x8F94,GL_R8_SNORM) -GL_ENUM(0x8F95,GL_RG8_SNORM) -GL_ENUM(0x8F96,GL_RGB8_SNORM) -GL_ENUM(0x8F97,GL_RGBA8_SNORM) -GL_ENUM(0x8F9C,GL_SIGNED_NORMALIZED) -GL_ENUM(0x8FA0,GL_PERFMON_GLOBAL_MODE_QCOM) -GL_ENUM(0x8FC4,GL_SHADER_BINARY_VIV) -GL_ENUM(0x906F,GL_RGB10_A2UI) -GL_ENUM(0x90F3,GL_CONTEXT_ROBUST_ACCESS_EXT) +GL_ENUM(0xFFFFFFFFu,GL_INVALID_INDEX) +GL_ENUM(0x9122,GL_MAX_VERTEX_OUTPUT_COMPONENTS) +GL_ENUM(0x9125,GL_MAX_FRAGMENT_INPUT_COMPONENTS) GL_ENUM(0x9111,GL_MAX_SERVER_WAIT_TIMEOUT) GL_ENUM(0x9112,GL_OBJECT_TYPE) GL_ENUM(0x9113,GL_SYNC_CONDITION) @@ -869,21 +706,27 @@ GL_ENUM(0x911A,GL_ALREADY_SIGNALED) GL_ENUM(0x911B,GL_TIMEOUT_EXPIRED) GL_ENUM(0x911C,GL_CONDITION_SATISFIED) GL_ENUM(0x911D,GL_WAIT_FAILED) -GL_ENUM(0x911F,GL_BUFFER_ACCESS_FLAGS) -GL_ENUM(0x9120,GL_BUFFER_MAP_LENGTH) -GL_ENUM(0x9121,GL_BUFFER_MAP_OFFSET) -GL_ENUM(0x9122,GL_MAX_VERTEX_OUTPUT_COMPONENTS) -GL_ENUM(0x9125,GL_MAX_FRAGMENT_INPUT_COMPONENTS) -GL_ENUM(0x912F,GL_TEXTURE_IMMUTABLE_FORMAT_EXT) -GL_ENUM(0x9130,GL_SGX_PROGRAM_BINARY_IMG) -GL_ENUM(0x9133,GL_RENDERBUFFER_SAMPLES_EXT) -GL_ENUM(0x9134,GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT) -GL_ENUM(0x9135,GL_MAX_SAMPLES_EXT) -GL_ENUM(0x9136,GL_TEXTURE_SAMPLES_IMG) -GL_ENUM(0x9151,GL_BUFFER_OBJECT_EXT) -GL_ENUM(0x9153,GL_QUERY_OBJECT_EXT) -GL_ENUM(0x9154,GL_VERTEX_ARRAY_OBJECT_EXT) -GL_ENUM(0x9250,GL_SHADER_BINARY_DMP) +GL_ENUM(0xFFFFFFFFFFFFFFFFull,GL_TIMEOUT_IGNORED) +GL_ENUM(0x88FE,GL_VERTEX_ATTRIB_ARRAY_DIVISOR) +GL_ENUM(0x8C2F,GL_ANY_SAMPLES_PASSED) +GL_ENUM(0x8D6A,GL_ANY_SAMPLES_PASSED_CONSERVATIVE) +GL_ENUM(0x8919,GL_SAMPLER_BINDING) +GL_ENUM(0x906F,GL_RGB10_A2UI) +GL_ENUM(0x8E42,GL_TEXTURE_SWIZZLE_R) +GL_ENUM(0x8E43,GL_TEXTURE_SWIZZLE_G) +GL_ENUM(0x8E44,GL_TEXTURE_SWIZZLE_B) +GL_ENUM(0x8E45,GL_TEXTURE_SWIZZLE_A) +GL_ENUM(0x1904,GL_GREEN) +GL_ENUM(0x1905,GL_BLUE) +GL_ENUM(0x8D9F,GL_INT_2_10_10_10_REV) +GL_ENUM(0x8E22,GL_TRANSFORM_FEEDBACK) +GL_ENUM(0x8E23,GL_TRANSFORM_FEEDBACK_PAUSED) +GL_ENUM(0x8E24,GL_TRANSFORM_FEEDBACK_ACTIVE) +GL_ENUM(0x8E25,GL_TRANSFORM_FEEDBACK_BINDING) +GL_ENUM(0x8257,GL_PROGRAM_BINARY_RETRIEVABLE_HINT) +GL_ENUM(0x8741,GL_PROGRAM_BINARY_LENGTH) +GL_ENUM(0x87FE,GL_NUM_PROGRAM_BINARY_FORMATS) +GL_ENUM(0x87FF,GL_PROGRAM_BINARY_FORMATS) GL_ENUM(0x9270,GL_COMPRESSED_R11_EAC) GL_ENUM(0x9271,GL_COMPRESSED_SIGNED_R11_EAC) GL_ENUM(0x9272,GL_COMPRESSED_RG11_EAC) @@ -894,8 +737,372 @@ GL_ENUM(0x9276,GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2) GL_ENUM(0x9277,GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2) GL_ENUM(0x9278,GL_COMPRESSED_RGBA8_ETC2_EAC) GL_ENUM(0x9279,GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC) +GL_ENUM(0x912F,GL_TEXTURE_IMMUTABLE_FORMAT) +GL_ENUM(0x8D6B,GL_MAX_ELEMENT_INDEX) GL_ENUM(0x9380,GL_NUM_SAMPLE_COUNTS) +GL_ENUM(0x82DF,GL_TEXTURE_IMMUTABLE_LEVELS) +GL_ENUM(0x8D65,GL_TEXTURE_EXTERNAL_OES) +GL_ENUM(0x8D67,GL_TEXTURE_BINDING_EXTERNAL_OES) +GL_ENUM(0x8D68,GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES) +GL_ENUM(0x8D64,GL_ETC1_RGB8_OES) +GL_ENUM(0x8B90,GL_PALETTE4_RGB8_OES) +GL_ENUM(0x8B91,GL_PALETTE4_RGBA8_OES) +GL_ENUM(0x8B92,GL_PALETTE4_R5_G6_B5_OES) +GL_ENUM(0x8B93,GL_PALETTE4_RGBA4_OES) +GL_ENUM(0x8B94,GL_PALETTE4_RGB5_A1_OES) +GL_ENUM(0x8B95,GL_PALETTE8_RGB8_OES) +GL_ENUM(0x8B96,GL_PALETTE8_RGBA8_OES) +GL_ENUM(0x8B97,GL_PALETTE8_R5_G6_B5_OES) +GL_ENUM(0x8B98,GL_PALETTE8_RGBA4_OES) +GL_ENUM(0x8B99,GL_PALETTE8_RGB5_A1_OES) +GL_ENUM(0x81A7,GL_DEPTH_COMPONENT32_OES) +GL_ENUM(0x8B9D,GL_TEXTURE_CROP_RECT_OES) +GL_ENUM(0x8CDA,GL_FRAMEBUFFER_INCOMPLETE_FORMATS_OES) +GL_ENUM(0x88B9,GL_WRITE_ONLY_OES) +GL_ENUM(0x88BB,GL_BUFFER_ACCESS_OES) +GL_ENUM(0x898D,GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES) +GL_ENUM(0x898E,GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES) +GL_ENUM(0x898F,GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES) +GL_ENUM(0x86A4,GL_MAX_VERTEX_UNITS_OES) +GL_ENUM(0x8842,GL_MAX_PALETTE_MATRICES_OES) +GL_ENUM(0x8840,GL_MATRIX_PALETTE_OES) +GL_ENUM(0x8844,GL_MATRIX_INDEX_ARRAY_OES) +GL_ENUM(0x86AD,GL_WEIGHT_ARRAY_OES) +GL_ENUM(0x8843,GL_CURRENT_PALETTE_MATRIX_OES) +GL_ENUM(0x8846,GL_MATRIX_INDEX_ARRAY_SIZE_OES) +GL_ENUM(0x8847,GL_MATRIX_INDEX_ARRAY_TYPE_OES) +GL_ENUM(0x8848,GL_MATRIX_INDEX_ARRAY_STRIDE_OES) +GL_ENUM(0x8849,GL_MATRIX_INDEX_ARRAY_POINTER_OES) +GL_ENUM(0x8B9E,GL_MATRIX_INDEX_ARRAY_BUFFER_BINDING_OES) +GL_ENUM(0x86AB,GL_WEIGHT_ARRAY_SIZE_OES) +GL_ENUM(0x86A9,GL_WEIGHT_ARRAY_TYPE_OES) +GL_ENUM(0x86AA,GL_WEIGHT_ARRAY_STRIDE_OES) +GL_ENUM(0x86AC,GL_WEIGHT_ARRAY_POINTER_OES) +GL_ENUM(0x889E,GL_WEIGHT_ARRAY_BUFFER_BINDING_OES) +GL_ENUM(0x8B9C,GL_POINT_SIZE_ARRAY_OES) +GL_ENUM(0x898A,GL_POINT_SIZE_ARRAY_TYPE_OES) +GL_ENUM(0x898B,GL_POINT_SIZE_ARRAY_STRIDE_OES) +GL_ENUM(0x898C,GL_POINT_SIZE_ARRAY_POINTER_OES) +GL_ENUM(0x8B9F,GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES) +GL_ENUM(0x8861,GL_POINT_SPRITE_OES) +GL_ENUM(0x8862,GL_COORD_REPLACE_OES) +GL_ENUM(0x803C,GL_ALPHA8_OES) +GL_ENUM(0x8043,GL_LUMINANCE4_ALPHA4_OES) +GL_ENUM(0x8045,GL_LUMINANCE8_ALPHA8_OES) +GL_ENUM(0x8040,GL_LUMINANCE8_OES) +GL_ENUM(0x8052,GL_RGB10_EXT) +GL_ENUM(0x8D46,GL_STENCIL_INDEX1_OES) +GL_ENUM(0x8D47,GL_STENCIL_INDEX4_OES) +GL_ENUM(0x8511,GL_NORMAL_MAP_OES) +GL_ENUM(0x8512,GL_REFLECTION_MAP_OES) +GL_ENUM(0x2500,GL_TEXTURE_GEN_MODE_OES) +GL_ENUM(0x8D60,GL_TEXTURE_GEN_STR_OES) +GL_ENUM(0x87F9,GL_3DC_X_AMD) +GL_ENUM(0x87FA,GL_3DC_XY_AMD) +GL_ENUM(0x8C92,GL_ATC_RGB_AMD) +GL_ENUM(0x8C93,GL_ATC_RGBA_EXPLICIT_ALPHA_AMD) +GL_ENUM(0x87EE,GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD) +GL_ENUM(0x8A53,GL_SYNC_OBJECT_APPLE) +GL_ENUM(0x80E1,GL_BGRA_EXT) GL_ENUM(0x93A1,GL_BGRA8_EXT) +GL_ENUM(0x8D6C,GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT) +GL_ENUM(0x8365,GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT) +GL_ENUM(0x8366,GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT) +GL_ENUM(0x8253,GL_GUILTY_CONTEXT_RESET_EXT) +GL_ENUM(0x8254,GL_INNOCENT_CONTEXT_RESET_EXT) +GL_ENUM(0x8255,GL_UNKNOWN_CONTEXT_RESET_EXT) +GL_ENUM(0x90F3,GL_CONTEXT_ROBUST_ACCESS_EXT) +GL_ENUM(0x8256,GL_RESET_NOTIFICATION_STRATEGY_EXT) +GL_ENUM(0x8252,GL_LOSE_CONTEXT_ON_RESET_EXT) +GL_ENUM(0x8261,GL_NO_RESET_NOTIFICATION_EXT) +GL_ENUM(0x8C42,GL_SRGB_ALPHA_EXT) +GL_ENUM(0x83F0,GL_COMPRESSED_RGB_S3TC_DXT1_EXT) +GL_ENUM(0x83F1,GL_COMPRESSED_RGBA_S3TC_DXT1_EXT) +GL_ENUM(0x84FE,GL_TEXTURE_MAX_ANISOTROPY_EXT) +GL_ENUM(0x84FF,GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT) +GL_ENUM(0x8500,GL_TEXTURE_FILTER_CONTROL_EXT) +GL_ENUM(0x8501,GL_TEXTURE_LOD_BIAS_EXT) +GL_ENUM(0x8816,GL_ALPHA32F_EXT) +GL_ENUM(0x8818,GL_LUMINANCE32F_EXT) +GL_ENUM(0x8819,GL_LUMINANCE_ALPHA32F_EXT) +GL_ENUM(0x881C,GL_ALPHA16F_EXT) +GL_ENUM(0x881E,GL_LUMINANCE16F_EXT) +GL_ENUM(0x881F,GL_LUMINANCE_ALPHA16F_EXT) +GL_ENUM(0x9133,GL_RENDERBUFFER_SAMPLES_IMG) +GL_ENUM(0x9134,GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG) +GL_ENUM(0x9135,GL_MAX_SAMPLES_IMG) +GL_ENUM(0x9136,GL_TEXTURE_SAMPLES_IMG) +GL_ENUM(0x8C00,GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG) +GL_ENUM(0x8C01,GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG) +GL_ENUM(0x8C02,GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG) +GL_ENUM(0x8C03,GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG) +GL_ENUM(0x8C04,GL_MODULATE_COLOR_IMG) +GL_ENUM(0x8C05,GL_RECIP_ADD_SIGNED_ALPHA_IMG) +GL_ENUM(0x8C06,GL_TEXTURE_ALPHA_MODULATE_IMG) +GL_ENUM(0x8C07,GL_FACTOR_ALPHA_MODULATE_IMG) +GL_ENUM(0x8C08,GL_FRAGMENT_ALPHA_MODULATE_IMG) +GL_ENUM(0x8C09,GL_ADD_BLEND_IMG) +GL_ENUM(0x84F2,GL_ALL_COMPLETED_NV) +GL_ENUM(0x84F3,GL_FENCE_STATUS_NV) +GL_ENUM(0x84F4,GL_FENCE_CONDITION_NV) +GL_ENUM(0x8BD2,GL_TEXTURE_WIDTH_QCOM) +GL_ENUM(0x8BD3,GL_TEXTURE_HEIGHT_QCOM) +GL_ENUM(0x8BD4,GL_TEXTURE_DEPTH_QCOM) +GL_ENUM(0x8BD5,GL_TEXTURE_INTERNAL_FORMAT_QCOM) +GL_ENUM(0x8BD6,GL_TEXTURE_FORMAT_QCOM) +GL_ENUM(0x8BD7,GL_TEXTURE_TYPE_QCOM) +GL_ENUM(0x8BD8,GL_TEXTURE_IMAGE_VALID_QCOM) +GL_ENUM(0x8BD9,GL_TEXTURE_NUM_LEVELS_QCOM) +GL_ENUM(0x8BDA,GL_TEXTURE_TARGET_QCOM) +GL_ENUM(0x8BDB,GL_TEXTURE_OBJECT_VALID_QCOM) +GL_ENUM(0x8BDC,GL_STATE_RESTORE) +GL_ENUM(0x8FA0,GL_PERFMON_GLOBAL_MODE_QCOM) +GL_ENUM(0x8823,GL_WRITEONLY_RENDERING_QCOM) +GL_ENUM(0x9285,GL_BLEND_ADVANCED_COHERENT_KHR) +GL_ENUM(0x9294,GL_MULTIPLY_KHR) +GL_ENUM(0x9295,GL_SCREEN_KHR) +GL_ENUM(0x9296,GL_OVERLAY_KHR) +GL_ENUM(0x9297,GL_DARKEN_KHR) +GL_ENUM(0x9298,GL_LIGHTEN_KHR) +GL_ENUM(0x9299,GL_COLORDODGE_KHR) +GL_ENUM(0x929A,GL_COLORBURN_KHR) +GL_ENUM(0x929B,GL_HARDLIGHT_KHR) +GL_ENUM(0x929C,GL_SOFTLIGHT_KHR) +GL_ENUM(0x929E,GL_DIFFERENCE_KHR) +GL_ENUM(0x92A0,GL_EXCLUSION_KHR) +GL_ENUM(0x92AD,GL_HSL_HUE_KHR) +GL_ENUM(0x92AE,GL_HSL_SATURATION_KHR) +GL_ENUM(0x92AF,GL_HSL_COLOR_KHR) +GL_ENUM(0x92B0,GL_HSL_LUMINOSITY_KHR) +GL_ENUM(0x82E6,GL_SAMPLER) +GL_ENUM(0x8242,GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR) +GL_ENUM(0x8243,GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR) +GL_ENUM(0x8244,GL_DEBUG_CALLBACK_FUNCTION_KHR) +GL_ENUM(0x8245,GL_DEBUG_CALLBACK_USER_PARAM_KHR) +GL_ENUM(0x8246,GL_DEBUG_SOURCE_API_KHR) +GL_ENUM(0x8247,GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR) +GL_ENUM(0x8248,GL_DEBUG_SOURCE_SHADER_COMPILER_KHR) +GL_ENUM(0x8249,GL_DEBUG_SOURCE_THIRD_PARTY_KHR) +GL_ENUM(0x824A,GL_DEBUG_SOURCE_APPLICATION_KHR) +GL_ENUM(0x824B,GL_DEBUG_SOURCE_OTHER_KHR) +GL_ENUM(0x824C,GL_DEBUG_TYPE_ERROR_KHR) +GL_ENUM(0x824D,GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR) +GL_ENUM(0x824E,GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR) +GL_ENUM(0x824F,GL_DEBUG_TYPE_PORTABILITY_KHR) +GL_ENUM(0x8250,GL_DEBUG_TYPE_PERFORMANCE_KHR) +GL_ENUM(0x8251,GL_DEBUG_TYPE_OTHER_KHR) +GL_ENUM(0x8268,GL_DEBUG_TYPE_MARKER_KHR) +GL_ENUM(0x8269,GL_DEBUG_TYPE_PUSH_GROUP_KHR) +GL_ENUM(0x826A,GL_DEBUG_TYPE_POP_GROUP_KHR) +GL_ENUM(0x826B,GL_DEBUG_SEVERITY_NOTIFICATION_KHR) +GL_ENUM(0x826C,GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR) +GL_ENUM(0x826D,GL_DEBUG_GROUP_STACK_DEPTH_KHR) +GL_ENUM(0x82E0,GL_BUFFER_KHR) +GL_ENUM(0x82E1,GL_SHADER_KHR) +GL_ENUM(0x82E2,GL_PROGRAM_KHR) +GL_ENUM(0x82E3,GL_QUERY_KHR) +GL_ENUM(0x82E8,GL_MAX_LABEL_LENGTH_KHR) +GL_ENUM(0x9143,GL_MAX_DEBUG_MESSAGE_LENGTH_KHR) +GL_ENUM(0x9144,GL_MAX_DEBUG_LOGGED_MESSAGES_KHR) +GL_ENUM(0x9145,GL_DEBUG_LOGGED_MESSAGES_KHR) +GL_ENUM(0x9146,GL_DEBUG_SEVERITY_HIGH_KHR) +GL_ENUM(0x9147,GL_DEBUG_SEVERITY_MEDIUM_KHR) +GL_ENUM(0x9148,GL_DEBUG_SEVERITY_LOW_KHR) +GL_ENUM(0x92E0,GL_DEBUG_OUTPUT_KHR) +GL_ENUM(0x93B0,GL_COMPRESSED_RGBA_ASTC_4x4_KHR) +GL_ENUM(0x93B1,GL_COMPRESSED_RGBA_ASTC_5x4_KHR) +GL_ENUM(0x93B2,GL_COMPRESSED_RGBA_ASTC_5x5_KHR) +GL_ENUM(0x93B3,GL_COMPRESSED_RGBA_ASTC_6x5_KHR) +GL_ENUM(0x93B4,GL_COMPRESSED_RGBA_ASTC_6x6_KHR) +GL_ENUM(0x93B5,GL_COMPRESSED_RGBA_ASTC_8x5_KHR) +GL_ENUM(0x93B6,GL_COMPRESSED_RGBA_ASTC_8x6_KHR) +GL_ENUM(0x93B7,GL_COMPRESSED_RGBA_ASTC_8x8_KHR) +GL_ENUM(0x93B8,GL_COMPRESSED_RGBA_ASTC_10x5_KHR) +GL_ENUM(0x93B9,GL_COMPRESSED_RGBA_ASTC_10x6_KHR) +GL_ENUM(0x93BA,GL_COMPRESSED_RGBA_ASTC_10x8_KHR) +GL_ENUM(0x93BB,GL_COMPRESSED_RGBA_ASTC_10x10_KHR) +GL_ENUM(0x93BC,GL_COMPRESSED_RGBA_ASTC_12x10_KHR) +GL_ENUM(0x93BD,GL_COMPRESSED_RGBA_ASTC_12x12_KHR) +GL_ENUM(0x93D0,GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR) +GL_ENUM(0x93D1,GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR) +GL_ENUM(0x93D2,GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR) +GL_ENUM(0x93D3,GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR) +GL_ENUM(0x93D4,GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR) +GL_ENUM(0x93D5,GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR) +GL_ENUM(0x93D6,GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR) +GL_ENUM(0x93D7,GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR) +GL_ENUM(0x93D8,GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR) +GL_ENUM(0x93D9,GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR) +GL_ENUM(0x93DA,GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR) +GL_ENUM(0x93DB,GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR) +GL_ENUM(0x93DC,GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR) +GL_ENUM(0x93DD,GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR) +GL_ENUM(0x8D66,GL_SAMPLER_EXTERNAL_OES) +GL_ENUM(0x8C36,GL_SAMPLE_SHADING_OES) +GL_ENUM(0x8C37,GL_MIN_SAMPLE_SHADING_VALUE_OES) +GL_ENUM(0x8E5B,GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_OES) +GL_ENUM(0x8E5C,GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_OES) +GL_ENUM(0x8E5D,GL_FRAGMENT_INTERPOLATION_OFFSET_BITS_OES) +GL_ENUM(0x93C0,GL_COMPRESSED_RGBA_ASTC_3x3x3_OES) +GL_ENUM(0x93C1,GL_COMPRESSED_RGBA_ASTC_4x3x3_OES) +GL_ENUM(0x93C2,GL_COMPRESSED_RGBA_ASTC_4x4x3_OES) +GL_ENUM(0x93C3,GL_COMPRESSED_RGBA_ASTC_4x4x4_OES) +GL_ENUM(0x93C4,GL_COMPRESSED_RGBA_ASTC_5x4x4_OES) +GL_ENUM(0x93C5,GL_COMPRESSED_RGBA_ASTC_5x5x4_OES) +GL_ENUM(0x93C6,GL_COMPRESSED_RGBA_ASTC_5x5x5_OES) +GL_ENUM(0x93C7,GL_COMPRESSED_RGBA_ASTC_6x5x5_OES) +GL_ENUM(0x93C8,GL_COMPRESSED_RGBA_ASTC_6x6x5_OES) +GL_ENUM(0x93C9,GL_COMPRESSED_RGBA_ASTC_6x6x6_OES) +GL_ENUM(0x93E0,GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES) +GL_ENUM(0x93E1,GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES) +GL_ENUM(0x93E2,GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES) +GL_ENUM(0x93E3,GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES) +GL_ENUM(0x93E4,GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES) +GL_ENUM(0x93E5,GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES) +GL_ENUM(0x93E6,GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES) +GL_ENUM(0x93E7,GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES) +GL_ENUM(0x93E8,GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES) +GL_ENUM(0x93E9,GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES) +GL_ENUM(0x8D61,GL_HALF_FLOAT_OES) +GL_ENUM(0x1901,GL_STENCIL_INDEX_OES) +GL_ENUM(0x9102,GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES) +GL_ENUM(0x9105,GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY_OES) +GL_ENUM(0x910B,GL_SAMPLER_2D_MULTISAMPLE_ARRAY_OES) +GL_ENUM(0x910C,GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES) +GL_ENUM(0x910D,GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES) +GL_ENUM(0x8DF6,GL_UNSIGNED_INT_10_10_10_2_OES) +GL_ENUM(0x8DF7,GL_INT_10_10_10_2_OES) +GL_ENUM(0x8BC0,GL_COUNTER_TYPE_AMD) +GL_ENUM(0x8BC1,GL_COUNTER_RANGE_AMD) +GL_ENUM(0x8BC2,GL_UNSIGNED_INT64_AMD) +GL_ENUM(0x8BC3,GL_PERCENTAGE_AMD) +GL_ENUM(0x8BC4,GL_PERFMON_RESULT_AVAILABLE_AMD) +GL_ENUM(0x8BC5,GL_PERFMON_RESULT_SIZE_AMD) +GL_ENUM(0x8BC6,GL_PERFMON_RESULT_AMD) +GL_ENUM(0x8740,GL_Z400_BINARY_AMD) +GL_ENUM(0x93A4,GL_PACK_REVERSE_ROW_ORDER_ANGLE) +GL_ENUM(0x93A6,GL_PROGRAM_BINARY_ANGLE) +GL_ENUM(0x83F2,GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE) +GL_ENUM(0x83F3,GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE) +GL_ENUM(0x93A2,GL_TEXTURE_USAGE_ANGLE) +GL_ENUM(0x93A3,GL_FRAMEBUFFER_ATTACHMENT_ANGLE) +GL_ENUM(0x93A0,GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE) +GL_ENUM(0x8A1F,GL_RGB_422_APPLE) +GL_ENUM(0x85BA,GL_UNSIGNED_SHORT_8_8_APPLE) +GL_ENUM(0x85BB,GL_UNSIGNED_SHORT_8_8_REV_APPLE) +GL_ENUM(0x8A51,GL_RGB_RAW_422_APPLE) +GL_ENUM(0x8F61,GL_MALI_PROGRAM_BINARY_ARM) +GL_ENUM(0x8F60,GL_MALI_SHADER_BINARY_ARM) +GL_ENUM(0x8F65,GL_FETCH_PER_SAMPLE_ARM) +GL_ENUM(0x8F66,GL_FRAGMENT_SHADER_FRAMEBUFFER_FETCH_MRT_ARM) +GL_ENUM(0x9250,GL_SHADER_BINARY_DMP) +GL_ENUM(0x8A4F,GL_PROGRAM_PIPELINE_OBJECT_EXT) +GL_ENUM(0x8B40,GL_PROGRAM_OBJECT_EXT) +GL_ENUM(0x8B48,GL_SHADER_OBJECT_EXT) +GL_ENUM(0x9151,GL_BUFFER_OBJECT_EXT) +GL_ENUM(0x9153,GL_QUERY_OBJECT_EXT) +GL_ENUM(0x9154,GL_VERTEX_ARRAY_OBJECT_EXT) +GL_ENUM(0x8864,GL_QUERY_COUNTER_BITS_EXT) +GL_ENUM(0x88BF,GL_TIME_ELAPSED_EXT) +GL_ENUM(0x8E28,GL_TIMESTAMP_EXT) +GL_ENUM(0x8FBB,GL_GPU_DISJOINT_EXT) +GL_ENUM(0x90F0,GL_COLOR_ATTACHMENT_EXT) +GL_ENUM(0x90F1,GL_MULTIVIEW_EXT) +GL_ENUM(0x0C01,GL_DRAW_BUFFER_EXT) +GL_ENUM(0x90F2,GL_MAX_MULTIVIEW_BUFFERS_EXT) +GL_ENUM(0x8A54,GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT) +GL_ENUM(0x8A55,GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT) +GL_ENUM(0x8A56,GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT) +GL_ENUM(0x8A57,GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT) +GL_ENUM(0x8DB9,GL_FRAMEBUFFER_SRGB_EXT) +GL_ENUM(0x8259,GL_ACTIVE_PROGRAM_EXT) GL_ENUM(0xFFFFFFFF,GL_ALL_SHADER_BITS_EXT) -GL_ENUM(0xFFFFFFFFFFFFFFFFull,GL_TIMEOUT_IGNORED) -GL_ENUM(0xFFFFFFFFu,GL_INVALID_INDEX) +GL_ENUM(0x8258,GL_PROGRAM_SEPARABLE_EXT) +GL_ENUM(0x825A,GL_PROGRAM_PIPELINE_BINDING_EXT) +GL_ENUM(0x8A52,GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT) +GL_ENUM(0x8F63,GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_FAST_SIZE_EXT) +GL_ENUM(0x8F67,GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_SIZE_EXT) +GL_ENUM(0x8F64,GL_SHADER_PIXEL_LOCAL_STORAGE_EXT) +GL_ENUM(0x8A48,GL_TEXTURE_SRGB_DECODE_EXT) +GL_ENUM(0x8A49,GL_DECODE_EXT) +GL_ENUM(0x8A4A,GL_SKIP_DECODE_EXT) +GL_ENUM(0x9260,GL_GCCSO_SHADER_BINARY_FJ) +GL_ENUM(0x9130,GL_SGX_PROGRAM_BINARY_IMG) +GL_ENUM(0x8C0A,GL_SGX_BINARY_IMG) +GL_ENUM(0x9137,GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG) +GL_ENUM(0x9138,GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG) +GL_ENUM(0x00000000,GL_PERFQUERY_SINGLE_CONTEXT_INTEL) +GL_ENUM(0x00000001,GL_PERFQUERY_GLOBAL_CONTEXT_INTEL) +GL_ENUM(0x83FB,GL_PERFQUERY_WAIT_INTEL) +GL_ENUM(0x83FA,GL_PERFQUERY_FLUSH_INTEL) +GL_ENUM(0x83F9,GL_PERFQUERY_DONOT_FLUSH_INTEL) +GL_ENUM(0x94F0,GL_PERFQUERY_COUNTER_EVENT_INTEL) +GL_ENUM(0x94F1,GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL) +GL_ENUM(0x94F2,GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL) +GL_ENUM(0x94F3,GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL) +GL_ENUM(0x94F4,GL_PERFQUERY_COUNTER_RAW_INTEL) +GL_ENUM(0x94F5,GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL) +GL_ENUM(0x94F8,GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL) +GL_ENUM(0x94F9,GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL) +GL_ENUM(0x94FA,GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL) +GL_ENUM(0x94FB,GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL) +GL_ENUM(0x94FC,GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL) +GL_ENUM(0x94FD,GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL) +GL_ENUM(0x94FE,GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL) +GL_ENUM(0x94FF,GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL) +GL_ENUM(0x9500,GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL) +GL_ENUM(0x9281,GL_BLEND_OVERLAP_NV) +GL_ENUM(0x9280,GL_BLEND_PREMULTIPLIED_SRC_NV) +GL_ENUM(0x9284,GL_CONJOINT_NV) +GL_ENUM(0x92A1,GL_CONTRAST_NV) +GL_ENUM(0x9283,GL_DISJOINT_NV) +GL_ENUM(0x928F,GL_DST_ATOP_NV) +GL_ENUM(0x928B,GL_DST_IN_NV) +GL_ENUM(0x9287,GL_DST_NV) +GL_ENUM(0x928D,GL_DST_OUT_NV) +GL_ENUM(0x9289,GL_DST_OVER_NV) +GL_ENUM(0x92A9,GL_HARDMIX_NV) +GL_ENUM(0x92B4,GL_INVERT_OVG_NV) +GL_ENUM(0x92A3,GL_INVERT_RGB_NV) +GL_ENUM(0x92A5,GL_LINEARBURN_NV) +GL_ENUM(0x92A4,GL_LINEARDODGE_NV) +GL_ENUM(0x92A7,GL_LINEARLIGHT_NV) +GL_ENUM(0x92B3,GL_MINUS_CLAMPED_NV) +GL_ENUM(0x929F,GL_MINUS_NV) +GL_ENUM(0x92A8,GL_PINLIGHT_NV) +GL_ENUM(0x92B2,GL_PLUS_CLAMPED_ALPHA_NV) +GL_ENUM(0x92B1,GL_PLUS_CLAMPED_NV) +GL_ENUM(0x9292,GL_PLUS_DARKER_NV) +GL_ENUM(0x9291,GL_PLUS_NV) +GL_ENUM(0x928E,GL_SRC_ATOP_NV) +GL_ENUM(0x928A,GL_SRC_IN_NV) +GL_ENUM(0x9286,GL_SRC_NV) +GL_ENUM(0x928C,GL_SRC_OUT_NV) +GL_ENUM(0x9288,GL_SRC_OVER_NV) +GL_ENUM(0x9282,GL_UNCORRELATED_NV) +GL_ENUM(0x92A6,GL_VIVIDLIGHT_NV) +GL_ENUM(0x8ED0,GL_COVERAGE_COMPONENT_NV) +GL_ENUM(0x8ED1,GL_COVERAGE_COMPONENT4_NV) +GL_ENUM(0x8ED2,GL_COVERAGE_ATTACHMENT_NV) +GL_ENUM(0x8ED3,GL_COVERAGE_BUFFERS_NV) +GL_ENUM(0x8ED4,GL_COVERAGE_SAMPLES_NV) +GL_ENUM(0x8ED5,GL_COVERAGE_ALL_FRAGMENTS_NV) +GL_ENUM(0x8ED6,GL_COVERAGE_EDGE_FRAGMENTS_NV) +GL_ENUM(0x8ED7,GL_COVERAGE_AUTOMATIC_NV) +GL_ENUM(0x8E2C,GL_DEPTH_COMPONENT16_NONLINEAR_NV) +GL_ENUM(0x8C46,GL_SLUMINANCE_NV) +GL_ENUM(0x8C44,GL_SLUMINANCE_ALPHA_NV) +GL_ENUM(0x8C47,GL_SLUMINANCE8_NV) +GL_ENUM(0x8C45,GL_SLUMINANCE8_ALPHA8_NV) +GL_ENUM(0x8C4C,GL_COMPRESSED_SRGB_S3TC_DXT1_NV) +GL_ENUM(0x8C4D,GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV) +GL_ENUM(0x8C4E,GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV) +GL_ENUM(0x8C4F,GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV) +GL_ENUM(0x88EE,GL_ETC1_SRGB8_NV) +GL_ENUM(0x1004,GL_TEXTURE_BORDER_COLOR_NV) +GL_ENUM(0x812D,GL_CLAMP_TO_BORDER_NV) +GL_ENUM(0x8FB0,GL_BINNING_CONTROL_HINT_QCOM) +GL_ENUM(0x8FB1,GL_CPU_OPTIMIZED_QCOM) +GL_ENUM(0x8FB2,GL_GPU_OPTIMIZED_QCOM) +GL_ENUM(0x8FB3,GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM) +GL_ENUM(0x8FC4,GL_SHADER_BINARY_VIV) diff --git a/opengl/libs/trace.in b/opengl/libs/trace.in index 188d81b3c..2897d3d5c 100644 --- a/opengl/libs/trace.in +++ b/opengl/libs/trace.in @@ -1,15 +1,16 @@ TRACE_GL_VOID(glActiveShaderProgramEXT, (GLuint pipeline, GLuint program), (pipeline, program), 2, "GLuint", pipeline, "GLuint", program) TRACE_GL_VOID(glActiveTexture, (GLenum texture), (texture), 1, "GLenum", texture) -TRACE_GL_VOID(glAlphaFunc, (GLenum func, GLclampf ref), (func, ref), 2, "GLenum", func, "GLclampf", ref) +TRACE_GL_VOID(glAlphaFunc, (GLenum func, GLfloat ref), (func, ref), 2, "GLenum", func, "GLfloat", ref) TRACE_GL_VOID(glAlphaFuncQCOM, (GLenum func, GLclampf ref), (func, ref), 2, "GLenum", func, "GLclampf", ref) -TRACE_GL_VOID(glAlphaFuncx, (GLenum func, GLclampx ref), (func, ref), 2, "GLenum", func, "GLclampx", ref) -TRACE_GL_VOID(glAlphaFuncxOES, (GLenum func, GLclampx ref), (func, ref), 2, "GLenum", func, "GLclampx", ref) +TRACE_GL_VOID(glAlphaFuncx, (GLenum func, GLfixed ref), (func, ref), 2, "GLenum", func, "GLfixed", ref) +TRACE_GL_VOID(glAlphaFuncxOES, (GLenum func, GLfixed ref), (func, ref), 2, "GLenum", func, "GLfixed", ref) TRACE_GL_VOID(glAttachShader, (GLuint program, GLuint shader), (program, shader), 2, "GLuint", program, "GLuint", shader) TRACE_GL_VOID(glBeginPerfMonitorAMD, (GLuint monitor), (monitor), 1, "GLuint", monitor) +TRACE_GL_VOID(glBeginPerfQueryINTEL, (GLuint queryHandle), (queryHandle), 1, "GLuint", queryHandle) TRACE_GL_VOID(glBeginQuery, (GLenum target, GLuint id), (target, id), 2, "GLenum", target, "GLuint", id) TRACE_GL_VOID(glBeginQueryEXT, (GLenum target, GLuint id), (target, id), 2, "GLenum", target, "GLuint", id) TRACE_GL_VOID(glBeginTransformFeedback, (GLenum primitiveMode), (primitiveMode), 1, "GLenum", primitiveMode) -TRACE_GL_VOID(glBindAttribLocation, (GLuint program, GLuint index, const GLchar* name), (program, index, name), 3, "GLuint", program, "GLuint", index, "const GLchar*", name) +TRACE_GL_VOID(glBindAttribLocation, (GLuint program, GLuint index, const GLchar * name), (program, index, name), 3, "GLuint", program, "GLuint", index, "const GLchar *", name) TRACE_GL_VOID(glBindBuffer, (GLenum target, GLuint buffer), (target, buffer), 2, "GLenum", target, "GLuint", buffer) TRACE_GL_VOID(glBindBufferBase, (GLenum target, GLuint index, GLuint buffer), (target, index, buffer), 3, "GLenum", target, "GLuint", index, "GLuint", buffer) TRACE_GL_VOID(glBindBufferRange, (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size), (target, index, buffer, offset, size), 5, "GLenum", target, "GLuint", index, "GLuint", buffer, "GLintptr", offset, "GLsizeiptr", size) @@ -23,111 +24,132 @@ TRACE_GL_VOID(glBindTexture, (GLenum target, GLuint texture), (target, texture), TRACE_GL_VOID(glBindTransformFeedback, (GLenum target, GLuint id), (target, id), 2, "GLenum", target, "GLuint", id) TRACE_GL_VOID(glBindVertexArray, (GLuint array), (array), 1, "GLuint", array) TRACE_GL_VOID(glBindVertexArrayOES, (GLuint array), (array), 1, "GLuint", array) -TRACE_GL_VOID(glBlendColor, (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha), (red, green, blue, alpha), 4, "GLclampf", red, "GLclampf", green, "GLclampf", blue, "GLclampf", alpha) -TRACE_GL_VOID(glBlendEquation, ( GLenum mode ), (mode), 1, "GLenum", mode) +TRACE_GL_VOID(glBlendBarrierKHR, (void), (), 0) +TRACE_GL_VOID(glBlendBarrierNV, (void), (), 0) +TRACE_GL_VOID(glBlendColor, (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha), (red, green, blue, alpha), 4, "GLfloat", red, "GLfloat", green, "GLfloat", blue, "GLfloat", alpha) +TRACE_GL_VOID(glBlendEquation, (GLenum mode), (mode), 1, "GLenum", mode) TRACE_GL_VOID(glBlendEquationOES, (GLenum mode), (mode), 1, "GLenum", mode) TRACE_GL_VOID(glBlendEquationSeparate, (GLenum modeRGB, GLenum modeAlpha), (modeRGB, modeAlpha), 2, "GLenum", modeRGB, "GLenum", modeAlpha) TRACE_GL_VOID(glBlendEquationSeparateOES, (GLenum modeRGB, GLenum modeAlpha), (modeRGB, modeAlpha), 2, "GLenum", modeRGB, "GLenum", modeAlpha) TRACE_GL_VOID(glBlendFunc, (GLenum sfactor, GLenum dfactor), (sfactor, dfactor), 2, "GLenum", sfactor, "GLenum", dfactor) -TRACE_GL_VOID(glBlendFuncSeparate, (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha), (srcRGB, dstRGB, srcAlpha, dstAlpha), 4, "GLenum", srcRGB, "GLenum", dstRGB, "GLenum", srcAlpha, "GLenum", dstAlpha) +TRACE_GL_VOID(glBlendFuncSeparate, (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha), (sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha), 4, "GLenum", sfactorRGB, "GLenum", dfactorRGB, "GLenum", sfactorAlpha, "GLenum", dfactorAlpha) TRACE_GL_VOID(glBlendFuncSeparateOES, (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha), (srcRGB, dstRGB, srcAlpha, dstAlpha), 4, "GLenum", srcRGB, "GLenum", dstRGB, "GLenum", srcAlpha, "GLenum", dstAlpha) +TRACE_GL_VOID(glBlendParameteriNV, (GLenum pname, GLint value), (pname, value), 2, "GLenum", pname, "GLint", value) TRACE_GL_VOID(glBlitFramebuffer, (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter), (srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter), 10, "GLint", srcX0, "GLint", srcY0, "GLint", srcX1, "GLint", srcY1, "GLint", dstX0, "GLint", dstY0, "GLint", dstX1, "GLint", dstY1, "GLbitfield", mask, "GLenum", filter) TRACE_GL_VOID(glBlitFramebufferANGLE, (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter), (srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter), 10, "GLint", srcX0, "GLint", srcY0, "GLint", srcX1, "GLint", srcY1, "GLint", dstX0, "GLint", dstY0, "GLint", dstX1, "GLint", dstY1, "GLbitfield", mask, "GLenum", filter) -TRACE_GL_VOID(glBufferData, (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage), (target, size, data, usage), 4, "GLenum", target, "GLsizeiptr", size, "const GLvoid *", data, "GLenum", usage) -TRACE_GL_VOID(glBufferSubData, (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data), (target, offset, size, data), 4, "GLenum", target, "GLintptr", offset, "GLsizeiptr", size, "const GLvoid *", data) +TRACE_GL_VOID(glBlitFramebufferNV, (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter), (srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter), 10, "GLint", srcX0, "GLint", srcY0, "GLint", srcX1, "GLint", srcY1, "GLint", dstX0, "GLint", dstY0, "GLint", dstX1, "GLint", dstY1, "GLbitfield", mask, "GLenum", filter) +TRACE_GL_VOID(glBufferData, (GLenum target, GLsizeiptr size, const void * data, GLenum usage), (target, size, data, usage), 4, "GLenum", target, "GLsizeiptr", size, "const void *", data, "GLenum", usage) +TRACE_GL_VOID(glBufferSubData, (GLenum target, GLintptr offset, GLsizeiptr size, const void * data), (target, offset, size, data), 4, "GLenum", target, "GLintptr", offset, "GLsizeiptr", size, "const void *", data) TRACE_GL(GLenum, glCheckFramebufferStatus, (GLenum target), (target), 1, "GLenum", target) TRACE_GL(GLenum, glCheckFramebufferStatusOES, (GLenum target), (target), 1, "GLenum", target) TRACE_GL_VOID(glClear, (GLbitfield mask), (mask), 1, "GLbitfield", mask) TRACE_GL_VOID(glClearBufferfi, (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil), (buffer, drawbuffer, depth, stencil), 4, "GLenum", buffer, "GLint", drawbuffer, "GLfloat", depth, "GLint", stencil) -TRACE_GL_VOID(glClearBufferfv, (GLenum buffer, GLint drawbuffer, const GLfloat* value), (buffer, drawbuffer, value), 3, "GLenum", buffer, "GLint", drawbuffer, "const GLfloat*", value) -TRACE_GL_VOID(glClearBufferiv, (GLenum buffer, GLint drawbuffer, const GLint* value), (buffer, drawbuffer, value), 3, "GLenum", buffer, "GLint", drawbuffer, "const GLint*", value) -TRACE_GL_VOID(glClearBufferuiv, (GLenum buffer, GLint drawbuffer, const GLuint* value), (buffer, drawbuffer, value), 3, "GLenum", buffer, "GLint", drawbuffer, "const GLuint*", value) -TRACE_GL_VOID(glClearColor, (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha), (red, green, blue, alpha), 4, "GLclampf", red, "GLclampf", green, "GLclampf", blue, "GLclampf", alpha) -TRACE_GL_VOID(glClearColorx, (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha), (red, green, blue, alpha), 4, "GLclampx", red, "GLclampx", green, "GLclampx", blue, "GLclampx", alpha) -TRACE_GL_VOID(glClearColorxOES, (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha), (red, green, blue, alpha), 4, "GLclampx", red, "GLclampx", green, "GLclampx", blue, "GLclampx", alpha) -TRACE_GL_VOID(glClearDepthf, (GLclampf depth), (depth), 1, "GLclampf", depth) +TRACE_GL_VOID(glClearBufferfv, (GLenum buffer, GLint drawbuffer, const GLfloat * value), (buffer, drawbuffer, value), 3, "GLenum", buffer, "GLint", drawbuffer, "const GLfloat *", value) +TRACE_GL_VOID(glClearBufferiv, (GLenum buffer, GLint drawbuffer, const GLint * value), (buffer, drawbuffer, value), 3, "GLenum", buffer, "GLint", drawbuffer, "const GLint *", value) +TRACE_GL_VOID(glClearBufferuiv, (GLenum buffer, GLint drawbuffer, const GLuint * value), (buffer, drawbuffer, value), 3, "GLenum", buffer, "GLint", drawbuffer, "const GLuint *", value) +TRACE_GL_VOID(glClearColor, (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha), (red, green, blue, alpha), 4, "GLfloat", red, "GLfloat", green, "GLfloat", blue, "GLfloat", alpha) +TRACE_GL_VOID(glClearColorx, (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha), (red, green, blue, alpha), 4, "GLfixed", red, "GLfixed", green, "GLfixed", blue, "GLfixed", alpha) +TRACE_GL_VOID(glClearColorxOES, (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha), (red, green, blue, alpha), 4, "GLfixed", red, "GLfixed", green, "GLfixed", blue, "GLfixed", alpha) +TRACE_GL_VOID(glClearDepthf, (GLfloat d), (d), 1, "GLfloat", d) TRACE_GL_VOID(glClearDepthfOES, (GLclampf depth), (depth), 1, "GLclampf", depth) -TRACE_GL_VOID(glClearDepthx, (GLclampx depth), (depth), 1, "GLclampx", depth) -TRACE_GL_VOID(glClearDepthxOES, (GLclampx depth), (depth), 1, "GLclampx", depth) +TRACE_GL_VOID(glClearDepthx, (GLfixed depth), (depth), 1, "GLfixed", depth) +TRACE_GL_VOID(glClearDepthxOES, (GLfixed depth), (depth), 1, "GLfixed", depth) TRACE_GL_VOID(glClearStencil, (GLint s), (s), 1, "GLint", s) TRACE_GL_VOID(glClientActiveTexture, (GLenum texture), (texture), 1, "GLenum", texture) TRACE_GL(GLenum, glClientWaitSync, (GLsync sync, GLbitfield flags, GLuint64 timeout), (sync, flags, timeout), 3, "GLsync", sync, "GLbitfield", flags, "GLuint64", timeout) -TRACE_GL_VOID(glClipPlanef, (GLenum plane, const GLfloat *equation), (plane, equation), 2, "GLenum", plane, "const GLfloat *", equation) -TRACE_GL_VOID(glClipPlanefIMG, (GLenum p, const GLfloat *eqn), (p, eqn), 2, "GLenum", p, "const GLfloat *", eqn) -TRACE_GL_VOID(glClipPlanefOES, (GLenum plane, const GLfloat *equation), (plane, equation), 2, "GLenum", plane, "const GLfloat *", equation) -TRACE_GL_VOID(glClipPlanex, (GLenum plane, const GLfixed *equation), (plane, equation), 2, "GLenum", plane, "const GLfixed *", equation) -TRACE_GL_VOID(glClipPlanexIMG, (GLenum p, const GLfixed *eqn), (p, eqn), 2, "GLenum", p, "const GLfixed *", eqn) -TRACE_GL_VOID(glClipPlanexOES, (GLenum plane, const GLfixed *equation), (plane, equation), 2, "GLenum", plane, "const GLfixed *", equation) +TRACE_GL(GLenum, glClientWaitSyncAPPLE, (GLsync sync, GLbitfield flags, GLuint64 timeout), (sync, flags, timeout), 3, "GLsync", sync, "GLbitfield", flags, "GLuint64", timeout) +TRACE_GL_VOID(glClipPlanef, (GLenum p, const GLfloat * eqn), (p, eqn), 2, "GLenum", p, "const GLfloat *", eqn) +TRACE_GL_VOID(glClipPlanefIMG, (GLenum p, const GLfloat * eqn), (p, eqn), 2, "GLenum", p, "const GLfloat *", eqn) +TRACE_GL_VOID(glClipPlanefOES, (GLenum plane, const GLfloat * equation), (plane, equation), 2, "GLenum", plane, "const GLfloat *", equation) +TRACE_GL_VOID(glClipPlanex, (GLenum plane, const GLfixed * equation), (plane, equation), 2, "GLenum", plane, "const GLfixed *", equation) +TRACE_GL_VOID(glClipPlanexIMG, (GLenum p, const GLfixed * eqn), (p, eqn), 2, "GLenum", p, "const GLfixed *", eqn) +TRACE_GL_VOID(glClipPlanexOES, (GLenum plane, const GLfixed * equation), (plane, equation), 2, "GLenum", plane, "const GLfixed *", equation) TRACE_GL_VOID(glColor4f, (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha), (red, green, blue, alpha), 4, "GLfloat", red, "GLfloat", green, "GLfloat", blue, "GLfloat", alpha) TRACE_GL_VOID(glColor4ub, (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha), (red, green, blue, alpha), 4, "GLubyte", red, "GLubyte", green, "GLubyte", blue, "GLubyte", alpha) TRACE_GL_VOID(glColor4x, (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha), (red, green, blue, alpha), 4, "GLfixed", red, "GLfixed", green, "GLfixed", blue, "GLfixed", alpha) TRACE_GL_VOID(glColor4xOES, (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha), (red, green, blue, alpha), 4, "GLfixed", red, "GLfixed", green, "GLfixed", blue, "GLfixed", alpha) TRACE_GL_VOID(glColorMask, (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha), (red, green, blue, alpha), 4, "GLboolean", red, "GLboolean", green, "GLboolean", blue, "GLboolean", alpha) -TRACE_GL_VOID(glColorPointer, (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer), (size, type, stride, pointer), 4, "GLint", size, "GLenum", type, "GLsizei", stride, "const GLvoid *", pointer) +TRACE_GL_VOID(glColorPointer, (GLint size, GLenum type, GLsizei stride, const void * pointer), (size, type, stride, pointer), 4, "GLint", size, "GLenum", type, "GLsizei", stride, "const void *", pointer) TRACE_GL_VOID(glCompileShader, (GLuint shader), (shader), 1, "GLuint", shader) -TRACE_GL_VOID(glCompressedTexImage2D, (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data), (target, level, internalformat, width, height, border, imageSize, data), 8, "GLenum", target, "GLint", level, "GLenum", internalformat, "GLsizei", width, "GLsizei", height, "GLint", border, "GLsizei", imageSize, "const GLvoid *", data) -TRACE_GL_VOID(glCompressedTexImage3D, (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data), (target, level, internalformat, width, height, depth, border, imageSize, data), 9, "GLenum", target, "GLint", level, "GLenum", internalformat, "GLsizei", width, "GLsizei", height, "GLsizei", depth, "GLint", border, "GLsizei", imageSize, "const GLvoid*", data) -TRACE_GL_VOID(glCompressedTexImage3DOES, (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data), (target, level, internalformat, width, height, depth, border, imageSize, data), 9, "GLenum", target, "GLint", level, "GLenum", internalformat, "GLsizei", width, "GLsizei", height, "GLsizei", depth, "GLint", border, "GLsizei", imageSize, "const GLvoid*", data) -TRACE_GL_VOID(glCompressedTexSubImage2D, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data), (target, level, xoffset, yoffset, width, height, format, imageSize, data), 9, "GLenum", target, "GLint", level, "GLint", xoffset, "GLint", yoffset, "GLsizei", width, "GLsizei", height, "GLenum", format, "GLsizei", imageSize, "const GLvoid *", data) -TRACE_GL_VOID(glCompressedTexSubImage3D, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data), (target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data), 11, "GLenum", target, "GLint", level, "GLint", xoffset, "GLint", yoffset, "GLint", zoffset, "GLsizei", width, "GLsizei", height, "GLsizei", depth, "GLenum", format, "GLsizei", imageSize, "const GLvoid*", data) -TRACE_GL_VOID(glCompressedTexSubImage3DOES, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data), (target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data), 11, "GLenum", target, "GLint", level, "GLint", xoffset, "GLint", yoffset, "GLint", zoffset, "GLsizei", width, "GLsizei", height, "GLsizei", depth, "GLenum", format, "GLsizei", imageSize, "const GLvoid*", data) +TRACE_GL_VOID(glCompressedTexImage2D, (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * data), (target, level, internalformat, width, height, border, imageSize, data), 8, "GLenum", target, "GLint", level, "GLenum", internalformat, "GLsizei", width, "GLsizei", height, "GLint", border, "GLsizei", imageSize, "const void *", data) +TRACE_GL_VOID(glCompressedTexImage3D, (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * data), (target, level, internalformat, width, height, depth, border, imageSize, data), 9, "GLenum", target, "GLint", level, "GLenum", internalformat, "GLsizei", width, "GLsizei", height, "GLsizei", depth, "GLint", border, "GLsizei", imageSize, "const void *", data) +TRACE_GL_VOID(glCompressedTexImage3DOES, (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * data), (target, level, internalformat, width, height, depth, border, imageSize, data), 9, "GLenum", target, "GLint", level, "GLenum", internalformat, "GLsizei", width, "GLsizei", height, "GLsizei", depth, "GLint", border, "GLsizei", imageSize, "const void *", data) +TRACE_GL_VOID(glCompressedTexSubImage2D, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * data), (target, level, xoffset, yoffset, width, height, format, imageSize, data), 9, "GLenum", target, "GLint", level, "GLint", xoffset, "GLint", yoffset, "GLsizei", width, "GLsizei", height, "GLenum", format, "GLsizei", imageSize, "const void *", data) +TRACE_GL_VOID(glCompressedTexSubImage3D, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * data), (target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data), 11, "GLenum", target, "GLint", level, "GLint", xoffset, "GLint", yoffset, "GLint", zoffset, "GLsizei", width, "GLsizei", height, "GLsizei", depth, "GLenum", format, "GLsizei", imageSize, "const void *", data) +TRACE_GL_VOID(glCompressedTexSubImage3DOES, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * data), (target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data), 11, "GLenum", target, "GLint", level, "GLint", xoffset, "GLint", yoffset, "GLint", zoffset, "GLsizei", width, "GLsizei", height, "GLsizei", depth, "GLenum", format, "GLsizei", imageSize, "const void *", data) TRACE_GL_VOID(glCopyBufferSubData, (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size), (readTarget, writeTarget, readOffset, writeOffset, size), 5, "GLenum", readTarget, "GLenum", writeTarget, "GLintptr", readOffset, "GLintptr", writeOffset, "GLsizeiptr", size) +TRACE_GL_VOID(glCopyBufferSubDataNV, (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size), (readTarget, writeTarget, readOffset, writeOffset, size), 5, "GLenum", readTarget, "GLenum", writeTarget, "GLintptr", readOffset, "GLintptr", writeOffset, "GLsizeiptr", size) TRACE_GL_VOID(glCopyTexImage2D, (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border), (target, level, internalformat, x, y, width, height, border), 8, "GLenum", target, "GLint", level, "GLenum", internalformat, "GLint", x, "GLint", y, "GLsizei", width, "GLsizei", height, "GLint", border) TRACE_GL_VOID(glCopyTexSubImage2D, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height), (target, level, xoffset, yoffset, x, y, width, height), 8, "GLenum", target, "GLint", level, "GLint", xoffset, "GLint", yoffset, "GLint", x, "GLint", y, "GLsizei", width, "GLsizei", height) TRACE_GL_VOID(glCopyTexSubImage3D, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height), (target, level, xoffset, yoffset, zoffset, x, y, width, height), 9, "GLenum", target, "GLint", level, "GLint", xoffset, "GLint", yoffset, "GLint", zoffset, "GLint", x, "GLint", y, "GLsizei", width, "GLsizei", height) TRACE_GL_VOID(glCopyTexSubImage3DOES, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height), (target, level, xoffset, yoffset, zoffset, x, y, width, height), 9, "GLenum", target, "GLint", level, "GLint", xoffset, "GLint", yoffset, "GLint", zoffset, "GLint", x, "GLint", y, "GLsizei", width, "GLsizei", height) +TRACE_GL_VOID(glCopyTextureLevelsAPPLE, (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount), (destinationTexture, sourceTexture, sourceBaseLevel, sourceLevelCount), 4, "GLuint", destinationTexture, "GLuint", sourceTexture, "GLint", sourceBaseLevel, "GLsizei", sourceLevelCount) TRACE_GL_VOID(glCoverageMaskNV, (GLboolean mask), (mask), 1, "GLboolean", mask) TRACE_GL_VOID(glCoverageOperationNV, (GLenum operation), (operation), 1, "GLenum", operation) +TRACE_GL_VOID(glCreatePerfQueryINTEL, (GLuint queryId, GLuint * queryHandle), (queryId, queryHandle), 2, "GLuint", queryId, "GLuint *", queryHandle) TRACE_GL(GLuint, glCreateProgram, (void), (), 0) TRACE_GL(GLuint, glCreateShader, (GLenum type), (type), 1, "GLenum", type) -TRACE_GL(GLuint, glCreateShaderProgramvEXT, (GLenum type, GLsizei count, const GLchar **strings), (type, count, strings), 3, "GLenum", type, "GLsizei", count, "const GLchar **", strings) +TRACE_GL(GLuint, glCreateShaderProgramvEXT, (GLenum type, GLsizei count, const GLchar ** strings), (type, count, strings), 3, "GLenum", type, "GLsizei", count, "const GLchar **", strings) TRACE_GL_VOID(glCullFace, (GLenum mode), (mode), 1, "GLenum", mode) TRACE_GL_VOID(glCurrentPaletteMatrixOES, (GLuint matrixpaletteindex), (matrixpaletteindex), 1, "GLuint", matrixpaletteindex) -TRACE_GL_VOID(glDeleteBuffers, (GLsizei n, const GLuint *buffers), (n, buffers), 2, "GLsizei", n, "const GLuint *", buffers) -TRACE_GL_VOID(glDeleteFencesNV, (GLsizei n, const GLuint *fences), (n, fences), 2, "GLsizei", n, "const GLuint *", fences) -TRACE_GL_VOID(glDeleteFramebuffers, (GLsizei n, const GLuint* framebuffers), (n, framebuffers), 2, "GLsizei", n, "const GLuint*", framebuffers) -TRACE_GL_VOID(glDeleteFramebuffersOES, (GLsizei n, const GLuint* framebuffers), (n, framebuffers), 2, "GLsizei", n, "const GLuint*", framebuffers) -TRACE_GL_VOID(glDeletePerfMonitorsAMD, (GLsizei n, GLuint *monitors), (n, monitors), 2, "GLsizei", n, "GLuint *", monitors) +TRACE_GL_VOID(glDebugMessageCallbackKHR, (GLDEBUGPROCKHR callback, const void * userParam), (callback, userParam), 2, "GLDEBUGPROCKHR", callback, "const void *", userParam) +TRACE_GL_VOID(glDebugMessageControlKHR, (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled), (source, type, severity, count, ids, enabled), 6, "GLenum", source, "GLenum", type, "GLenum", severity, "GLsizei", count, "const GLuint *", ids, "GLboolean", enabled) +TRACE_GL_VOID(glDebugMessageInsertKHR, (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar * buf), (source, type, id, severity, length, buf), 6, "GLenum", source, "GLenum", type, "GLuint", id, "GLenum", severity, "GLsizei", length, "const GLchar *", buf) +TRACE_GL_VOID(glDeleteBuffers, (GLsizei n, const GLuint * buffers), (n, buffers), 2, "GLsizei", n, "const GLuint *", buffers) +TRACE_GL_VOID(glDeleteFencesNV, (GLsizei n, const GLuint * fences), (n, fences), 2, "GLsizei", n, "const GLuint *", fences) +TRACE_GL_VOID(glDeleteFramebuffers, (GLsizei n, const GLuint * framebuffers), (n, framebuffers), 2, "GLsizei", n, "const GLuint *", framebuffers) +TRACE_GL_VOID(glDeleteFramebuffersOES, (GLsizei n, const GLuint * framebuffers), (n, framebuffers), 2, "GLsizei", n, "const GLuint *", framebuffers) +TRACE_GL_VOID(glDeletePerfMonitorsAMD, (GLsizei n, GLuint * monitors), (n, monitors), 2, "GLsizei", n, "GLuint *", monitors) +TRACE_GL_VOID(glDeletePerfQueryINTEL, (GLuint queryHandle), (queryHandle), 1, "GLuint", queryHandle) TRACE_GL_VOID(glDeleteProgram, (GLuint program), (program), 1, "GLuint", program) -TRACE_GL_VOID(glDeleteProgramPipelinesEXT, (GLsizei n, const GLuint *pipelines), (n, pipelines), 2, "GLsizei", n, "const GLuint *", pipelines) -TRACE_GL_VOID(glDeleteQueries, (GLsizei n, const GLuint* ids), (n, ids), 2, "GLsizei", n, "const GLuint*", ids) -TRACE_GL_VOID(glDeleteQueriesEXT, (GLsizei n, const GLuint *ids), (n, ids), 2, "GLsizei", n, "const GLuint *", ids) -TRACE_GL_VOID(glDeleteRenderbuffers, (GLsizei n, const GLuint* renderbuffers), (n, renderbuffers), 2, "GLsizei", n, "const GLuint*", renderbuffers) -TRACE_GL_VOID(glDeleteRenderbuffersOES, (GLsizei n, const GLuint* renderbuffers), (n, renderbuffers), 2, "GLsizei", n, "const GLuint*", renderbuffers) -TRACE_GL_VOID(glDeleteSamplers, (GLsizei count, const GLuint* samplers), (count, samplers), 2, "GLsizei", count, "const GLuint*", samplers) +TRACE_GL_VOID(glDeleteProgramPipelinesEXT, (GLsizei n, const GLuint * pipelines), (n, pipelines), 2, "GLsizei", n, "const GLuint *", pipelines) +TRACE_GL_VOID(glDeleteQueries, (GLsizei n, const GLuint * ids), (n, ids), 2, "GLsizei", n, "const GLuint *", ids) +TRACE_GL_VOID(glDeleteQueriesEXT, (GLsizei n, const GLuint * ids), (n, ids), 2, "GLsizei", n, "const GLuint *", ids) +TRACE_GL_VOID(glDeleteRenderbuffers, (GLsizei n, const GLuint * renderbuffers), (n, renderbuffers), 2, "GLsizei", n, "const GLuint *", renderbuffers) +TRACE_GL_VOID(glDeleteRenderbuffersOES, (GLsizei n, const GLuint * renderbuffers), (n, renderbuffers), 2, "GLsizei", n, "const GLuint *", renderbuffers) +TRACE_GL_VOID(glDeleteSamplers, (GLsizei count, const GLuint * samplers), (count, samplers), 2, "GLsizei", count, "const GLuint *", samplers) TRACE_GL_VOID(glDeleteShader, (GLuint shader), (shader), 1, "GLuint", shader) TRACE_GL_VOID(glDeleteSync, (GLsync sync), (sync), 1, "GLsync", sync) -TRACE_GL_VOID(glDeleteTextures, (GLsizei n, const GLuint *textures), (n, textures), 2, "GLsizei", n, "const GLuint *", textures) -TRACE_GL_VOID(glDeleteTransformFeedbacks, (GLsizei n, const GLuint* ids), (n, ids), 2, "GLsizei", n, "const GLuint*", ids) -TRACE_GL_VOID(glDeleteVertexArrays, (GLsizei n, const GLuint* arrays), (n, arrays), 2, "GLsizei", n, "const GLuint*", arrays) -TRACE_GL_VOID(glDeleteVertexArraysOES, (GLsizei n, const GLuint *arrays), (n, arrays), 2, "GLsizei", n, "const GLuint *", arrays) +TRACE_GL_VOID(glDeleteSyncAPPLE, (GLsync sync), (sync), 1, "GLsync", sync) +TRACE_GL_VOID(glDeleteTextures, (GLsizei n, const GLuint * textures), (n, textures), 2, "GLsizei", n, "const GLuint *", textures) +TRACE_GL_VOID(glDeleteTransformFeedbacks, (GLsizei n, const GLuint * ids), (n, ids), 2, "GLsizei", n, "const GLuint *", ids) +TRACE_GL_VOID(glDeleteVertexArrays, (GLsizei n, const GLuint * arrays), (n, arrays), 2, "GLsizei", n, "const GLuint *", arrays) +TRACE_GL_VOID(glDeleteVertexArraysOES, (GLsizei n, const GLuint * arrays), (n, arrays), 2, "GLsizei", n, "const GLuint *", arrays) TRACE_GL_VOID(glDepthFunc, (GLenum func), (func), 1, "GLenum", func) TRACE_GL_VOID(glDepthMask, (GLboolean flag), (flag), 1, "GLboolean", flag) -TRACE_GL_VOID(glDepthRangef, (GLclampf zNear, GLclampf zFar), (zNear, zFar), 2, "GLclampf", zNear, "GLclampf", zFar) -TRACE_GL_VOID(glDepthRangefOES, (GLclampf zNear, GLclampf zFar), (zNear, zFar), 2, "GLclampf", zNear, "GLclampf", zFar) -TRACE_GL_VOID(glDepthRangex, (GLclampx zNear, GLclampx zFar), (zNear, zFar), 2, "GLclampx", zNear, "GLclampx", zFar) -TRACE_GL_VOID(glDepthRangexOES, (GLclampx zNear, GLclampx zFar), (zNear, zFar), 2, "GLclampx", zNear, "GLclampx", zFar) +TRACE_GL_VOID(glDepthRangef, (GLfloat n, GLfloat f), (n, f), 2, "GLfloat", n, "GLfloat", f) +TRACE_GL_VOID(glDepthRangefOES, (GLclampf n, GLclampf f), (n, f), 2, "GLclampf", n, "GLclampf", f) +TRACE_GL_VOID(glDepthRangex, (GLfixed n, GLfixed f), (n, f), 2, "GLfixed", n, "GLfixed", f) +TRACE_GL_VOID(glDepthRangexOES, (GLfixed n, GLfixed f), (n, f), 2, "GLfixed", n, "GLfixed", f) TRACE_GL_VOID(glDetachShader, (GLuint program, GLuint shader), (program, shader), 2, "GLuint", program, "GLuint", shader) TRACE_GL_VOID(glDisable, (GLenum cap), (cap), 1, "GLenum", cap) TRACE_GL_VOID(glDisableClientState, (GLenum array), (array), 1, "GLenum", array) TRACE_GL_VOID(glDisableDriverControlQCOM, (GLuint driverControl), (driverControl), 1, "GLuint", driverControl) TRACE_GL_VOID(glDisableVertexAttribArray, (GLuint index), (index), 1, "GLuint", index) -TRACE_GL_VOID(glDiscardFramebufferEXT, (GLenum target, GLsizei numAttachments, const GLenum *attachments), (target, numAttachments, attachments), 3, "GLenum", target, "GLsizei", numAttachments, "const GLenum *", attachments) +TRACE_GL_VOID(glDiscardFramebufferEXT, (GLenum target, GLsizei numAttachments, const GLenum * attachments), (target, numAttachments, attachments), 3, "GLenum", target, "GLsizei", numAttachments, "const GLenum *", attachments) TRACE_GL_VOID(glDrawArrays, (GLenum mode, GLint first, GLsizei count), (mode, first, count), 3, "GLenum", mode, "GLint", first, "GLsizei", count) -TRACE_GL_VOID(glDrawArraysInstanced, (GLenum mode, GLint first, GLsizei count, GLsizei instanceCount), (mode, first, count, instanceCount), 4, "GLenum", mode, "GLint", first, "GLsizei", count, "GLsizei", instanceCount) -TRACE_GL_VOID(glDrawBuffers, (GLsizei n, const GLenum* bufs), (n, bufs), 2, "GLsizei", n, "const GLenum*", bufs) -TRACE_GL_VOID(glDrawBuffersNV, (GLsizei n, const GLenum *bufs), (n, bufs), 2, "GLsizei", n, "const GLenum *", bufs) -TRACE_GL_VOID(glDrawElements, (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices), (mode, count, type, indices), 4, "GLenum", mode, "GLsizei", count, "GLenum", type, "const GLvoid *", indices) -TRACE_GL_VOID(glDrawElementsInstanced, (GLenum mode, GLsizei count, GLenum type, const GLvoid* indices, GLsizei instanceCount), (mode, count, type, indices, instanceCount), 5, "GLenum", mode, "GLsizei", count, "GLenum", type, "const GLvoid*", indices, "GLsizei", instanceCount) -TRACE_GL_VOID(glDrawRangeElements, (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid* indices), (mode, start, end, count, type, indices), 6, "GLenum", mode, "GLuint", start, "GLuint", end, "GLsizei", count, "GLenum", type, "const GLvoid*", indices) +TRACE_GL_VOID(glDrawArraysInstanced, (GLenum mode, GLint first, GLsizei count, GLsizei instancecount), (mode, first, count, instancecount), 4, "GLenum", mode, "GLint", first, "GLsizei", count, "GLsizei", instancecount) +TRACE_GL_VOID(glDrawArraysInstancedANGLE, (GLenum mode, GLint first, GLsizei count, GLsizei primcount), (mode, first, count, primcount), 4, "GLenum", mode, "GLint", first, "GLsizei", count, "GLsizei", primcount) +TRACE_GL_VOID(glDrawArraysInstancedEXT, (GLenum mode, GLint start, GLsizei count, GLsizei primcount), (mode, start, count, primcount), 4, "GLenum", mode, "GLint", start, "GLsizei", count, "GLsizei", primcount) +TRACE_GL_VOID(glDrawArraysInstancedNV, (GLenum mode, GLint first, GLsizei count, GLsizei primcount), (mode, first, count, primcount), 4, "GLenum", mode, "GLint", first, "GLsizei", count, "GLsizei", primcount) +TRACE_GL_VOID(glDrawBuffers, (GLsizei n, const GLenum * bufs), (n, bufs), 2, "GLsizei", n, "const GLenum *", bufs) +TRACE_GL_VOID(glDrawBuffersEXT, (GLsizei n, const GLenum * bufs), (n, bufs), 2, "GLsizei", n, "const GLenum *", bufs) +TRACE_GL_VOID(glDrawBuffersIndexedEXT, (GLint n, const GLenum * location, const GLint * indices), (n, location, indices), 3, "GLint", n, "const GLenum *", location, "const GLint *", indices) +TRACE_GL_VOID(glDrawBuffersNV, (GLsizei n, const GLenum * bufs), (n, bufs), 2, "GLsizei", n, "const GLenum *", bufs) +TRACE_GL_VOID(glDrawElements, (GLenum mode, GLsizei count, GLenum type, const void * indices), (mode, count, type, indices), 4, "GLenum", mode, "GLsizei", count, "GLenum", type, "const void *", indices) +TRACE_GL_VOID(glDrawElementsInstanced, (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount), (mode, count, type, indices, instancecount), 5, "GLenum", mode, "GLsizei", count, "GLenum", type, "const void *", indices, "GLsizei", instancecount) +TRACE_GL_VOID(glDrawElementsInstancedANGLE, (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount), (mode, count, type, indices, primcount), 5, "GLenum", mode, "GLsizei", count, "GLenum", type, "const void *", indices, "GLsizei", primcount) +TRACE_GL_VOID(glDrawElementsInstancedEXT, (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount), (mode, count, type, indices, primcount), 5, "GLenum", mode, "GLsizei", count, "GLenum", type, "const void *", indices, "GLsizei", primcount) +TRACE_GL_VOID(glDrawElementsInstancedNV, (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount), (mode, count, type, indices, primcount), 5, "GLenum", mode, "GLsizei", count, "GLenum", type, "const void *", indices, "GLsizei", primcount) +TRACE_GL_VOID(glDrawRangeElements, (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices), (mode, start, end, count, type, indices), 6, "GLenum", mode, "GLuint", start, "GLuint", end, "GLsizei", count, "GLenum", type, "const void *", indices) TRACE_GL_VOID(glDrawTexfOES, (GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height), (x, y, z, width, height), 5, "GLfloat", x, "GLfloat", y, "GLfloat", z, "GLfloat", width, "GLfloat", height) -TRACE_GL_VOID(glDrawTexfvOES, (const GLfloat *coords), (coords), 1, "const GLfloat *", coords) +TRACE_GL_VOID(glDrawTexfvOES, (const GLfloat * coords), (coords), 1, "const GLfloat *", coords) TRACE_GL_VOID(glDrawTexiOES, (GLint x, GLint y, GLint z, GLint width, GLint height), (x, y, z, width, height), 5, "GLint", x, "GLint", y, "GLint", z, "GLint", width, "GLint", height) -TRACE_GL_VOID(glDrawTexivOES, (const GLint *coords), (coords), 1, "const GLint *", coords) +TRACE_GL_VOID(glDrawTexivOES, (const GLint * coords), (coords), 1, "const GLint *", coords) TRACE_GL_VOID(glDrawTexsOES, (GLshort x, GLshort y, GLshort z, GLshort width, GLshort height), (x, y, z, width, height), 5, "GLshort", x, "GLshort", y, "GLshort", z, "GLshort", width, "GLshort", height) -TRACE_GL_VOID(glDrawTexsvOES, (const GLshort *coords), (coords), 1, "const GLshort *", coords) +TRACE_GL_VOID(glDrawTexsvOES, (const GLshort * coords), (coords), 1, "const GLshort *", coords) TRACE_GL_VOID(glDrawTexxOES, (GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height), (x, y, z, width, height), 5, "GLfixed", x, "GLfixed", y, "GLfixed", z, "GLfixed", width, "GLfixed", height) -TRACE_GL_VOID(glDrawTexxvOES, (const GLfixed *coords), (coords), 1, "const GLfixed *", coords) +TRACE_GL_VOID(glDrawTexxvOES, (const GLfixed * coords), (coords), 1, "const GLfixed *", coords) TRACE_GL_VOID(glEGLImageTargetRenderbufferStorageOES, (GLenum target, GLeglImageOES image), (target, image), 2, "GLenum", target, "GLeglImageOES", image) TRACE_GL_VOID(glEGLImageTargetTexture2DOES, (GLenum target, GLeglImageOES image), (target, image), 2, "GLenum", target, "GLeglImageOES", image) TRACE_GL_VOID(glEnable, (GLenum cap), (cap), 1, "GLenum", cap) @@ -135,33 +157,36 @@ TRACE_GL_VOID(glEnableClientState, (GLenum array), (array), 1, "GLenum", array) TRACE_GL_VOID(glEnableDriverControlQCOM, (GLuint driverControl), (driverControl), 1, "GLuint", driverControl) TRACE_GL_VOID(glEnableVertexAttribArray, (GLuint index), (index), 1, "GLuint", index) TRACE_GL_VOID(glEndPerfMonitorAMD, (GLuint monitor), (monitor), 1, "GLuint", monitor) +TRACE_GL_VOID(glEndPerfQueryINTEL, (GLuint queryHandle), (queryHandle), 1, "GLuint", queryHandle) TRACE_GL_VOID(glEndQuery, (GLenum target), (target), 1, "GLenum", target) TRACE_GL_VOID(glEndQueryEXT, (GLenum target), (target), 1, "GLenum", target) TRACE_GL_VOID(glEndTilingQCOM, (GLbitfield preserveMask), (preserveMask), 1, "GLbitfield", preserveMask) TRACE_GL_VOID(glEndTransformFeedback, (void), (), 0) -TRACE_GL_VOID(glExtGetBufferPointervQCOM, (GLenum target, GLvoid **params), (target, params), 2, "GLenum", target, "GLvoid **", params) -TRACE_GL_VOID(glExtGetBuffersQCOM, (GLuint *buffers, GLint maxBuffers, GLint *numBuffers), (buffers, maxBuffers, numBuffers), 3, "GLuint *", buffers, "GLint", maxBuffers, "GLint *", numBuffers) -TRACE_GL_VOID(glExtGetFramebuffersQCOM, (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers), (framebuffers, maxFramebuffers, numFramebuffers), 3, "GLuint *", framebuffers, "GLint", maxFramebuffers, "GLint *", numFramebuffers) -TRACE_GL_VOID(glExtGetProgramBinarySourceQCOM, (GLuint program, GLenum shadertype, GLchar *source, GLint *length), (program, shadertype, source, length), 4, "GLuint", program, "GLenum", shadertype, "GLchar *", source, "GLint *", length) -TRACE_GL_VOID(glExtGetProgramsQCOM, (GLuint *programs, GLint maxPrograms, GLint *numPrograms), (programs, maxPrograms, numPrograms), 3, "GLuint *", programs, "GLint", maxPrograms, "GLint *", numPrograms) -TRACE_GL_VOID(glExtGetRenderbuffersQCOM, (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers), (renderbuffers, maxRenderbuffers, numRenderbuffers), 3, "GLuint *", renderbuffers, "GLint", maxRenderbuffers, "GLint *", numRenderbuffers) -TRACE_GL_VOID(glExtGetShadersQCOM, (GLuint *shaders, GLint maxShaders, GLint *numShaders), (shaders, maxShaders, numShaders), 3, "GLuint *", shaders, "GLint", maxShaders, "GLint *", numShaders) -TRACE_GL_VOID(glExtGetTexLevelParameterivQCOM, (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params), (texture, face, level, pname, params), 5, "GLuint", texture, "GLenum", face, "GLint", level, "GLenum", pname, "GLint *", params) -TRACE_GL_VOID(glExtGetTexSubImageQCOM, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels), (target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, texels), 11, "GLenum", target, "GLint", level, "GLint", xoffset, "GLint", yoffset, "GLint", zoffset, "GLsizei", width, "GLsizei", height, "GLsizei", depth, "GLenum", format, "GLenum", type, "GLvoid *", texels) -TRACE_GL_VOID(glExtGetTexturesQCOM, (GLuint *textures, GLint maxTextures, GLint *numTextures), (textures, maxTextures, numTextures), 3, "GLuint *", textures, "GLint", maxTextures, "GLint *", numTextures) +TRACE_GL_VOID(glExtGetBufferPointervQCOM, (GLenum target, void ** params), (target, params), 2, "GLenum", target, "void **", params) +TRACE_GL_VOID(glExtGetBuffersQCOM, (GLuint * buffers, GLint maxBuffers, GLint * numBuffers), (buffers, maxBuffers, numBuffers), 3, "GLuint *", buffers, "GLint", maxBuffers, "GLint *", numBuffers) +TRACE_GL_VOID(glExtGetFramebuffersQCOM, (GLuint * framebuffers, GLint maxFramebuffers, GLint * numFramebuffers), (framebuffers, maxFramebuffers, numFramebuffers), 3, "GLuint *", framebuffers, "GLint", maxFramebuffers, "GLint *", numFramebuffers) +TRACE_GL_VOID(glExtGetProgramBinarySourceQCOM, (GLuint program, GLenum shadertype, GLchar * source, GLint * length), (program, shadertype, source, length), 4, "GLuint", program, "GLenum", shadertype, "GLchar *", source, "GLint *", length) +TRACE_GL_VOID(glExtGetProgramsQCOM, (GLuint * programs, GLint maxPrograms, GLint * numPrograms), (programs, maxPrograms, numPrograms), 3, "GLuint *", programs, "GLint", maxPrograms, "GLint *", numPrograms) +TRACE_GL_VOID(glExtGetRenderbuffersQCOM, (GLuint * renderbuffers, GLint maxRenderbuffers, GLint * numRenderbuffers), (renderbuffers, maxRenderbuffers, numRenderbuffers), 3, "GLuint *", renderbuffers, "GLint", maxRenderbuffers, "GLint *", numRenderbuffers) +TRACE_GL_VOID(glExtGetShadersQCOM, (GLuint * shaders, GLint maxShaders, GLint * numShaders), (shaders, maxShaders, numShaders), 3, "GLuint *", shaders, "GLint", maxShaders, "GLint *", numShaders) +TRACE_GL_VOID(glExtGetTexLevelParameterivQCOM, (GLuint texture, GLenum face, GLint level, GLenum pname, GLint * params), (texture, face, level, pname, params), 5, "GLuint", texture, "GLenum", face, "GLint", level, "GLenum", pname, "GLint *", params) +TRACE_GL_VOID(glExtGetTexSubImageQCOM, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void * texels), (target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, texels), 11, "GLenum", target, "GLint", level, "GLint", xoffset, "GLint", yoffset, "GLint", zoffset, "GLsizei", width, "GLsizei", height, "GLsizei", depth, "GLenum", format, "GLenum", type, "void *", texels) +TRACE_GL_VOID(glExtGetTexturesQCOM, (GLuint * textures, GLint maxTextures, GLint * numTextures), (textures, maxTextures, numTextures), 3, "GLuint *", textures, "GLint", maxTextures, "GLint *", numTextures) TRACE_GL(GLboolean, glExtIsProgramBinaryQCOM, (GLuint program), (program), 1, "GLuint", program) TRACE_GL_VOID(glExtTexObjectStateOverrideiQCOM, (GLenum target, GLenum pname, GLint param), (target, pname, param), 3, "GLenum", target, "GLenum", pname, "GLint", param) TRACE_GL(GLsync, glFenceSync, (GLenum condition, GLbitfield flags), (condition, flags), 2, "GLenum", condition, "GLbitfield", flags) +TRACE_GL(GLsync, glFenceSyncAPPLE, (GLenum condition, GLbitfield flags), (condition, flags), 2, "GLenum", condition, "GLbitfield", flags) TRACE_GL_VOID(glFinish, (void), (), 0) TRACE_GL_VOID(glFinishFenceNV, (GLuint fence), (fence), 1, "GLuint", fence) TRACE_GL_VOID(glFlush, (void), (), 0) TRACE_GL_VOID(glFlushMappedBufferRange, (GLenum target, GLintptr offset, GLsizeiptr length), (target, offset, length), 3, "GLenum", target, "GLintptr", offset, "GLsizeiptr", length) +TRACE_GL_VOID(glFlushMappedBufferRangeEXT, (GLenum target, GLintptr offset, GLsizeiptr length), (target, offset, length), 3, "GLenum", target, "GLintptr", offset, "GLsizeiptr", length) TRACE_GL_VOID(glFogf, (GLenum pname, GLfloat param), (pname, param), 2, "GLenum", pname, "GLfloat", param) -TRACE_GL_VOID(glFogfv, (GLenum pname, const GLfloat *params), (pname, params), 2, "GLenum", pname, "const GLfloat *", params) +TRACE_GL_VOID(glFogfv, (GLenum pname, const GLfloat * params), (pname, params), 2, "GLenum", pname, "const GLfloat *", params) TRACE_GL_VOID(glFogx, (GLenum pname, GLfixed param), (pname, param), 2, "GLenum", pname, "GLfixed", param) TRACE_GL_VOID(glFogxOES, (GLenum pname, GLfixed param), (pname, param), 2, "GLenum", pname, "GLfixed", param) -TRACE_GL_VOID(glFogxv, (GLenum pname, const GLfixed *params), (pname, params), 2, "GLenum", pname, "const GLfixed *", params) -TRACE_GL_VOID(glFogxvOES, (GLenum pname, const GLfixed *params), (pname, params), 2, "GLenum", pname, "const GLfixed *", params) +TRACE_GL_VOID(glFogxv, (GLenum pname, const GLfixed * param), (pname, param), 2, "GLenum", pname, "const GLfixed *", param) +TRACE_GL_VOID(glFogxvOES, (GLenum pname, const GLfixed * param), (pname, param), 2, "GLenum", pname, "const GLfixed *", param) TRACE_GL_VOID(glFramebufferRenderbuffer, (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer), (target, attachment, renderbuffertarget, renderbuffer), 4, "GLenum", target, "GLenum", attachment, "GLenum", renderbuffertarget, "GLuint", renderbuffer) TRACE_GL_VOID(glFramebufferRenderbufferOES, (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer), (target, attachment, renderbuffertarget, renderbuffer), 4, "GLenum", target, "GLenum", attachment, "GLenum", renderbuffertarget, "GLuint", renderbuffer) TRACE_GL_VOID(glFramebufferTexture2D, (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level), (target, attachment, textarget, texture, level), 5, "GLenum", target, "GLenum", attachment, "GLenum", textarget, "GLuint", texture, "GLint", level) @@ -171,123 +196,140 @@ TRACE_GL_VOID(glFramebufferTexture2DOES, (GLenum target, GLenum attachment, GLen TRACE_GL_VOID(glFramebufferTexture3DOES, (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset), (target, attachment, textarget, texture, level, zoffset), 6, "GLenum", target, "GLenum", attachment, "GLenum", textarget, "GLuint", texture, "GLint", level, "GLint", zoffset) TRACE_GL_VOID(glFramebufferTextureLayer, (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer), (target, attachment, texture, level, layer), 5, "GLenum", target, "GLenum", attachment, "GLuint", texture, "GLint", level, "GLint", layer) TRACE_GL_VOID(glFrontFace, (GLenum mode), (mode), 1, "GLenum", mode) -TRACE_GL_VOID(glFrustumf, (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar), (left, right, bottom, top, zNear, zFar), 6, "GLfloat", left, "GLfloat", right, "GLfloat", bottom, "GLfloat", top, "GLfloat", zNear, "GLfloat", zFar) -TRACE_GL_VOID(glFrustumfOES, (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar), (left, right, bottom, top, zNear, zFar), 6, "GLfloat", left, "GLfloat", right, "GLfloat", bottom, "GLfloat", top, "GLfloat", zNear, "GLfloat", zFar) -TRACE_GL_VOID(glFrustumx, (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar), (left, right, bottom, top, zNear, zFar), 6, "GLfixed", left, "GLfixed", right, "GLfixed", bottom, "GLfixed", top, "GLfixed", zNear, "GLfixed", zFar) -TRACE_GL_VOID(glFrustumxOES, (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar), (left, right, bottom, top, zNear, zFar), 6, "GLfixed", left, "GLfixed", right, "GLfixed", bottom, "GLfixed", top, "GLfixed", zNear, "GLfixed", zFar) -TRACE_GL_VOID(glGenBuffers, (GLsizei n, GLuint *buffers), (n, buffers), 2, "GLsizei", n, "GLuint *", buffers) -TRACE_GL_VOID(glGenFencesNV, (GLsizei n, GLuint *fences), (n, fences), 2, "GLsizei", n, "GLuint *", fences) -TRACE_GL_VOID(glGenFramebuffers, (GLsizei n, GLuint* framebuffers), (n, framebuffers), 2, "GLsizei", n, "GLuint*", framebuffers) -TRACE_GL_VOID(glGenFramebuffersOES, (GLsizei n, GLuint* framebuffers), (n, framebuffers), 2, "GLsizei", n, "GLuint*", framebuffers) -TRACE_GL_VOID(glGenPerfMonitorsAMD, (GLsizei n, GLuint *monitors), (n, monitors), 2, "GLsizei", n, "GLuint *", monitors) -TRACE_GL_VOID(glGenProgramPipelinesEXT, (GLsizei n, GLuint *pipelines), (n, pipelines), 2, "GLsizei", n, "GLuint *", pipelines) -TRACE_GL_VOID(glGenQueries, (GLsizei n, GLuint* ids), (n, ids), 2, "GLsizei", n, "GLuint*", ids) -TRACE_GL_VOID(glGenQueriesEXT, (GLsizei n, GLuint *ids), (n, ids), 2, "GLsizei", n, "GLuint *", ids) -TRACE_GL_VOID(glGenRenderbuffers, (GLsizei n, GLuint* renderbuffers), (n, renderbuffers), 2, "GLsizei", n, "GLuint*", renderbuffers) -TRACE_GL_VOID(glGenRenderbuffersOES, (GLsizei n, GLuint* renderbuffers), (n, renderbuffers), 2, "GLsizei", n, "GLuint*", renderbuffers) -TRACE_GL_VOID(glGenSamplers, (GLsizei count, GLuint* samplers), (count, samplers), 2, "GLsizei", count, "GLuint*", samplers) -TRACE_GL_VOID(glGenTextures, (GLsizei n, GLuint *textures), (n, textures), 2, "GLsizei", n, "GLuint *", textures) -TRACE_GL_VOID(glGenTransformFeedbacks, (GLsizei n, GLuint* ids), (n, ids), 2, "GLsizei", n, "GLuint*", ids) -TRACE_GL_VOID(glGenVertexArrays, (GLsizei n, GLuint* arrays), (n, arrays), 2, "GLsizei", n, "GLuint*", arrays) -TRACE_GL_VOID(glGenVertexArraysOES, (GLsizei n, GLuint *arrays), (n, arrays), 2, "GLsizei", n, "GLuint *", arrays) +TRACE_GL_VOID(glFrustumf, (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f), (l, r, b, t, n, f), 6, "GLfloat", l, "GLfloat", r, "GLfloat", b, "GLfloat", t, "GLfloat", n, "GLfloat", f) +TRACE_GL_VOID(glFrustumfOES, (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f), (l, r, b, t, n, f), 6, "GLfloat", l, "GLfloat", r, "GLfloat", b, "GLfloat", t, "GLfloat", n, "GLfloat", f) +TRACE_GL_VOID(glFrustumx, (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f), (l, r, b, t, n, f), 6, "GLfixed", l, "GLfixed", r, "GLfixed", b, "GLfixed", t, "GLfixed", n, "GLfixed", f) +TRACE_GL_VOID(glFrustumxOES, (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f), (l, r, b, t, n, f), 6, "GLfixed", l, "GLfixed", r, "GLfixed", b, "GLfixed", t, "GLfixed", n, "GLfixed", f) +TRACE_GL_VOID(glGenBuffers, (GLsizei n, GLuint * buffers), (n, buffers), 2, "GLsizei", n, "GLuint *", buffers) +TRACE_GL_VOID(glGenFencesNV, (GLsizei n, GLuint * fences), (n, fences), 2, "GLsizei", n, "GLuint *", fences) +TRACE_GL_VOID(glGenFramebuffers, (GLsizei n, GLuint * framebuffers), (n, framebuffers), 2, "GLsizei", n, "GLuint *", framebuffers) +TRACE_GL_VOID(glGenFramebuffersOES, (GLsizei n, GLuint * framebuffers), (n, framebuffers), 2, "GLsizei", n, "GLuint *", framebuffers) +TRACE_GL_VOID(glGenPerfMonitorsAMD, (GLsizei n, GLuint * monitors), (n, monitors), 2, "GLsizei", n, "GLuint *", monitors) +TRACE_GL_VOID(glGenProgramPipelinesEXT, (GLsizei n, GLuint * pipelines), (n, pipelines), 2, "GLsizei", n, "GLuint *", pipelines) +TRACE_GL_VOID(glGenQueries, (GLsizei n, GLuint * ids), (n, ids), 2, "GLsizei", n, "GLuint *", ids) +TRACE_GL_VOID(glGenQueriesEXT, (GLsizei n, GLuint * ids), (n, ids), 2, "GLsizei", n, "GLuint *", ids) +TRACE_GL_VOID(glGenRenderbuffers, (GLsizei n, GLuint * renderbuffers), (n, renderbuffers), 2, "GLsizei", n, "GLuint *", renderbuffers) +TRACE_GL_VOID(glGenRenderbuffersOES, (GLsizei n, GLuint * renderbuffers), (n, renderbuffers), 2, "GLsizei", n, "GLuint *", renderbuffers) +TRACE_GL_VOID(glGenSamplers, (GLsizei count, GLuint * samplers), (count, samplers), 2, "GLsizei", count, "GLuint *", samplers) +TRACE_GL_VOID(glGenTextures, (GLsizei n, GLuint * textures), (n, textures), 2, "GLsizei", n, "GLuint *", textures) +TRACE_GL_VOID(glGenTransformFeedbacks, (GLsizei n, GLuint * ids), (n, ids), 2, "GLsizei", n, "GLuint *", ids) +TRACE_GL_VOID(glGenVertexArrays, (GLsizei n, GLuint * arrays), (n, arrays), 2, "GLsizei", n, "GLuint *", arrays) +TRACE_GL_VOID(glGenVertexArraysOES, (GLsizei n, GLuint * arrays), (n, arrays), 2, "GLsizei", n, "GLuint *", arrays) TRACE_GL_VOID(glGenerateMipmap, (GLenum target), (target), 1, "GLenum", target) TRACE_GL_VOID(glGenerateMipmapOES, (GLenum target), (target), 1, "GLenum", target) -TRACE_GL_VOID(glGetActiveAttrib, (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name), (program, index, bufsize, length, size, type, name), 7, "GLuint", program, "GLuint", index, "GLsizei", bufsize, "GLsizei*", length, "GLint*", size, "GLenum*", type, "GLchar*", name) -TRACE_GL_VOID(glGetActiveUniform, (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name), (program, index, bufsize, length, size, type, name), 7, "GLuint", program, "GLuint", index, "GLsizei", bufsize, "GLsizei*", length, "GLint*", size, "GLenum*", type, "GLchar*", name) -TRACE_GL_VOID(glGetActiveUniformBlockName, (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformBlockName), (program, uniformBlockIndex, bufSize, length, uniformBlockName), 5, "GLuint", program, "GLuint", uniformBlockIndex, "GLsizei", bufSize, "GLsizei*", length, "GLchar*", uniformBlockName) -TRACE_GL_VOID(glGetActiveUniformBlockiv, (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint* params), (program, uniformBlockIndex, pname, params), 4, "GLuint", program, "GLuint", uniformBlockIndex, "GLenum", pname, "GLint*", params) -TRACE_GL_VOID(glGetActiveUniformsiv, (GLuint program, GLsizei uniformCount, const GLuint* uniformIndices, GLenum pname, GLint* params), (program, uniformCount, uniformIndices, pname, params), 5, "GLuint", program, "GLsizei", uniformCount, "const GLuint*", uniformIndices, "GLenum", pname, "GLint*", params) -TRACE_GL_VOID(glGetAttachedShaders, (GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders), (program, maxcount, count, shaders), 4, "GLuint", program, "GLsizei", maxcount, "GLsizei*", count, "GLuint*", shaders) -TRACE_GL(GLint, glGetAttribLocation, (GLuint program, const GLchar* name), (program, name), 2, "GLuint", program, "const GLchar*", name) -TRACE_GL_VOID(glGetBooleanv, (GLenum pname, GLboolean *params), (pname, params), 2, "GLenum", pname, "GLboolean *", params) -TRACE_GL_VOID(glGetBufferParameteri64v, (GLenum target, GLenum pname, GLint64* params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "GLint64*", params) -TRACE_GL_VOID(glGetBufferParameteriv, (GLenum target, GLenum pname, GLint *params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "GLint *", params) -TRACE_GL_VOID(glGetBufferPointerv, (GLenum target, GLenum pname, GLvoid** params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "GLvoid**", params) -TRACE_GL_VOID(glGetBufferPointervOES, (GLenum target, GLenum pname, GLvoid ** params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "GLvoid **", params) -TRACE_GL_VOID(glGetClipPlanef, (GLenum pname, GLfloat eqn[4]), (pname, eqn), 2, "GLenum", pname, "GLfloat", eqn) -TRACE_GL_VOID(glGetClipPlanefOES, (GLenum pname, GLfloat eqn[4]), (pname, eqn), 2, "GLenum", pname, "GLfloat", eqn) -TRACE_GL_VOID(glGetClipPlanex, (GLenum pname, GLfixed eqn[4]), (pname, eqn), 2, "GLenum", pname, "GLfixed", eqn) -TRACE_GL_VOID(glGetClipPlanexOES, (GLenum pname, GLfixed eqn[4]), (pname, eqn), 2, "GLenum", pname, "GLfixed", eqn) -TRACE_GL_VOID(glGetDriverControlStringQCOM, (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString), (driverControl, bufSize, length, driverControlString), 4, "GLuint", driverControl, "GLsizei", bufSize, "GLsizei *", length, "GLchar *", driverControlString) -TRACE_GL_VOID(glGetDriverControlsQCOM, (GLint *num, GLsizei size, GLuint *driverControls), (num, size, driverControls), 3, "GLint *", num, "GLsizei", size, "GLuint *", driverControls) +TRACE_GL_VOID(glGetActiveAttrib, (GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name), (program, index, bufSize, length, size, type, name), 7, "GLuint", program, "GLuint", index, "GLsizei", bufSize, "GLsizei *", length, "GLint *", size, "GLenum *", type, "GLchar *", name) +TRACE_GL_VOID(glGetActiveUniform, (GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name), (program, index, bufSize, length, size, type, name), 7, "GLuint", program, "GLuint", index, "GLsizei", bufSize, "GLsizei *", length, "GLint *", size, "GLenum *", type, "GLchar *", name) +TRACE_GL_VOID(glGetActiveUniformBlockName, (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei * length, GLchar * uniformBlockName), (program, uniformBlockIndex, bufSize, length, uniformBlockName), 5, "GLuint", program, "GLuint", uniformBlockIndex, "GLsizei", bufSize, "GLsizei *", length, "GLchar *", uniformBlockName) +TRACE_GL_VOID(glGetActiveUniformBlockiv, (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint * params), (program, uniformBlockIndex, pname, params), 4, "GLuint", program, "GLuint", uniformBlockIndex, "GLenum", pname, "GLint *", params) +TRACE_GL_VOID(glGetActiveUniformsiv, (GLuint program, GLsizei uniformCount, const GLuint * uniformIndices, GLenum pname, GLint * params), (program, uniformCount, uniformIndices, pname, params), 5, "GLuint", program, "GLsizei", uniformCount, "const GLuint *", uniformIndices, "GLenum", pname, "GLint *", params) +TRACE_GL_VOID(glGetAttachedShaders, (GLuint program, GLsizei maxCount, GLsizei * count, GLuint * shaders), (program, maxCount, count, shaders), 4, "GLuint", program, "GLsizei", maxCount, "GLsizei *", count, "GLuint *", shaders) +TRACE_GL(GLint, glGetAttribLocation, (GLuint program, const GLchar * name), (program, name), 2, "GLuint", program, "const GLchar *", name) +TRACE_GL_VOID(glGetBooleanv, (GLenum pname, GLboolean * data), (pname, data), 2, "GLenum", pname, "GLboolean *", data) +TRACE_GL_VOID(glGetBufferParameteri64v, (GLenum target, GLenum pname, GLint64 * params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "GLint64 *", params) +TRACE_GL_VOID(glGetBufferParameteriv, (GLenum target, GLenum pname, GLint * params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "GLint *", params) +TRACE_GL_VOID(glGetBufferPointerv, (GLenum target, GLenum pname, void ** params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "void **", params) +TRACE_GL_VOID(glGetBufferPointervOES, (GLenum target, GLenum pname, void ** params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "void **", params) +TRACE_GL_VOID(glGetClipPlanef, (GLenum plane, GLfloat * equation), (plane, equation), 2, "GLenum", plane, "GLfloat *", equation) +TRACE_GL_VOID(glGetClipPlanefOES, (GLenum plane, GLfloat * equation), (plane, equation), 2, "GLenum", plane, "GLfloat *", equation) +TRACE_GL_VOID(glGetClipPlanex, (GLenum plane, GLfixed * equation), (plane, equation), 2, "GLenum", plane, "GLfixed *", equation) +TRACE_GL_VOID(glGetClipPlanexOES, (GLenum plane, GLfixed * equation), (plane, equation), 2, "GLenum", plane, "GLfixed *", equation) +TRACE_GL(GLuint, glGetDebugMessageLogKHR, (GLuint count, GLsizei bufSize, GLenum * sources, GLenum * types, GLuint * ids, GLenum * severities, GLsizei * lengths, GLchar * messageLog), (count, bufSize, sources, types, ids, severities, lengths, messageLog), 8, "GLuint", count, "GLsizei", bufSize, "GLenum *", sources, "GLenum *", types, "GLuint *", ids, "GLenum *", severities, "GLsizei *", lengths, "GLchar *", messageLog) +TRACE_GL_VOID(glGetDriverControlStringQCOM, (GLuint driverControl, GLsizei bufSize, GLsizei * length, GLchar * driverControlString), (driverControl, bufSize, length, driverControlString), 4, "GLuint", driverControl, "GLsizei", bufSize, "GLsizei *", length, "GLchar *", driverControlString) +TRACE_GL_VOID(glGetDriverControlsQCOM, (GLint * num, GLsizei size, GLuint * driverControls), (num, size, driverControls), 3, "GLint *", num, "GLsizei", size, "GLuint *", driverControls) TRACE_GL(GLenum, glGetError, (void), (), 0) -TRACE_GL_VOID(glGetFenceivNV, (GLuint fence, GLenum pname, GLint *params), (fence, pname, params), 3, "GLuint", fence, "GLenum", pname, "GLint *", params) -TRACE_GL_VOID(glGetFixedv, (GLenum pname, GLfixed *params), (pname, params), 2, "GLenum", pname, "GLfixed *", params) -TRACE_GL_VOID(glGetFixedvOES, (GLenum pname, GLfixed *params), (pname, params), 2, "GLenum", pname, "GLfixed *", params) -TRACE_GL_VOID(glGetFloatv, (GLenum pname, GLfloat *params), (pname, params), 2, "GLenum", pname, "GLfloat *", params) -TRACE_GL(GLint, glGetFragDataLocation, (GLuint program, const GLchar *name), (program, name), 2, "GLuint", program, "const GLchar *", name) -TRACE_GL_VOID(glGetFramebufferAttachmentParameteriv, (GLenum target, GLenum attachment, GLenum pname, GLint* params), (target, attachment, pname, params), 4, "GLenum", target, "GLenum", attachment, "GLenum", pname, "GLint*", params) -TRACE_GL_VOID(glGetFramebufferAttachmentParameterivOES, (GLenum target, GLenum attachment, GLenum pname, GLint* params), (target, attachment, pname, params), 4, "GLenum", target, "GLenum", attachment, "GLenum", pname, "GLint*", params) +TRACE_GL_VOID(glGetFenceivNV, (GLuint fence, GLenum pname, GLint * params), (fence, pname, params), 3, "GLuint", fence, "GLenum", pname, "GLint *", params) +TRACE_GL_VOID(glGetFirstPerfQueryIdINTEL, (GLuint * queryId), (queryId), 1, "GLuint *", queryId) +TRACE_GL_VOID(glGetFixedv, (GLenum pname, GLfixed * params), (pname, params), 2, "GLenum", pname, "GLfixed *", params) +TRACE_GL_VOID(glGetFixedvOES, (GLenum pname, GLfixed * params), (pname, params), 2, "GLenum", pname, "GLfixed *", params) +TRACE_GL_VOID(glGetFloatv, (GLenum pname, GLfloat * data), (pname, data), 2, "GLenum", pname, "GLfloat *", data) +TRACE_GL(GLint, glGetFragDataLocation, (GLuint program, const GLchar * name), (program, name), 2, "GLuint", program, "const GLchar *", name) +TRACE_GL_VOID(glGetFramebufferAttachmentParameteriv, (GLenum target, GLenum attachment, GLenum pname, GLint * params), (target, attachment, pname, params), 4, "GLenum", target, "GLenum", attachment, "GLenum", pname, "GLint *", params) +TRACE_GL_VOID(glGetFramebufferAttachmentParameterivOES, (GLenum target, GLenum attachment, GLenum pname, GLint * params), (target, attachment, pname, params), 4, "GLenum", target, "GLenum", attachment, "GLenum", pname, "GLint *", params) TRACE_GL(GLenum, glGetGraphicsResetStatusEXT, (void), (), 0) -TRACE_GL_VOID(glGetInteger64i_v, (GLenum target, GLuint index, GLint64* data), (target, index, data), 3, "GLenum", target, "GLuint", index, "GLint64*", data) -TRACE_GL_VOID(glGetInteger64v, (GLenum pname, GLint64* params), (pname, params), 2, "GLenum", pname, "GLint64*", params) -TRACE_GL_VOID(glGetIntegeri_v, (GLenum target, GLuint index, GLint* data), (target, index, data), 3, "GLenum", target, "GLuint", index, "GLint*", data) -TRACE_GL_VOID(glGetIntegerv, (GLenum pname, GLint *params), (pname, params), 2, "GLenum", pname, "GLint *", params) -TRACE_GL_VOID(glGetInternalformativ, (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint* params), (target, internalformat, pname, bufSize, params), 5, "GLenum", target, "GLenum", internalformat, "GLenum", pname, "GLsizei", bufSize, "GLint*", params) -TRACE_GL_VOID(glGetLightfv, (GLenum light, GLenum pname, GLfloat *params), (light, pname, params), 3, "GLenum", light, "GLenum", pname, "GLfloat *", params) -TRACE_GL_VOID(glGetLightxv, (GLenum light, GLenum pname, GLfixed *params), (light, pname, params), 3, "GLenum", light, "GLenum", pname, "GLfixed *", params) -TRACE_GL_VOID(glGetLightxvOES, (GLenum light, GLenum pname, GLfixed *params), (light, pname, params), 3, "GLenum", light, "GLenum", pname, "GLfixed *", params) -TRACE_GL_VOID(glGetMaterialfv, (GLenum face, GLenum pname, GLfloat *params), (face, pname, params), 3, "GLenum", face, "GLenum", pname, "GLfloat *", params) -TRACE_GL_VOID(glGetMaterialxv, (GLenum face, GLenum pname, GLfixed *params), (face, pname, params), 3, "GLenum", face, "GLenum", pname, "GLfixed *", params) -TRACE_GL_VOID(glGetMaterialxvOES, (GLenum face, GLenum pname, GLfixed *params), (face, pname, params), 3, "GLenum", face, "GLenum", pname, "GLfixed *", params) -TRACE_GL_VOID(glGetObjectLabelEXT, (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label), (type, object, bufSize, length, label), 5, "GLenum", type, "GLuint", object, "GLsizei", bufSize, "GLsizei *", length, "GLchar *", label) -TRACE_GL_VOID(glGetPerfMonitorCounterDataAMD, (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten), (monitor, pname, dataSize, data, bytesWritten), 5, "GLuint", monitor, "GLenum", pname, "GLsizei", dataSize, "GLuint *", data, "GLint *", bytesWritten) -TRACE_GL_VOID(glGetPerfMonitorCounterInfoAMD, (GLuint group, GLuint counter, GLenum pname, GLvoid *data), (group, counter, pname, data), 4, "GLuint", group, "GLuint", counter, "GLenum", pname, "GLvoid *", data) -TRACE_GL_VOID(glGetPerfMonitorCounterStringAMD, (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString), (group, counter, bufSize, length, counterString), 5, "GLuint", group, "GLuint", counter, "GLsizei", bufSize, "GLsizei *", length, "GLchar *", counterString) -TRACE_GL_VOID(glGetPerfMonitorCountersAMD, (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters), (group, numCounters, maxActiveCounters, counterSize, counters), 5, "GLuint", group, "GLint *", numCounters, "GLint *", maxActiveCounters, "GLsizei", counterSize, "GLuint *", counters) -TRACE_GL_VOID(glGetPerfMonitorGroupStringAMD, (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString), (group, bufSize, length, groupString), 4, "GLuint", group, "GLsizei", bufSize, "GLsizei *", length, "GLchar *", groupString) -TRACE_GL_VOID(glGetPerfMonitorGroupsAMD, (GLint *numGroups, GLsizei groupsSize, GLuint *groups), (numGroups, groupsSize, groups), 3, "GLint *", numGroups, "GLsizei", groupsSize, "GLuint *", groups) -TRACE_GL_VOID(glGetPointerv, (GLenum pname, GLvoid **params), (pname, params), 2, "GLenum", pname, "GLvoid **", params) -TRACE_GL_VOID(glGetProgramBinary, (GLuint program, GLsizei bufSize, GLsizei* length, GLenum* binaryFormat, GLvoid* binary), (program, bufSize, length, binaryFormat, binary), 5, "GLuint", program, "GLsizei", bufSize, "GLsizei*", length, "GLenum*", binaryFormat, "GLvoid*", binary) -TRACE_GL_VOID(glGetProgramBinaryOES, (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary), (program, bufSize, length, binaryFormat, binary), 5, "GLuint", program, "GLsizei", bufSize, "GLsizei *", length, "GLenum *", binaryFormat, "GLvoid *", binary) -TRACE_GL_VOID(glGetProgramInfoLog, (GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog), (program, bufsize, length, infolog), 4, "GLuint", program, "GLsizei", bufsize, "GLsizei*", length, "GLchar*", infolog) -TRACE_GL_VOID(glGetProgramPipelineInfoLogEXT, (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog), (pipeline, bufSize, length, infoLog), 4, "GLuint", pipeline, "GLsizei", bufSize, "GLsizei *", length, "GLchar *", infoLog) -TRACE_GL_VOID(glGetProgramPipelineivEXT, (GLuint pipeline, GLenum pname, GLint *params), (pipeline, pname, params), 3, "GLuint", pipeline, "GLenum", pname, "GLint *", params) -TRACE_GL_VOID(glGetProgramiv, (GLuint program, GLenum pname, GLint* params), (program, pname, params), 3, "GLuint", program, "GLenum", pname, "GLint*", params) -TRACE_GL_VOID(glGetQueryObjectuiv, (GLuint id, GLenum pname, GLuint* params), (id, pname, params), 3, "GLuint", id, "GLenum", pname, "GLuint*", params) -TRACE_GL_VOID(glGetQueryObjectuivEXT, (GLuint id, GLenum pname, GLuint *params), (id, pname, params), 3, "GLuint", id, "GLenum", pname, "GLuint *", params) -TRACE_GL_VOID(glGetQueryiv, (GLenum target, GLenum pname, GLint* params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "GLint*", params) -TRACE_GL_VOID(glGetQueryivEXT, (GLenum target, GLenum pname, GLint *params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "GLint *", params) -TRACE_GL_VOID(glGetRenderbufferParameteriv, (GLenum target, GLenum pname, GLint* params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "GLint*", params) -TRACE_GL_VOID(glGetRenderbufferParameterivOES, (GLenum target, GLenum pname, GLint* params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "GLint*", params) -TRACE_GL_VOID(glGetSamplerParameterfv, (GLuint sampler, GLenum pname, GLfloat* params), (sampler, pname, params), 3, "GLuint", sampler, "GLenum", pname, "GLfloat*", params) -TRACE_GL_VOID(glGetSamplerParameteriv, (GLuint sampler, GLenum pname, GLint* params), (sampler, pname, params), 3, "GLuint", sampler, "GLenum", pname, "GLint*", params) -TRACE_GL_VOID(glGetShaderInfoLog, (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog), (shader, bufsize, length, infolog), 4, "GLuint", shader, "GLsizei", bufsize, "GLsizei*", length, "GLchar*", infolog) -TRACE_GL_VOID(glGetShaderPrecisionFormat, (GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision), (shadertype, precisiontype, range, precision), 4, "GLenum", shadertype, "GLenum", precisiontype, "GLint*", range, "GLint*", precision) -TRACE_GL_VOID(glGetShaderSource, (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source), (shader, bufsize, length, source), 4, "GLuint", shader, "GLsizei", bufsize, "GLsizei*", length, "GLchar*", source) -TRACE_GL_VOID(glGetShaderiv, (GLuint shader, GLenum pname, GLint* params), (shader, pname, params), 3, "GLuint", shader, "GLenum", pname, "GLint*", params) +TRACE_GL_VOID(glGetInteger64i_v, (GLenum target, GLuint index, GLint64 * data), (target, index, data), 3, "GLenum", target, "GLuint", index, "GLint64 *", data) +TRACE_GL_VOID(glGetInteger64v, (GLenum pname, GLint64 * data), (pname, data), 2, "GLenum", pname, "GLint64 *", data) +TRACE_GL_VOID(glGetInteger64vAPPLE, (GLenum pname, GLint64 * params), (pname, params), 2, "GLenum", pname, "GLint64 *", params) +TRACE_GL_VOID(glGetIntegeri_v, (GLenum target, GLuint index, GLint * data), (target, index, data), 3, "GLenum", target, "GLuint", index, "GLint *", data) +TRACE_GL_VOID(glGetIntegeri_vEXT, (GLenum target, GLuint index, GLint * data), (target, index, data), 3, "GLenum", target, "GLuint", index, "GLint *", data) +TRACE_GL_VOID(glGetIntegerv, (GLenum pname, GLint * data), (pname, data), 2, "GLenum", pname, "GLint *", data) +TRACE_GL_VOID(glGetInternalformativ, (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint * params), (target, internalformat, pname, bufSize, params), 5, "GLenum", target, "GLenum", internalformat, "GLenum", pname, "GLsizei", bufSize, "GLint *", params) +TRACE_GL_VOID(glGetLightfv, (GLenum light, GLenum pname, GLfloat * params), (light, pname, params), 3, "GLenum", light, "GLenum", pname, "GLfloat *", params) +TRACE_GL_VOID(glGetLightxv, (GLenum light, GLenum pname, GLfixed * params), (light, pname, params), 3, "GLenum", light, "GLenum", pname, "GLfixed *", params) +TRACE_GL_VOID(glGetLightxvOES, (GLenum light, GLenum pname, GLfixed * params), (light, pname, params), 3, "GLenum", light, "GLenum", pname, "GLfixed *", params) +TRACE_GL_VOID(glGetMaterialfv, (GLenum face, GLenum pname, GLfloat * params), (face, pname, params), 3, "GLenum", face, "GLenum", pname, "GLfloat *", params) +TRACE_GL_VOID(glGetMaterialxv, (GLenum face, GLenum pname, GLfixed * params), (face, pname, params), 3, "GLenum", face, "GLenum", pname, "GLfixed *", params) +TRACE_GL_VOID(glGetMaterialxvOES, (GLenum face, GLenum pname, GLfixed * params), (face, pname, params), 3, "GLenum", face, "GLenum", pname, "GLfixed *", params) +TRACE_GL_VOID(glGetNextPerfQueryIdINTEL, (GLuint queryId, GLuint * nextQueryId), (queryId, nextQueryId), 2, "GLuint", queryId, "GLuint *", nextQueryId) +TRACE_GL_VOID(glGetObjectLabelEXT, (GLenum type, GLuint object, GLsizei bufSize, GLsizei * length, GLchar * label), (type, object, bufSize, length, label), 5, "GLenum", type, "GLuint", object, "GLsizei", bufSize, "GLsizei *", length, "GLchar *", label) +TRACE_GL_VOID(glGetObjectLabelKHR, (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei * length, GLchar * label), (identifier, name, bufSize, length, label), 5, "GLenum", identifier, "GLuint", name, "GLsizei", bufSize, "GLsizei *", length, "GLchar *", label) +TRACE_GL_VOID(glGetObjectPtrLabelKHR, (const void * ptr, GLsizei bufSize, GLsizei * length, GLchar * label), (ptr, bufSize, length, label), 4, "const void *", ptr, "GLsizei", bufSize, "GLsizei *", length, "GLchar *", label) +TRACE_GL_VOID(glGetPerfCounterInfoINTEL, (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar * counterName, GLuint counterDescLength, GLchar * counterDesc, GLuint * counterOffset, GLuint * counterDataSize, GLuint * counterTypeEnum, GLuint * counterDataTypeEnum, GLuint64 * rawCounterMaxValue), (queryId, counterId, counterNameLength, counterName, counterDescLength, counterDesc, counterOffset, counterDataSize, counterTypeEnum, counterDataTypeEnum, rawCounterMaxValue), 11, "GLuint", queryId, "GLuint", counterId, "GLuint", counterNameLength, "GLchar *", counterName, "GLuint", counterDescLength, "GLchar *", counterDesc, "GLuint *", counterOffset, "GLuint *", counterDataSize, "GLuint *", counterTypeEnum, "GLuint *", counterDataTypeEnum, "GLuint64 *", rawCounterMaxValue) +TRACE_GL_VOID(glGetPerfMonitorCounterDataAMD, (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint * data, GLint * bytesWritten), (monitor, pname, dataSize, data, bytesWritten), 5, "GLuint", monitor, "GLenum", pname, "GLsizei", dataSize, "GLuint *", data, "GLint *", bytesWritten) +TRACE_GL_VOID(glGetPerfMonitorCounterInfoAMD, (GLuint group, GLuint counter, GLenum pname, void * data), (group, counter, pname, data), 4, "GLuint", group, "GLuint", counter, "GLenum", pname, "void *", data) +TRACE_GL_VOID(glGetPerfMonitorCounterStringAMD, (GLuint group, GLuint counter, GLsizei bufSize, GLsizei * length, GLchar * counterString), (group, counter, bufSize, length, counterString), 5, "GLuint", group, "GLuint", counter, "GLsizei", bufSize, "GLsizei *", length, "GLchar *", counterString) +TRACE_GL_VOID(glGetPerfMonitorCountersAMD, (GLuint group, GLint * numCounters, GLint * maxActiveCounters, GLsizei counterSize, GLuint * counters), (group, numCounters, maxActiveCounters, counterSize, counters), 5, "GLuint", group, "GLint *", numCounters, "GLint *", maxActiveCounters, "GLsizei", counterSize, "GLuint *", counters) +TRACE_GL_VOID(glGetPerfMonitorGroupStringAMD, (GLuint group, GLsizei bufSize, GLsizei * length, GLchar * groupString), (group, bufSize, length, groupString), 4, "GLuint", group, "GLsizei", bufSize, "GLsizei *", length, "GLchar *", groupString) +TRACE_GL_VOID(glGetPerfMonitorGroupsAMD, (GLint * numGroups, GLsizei groupsSize, GLuint * groups), (numGroups, groupsSize, groups), 3, "GLint *", numGroups, "GLsizei", groupsSize, "GLuint *", groups) +TRACE_GL_VOID(glGetPerfQueryDataINTEL, (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid * data, GLuint * bytesWritten), (queryHandle, flags, dataSize, data, bytesWritten), 5, "GLuint", queryHandle, "GLuint", flags, "GLsizei", dataSize, "GLvoid *", data, "GLuint *", bytesWritten) +TRACE_GL_VOID(glGetPerfQueryIdByNameINTEL, (GLchar * queryName, GLuint * queryId), (queryName, queryId), 2, "GLchar *", queryName, "GLuint *", queryId) +TRACE_GL_VOID(glGetPerfQueryInfoINTEL, (GLuint queryId, GLuint queryNameLength, GLchar * queryName, GLuint * dataSize, GLuint * noCounters, GLuint * noInstances, GLuint * capsMask), (queryId, queryNameLength, queryName, dataSize, noCounters, noInstances, capsMask), 7, "GLuint", queryId, "GLuint", queryNameLength, "GLchar *", queryName, "GLuint *", dataSize, "GLuint *", noCounters, "GLuint *", noInstances, "GLuint *", capsMask) +TRACE_GL_VOID(glGetPointerv, (GLenum pname, void ** params), (pname, params), 2, "GLenum", pname, "void **", params) +TRACE_GL_VOID(glGetPointervKHR, (GLenum pname, void ** params), (pname, params), 2, "GLenum", pname, "void **", params) +TRACE_GL_VOID(glGetProgramBinary, (GLuint program, GLsizei bufSize, GLsizei * length, GLenum * binaryFormat, void * binary), (program, bufSize, length, binaryFormat, binary), 5, "GLuint", program, "GLsizei", bufSize, "GLsizei *", length, "GLenum *", binaryFormat, "void *", binary) +TRACE_GL_VOID(glGetProgramBinaryOES, (GLuint program, GLsizei bufSize, GLsizei * length, GLenum * binaryFormat, void * binary), (program, bufSize, length, binaryFormat, binary), 5, "GLuint", program, "GLsizei", bufSize, "GLsizei *", length, "GLenum *", binaryFormat, "void *", binary) +TRACE_GL_VOID(glGetProgramInfoLog, (GLuint program, GLsizei bufSize, GLsizei * length, GLchar * infoLog), (program, bufSize, length, infoLog), 4, "GLuint", program, "GLsizei", bufSize, "GLsizei *", length, "GLchar *", infoLog) +TRACE_GL_VOID(glGetProgramPipelineInfoLogEXT, (GLuint pipeline, GLsizei bufSize, GLsizei * length, GLchar * infoLog), (pipeline, bufSize, length, infoLog), 4, "GLuint", pipeline, "GLsizei", bufSize, "GLsizei *", length, "GLchar *", infoLog) +TRACE_GL_VOID(glGetProgramPipelineivEXT, (GLuint pipeline, GLenum pname, GLint * params), (pipeline, pname, params), 3, "GLuint", pipeline, "GLenum", pname, "GLint *", params) +TRACE_GL_VOID(glGetProgramiv, (GLuint program, GLenum pname, GLint * params), (program, pname, params), 3, "GLuint", program, "GLenum", pname, "GLint *", params) +TRACE_GL_VOID(glGetQueryObjecti64vEXT, (GLuint id, GLenum pname, GLint64 * params), (id, pname, params), 3, "GLuint", id, "GLenum", pname, "GLint64 *", params) +TRACE_GL_VOID(glGetQueryObjectivEXT, (GLuint id, GLenum pname, GLint * params), (id, pname, params), 3, "GLuint", id, "GLenum", pname, "GLint *", params) +TRACE_GL_VOID(glGetQueryObjectui64vEXT, (GLuint id, GLenum pname, GLuint64 * params), (id, pname, params), 3, "GLuint", id, "GLenum", pname, "GLuint64 *", params) +TRACE_GL_VOID(glGetQueryObjectuiv, (GLuint id, GLenum pname, GLuint * params), (id, pname, params), 3, "GLuint", id, "GLenum", pname, "GLuint *", params) +TRACE_GL_VOID(glGetQueryObjectuivEXT, (GLuint id, GLenum pname, GLuint * params), (id, pname, params), 3, "GLuint", id, "GLenum", pname, "GLuint *", params) +TRACE_GL_VOID(glGetQueryiv, (GLenum target, GLenum pname, GLint * params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "GLint *", params) +TRACE_GL_VOID(glGetQueryivEXT, (GLenum target, GLenum pname, GLint * params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "GLint *", params) +TRACE_GL_VOID(glGetRenderbufferParameteriv, (GLenum target, GLenum pname, GLint * params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "GLint *", params) +TRACE_GL_VOID(glGetRenderbufferParameterivOES, (GLenum target, GLenum pname, GLint * params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "GLint *", params) +TRACE_GL_VOID(glGetSamplerParameterfv, (GLuint sampler, GLenum pname, GLfloat * params), (sampler, pname, params), 3, "GLuint", sampler, "GLenum", pname, "GLfloat *", params) +TRACE_GL_VOID(glGetSamplerParameteriv, (GLuint sampler, GLenum pname, GLint * params), (sampler, pname, params), 3, "GLuint", sampler, "GLenum", pname, "GLint *", params) +TRACE_GL_VOID(glGetShaderInfoLog, (GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * infoLog), (shader, bufSize, length, infoLog), 4, "GLuint", shader, "GLsizei", bufSize, "GLsizei *", length, "GLchar *", infoLog) +TRACE_GL_VOID(glGetShaderPrecisionFormat, (GLenum shadertype, GLenum precisiontype, GLint * range, GLint * precision), (shadertype, precisiontype, range, precision), 4, "GLenum", shadertype, "GLenum", precisiontype, "GLint *", range, "GLint *", precision) +TRACE_GL_VOID(glGetShaderSource, (GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * source), (shader, bufSize, length, source), 4, "GLuint", shader, "GLsizei", bufSize, "GLsizei *", length, "GLchar *", source) +TRACE_GL_VOID(glGetShaderiv, (GLuint shader, GLenum pname, GLint * params), (shader, pname, params), 3, "GLuint", shader, "GLenum", pname, "GLint *", params) TRACE_GL(const GLubyte *, glGetString, (GLenum name), (name), 1, "GLenum", name) -TRACE_GL(const GLubyte*, glGetStringi, (GLenum name, GLuint index), (name, index), 2, "GLenum", name, "GLuint", index) -TRACE_GL_VOID(glGetSynciv, (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei* length, GLint* values), (sync, pname, bufSize, length, values), 5, "GLsync", sync, "GLenum", pname, "GLsizei", bufSize, "GLsizei*", length, "GLint*", values) -TRACE_GL_VOID(glGetTexEnvfv, (GLenum env, GLenum pname, GLfloat *params), (env, pname, params), 3, "GLenum", env, "GLenum", pname, "GLfloat *", params) -TRACE_GL_VOID(glGetTexEnviv, (GLenum env, GLenum pname, GLint *params), (env, pname, params), 3, "GLenum", env, "GLenum", pname, "GLint *", params) -TRACE_GL_VOID(glGetTexEnvxv, (GLenum env, GLenum pname, GLfixed *params), (env, pname, params), 3, "GLenum", env, "GLenum", pname, "GLfixed *", params) -TRACE_GL_VOID(glGetTexEnvxvOES, (GLenum env, GLenum pname, GLfixed *params), (env, pname, params), 3, "GLenum", env, "GLenum", pname, "GLfixed *", params) -TRACE_GL_VOID(glGetTexGenfvOES, (GLenum coord, GLenum pname, GLfloat *params), (coord, pname, params), 3, "GLenum", coord, "GLenum", pname, "GLfloat *", params) -TRACE_GL_VOID(glGetTexGenivOES, (GLenum coord, GLenum pname, GLint *params), (coord, pname, params), 3, "GLenum", coord, "GLenum", pname, "GLint *", params) -TRACE_GL_VOID(glGetTexGenxvOES, (GLenum coord, GLenum pname, GLfixed *params), (coord, pname, params), 3, "GLenum", coord, "GLenum", pname, "GLfixed *", params) -TRACE_GL_VOID(glGetTexParameterfv, (GLenum target, GLenum pname, GLfloat *params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "GLfloat *", params) -TRACE_GL_VOID(glGetTexParameteriv, (GLenum target, GLenum pname, GLint *params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "GLint *", params) -TRACE_GL_VOID(glGetTexParameterxv, (GLenum target, GLenum pname, GLfixed *params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "GLfixed *", params) -TRACE_GL_VOID(glGetTexParameterxvOES, (GLenum target, GLenum pname, GLfixed *params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "GLfixed *", params) -TRACE_GL_VOID(glGetTransformFeedbackVarying, (GLuint program, GLuint index, GLsizei bufSize, GLsizei* length, GLsizei* size, GLenum* type, GLchar* name), (program, index, bufSize, length, size, type, name), 7, "GLuint", program, "GLuint", index, "GLsizei", bufSize, "GLsizei*", length, "GLsizei*", size, "GLenum*", type, "GLchar*", name) -TRACE_GL(GLuint, glGetUniformBlockIndex, (GLuint program, const GLchar* uniformBlockName), (program, uniformBlockName), 2, "GLuint", program, "const GLchar*", uniformBlockName) -TRACE_GL_VOID(glGetUniformIndices, (GLuint program, GLsizei uniformCount, const GLchar* const* uniformNames, GLuint* uniformIndices), (program, uniformCount, uniformNames, uniformIndices), 4, "GLuint", program, "GLsizei", uniformCount, "const GLchar* const*", uniformNames, "GLuint*", uniformIndices) -TRACE_GL(GLint, glGetUniformLocation, (GLuint program, const GLchar* name), (program, name), 2, "GLuint", program, "const GLchar*", name) -TRACE_GL_VOID(glGetUniformfv, (GLuint program, GLint location, GLfloat* params), (program, location, params), 3, "GLuint", program, "GLint", location, "GLfloat*", params) -TRACE_GL_VOID(glGetUniformiv, (GLuint program, GLint location, GLint* params), (program, location, params), 3, "GLuint", program, "GLint", location, "GLint*", params) -TRACE_GL_VOID(glGetUniformuiv, (GLuint program, GLint location, GLuint* params), (program, location, params), 3, "GLuint", program, "GLint", location, "GLuint*", params) -TRACE_GL_VOID(glGetVertexAttribIiv, (GLuint index, GLenum pname, GLint* params), (index, pname, params), 3, "GLuint", index, "GLenum", pname, "GLint*", params) -TRACE_GL_VOID(glGetVertexAttribIuiv, (GLuint index, GLenum pname, GLuint* params), (index, pname, params), 3, "GLuint", index, "GLenum", pname, "GLuint*", params) -TRACE_GL_VOID(glGetVertexAttribPointerv, (GLuint index, GLenum pname, GLvoid** pointer), (index, pname, pointer), 3, "GLuint", index, "GLenum", pname, "GLvoid**", pointer) -TRACE_GL_VOID(glGetVertexAttribfv, (GLuint index, GLenum pname, GLfloat* params), (index, pname, params), 3, "GLuint", index, "GLenum", pname, "GLfloat*", params) -TRACE_GL_VOID(glGetVertexAttribiv, (GLuint index, GLenum pname, GLint* params), (index, pname, params), 3, "GLuint", index, "GLenum", pname, "GLint*", params) -TRACE_GL_VOID(glGetnUniformfvEXT, (GLuint program, GLint location, GLsizei bufSize, float *params), (program, location, bufSize, params), 4, "GLuint", program, "GLint", location, "GLsizei", bufSize, "float *", params) -TRACE_GL_VOID(glGetnUniformivEXT, (GLuint program, GLint location, GLsizei bufSize, GLint *params), (program, location, bufSize, params), 4, "GLuint", program, "GLint", location, "GLsizei", bufSize, "GLint *", params) +TRACE_GL(const GLubyte *, glGetStringi, (GLenum name, GLuint index), (name, index), 2, "GLenum", name, "GLuint", index) +TRACE_GL_VOID(glGetSynciv, (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values), (sync, pname, bufSize, length, values), 5, "GLsync", sync, "GLenum", pname, "GLsizei", bufSize, "GLsizei *", length, "GLint *", values) +TRACE_GL_VOID(glGetSyncivAPPLE, (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values), (sync, pname, bufSize, length, values), 5, "GLsync", sync, "GLenum", pname, "GLsizei", bufSize, "GLsizei *", length, "GLint *", values) +TRACE_GL_VOID(glGetTexEnvfv, (GLenum target, GLenum pname, GLfloat * params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "GLfloat *", params) +TRACE_GL_VOID(glGetTexEnviv, (GLenum target, GLenum pname, GLint * params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "GLint *", params) +TRACE_GL_VOID(glGetTexEnvxv, (GLenum target, GLenum pname, GLfixed * params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "GLfixed *", params) +TRACE_GL_VOID(glGetTexEnvxvOES, (GLenum target, GLenum pname, GLfixed * params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "GLfixed *", params) +TRACE_GL_VOID(glGetTexGenfvOES, (GLenum coord, GLenum pname, GLfloat * params), (coord, pname, params), 3, "GLenum", coord, "GLenum", pname, "GLfloat *", params) +TRACE_GL_VOID(glGetTexGenivOES, (GLenum coord, GLenum pname, GLint * params), (coord, pname, params), 3, "GLenum", coord, "GLenum", pname, "GLint *", params) +TRACE_GL_VOID(glGetTexGenxvOES, (GLenum coord, GLenum pname, GLfixed * params), (coord, pname, params), 3, "GLenum", coord, "GLenum", pname, "GLfixed *", params) +TRACE_GL_VOID(glGetTexParameterfv, (GLenum target, GLenum pname, GLfloat * params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "GLfloat *", params) +TRACE_GL_VOID(glGetTexParameteriv, (GLenum target, GLenum pname, GLint * params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "GLint *", params) +TRACE_GL_VOID(glGetTexParameterxv, (GLenum target, GLenum pname, GLfixed * params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "GLfixed *", params) +TRACE_GL_VOID(glGetTexParameterxvOES, (GLenum target, GLenum pname, GLfixed * params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "GLfixed *", params) +TRACE_GL_VOID(glGetTransformFeedbackVarying, (GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, GLchar * name), (program, index, bufSize, length, size, type, name), 7, "GLuint", program, "GLuint", index, "GLsizei", bufSize, "GLsizei *", length, "GLsizei *", size, "GLenum *", type, "GLchar *", name) +TRACE_GL_VOID(glGetTranslatedShaderSourceANGLE, (GLuint shader, GLsizei bufsize, GLsizei * length, GLchar * source), (shader, bufsize, length, source), 4, "GLuint", shader, "GLsizei", bufsize, "GLsizei *", length, "GLchar *", source) +TRACE_GL(GLuint, glGetUniformBlockIndex, (GLuint program, const GLchar * uniformBlockName), (program, uniformBlockName), 2, "GLuint", program, "const GLchar *", uniformBlockName) +TRACE_GL_VOID(glGetUniformIndices, (GLuint program, GLsizei uniformCount, const GLchar *const* uniformNames, GLuint * uniformIndices), (program, uniformCount, uniformNames, uniformIndices), 4, "GLuint", program, "GLsizei", uniformCount, "const GLchar *const*", uniformNames, "GLuint *", uniformIndices) +TRACE_GL(GLint, glGetUniformLocation, (GLuint program, const GLchar * name), (program, name), 2, "GLuint", program, "const GLchar *", name) +TRACE_GL_VOID(glGetUniformfv, (GLuint program, GLint location, GLfloat * params), (program, location, params), 3, "GLuint", program, "GLint", location, "GLfloat *", params) +TRACE_GL_VOID(glGetUniformiv, (GLuint program, GLint location, GLint * params), (program, location, params), 3, "GLuint", program, "GLint", location, "GLint *", params) +TRACE_GL_VOID(glGetUniformuiv, (GLuint program, GLint location, GLuint * params), (program, location, params), 3, "GLuint", program, "GLint", location, "GLuint *", params) +TRACE_GL_VOID(glGetVertexAttribIiv, (GLuint index, GLenum pname, GLint * params), (index, pname, params), 3, "GLuint", index, "GLenum", pname, "GLint *", params) +TRACE_GL_VOID(glGetVertexAttribIuiv, (GLuint index, GLenum pname, GLuint * params), (index, pname, params), 3, "GLuint", index, "GLenum", pname, "GLuint *", params) +TRACE_GL_VOID(glGetVertexAttribPointerv, (GLuint index, GLenum pname, void ** pointer), (index, pname, pointer), 3, "GLuint", index, "GLenum", pname, "void **", pointer) +TRACE_GL_VOID(glGetVertexAttribfv, (GLuint index, GLenum pname, GLfloat * params), (index, pname, params), 3, "GLuint", index, "GLenum", pname, "GLfloat *", params) +TRACE_GL_VOID(glGetVertexAttribiv, (GLuint index, GLenum pname, GLint * params), (index, pname, params), 3, "GLuint", index, "GLenum", pname, "GLint *", params) +TRACE_GL_VOID(glGetnUniformfvEXT, (GLuint program, GLint location, GLsizei bufSize, GLfloat * params), (program, location, bufSize, params), 4, "GLuint", program, "GLint", location, "GLsizei", bufSize, "GLfloat *", params) +TRACE_GL_VOID(glGetnUniformivEXT, (GLuint program, GLint location, GLsizei bufSize, GLint * params), (program, location, bufSize, params), 4, "GLuint", program, "GLint", location, "GLsizei", bufSize, "GLint *", params) TRACE_GL_VOID(glHint, (GLenum target, GLenum mode), (target, mode), 2, "GLenum", target, "GLenum", mode) -TRACE_GL_VOID(glInsertEventMarkerEXT, (GLsizei length, const GLchar *marker), (length, marker), 2, "GLsizei", length, "const GLchar *", marker) -TRACE_GL_VOID(glInvalidateFramebuffer, (GLenum target, GLsizei numAttachments, const GLenum* attachments), (target, numAttachments, attachments), 3, "GLenum", target, "GLsizei", numAttachments, "const GLenum*", attachments) -TRACE_GL_VOID(glInvalidateSubFramebuffer, (GLenum target, GLsizei numAttachments, const GLenum* attachments, GLint x, GLint y, GLsizei width, GLsizei height), (target, numAttachments, attachments, x, y, width, height), 7, "GLenum", target, "GLsizei", numAttachments, "const GLenum*", attachments, "GLint", x, "GLint", y, "GLsizei", width, "GLsizei", height) +TRACE_GL_VOID(glInsertEventMarkerEXT, (GLsizei length, const GLchar * marker), (length, marker), 2, "GLsizei", length, "const GLchar *", marker) +TRACE_GL_VOID(glInvalidateFramebuffer, (GLenum target, GLsizei numAttachments, const GLenum * attachments), (target, numAttachments, attachments), 3, "GLenum", target, "GLsizei", numAttachments, "const GLenum *", attachments) +TRACE_GL_VOID(glInvalidateSubFramebuffer, (GLenum target, GLsizei numAttachments, const GLenum * attachments, GLint x, GLint y, GLsizei width, GLsizei height), (target, numAttachments, attachments, x, y, width, height), 7, "GLenum", target, "GLsizei", numAttachments, "const GLenum *", attachments, "GLint", x, "GLint", y, "GLsizei", width, "GLsizei", height) TRACE_GL(GLboolean, glIsBuffer, (GLuint buffer), (buffer), 1, "GLuint", buffer) TRACE_GL(GLboolean, glIsEnabled, (GLenum cap), (cap), 1, "GLenum", cap) TRACE_GL(GLboolean, glIsFenceNV, (GLuint fence), (fence), 1, "GLuint", fence) @@ -302,106 +344,137 @@ TRACE_GL(GLboolean, glIsRenderbufferOES, (GLuint renderbuffer), (renderbuffer), TRACE_GL(GLboolean, glIsSampler, (GLuint sampler), (sampler), 1, "GLuint", sampler) TRACE_GL(GLboolean, glIsShader, (GLuint shader), (shader), 1, "GLuint", shader) TRACE_GL(GLboolean, glIsSync, (GLsync sync), (sync), 1, "GLsync", sync) +TRACE_GL(GLboolean, glIsSyncAPPLE, (GLsync sync), (sync), 1, "GLsync", sync) TRACE_GL(GLboolean, glIsTexture, (GLuint texture), (texture), 1, "GLuint", texture) TRACE_GL(GLboolean, glIsTransformFeedback, (GLuint id), (id), 1, "GLuint", id) TRACE_GL(GLboolean, glIsVertexArray, (GLuint array), (array), 1, "GLuint", array) TRACE_GL(GLboolean, glIsVertexArrayOES, (GLuint array), (array), 1, "GLuint", array) -TRACE_GL_VOID(glLabelObjectEXT, (GLenum type, GLuint object, GLsizei length, const GLchar *label), (type, object, length, label), 4, "GLenum", type, "GLuint", object, "GLsizei", length, "const GLchar *", label) +TRACE_GL_VOID(glLabelObjectEXT, (GLenum type, GLuint object, GLsizei length, const GLchar * label), (type, object, length, label), 4, "GLenum", type, "GLuint", object, "GLsizei", length, "const GLchar *", label) TRACE_GL_VOID(glLightModelf, (GLenum pname, GLfloat param), (pname, param), 2, "GLenum", pname, "GLfloat", param) -TRACE_GL_VOID(glLightModelfv, (GLenum pname, const GLfloat *params), (pname, params), 2, "GLenum", pname, "const GLfloat *", params) +TRACE_GL_VOID(glLightModelfv, (GLenum pname, const GLfloat * params), (pname, params), 2, "GLenum", pname, "const GLfloat *", params) TRACE_GL_VOID(glLightModelx, (GLenum pname, GLfixed param), (pname, param), 2, "GLenum", pname, "GLfixed", param) TRACE_GL_VOID(glLightModelxOES, (GLenum pname, GLfixed param), (pname, param), 2, "GLenum", pname, "GLfixed", param) -TRACE_GL_VOID(glLightModelxv, (GLenum pname, const GLfixed *params), (pname, params), 2, "GLenum", pname, "const GLfixed *", params) -TRACE_GL_VOID(glLightModelxvOES, (GLenum pname, const GLfixed *params), (pname, params), 2, "GLenum", pname, "const GLfixed *", params) +TRACE_GL_VOID(glLightModelxv, (GLenum pname, const GLfixed * param), (pname, param), 2, "GLenum", pname, "const GLfixed *", param) +TRACE_GL_VOID(glLightModelxvOES, (GLenum pname, const GLfixed * param), (pname, param), 2, "GLenum", pname, "const GLfixed *", param) TRACE_GL_VOID(glLightf, (GLenum light, GLenum pname, GLfloat param), (light, pname, param), 3, "GLenum", light, "GLenum", pname, "GLfloat", param) -TRACE_GL_VOID(glLightfv, (GLenum light, GLenum pname, const GLfloat *params), (light, pname, params), 3, "GLenum", light, "GLenum", pname, "const GLfloat *", params) +TRACE_GL_VOID(glLightfv, (GLenum light, GLenum pname, const GLfloat * params), (light, pname, params), 3, "GLenum", light, "GLenum", pname, "const GLfloat *", params) TRACE_GL_VOID(glLightx, (GLenum light, GLenum pname, GLfixed param), (light, pname, param), 3, "GLenum", light, "GLenum", pname, "GLfixed", param) TRACE_GL_VOID(glLightxOES, (GLenum light, GLenum pname, GLfixed param), (light, pname, param), 3, "GLenum", light, "GLenum", pname, "GLfixed", param) -TRACE_GL_VOID(glLightxv, (GLenum light, GLenum pname, const GLfixed *params), (light, pname, params), 3, "GLenum", light, "GLenum", pname, "const GLfixed *", params) -TRACE_GL_VOID(glLightxvOES, (GLenum light, GLenum pname, const GLfixed *params), (light, pname, params), 3, "GLenum", light, "GLenum", pname, "const GLfixed *", params) +TRACE_GL_VOID(glLightxv, (GLenum light, GLenum pname, const GLfixed * params), (light, pname, params), 3, "GLenum", light, "GLenum", pname, "const GLfixed *", params) +TRACE_GL_VOID(glLightxvOES, (GLenum light, GLenum pname, const GLfixed * params), (light, pname, params), 3, "GLenum", light, "GLenum", pname, "const GLfixed *", params) TRACE_GL_VOID(glLineWidth, (GLfloat width), (width), 1, "GLfloat", width) TRACE_GL_VOID(glLineWidthx, (GLfixed width), (width), 1, "GLfixed", width) TRACE_GL_VOID(glLineWidthxOES, (GLfixed width), (width), 1, "GLfixed", width) TRACE_GL_VOID(glLinkProgram, (GLuint program), (program), 1, "GLuint", program) TRACE_GL_VOID(glLoadIdentity, (void), (), 0) -TRACE_GL_VOID(glLoadMatrixf, (const GLfloat *m), (m), 1, "const GLfloat *", m) -TRACE_GL_VOID(glLoadMatrixx, (const GLfixed *m), (m), 1, "const GLfixed *", m) -TRACE_GL_VOID(glLoadMatrixxOES, (const GLfixed *m), (m), 1, "const GLfixed *", m) +TRACE_GL_VOID(glLoadMatrixf, (const GLfloat * m), (m), 1, "const GLfloat *", m) +TRACE_GL_VOID(glLoadMatrixx, (const GLfixed * m), (m), 1, "const GLfixed *", m) +TRACE_GL_VOID(glLoadMatrixxOES, (const GLfixed * m), (m), 1, "const GLfixed *", m) TRACE_GL_VOID(glLoadPaletteFromModelViewMatrixOES, (void), (), 0) TRACE_GL_VOID(glLogicOp, (GLenum opcode), (opcode), 1, "GLenum", opcode) -TRACE_GL(void*, glMapBufferOES, (GLenum target, GLenum access), (target, access), 2, "GLenum", target, "GLenum", access) -TRACE_GL(GLvoid*, glMapBufferRange, (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access), (target, offset, length, access), 4, "GLenum", target, "GLintptr", offset, "GLsizeiptr", length, "GLbitfield", access) +TRACE_GL(void *, glMapBufferOES, (GLenum target, GLenum access), (target, access), 2, "GLenum", target, "GLenum", access) +TRACE_GL(void *, glMapBufferRange, (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access), (target, offset, length, access), 4, "GLenum", target, "GLintptr", offset, "GLsizeiptr", length, "GLbitfield", access) +TRACE_GL(void *, glMapBufferRangeEXT, (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access), (target, offset, length, access), 4, "GLenum", target, "GLintptr", offset, "GLsizeiptr", length, "GLbitfield", access) TRACE_GL_VOID(glMaterialf, (GLenum face, GLenum pname, GLfloat param), (face, pname, param), 3, "GLenum", face, "GLenum", pname, "GLfloat", param) -TRACE_GL_VOID(glMaterialfv, (GLenum face, GLenum pname, const GLfloat *params), (face, pname, params), 3, "GLenum", face, "GLenum", pname, "const GLfloat *", params) +TRACE_GL_VOID(glMaterialfv, (GLenum face, GLenum pname, const GLfloat * params), (face, pname, params), 3, "GLenum", face, "GLenum", pname, "const GLfloat *", params) TRACE_GL_VOID(glMaterialx, (GLenum face, GLenum pname, GLfixed param), (face, pname, param), 3, "GLenum", face, "GLenum", pname, "GLfixed", param) TRACE_GL_VOID(glMaterialxOES, (GLenum face, GLenum pname, GLfixed param), (face, pname, param), 3, "GLenum", face, "GLenum", pname, "GLfixed", param) -TRACE_GL_VOID(glMaterialxv, (GLenum face, GLenum pname, const GLfixed *params), (face, pname, params), 3, "GLenum", face, "GLenum", pname, "const GLfixed *", params) -TRACE_GL_VOID(glMaterialxvOES, (GLenum face, GLenum pname, const GLfixed *params), (face, pname, params), 3, "GLenum", face, "GLenum", pname, "const GLfixed *", params) -TRACE_GL_VOID(glMatrixIndexPointerOES, (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer), (size, type, stride, pointer), 4, "GLint", size, "GLenum", type, "GLsizei", stride, "const GLvoid *", pointer) +TRACE_GL_VOID(glMaterialxv, (GLenum face, GLenum pname, const GLfixed * param), (face, pname, param), 3, "GLenum", face, "GLenum", pname, "const GLfixed *", param) +TRACE_GL_VOID(glMaterialxvOES, (GLenum face, GLenum pname, const GLfixed * param), (face, pname, param), 3, "GLenum", face, "GLenum", pname, "const GLfixed *", param) +TRACE_GL_VOID(glMatrixIndexPointerOES, (GLint size, GLenum type, GLsizei stride, const void * pointer), (size, type, stride, pointer), 4, "GLint", size, "GLenum", type, "GLsizei", stride, "const void *", pointer) TRACE_GL_VOID(glMatrixMode, (GLenum mode), (mode), 1, "GLenum", mode) -TRACE_GL_VOID(glMultMatrixf, (const GLfloat *m), (m), 1, "const GLfloat *", m) -TRACE_GL_VOID(glMultMatrixx, (const GLfixed *m), (m), 1, "const GLfixed *", m) -TRACE_GL_VOID(glMultMatrixxOES, (const GLfixed *m), (m), 1, "const GLfixed *", m) -TRACE_GL_VOID(glMultiDrawArraysEXT, (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount), (mode, first, count, primcount), 4, "GLenum", mode, "GLint *", first, "GLsizei *", count, "GLsizei", primcount) -TRACE_GL_VOID(glMultiDrawElementsEXT, (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount), (mode, count, type, indices, primcount), 5, "GLenum", mode, "const GLsizei *", count, "GLenum", type, "const GLvoid* *", indices, "GLsizei", primcount) +TRACE_GL_VOID(glMinSampleShadingOES, (GLfloat value), (value), 1, "GLfloat", value) +TRACE_GL_VOID(glMultMatrixf, (const GLfloat * m), (m), 1, "const GLfloat *", m) +TRACE_GL_VOID(glMultMatrixx, (const GLfixed * m), (m), 1, "const GLfixed *", m) +TRACE_GL_VOID(glMultMatrixxOES, (const GLfixed * m), (m), 1, "const GLfixed *", m) +TRACE_GL_VOID(glMultiDrawArraysEXT, (GLenum mode, const GLint * first, const GLsizei * count, GLsizei primcount), (mode, first, count, primcount), 4, "GLenum", mode, "const GLint *", first, "const GLsizei *", count, "GLsizei", primcount) +TRACE_GL_VOID(glMultiDrawElementsEXT, (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount), (mode, count, type, indices, primcount), 5, "GLenum", mode, "const GLsizei *", count, "GLenum", type, "const void *const*", indices, "GLsizei", primcount) +TRACE_GL_VOID(glMultiTexCoord1bOES, (GLenum texture, GLbyte s), (texture, s), 2, "GLenum", texture, "GLbyte", s) +TRACE_GL_VOID(glMultiTexCoord1bvOES, (GLenum texture, const GLbyte * coords), (texture, coords), 2, "GLenum", texture, "const GLbyte *", coords) +TRACE_GL_VOID(glMultiTexCoord2bOES, (GLenum texture, GLbyte s, GLbyte t), (texture, s, t), 3, "GLenum", texture, "GLbyte", s, "GLbyte", t) +TRACE_GL_VOID(glMultiTexCoord2bvOES, (GLenum texture, const GLbyte * coords), (texture, coords), 2, "GLenum", texture, "const GLbyte *", coords) +TRACE_GL_VOID(glMultiTexCoord3bOES, (GLenum texture, GLbyte s, GLbyte t, GLbyte r), (texture, s, t, r), 4, "GLenum", texture, "GLbyte", s, "GLbyte", t, "GLbyte", r) +TRACE_GL_VOID(glMultiTexCoord3bvOES, (GLenum texture, const GLbyte * coords), (texture, coords), 2, "GLenum", texture, "const GLbyte *", coords) +TRACE_GL_VOID(glMultiTexCoord4bOES, (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q), (texture, s, t, r, q), 5, "GLenum", texture, "GLbyte", s, "GLbyte", t, "GLbyte", r, "GLbyte", q) +TRACE_GL_VOID(glMultiTexCoord4bvOES, (GLenum texture, const GLbyte * coords), (texture, coords), 2, "GLenum", texture, "const GLbyte *", coords) TRACE_GL_VOID(glMultiTexCoord4f, (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q), (target, s, t, r, q), 5, "GLenum", target, "GLfloat", s, "GLfloat", t, "GLfloat", r, "GLfloat", q) -TRACE_GL_VOID(glMultiTexCoord4x, (GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q), (target, s, t, r, q), 5, "GLenum", target, "GLfixed", s, "GLfixed", t, "GLfixed", r, "GLfixed", q) -TRACE_GL_VOID(glMultiTexCoord4xOES, (GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q), (target, s, t, r, q), 5, "GLenum", target, "GLfixed", s, "GLfixed", t, "GLfixed", r, "GLfixed", q) +TRACE_GL_VOID(glMultiTexCoord4x, (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q), (texture, s, t, r, q), 5, "GLenum", texture, "GLfixed", s, "GLfixed", t, "GLfixed", r, "GLfixed", q) +TRACE_GL_VOID(glMultiTexCoord4xOES, (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q), (texture, s, t, r, q), 5, "GLenum", texture, "GLfixed", s, "GLfixed", t, "GLfixed", r, "GLfixed", q) TRACE_GL_VOID(glNormal3f, (GLfloat nx, GLfloat ny, GLfloat nz), (nx, ny, nz), 3, "GLfloat", nx, "GLfloat", ny, "GLfloat", nz) TRACE_GL_VOID(glNormal3x, (GLfixed nx, GLfixed ny, GLfixed nz), (nx, ny, nz), 3, "GLfixed", nx, "GLfixed", ny, "GLfixed", nz) TRACE_GL_VOID(glNormal3xOES, (GLfixed nx, GLfixed ny, GLfixed nz), (nx, ny, nz), 3, "GLfixed", nx, "GLfixed", ny, "GLfixed", nz) -TRACE_GL_VOID(glNormalPointer, (GLenum type, GLsizei stride, const GLvoid *pointer), (type, stride, pointer), 3, "GLenum", type, "GLsizei", stride, "const GLvoid *", pointer) -TRACE_GL_VOID(glOrthof, (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar), (left, right, bottom, top, zNear, zFar), 6, "GLfloat", left, "GLfloat", right, "GLfloat", bottom, "GLfloat", top, "GLfloat", zNear, "GLfloat", zFar) -TRACE_GL_VOID(glOrthofOES, (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar), (left, right, bottom, top, zNear, zFar), 6, "GLfloat", left, "GLfloat", right, "GLfloat", bottom, "GLfloat", top, "GLfloat", zNear, "GLfloat", zFar) -TRACE_GL_VOID(glOrthox, (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar), (left, right, bottom, top, zNear, zFar), 6, "GLfixed", left, "GLfixed", right, "GLfixed", bottom, "GLfixed", top, "GLfixed", zNear, "GLfixed", zFar) -TRACE_GL_VOID(glOrthoxOES, (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar), (left, right, bottom, top, zNear, zFar), 6, "GLfixed", left, "GLfixed", right, "GLfixed", bottom, "GLfixed", top, "GLfixed", zNear, "GLfixed", zFar) +TRACE_GL_VOID(glNormalPointer, (GLenum type, GLsizei stride, const void * pointer), (type, stride, pointer), 3, "GLenum", type, "GLsizei", stride, "const void *", pointer) +TRACE_GL_VOID(glObjectLabelKHR, (GLenum identifier, GLuint name, GLsizei length, const GLchar * label), (identifier, name, length, label), 4, "GLenum", identifier, "GLuint", name, "GLsizei", length, "const GLchar *", label) +TRACE_GL_VOID(glObjectPtrLabelKHR, (const void * ptr, GLsizei length, const GLchar * label), (ptr, length, label), 3, "const void *", ptr, "GLsizei", length, "const GLchar *", label) +TRACE_GL_VOID(glOrthof, (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f), (l, r, b, t, n, f), 6, "GLfloat", l, "GLfloat", r, "GLfloat", b, "GLfloat", t, "GLfloat", n, "GLfloat", f) +TRACE_GL_VOID(glOrthofOES, (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f), (l, r, b, t, n, f), 6, "GLfloat", l, "GLfloat", r, "GLfloat", b, "GLfloat", t, "GLfloat", n, "GLfloat", f) +TRACE_GL_VOID(glOrthox, (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f), (l, r, b, t, n, f), 6, "GLfixed", l, "GLfixed", r, "GLfixed", b, "GLfixed", t, "GLfixed", n, "GLfixed", f) +TRACE_GL_VOID(glOrthoxOES, (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f), (l, r, b, t, n, f), 6, "GLfixed", l, "GLfixed", r, "GLfixed", b, "GLfixed", t, "GLfixed", n, "GLfixed", f) TRACE_GL_VOID(glPauseTransformFeedback, (void), (), 0) TRACE_GL_VOID(glPixelStorei, (GLenum pname, GLint param), (pname, param), 2, "GLenum", pname, "GLint", param) TRACE_GL_VOID(glPointParameterf, (GLenum pname, GLfloat param), (pname, param), 2, "GLenum", pname, "GLfloat", param) -TRACE_GL_VOID(glPointParameterfv, (GLenum pname, const GLfloat *params), (pname, params), 2, "GLenum", pname, "const GLfloat *", params) +TRACE_GL_VOID(glPointParameterfv, (GLenum pname, const GLfloat * params), (pname, params), 2, "GLenum", pname, "const GLfloat *", params) TRACE_GL_VOID(glPointParameterx, (GLenum pname, GLfixed param), (pname, param), 2, "GLenum", pname, "GLfixed", param) TRACE_GL_VOID(glPointParameterxOES, (GLenum pname, GLfixed param), (pname, param), 2, "GLenum", pname, "GLfixed", param) -TRACE_GL_VOID(glPointParameterxv, (GLenum pname, const GLfixed *params), (pname, params), 2, "GLenum", pname, "const GLfixed *", params) -TRACE_GL_VOID(glPointParameterxvOES, (GLenum pname, const GLfixed *params), (pname, params), 2, "GLenum", pname, "const GLfixed *", params) +TRACE_GL_VOID(glPointParameterxv, (GLenum pname, const GLfixed * params), (pname, params), 2, "GLenum", pname, "const GLfixed *", params) +TRACE_GL_VOID(glPointParameterxvOES, (GLenum pname, const GLfixed * params), (pname, params), 2, "GLenum", pname, "const GLfixed *", params) TRACE_GL_VOID(glPointSize, (GLfloat size), (size), 1, "GLfloat", size) -TRACE_GL_VOID(glPointSizePointerOES, (GLenum type, GLsizei stride, const GLvoid *pointer), (type, stride, pointer), 3, "GLenum", type, "GLsizei", stride, "const GLvoid *", pointer) +TRACE_GL_VOID(glPointSizePointerOES, (GLenum type, GLsizei stride, const void * pointer), (type, stride, pointer), 3, "GLenum", type, "GLsizei", stride, "const void *", pointer) TRACE_GL_VOID(glPointSizex, (GLfixed size), (size), 1, "GLfixed", size) TRACE_GL_VOID(glPointSizexOES, (GLfixed size), (size), 1, "GLfixed", size) TRACE_GL_VOID(glPolygonOffset, (GLfloat factor, GLfloat units), (factor, units), 2, "GLfloat", factor, "GLfloat", units) TRACE_GL_VOID(glPolygonOffsetx, (GLfixed factor, GLfixed units), (factor, units), 2, "GLfixed", factor, "GLfixed", units) TRACE_GL_VOID(glPolygonOffsetxOES, (GLfixed factor, GLfixed units), (factor, units), 2, "GLfixed", factor, "GLfixed", units) +TRACE_GL_VOID(glPopDebugGroupKHR, (void), (), 0) TRACE_GL_VOID(glPopGroupMarkerEXT, (void), (), 0) TRACE_GL_VOID(glPopMatrix, (void), (), 0) -TRACE_GL_VOID(glProgramBinary, (GLuint program, GLenum binaryFormat, const GLvoid* binary, GLsizei length), (program, binaryFormat, binary, length), 4, "GLuint", program, "GLenum", binaryFormat, "const GLvoid*", binary, "GLsizei", length) -TRACE_GL_VOID(glProgramBinaryOES, (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length), (program, binaryFormat, binary, length), 4, "GLuint", program, "GLenum", binaryFormat, "const GLvoid *", binary, "GLint", length) +TRACE_GL_VOID(glProgramBinary, (GLuint program, GLenum binaryFormat, const void * binary, GLsizei length), (program, binaryFormat, binary, length), 4, "GLuint", program, "GLenum", binaryFormat, "const void *", binary, "GLsizei", length) +TRACE_GL_VOID(glProgramBinaryOES, (GLuint program, GLenum binaryFormat, const void * binary, GLint length), (program, binaryFormat, binary, length), 4, "GLuint", program, "GLenum", binaryFormat, "const void *", binary, "GLint", length) TRACE_GL_VOID(glProgramParameteri, (GLuint program, GLenum pname, GLint value), (program, pname, value), 3, "GLuint", program, "GLenum", pname, "GLint", value) TRACE_GL_VOID(glProgramParameteriEXT, (GLuint program, GLenum pname, GLint value), (program, pname, value), 3, "GLuint", program, "GLenum", pname, "GLint", value) -TRACE_GL_VOID(glProgramUniform1fEXT, (GLuint program, GLint location, GLfloat x), (program, location, x), 3, "GLuint", program, "GLint", location, "GLfloat", x) -TRACE_GL_VOID(glProgramUniform1fvEXT, (GLuint program, GLint location, GLsizei count, const GLfloat *value), (program, location, count, value), 4, "GLuint", program, "GLint", location, "GLsizei", count, "const GLfloat *", value) -TRACE_GL_VOID(glProgramUniform1iEXT, (GLuint program, GLint location, GLint x), (program, location, x), 3, "GLuint", program, "GLint", location, "GLint", x) -TRACE_GL_VOID(glProgramUniform1ivEXT, (GLuint program, GLint location, GLsizei count, const GLint *value), (program, location, count, value), 4, "GLuint", program, "GLint", location, "GLsizei", count, "const GLint *", value) -TRACE_GL_VOID(glProgramUniform2fEXT, (GLuint program, GLint location, GLfloat x, GLfloat y), (program, location, x, y), 4, "GLuint", program, "GLint", location, "GLfloat", x, "GLfloat", y) -TRACE_GL_VOID(glProgramUniform2fvEXT, (GLuint program, GLint location, GLsizei count, const GLfloat *value), (program, location, count, value), 4, "GLuint", program, "GLint", location, "GLsizei", count, "const GLfloat *", value) -TRACE_GL_VOID(glProgramUniform2iEXT, (GLuint program, GLint location, GLint x, GLint y), (program, location, x, y), 4, "GLuint", program, "GLint", location, "GLint", x, "GLint", y) -TRACE_GL_VOID(glProgramUniform2ivEXT, (GLuint program, GLint location, GLsizei count, const GLint *value), (program, location, count, value), 4, "GLuint", program, "GLint", location, "GLsizei", count, "const GLint *", value) -TRACE_GL_VOID(glProgramUniform3fEXT, (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z), (program, location, x, y, z), 5, "GLuint", program, "GLint", location, "GLfloat", x, "GLfloat", y, "GLfloat", z) -TRACE_GL_VOID(glProgramUniform3fvEXT, (GLuint program, GLint location, GLsizei count, const GLfloat *value), (program, location, count, value), 4, "GLuint", program, "GLint", location, "GLsizei", count, "const GLfloat *", value) -TRACE_GL_VOID(glProgramUniform3iEXT, (GLuint program, GLint location, GLint x, GLint y, GLint z), (program, location, x, y, z), 5, "GLuint", program, "GLint", location, "GLint", x, "GLint", y, "GLint", z) -TRACE_GL_VOID(glProgramUniform3ivEXT, (GLuint program, GLint location, GLsizei count, const GLint *value), (program, location, count, value), 4, "GLuint", program, "GLint", location, "GLsizei", count, "const GLint *", value) -TRACE_GL_VOID(glProgramUniform4fEXT, (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w), (program, location, x, y, z, w), 6, "GLuint", program, "GLint", location, "GLfloat", x, "GLfloat", y, "GLfloat", z, "GLfloat", w) -TRACE_GL_VOID(glProgramUniform4fvEXT, (GLuint program, GLint location, GLsizei count, const GLfloat *value), (program, location, count, value), 4, "GLuint", program, "GLint", location, "GLsizei", count, "const GLfloat *", value) -TRACE_GL_VOID(glProgramUniform4iEXT, (GLuint program, GLint location, GLint x, GLint y, GLint z, GLint w), (program, location, x, y, z, w), 6, "GLuint", program, "GLint", location, "GLint", x, "GLint", y, "GLint", z, "GLint", w) -TRACE_GL_VOID(glProgramUniform4ivEXT, (GLuint program, GLint location, GLsizei count, const GLint *value), (program, location, count, value), 4, "GLuint", program, "GLint", location, "GLsizei", count, "const GLint *", value) -TRACE_GL_VOID(glProgramUniformMatrix2fvEXT, (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value), (program, location, count, transpose, value), 5, "GLuint", program, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat *", value) -TRACE_GL_VOID(glProgramUniformMatrix3fvEXT, (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value), (program, location, count, transpose, value), 5, "GLuint", program, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat *", value) -TRACE_GL_VOID(glProgramUniformMatrix4fvEXT, (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value), (program, location, count, transpose, value), 5, "GLuint", program, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat *", value) -TRACE_GL_VOID(glPushGroupMarkerEXT, (GLsizei length, const GLchar *marker), (length, marker), 2, "GLsizei", length, "const GLchar *", marker) +TRACE_GL_VOID(glProgramUniform1fEXT, (GLuint program, GLint location, GLfloat v0), (program, location, v0), 3, "GLuint", program, "GLint", location, "GLfloat", v0) +TRACE_GL_VOID(glProgramUniform1fvEXT, (GLuint program, GLint location, GLsizei count, const GLfloat * value), (program, location, count, value), 4, "GLuint", program, "GLint", location, "GLsizei", count, "const GLfloat *", value) +TRACE_GL_VOID(glProgramUniform1iEXT, (GLuint program, GLint location, GLint v0), (program, location, v0), 3, "GLuint", program, "GLint", location, "GLint", v0) +TRACE_GL_VOID(glProgramUniform1ivEXT, (GLuint program, GLint location, GLsizei count, const GLint * value), (program, location, count, value), 4, "GLuint", program, "GLint", location, "GLsizei", count, "const GLint *", value) +TRACE_GL_VOID(glProgramUniform1uiEXT, (GLuint program, GLint location, GLuint v0), (program, location, v0), 3, "GLuint", program, "GLint", location, "GLuint", v0) +TRACE_GL_VOID(glProgramUniform1uivEXT, (GLuint program, GLint location, GLsizei count, const GLuint * value), (program, location, count, value), 4, "GLuint", program, "GLint", location, "GLsizei", count, "const GLuint *", value) +TRACE_GL_VOID(glProgramUniform2fEXT, (GLuint program, GLint location, GLfloat v0, GLfloat v1), (program, location, v0, v1), 4, "GLuint", program, "GLint", location, "GLfloat", v0, "GLfloat", v1) +TRACE_GL_VOID(glProgramUniform2fvEXT, (GLuint program, GLint location, GLsizei count, const GLfloat * value), (program, location, count, value), 4, "GLuint", program, "GLint", location, "GLsizei", count, "const GLfloat *", value) +TRACE_GL_VOID(glProgramUniform2iEXT, (GLuint program, GLint location, GLint v0, GLint v1), (program, location, v0, v1), 4, "GLuint", program, "GLint", location, "GLint", v0, "GLint", v1) +TRACE_GL_VOID(glProgramUniform2ivEXT, (GLuint program, GLint location, GLsizei count, const GLint * value), (program, location, count, value), 4, "GLuint", program, "GLint", location, "GLsizei", count, "const GLint *", value) +TRACE_GL_VOID(glProgramUniform2uiEXT, (GLuint program, GLint location, GLuint v0, GLuint v1), (program, location, v0, v1), 4, "GLuint", program, "GLint", location, "GLuint", v0, "GLuint", v1) +TRACE_GL_VOID(glProgramUniform2uivEXT, (GLuint program, GLint location, GLsizei count, const GLuint * value), (program, location, count, value), 4, "GLuint", program, "GLint", location, "GLsizei", count, "const GLuint *", value) +TRACE_GL_VOID(glProgramUniform3fEXT, (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2), (program, location, v0, v1, v2), 5, "GLuint", program, "GLint", location, "GLfloat", v0, "GLfloat", v1, "GLfloat", v2) +TRACE_GL_VOID(glProgramUniform3fvEXT, (GLuint program, GLint location, GLsizei count, const GLfloat * value), (program, location, count, value), 4, "GLuint", program, "GLint", location, "GLsizei", count, "const GLfloat *", value) +TRACE_GL_VOID(glProgramUniform3iEXT, (GLuint program, GLint location, GLint v0, GLint v1, GLint v2), (program, location, v0, v1, v2), 5, "GLuint", program, "GLint", location, "GLint", v0, "GLint", v1, "GLint", v2) +TRACE_GL_VOID(glProgramUniform3ivEXT, (GLuint program, GLint location, GLsizei count, const GLint * value), (program, location, count, value), 4, "GLuint", program, "GLint", location, "GLsizei", count, "const GLint *", value) +TRACE_GL_VOID(glProgramUniform3uiEXT, (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2), (program, location, v0, v1, v2), 5, "GLuint", program, "GLint", location, "GLuint", v0, "GLuint", v1, "GLuint", v2) +TRACE_GL_VOID(glProgramUniform3uivEXT, (GLuint program, GLint location, GLsizei count, const GLuint * value), (program, location, count, value), 4, "GLuint", program, "GLint", location, "GLsizei", count, "const GLuint *", value) +TRACE_GL_VOID(glProgramUniform4fEXT, (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3), (program, location, v0, v1, v2, v3), 6, "GLuint", program, "GLint", location, "GLfloat", v0, "GLfloat", v1, "GLfloat", v2, "GLfloat", v3) +TRACE_GL_VOID(glProgramUniform4fvEXT, (GLuint program, GLint location, GLsizei count, const GLfloat * value), (program, location, count, value), 4, "GLuint", program, "GLint", location, "GLsizei", count, "const GLfloat *", value) +TRACE_GL_VOID(glProgramUniform4iEXT, (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3), (program, location, v0, v1, v2, v3), 6, "GLuint", program, "GLint", location, "GLint", v0, "GLint", v1, "GLint", v2, "GLint", v3) +TRACE_GL_VOID(glProgramUniform4ivEXT, (GLuint program, GLint location, GLsizei count, const GLint * value), (program, location, count, value), 4, "GLuint", program, "GLint", location, "GLsizei", count, "const GLint *", value) +TRACE_GL_VOID(glProgramUniform4uiEXT, (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3), (program, location, v0, v1, v2, v3), 6, "GLuint", program, "GLint", location, "GLuint", v0, "GLuint", v1, "GLuint", v2, "GLuint", v3) +TRACE_GL_VOID(glProgramUniform4uivEXT, (GLuint program, GLint location, GLsizei count, const GLuint * value), (program, location, count, value), 4, "GLuint", program, "GLint", location, "GLsizei", count, "const GLuint *", value) +TRACE_GL_VOID(glProgramUniformMatrix2fvEXT, (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value), (program, location, count, transpose, value), 5, "GLuint", program, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat *", value) +TRACE_GL_VOID(glProgramUniformMatrix2x3fvEXT, (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value), (program, location, count, transpose, value), 5, "GLuint", program, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat *", value) +TRACE_GL_VOID(glProgramUniformMatrix2x4fvEXT, (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value), (program, location, count, transpose, value), 5, "GLuint", program, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat *", value) +TRACE_GL_VOID(glProgramUniformMatrix3fvEXT, (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value), (program, location, count, transpose, value), 5, "GLuint", program, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat *", value) +TRACE_GL_VOID(glProgramUniformMatrix3x2fvEXT, (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value), (program, location, count, transpose, value), 5, "GLuint", program, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat *", value) +TRACE_GL_VOID(glProgramUniformMatrix3x4fvEXT, (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value), (program, location, count, transpose, value), 5, "GLuint", program, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat *", value) +TRACE_GL_VOID(glProgramUniformMatrix4fvEXT, (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value), (program, location, count, transpose, value), 5, "GLuint", program, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat *", value) +TRACE_GL_VOID(glProgramUniformMatrix4x2fvEXT, (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value), (program, location, count, transpose, value), 5, "GLuint", program, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat *", value) +TRACE_GL_VOID(glProgramUniformMatrix4x3fvEXT, (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value), (program, location, count, transpose, value), 5, "GLuint", program, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat *", value) +TRACE_GL_VOID(glPushDebugGroupKHR, (GLenum source, GLuint id, GLsizei length, const GLchar * message), (source, id, length, message), 4, "GLenum", source, "GLuint", id, "GLsizei", length, "const GLchar *", message) +TRACE_GL_VOID(glPushGroupMarkerEXT, (GLsizei length, const GLchar * marker), (length, marker), 2, "GLsizei", length, "const GLchar *", marker) TRACE_GL_VOID(glPushMatrix, (void), (), 0) -TRACE_GL(GLbitfield, glQueryMatrixxOES, (GLfixed mantissa[16], GLint exponent[16]), (mantissa, exponent), 2, "GLfixed", mantissa, "GLint", exponent) +TRACE_GL_VOID(glQueryCounterEXT, (GLuint id, GLenum target), (id, target), 2, "GLuint", id, "GLenum", target) +TRACE_GL(GLbitfield, glQueryMatrixxOES, (GLfixed * mantissa, GLint * exponent), (mantissa, exponent), 2, "GLfixed *", mantissa, "GLint *", exponent) TRACE_GL_VOID(glReadBuffer, (GLenum mode), (mode), 1, "GLenum", mode) +TRACE_GL_VOID(glReadBufferIndexedEXT, (GLenum src, GLint index), (src, index), 2, "GLenum", src, "GLint", index) TRACE_GL_VOID(glReadBufferNV, (GLenum mode), (mode), 1, "GLenum", mode) -TRACE_GL_VOID(glReadPixels, (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels), (x, y, width, height, format, type, pixels), 7, "GLint", x, "GLint", y, "GLsizei", width, "GLsizei", height, "GLenum", format, "GLenum", type, "GLvoid *", pixels) -TRACE_GL_VOID(glReadnPixelsEXT, (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data), (x, y, width, height, format, type, bufSize, data), 8, "GLint", x, "GLint", y, "GLsizei", width, "GLsizei", height, "GLenum", format, "GLenum", type, "GLsizei", bufSize, "void *", data) +TRACE_GL_VOID(glReadPixels, (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void * pixels), (x, y, width, height, format, type, pixels), 7, "GLint", x, "GLint", y, "GLsizei", width, "GLsizei", height, "GLenum", format, "GLenum", type, "void *", pixels) +TRACE_GL_VOID(glReadnPixelsEXT, (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data), (x, y, width, height, format, type, bufSize, data), 8, "GLint", x, "GLint", y, "GLsizei", width, "GLsizei", height, "GLenum", format, "GLenum", type, "GLsizei", bufSize, "void *", data) TRACE_GL_VOID(glReleaseShaderCompiler, (void), (), 0) TRACE_GL_VOID(glRenderbufferStorage, (GLenum target, GLenum internalformat, GLsizei width, GLsizei height), (target, internalformat, width, height), 4, "GLenum", target, "GLenum", internalformat, "GLsizei", width, "GLsizei", height) TRACE_GL_VOID(glRenderbufferStorageMultisample, (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height), (target, samples, internalformat, width, height), 5, "GLenum", target, "GLsizei", samples, "GLenum", internalformat, "GLsizei", width, "GLsizei", height) @@ -409,133 +482,160 @@ TRACE_GL_VOID(glRenderbufferStorageMultisampleANGLE, (GLenum target, GLsizei sam TRACE_GL_VOID(glRenderbufferStorageMultisampleAPPLE, (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height), (target, samples, internalformat, width, height), 5, "GLenum", target, "GLsizei", samples, "GLenum", internalformat, "GLsizei", width, "GLsizei", height) TRACE_GL_VOID(glRenderbufferStorageMultisampleEXT, (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height), (target, samples, internalformat, width, height), 5, "GLenum", target, "GLsizei", samples, "GLenum", internalformat, "GLsizei", width, "GLsizei", height) TRACE_GL_VOID(glRenderbufferStorageMultisampleIMG, (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height), (target, samples, internalformat, width, height), 5, "GLenum", target, "GLsizei", samples, "GLenum", internalformat, "GLsizei", width, "GLsizei", height) +TRACE_GL_VOID(glRenderbufferStorageMultisampleNV, (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height), (target, samples, internalformat, width, height), 5, "GLenum", target, "GLsizei", samples, "GLenum", internalformat, "GLsizei", width, "GLsizei", height) TRACE_GL_VOID(glRenderbufferStorageOES, (GLenum target, GLenum internalformat, GLsizei width, GLsizei height), (target, internalformat, width, height), 4, "GLenum", target, "GLenum", internalformat, "GLsizei", width, "GLsizei", height) TRACE_GL_VOID(glResolveMultisampleFramebufferAPPLE, (void), (), 0) TRACE_GL_VOID(glResumeTransformFeedback, (void), (), 0) TRACE_GL_VOID(glRotatef, (GLfloat angle, GLfloat x, GLfloat y, GLfloat z), (angle, x, y, z), 4, "GLfloat", angle, "GLfloat", x, "GLfloat", y, "GLfloat", z) TRACE_GL_VOID(glRotatex, (GLfixed angle, GLfixed x, GLfixed y, GLfixed z), (angle, x, y, z), 4, "GLfixed", angle, "GLfixed", x, "GLfixed", y, "GLfixed", z) TRACE_GL_VOID(glRotatexOES, (GLfixed angle, GLfixed x, GLfixed y, GLfixed z), (angle, x, y, z), 4, "GLfixed", angle, "GLfixed", x, "GLfixed", y, "GLfixed", z) -TRACE_GL_VOID(glSampleCoverage, (GLclampf value, GLboolean invert), (value, invert), 2, "GLclampf", value, "GLboolean", invert) +TRACE_GL_VOID(glSampleCoverage, (GLfloat value, GLboolean invert), (value, invert), 2, "GLfloat", value, "GLboolean", invert) +TRACE_GL_VOID(glSampleCoverageOES, (GLfixed value, GLboolean invert), (value, invert), 2, "GLfixed", value, "GLboolean", invert) TRACE_GL_VOID(glSampleCoveragex, (GLclampx value, GLboolean invert), (value, invert), 2, "GLclampx", value, "GLboolean", invert) TRACE_GL_VOID(glSampleCoveragexOES, (GLclampx value, GLboolean invert), (value, invert), 2, "GLclampx", value, "GLboolean", invert) TRACE_GL_VOID(glSamplerParameterf, (GLuint sampler, GLenum pname, GLfloat param), (sampler, pname, param), 3, "GLuint", sampler, "GLenum", pname, "GLfloat", param) -TRACE_GL_VOID(glSamplerParameterfv, (GLuint sampler, GLenum pname, const GLfloat* param), (sampler, pname, param), 3, "GLuint", sampler, "GLenum", pname, "const GLfloat*", param) +TRACE_GL_VOID(glSamplerParameterfv, (GLuint sampler, GLenum pname, const GLfloat * param), (sampler, pname, param), 3, "GLuint", sampler, "GLenum", pname, "const GLfloat *", param) TRACE_GL_VOID(glSamplerParameteri, (GLuint sampler, GLenum pname, GLint param), (sampler, pname, param), 3, "GLuint", sampler, "GLenum", pname, "GLint", param) -TRACE_GL_VOID(glSamplerParameteriv, (GLuint sampler, GLenum pname, const GLint* param), (sampler, pname, param), 3, "GLuint", sampler, "GLenum", pname, "const GLint*", param) +TRACE_GL_VOID(glSamplerParameteriv, (GLuint sampler, GLenum pname, const GLint * param), (sampler, pname, param), 3, "GLuint", sampler, "GLenum", pname, "const GLint *", param) TRACE_GL_VOID(glScalef, (GLfloat x, GLfloat y, GLfloat z), (x, y, z), 3, "GLfloat", x, "GLfloat", y, "GLfloat", z) TRACE_GL_VOID(glScalex, (GLfixed x, GLfixed y, GLfixed z), (x, y, z), 3, "GLfixed", x, "GLfixed", y, "GLfixed", z) TRACE_GL_VOID(glScalexOES, (GLfixed x, GLfixed y, GLfixed z), (x, y, z), 3, "GLfixed", x, "GLfixed", y, "GLfixed", z) TRACE_GL_VOID(glScissor, (GLint x, GLint y, GLsizei width, GLsizei height), (x, y, width, height), 4, "GLint", x, "GLint", y, "GLsizei", width, "GLsizei", height) -TRACE_GL_VOID(glSelectPerfMonitorCountersAMD, (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList), (monitor, enable, group, numCounters, countersList), 5, "GLuint", monitor, "GLboolean", enable, "GLuint", group, "GLint", numCounters, "GLuint *", countersList) +TRACE_GL_VOID(glSelectPerfMonitorCountersAMD, (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint * counterList), (monitor, enable, group, numCounters, counterList), 5, "GLuint", monitor, "GLboolean", enable, "GLuint", group, "GLint", numCounters, "GLuint *", counterList) TRACE_GL_VOID(glSetFenceNV, (GLuint fence, GLenum condition), (fence, condition), 2, "GLuint", fence, "GLenum", condition) TRACE_GL_VOID(glShadeModel, (GLenum mode), (mode), 1, "GLenum", mode) -TRACE_GL_VOID(glShaderBinary, (GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length), (n, shaders, binaryformat, binary, length), 5, "GLsizei", n, "const GLuint*", shaders, "GLenum", binaryformat, "const GLvoid*", binary, "GLsizei", length) -TRACE_GL_VOID(glShaderSource, (GLuint shader, GLsizei count, const GLchar* const* string, const GLint* length), (shader, count, string, length), 4, "GLuint", shader, "GLsizei", count, "const GLchar* const*", string, "const GLint*", length) +TRACE_GL_VOID(glShaderBinary, (GLsizei count, const GLuint * shaders, GLenum binaryformat, const void * binary, GLsizei length), (count, shaders, binaryformat, binary, length), 5, "GLsizei", count, "const GLuint *", shaders, "GLenum", binaryformat, "const void *", binary, "GLsizei", length) +TRACE_GL_VOID(glShaderSource, (GLuint shader, GLsizei count, const GLchar *const* string, const GLint * length), (shader, count, string, length), 4, "GLuint", shader, "GLsizei", count, "const GLchar *const*", string, "const GLint *", length) TRACE_GL_VOID(glStartTilingQCOM, (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask), (x, y, width, height, preserveMask), 5, "GLuint", x, "GLuint", y, "GLuint", width, "GLuint", height, "GLbitfield", preserveMask) TRACE_GL_VOID(glStencilFunc, (GLenum func, GLint ref, GLuint mask), (func, ref, mask), 3, "GLenum", func, "GLint", ref, "GLuint", mask) TRACE_GL_VOID(glStencilFuncSeparate, (GLenum face, GLenum func, GLint ref, GLuint mask), (face, func, ref, mask), 4, "GLenum", face, "GLenum", func, "GLint", ref, "GLuint", mask) TRACE_GL_VOID(glStencilMask, (GLuint mask), (mask), 1, "GLuint", mask) TRACE_GL_VOID(glStencilMaskSeparate, (GLenum face, GLuint mask), (face, mask), 2, "GLenum", face, "GLuint", mask) TRACE_GL_VOID(glStencilOp, (GLenum fail, GLenum zfail, GLenum zpass), (fail, zfail, zpass), 3, "GLenum", fail, "GLenum", zfail, "GLenum", zpass) -TRACE_GL_VOID(glStencilOpSeparate, (GLenum face, GLenum fail, GLenum zfail, GLenum zpass), (face, fail, zfail, zpass), 4, "GLenum", face, "GLenum", fail, "GLenum", zfail, "GLenum", zpass) +TRACE_GL_VOID(glStencilOpSeparate, (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass), (face, sfail, dpfail, dppass), 4, "GLenum", face, "GLenum", sfail, "GLenum", dpfail, "GLenum", dppass) TRACE_GL(GLboolean, glTestFenceNV, (GLuint fence), (fence), 1, "GLuint", fence) -TRACE_GL_VOID(glTexCoordPointer, (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer), (size, type, stride, pointer), 4, "GLint", size, "GLenum", type, "GLsizei", stride, "const GLvoid *", pointer) +TRACE_GL_VOID(glTexCoord1bOES, (GLbyte s), (s), 1, "GLbyte", s) +TRACE_GL_VOID(glTexCoord1bvOES, (const GLbyte * coords), (coords), 1, "const GLbyte *", coords) +TRACE_GL_VOID(glTexCoord2bOES, (GLbyte s, GLbyte t), (s, t), 2, "GLbyte", s, "GLbyte", t) +TRACE_GL_VOID(glTexCoord2bvOES, (const GLbyte * coords), (coords), 1, "const GLbyte *", coords) +TRACE_GL_VOID(glTexCoord3bOES, (GLbyte s, GLbyte t, GLbyte r), (s, t, r), 3, "GLbyte", s, "GLbyte", t, "GLbyte", r) +TRACE_GL_VOID(glTexCoord3bvOES, (const GLbyte * coords), (coords), 1, "const GLbyte *", coords) +TRACE_GL_VOID(glTexCoord4bOES, (GLbyte s, GLbyte t, GLbyte r, GLbyte q), (s, t, r, q), 4, "GLbyte", s, "GLbyte", t, "GLbyte", r, "GLbyte", q) +TRACE_GL_VOID(glTexCoord4bvOES, (const GLbyte * coords), (coords), 1, "const GLbyte *", coords) +TRACE_GL_VOID(glTexCoordPointer, (GLint size, GLenum type, GLsizei stride, const void * pointer), (size, type, stride, pointer), 4, "GLint", size, "GLenum", type, "GLsizei", stride, "const void *", pointer) TRACE_GL_VOID(glTexEnvf, (GLenum target, GLenum pname, GLfloat param), (target, pname, param), 3, "GLenum", target, "GLenum", pname, "GLfloat", param) -TRACE_GL_VOID(glTexEnvfv, (GLenum target, GLenum pname, const GLfloat *params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "const GLfloat *", params) +TRACE_GL_VOID(glTexEnvfv, (GLenum target, GLenum pname, const GLfloat * params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "const GLfloat *", params) TRACE_GL_VOID(glTexEnvi, (GLenum target, GLenum pname, GLint param), (target, pname, param), 3, "GLenum", target, "GLenum", pname, "GLint", param) -TRACE_GL_VOID(glTexEnviv, (GLenum target, GLenum pname, const GLint *params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "const GLint *", params) +TRACE_GL_VOID(glTexEnviv, (GLenum target, GLenum pname, const GLint * params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "const GLint *", params) TRACE_GL_VOID(glTexEnvx, (GLenum target, GLenum pname, GLfixed param), (target, pname, param), 3, "GLenum", target, "GLenum", pname, "GLfixed", param) TRACE_GL_VOID(glTexEnvxOES, (GLenum target, GLenum pname, GLfixed param), (target, pname, param), 3, "GLenum", target, "GLenum", pname, "GLfixed", param) -TRACE_GL_VOID(glTexEnvxv, (GLenum target, GLenum pname, const GLfixed *params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "const GLfixed *", params) -TRACE_GL_VOID(glTexEnvxvOES, (GLenum target, GLenum pname, const GLfixed *params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "const GLfixed *", params) +TRACE_GL_VOID(glTexEnvxv, (GLenum target, GLenum pname, const GLfixed * params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "const GLfixed *", params) +TRACE_GL_VOID(glTexEnvxvOES, (GLenum target, GLenum pname, const GLfixed * params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "const GLfixed *", params) TRACE_GL_VOID(glTexGenfOES, (GLenum coord, GLenum pname, GLfloat param), (coord, pname, param), 3, "GLenum", coord, "GLenum", pname, "GLfloat", param) -TRACE_GL_VOID(glTexGenfvOES, (GLenum coord, GLenum pname, const GLfloat *params), (coord, pname, params), 3, "GLenum", coord, "GLenum", pname, "const GLfloat *", params) +TRACE_GL_VOID(glTexGenfvOES, (GLenum coord, GLenum pname, const GLfloat * params), (coord, pname, params), 3, "GLenum", coord, "GLenum", pname, "const GLfloat *", params) TRACE_GL_VOID(glTexGeniOES, (GLenum coord, GLenum pname, GLint param), (coord, pname, param), 3, "GLenum", coord, "GLenum", pname, "GLint", param) -TRACE_GL_VOID(glTexGenivOES, (GLenum coord, GLenum pname, const GLint *params), (coord, pname, params), 3, "GLenum", coord, "GLenum", pname, "const GLint *", params) +TRACE_GL_VOID(glTexGenivOES, (GLenum coord, GLenum pname, const GLint * params), (coord, pname, params), 3, "GLenum", coord, "GLenum", pname, "const GLint *", params) TRACE_GL_VOID(glTexGenxOES, (GLenum coord, GLenum pname, GLfixed param), (coord, pname, param), 3, "GLenum", coord, "GLenum", pname, "GLfixed", param) -TRACE_GL_VOID(glTexGenxvOES, (GLenum coord, GLenum pname, const GLfixed *params), (coord, pname, params), 3, "GLenum", coord, "GLenum", pname, "const GLfixed *", params) -TRACE_GL_VOID(glTexImage2D, (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels), (target, level, internalformat, width, height, border, format, type, pixels), 9, "GLenum", target, "GLint", level, "GLint", internalformat, "GLsizei", width, "GLsizei", height, "GLint", border, "GLenum", format, "GLenum", type, "const GLvoid *", pixels) -TRACE_GL_VOID(glTexImage3D, (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels), (target, level, internalformat, width, height, depth, border, format, type, pixels), 10, "GLenum", target, "GLint", level, "GLint", internalformat, "GLsizei", width, "GLsizei", height, "GLsizei", depth, "GLint", border, "GLenum", format, "GLenum", type, "const GLvoid*", pixels) -TRACE_GL_VOID(glTexImage3DOES, (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels), (target, level, internalformat, width, height, depth, border, format, type, pixels), 10, "GLenum", target, "GLint", level, "GLenum", internalformat, "GLsizei", width, "GLsizei", height, "GLsizei", depth, "GLint", border, "GLenum", format, "GLenum", type, "const GLvoid*", pixels) +TRACE_GL_VOID(glTexGenxvOES, (GLenum coord, GLenum pname, const GLfixed * params), (coord, pname, params), 3, "GLenum", coord, "GLenum", pname, "const GLfixed *", params) +TRACE_GL_VOID(glTexImage2D, (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void * pixels), (target, level, internalformat, width, height, border, format, type, pixels), 9, "GLenum", target, "GLint", level, "GLint", internalformat, "GLsizei", width, "GLsizei", height, "GLint", border, "GLenum", format, "GLenum", type, "const void *", pixels) +TRACE_GL_VOID(glTexImage3D, (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels), (target, level, internalformat, width, height, depth, border, format, type, pixels), 10, "GLenum", target, "GLint", level, "GLint", internalformat, "GLsizei", width, "GLsizei", height, "GLsizei", depth, "GLint", border, "GLenum", format, "GLenum", type, "const void *", pixels) +TRACE_GL_VOID(glTexImage3DOES, (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels), (target, level, internalformat, width, height, depth, border, format, type, pixels), 10, "GLenum", target, "GLint", level, "GLenum", internalformat, "GLsizei", width, "GLsizei", height, "GLsizei", depth, "GLint", border, "GLenum", format, "GLenum", type, "const void *", pixels) TRACE_GL_VOID(glTexParameterf, (GLenum target, GLenum pname, GLfloat param), (target, pname, param), 3, "GLenum", target, "GLenum", pname, "GLfloat", param) -TRACE_GL_VOID(glTexParameterfv, (GLenum target, GLenum pname, const GLfloat *params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "const GLfloat *", params) +TRACE_GL_VOID(glTexParameterfv, (GLenum target, GLenum pname, const GLfloat * params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "const GLfloat *", params) TRACE_GL_VOID(glTexParameteri, (GLenum target, GLenum pname, GLint param), (target, pname, param), 3, "GLenum", target, "GLenum", pname, "GLint", param) -TRACE_GL_VOID(glTexParameteriv, (GLenum target, GLenum pname, const GLint *params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "const GLint *", params) +TRACE_GL_VOID(glTexParameteriv, (GLenum target, GLenum pname, const GLint * params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "const GLint *", params) TRACE_GL_VOID(glTexParameterx, (GLenum target, GLenum pname, GLfixed param), (target, pname, param), 3, "GLenum", target, "GLenum", pname, "GLfixed", param) TRACE_GL_VOID(glTexParameterxOES, (GLenum target, GLenum pname, GLfixed param), (target, pname, param), 3, "GLenum", target, "GLenum", pname, "GLfixed", param) -TRACE_GL_VOID(glTexParameterxv, (GLenum target, GLenum pname, const GLfixed *params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "const GLfixed *", params) -TRACE_GL_VOID(glTexParameterxvOES, (GLenum target, GLenum pname, const GLfixed *params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "const GLfixed *", params) +TRACE_GL_VOID(glTexParameterxv, (GLenum target, GLenum pname, const GLfixed * params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "const GLfixed *", params) +TRACE_GL_VOID(glTexParameterxvOES, (GLenum target, GLenum pname, const GLfixed * params), (target, pname, params), 3, "GLenum", target, "GLenum", pname, "const GLfixed *", params) TRACE_GL_VOID(glTexStorage1DEXT, (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width), (target, levels, internalformat, width), 4, "GLenum", target, "GLsizei", levels, "GLenum", internalformat, "GLsizei", width) TRACE_GL_VOID(glTexStorage2D, (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height), (target, levels, internalformat, width, height), 5, "GLenum", target, "GLsizei", levels, "GLenum", internalformat, "GLsizei", width, "GLsizei", height) TRACE_GL_VOID(glTexStorage2DEXT, (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height), (target, levels, internalformat, width, height), 5, "GLenum", target, "GLsizei", levels, "GLenum", internalformat, "GLsizei", width, "GLsizei", height) TRACE_GL_VOID(glTexStorage3D, (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth), (target, levels, internalformat, width, height, depth), 6, "GLenum", target, "GLsizei", levels, "GLenum", internalformat, "GLsizei", width, "GLsizei", height, "GLsizei", depth) TRACE_GL_VOID(glTexStorage3DEXT, (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth), (target, levels, internalformat, width, height, depth), 6, "GLenum", target, "GLsizei", levels, "GLenum", internalformat, "GLsizei", width, "GLsizei", height, "GLsizei", depth) -TRACE_GL_VOID(glTexSubImage2D, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels), (target, level, xoffset, yoffset, width, height, format, type, pixels), 9, "GLenum", target, "GLint", level, "GLint", xoffset, "GLint", yoffset, "GLsizei", width, "GLsizei", height, "GLenum", format, "GLenum", type, "const GLvoid *", pixels) -TRACE_GL_VOID(glTexSubImage3D, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels), (target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels), 11, "GLenum", target, "GLint", level, "GLint", xoffset, "GLint", yoffset, "GLint", zoffset, "GLsizei", width, "GLsizei", height, "GLsizei", depth, "GLenum", format, "GLenum", type, "const GLvoid*", pixels) -TRACE_GL_VOID(glTexSubImage3DOES, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels), (target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels), 11, "GLenum", target, "GLint", level, "GLint", xoffset, "GLint", yoffset, "GLint", zoffset, "GLsizei", width, "GLsizei", height, "GLsizei", depth, "GLenum", format, "GLenum", type, "const GLvoid*", pixels) +TRACE_GL_VOID(glTexStorage3DMultisampleOES, (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations), (target, samples, internalformat, width, height, depth, fixedsamplelocations), 7, "GLenum", target, "GLsizei", samples, "GLenum", internalformat, "GLsizei", width, "GLsizei", height, "GLsizei", depth, "GLboolean", fixedsamplelocations) +TRACE_GL_VOID(glTexSubImage2D, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels), (target, level, xoffset, yoffset, width, height, format, type, pixels), 9, "GLenum", target, "GLint", level, "GLint", xoffset, "GLint", yoffset, "GLsizei", width, "GLsizei", height, "GLenum", format, "GLenum", type, "const void *", pixels) +TRACE_GL_VOID(glTexSubImage3D, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels), (target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels), 11, "GLenum", target, "GLint", level, "GLint", xoffset, "GLint", yoffset, "GLint", zoffset, "GLsizei", width, "GLsizei", height, "GLsizei", depth, "GLenum", format, "GLenum", type, "const void *", pixels) +TRACE_GL_VOID(glTexSubImage3DOES, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels), (target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels), 11, "GLenum", target, "GLint", level, "GLint", xoffset, "GLint", yoffset, "GLint", zoffset, "GLsizei", width, "GLsizei", height, "GLsizei", depth, "GLenum", format, "GLenum", type, "const void *", pixels) TRACE_GL_VOID(glTextureStorage1DEXT, (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width), (texture, target, levels, internalformat, width), 5, "GLuint", texture, "GLenum", target, "GLsizei", levels, "GLenum", internalformat, "GLsizei", width) TRACE_GL_VOID(glTextureStorage2DEXT, (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height), (texture, target, levels, internalformat, width, height), 6, "GLuint", texture, "GLenum", target, "GLsizei", levels, "GLenum", internalformat, "GLsizei", width, "GLsizei", height) TRACE_GL_VOID(glTextureStorage3DEXT, (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth), (texture, target, levels, internalformat, width, height, depth), 7, "GLuint", texture, "GLenum", target, "GLsizei", levels, "GLenum", internalformat, "GLsizei", width, "GLsizei", height, "GLsizei", depth) -TRACE_GL_VOID(glTransformFeedbackVaryings, (GLuint program, GLsizei count, const GLchar* const* varyings, GLenum bufferMode), (program, count, varyings, bufferMode), 4, "GLuint", program, "GLsizei", count, "const GLchar* const*", varyings, "GLenum", bufferMode) +TRACE_GL_VOID(glTransformFeedbackVaryings, (GLuint program, GLsizei count, const GLchar *const* varyings, GLenum bufferMode), (program, count, varyings, bufferMode), 4, "GLuint", program, "GLsizei", count, "const GLchar *const*", varyings, "GLenum", bufferMode) TRACE_GL_VOID(glTranslatef, (GLfloat x, GLfloat y, GLfloat z), (x, y, z), 3, "GLfloat", x, "GLfloat", y, "GLfloat", z) TRACE_GL_VOID(glTranslatex, (GLfixed x, GLfixed y, GLfixed z), (x, y, z), 3, "GLfixed", x, "GLfixed", y, "GLfixed", z) TRACE_GL_VOID(glTranslatexOES, (GLfixed x, GLfixed y, GLfixed z), (x, y, z), 3, "GLfixed", x, "GLfixed", y, "GLfixed", z) -TRACE_GL_VOID(glUniform1f, (GLint location, GLfloat x), (location, x), 2, "GLint", location, "GLfloat", x) -TRACE_GL_VOID(glUniform1fv, (GLint location, GLsizei count, const GLfloat* v), (location, count, v), 3, "GLint", location, "GLsizei", count, "const GLfloat*", v) -TRACE_GL_VOID(glUniform1i, (GLint location, GLint x), (location, x), 2, "GLint", location, "GLint", x) -TRACE_GL_VOID(glUniform1iv, (GLint location, GLsizei count, const GLint* v), (location, count, v), 3, "GLint", location, "GLsizei", count, "const GLint*", v) +TRACE_GL_VOID(glUniform1f, (GLint location, GLfloat v0), (location, v0), 2, "GLint", location, "GLfloat", v0) +TRACE_GL_VOID(glUniform1fv, (GLint location, GLsizei count, const GLfloat * value), (location, count, value), 3, "GLint", location, "GLsizei", count, "const GLfloat *", value) +TRACE_GL_VOID(glUniform1i, (GLint location, GLint v0), (location, v0), 2, "GLint", location, "GLint", v0) +TRACE_GL_VOID(glUniform1iv, (GLint location, GLsizei count, const GLint * value), (location, count, value), 3, "GLint", location, "GLsizei", count, "const GLint *", value) TRACE_GL_VOID(glUniform1ui, (GLint location, GLuint v0), (location, v0), 2, "GLint", location, "GLuint", v0) -TRACE_GL_VOID(glUniform1uiv, (GLint location, GLsizei count, const GLuint* value), (location, count, value), 3, "GLint", location, "GLsizei", count, "const GLuint*", value) -TRACE_GL_VOID(glUniform2f, (GLint location, GLfloat x, GLfloat y), (location, x, y), 3, "GLint", location, "GLfloat", x, "GLfloat", y) -TRACE_GL_VOID(glUniform2fv, (GLint location, GLsizei count, const GLfloat* v), (location, count, v), 3, "GLint", location, "GLsizei", count, "const GLfloat*", v) -TRACE_GL_VOID(glUniform2i, (GLint location, GLint x, GLint y), (location, x, y), 3, "GLint", location, "GLint", x, "GLint", y) -TRACE_GL_VOID(glUniform2iv, (GLint location, GLsizei count, const GLint* v), (location, count, v), 3, "GLint", location, "GLsizei", count, "const GLint*", v) +TRACE_GL_VOID(glUniform1uiv, (GLint location, GLsizei count, const GLuint * value), (location, count, value), 3, "GLint", location, "GLsizei", count, "const GLuint *", value) +TRACE_GL_VOID(glUniform2f, (GLint location, GLfloat v0, GLfloat v1), (location, v0, v1), 3, "GLint", location, "GLfloat", v0, "GLfloat", v1) +TRACE_GL_VOID(glUniform2fv, (GLint location, GLsizei count, const GLfloat * value), (location, count, value), 3, "GLint", location, "GLsizei", count, "const GLfloat *", value) +TRACE_GL_VOID(glUniform2i, (GLint location, GLint v0, GLint v1), (location, v0, v1), 3, "GLint", location, "GLint", v0, "GLint", v1) +TRACE_GL_VOID(glUniform2iv, (GLint location, GLsizei count, const GLint * value), (location, count, value), 3, "GLint", location, "GLsizei", count, "const GLint *", value) TRACE_GL_VOID(glUniform2ui, (GLint location, GLuint v0, GLuint v1), (location, v0, v1), 3, "GLint", location, "GLuint", v0, "GLuint", v1) -TRACE_GL_VOID(glUniform2uiv, (GLint location, GLsizei count, const GLuint* value), (location, count, value), 3, "GLint", location, "GLsizei", count, "const GLuint*", value) -TRACE_GL_VOID(glUniform3f, (GLint location, GLfloat x, GLfloat y, GLfloat z), (location, x, y, z), 4, "GLint", location, "GLfloat", x, "GLfloat", y, "GLfloat", z) -TRACE_GL_VOID(glUniform3fv, (GLint location, GLsizei count, const GLfloat* v), (location, count, v), 3, "GLint", location, "GLsizei", count, "const GLfloat*", v) -TRACE_GL_VOID(glUniform3i, (GLint location, GLint x, GLint y, GLint z), (location, x, y, z), 4, "GLint", location, "GLint", x, "GLint", y, "GLint", z) -TRACE_GL_VOID(glUniform3iv, (GLint location, GLsizei count, const GLint* v), (location, count, v), 3, "GLint", location, "GLsizei", count, "const GLint*", v) +TRACE_GL_VOID(glUniform2uiv, (GLint location, GLsizei count, const GLuint * value), (location, count, value), 3, "GLint", location, "GLsizei", count, "const GLuint *", value) +TRACE_GL_VOID(glUniform3f, (GLint location, GLfloat v0, GLfloat v1, GLfloat v2), (location, v0, v1, v2), 4, "GLint", location, "GLfloat", v0, "GLfloat", v1, "GLfloat", v2) +TRACE_GL_VOID(glUniform3fv, (GLint location, GLsizei count, const GLfloat * value), (location, count, value), 3, "GLint", location, "GLsizei", count, "const GLfloat *", value) +TRACE_GL_VOID(glUniform3i, (GLint location, GLint v0, GLint v1, GLint v2), (location, v0, v1, v2), 4, "GLint", location, "GLint", v0, "GLint", v1, "GLint", v2) +TRACE_GL_VOID(glUniform3iv, (GLint location, GLsizei count, const GLint * value), (location, count, value), 3, "GLint", location, "GLsizei", count, "const GLint *", value) TRACE_GL_VOID(glUniform3ui, (GLint location, GLuint v0, GLuint v1, GLuint v2), (location, v0, v1, v2), 4, "GLint", location, "GLuint", v0, "GLuint", v1, "GLuint", v2) -TRACE_GL_VOID(glUniform3uiv, (GLint location, GLsizei count, const GLuint* value), (location, count, value), 3, "GLint", location, "GLsizei", count, "const GLuint*", value) -TRACE_GL_VOID(glUniform4f, (GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w), (location, x, y, z, w), 5, "GLint", location, "GLfloat", x, "GLfloat", y, "GLfloat", z, "GLfloat", w) -TRACE_GL_VOID(glUniform4fv, (GLint location, GLsizei count, const GLfloat* v), (location, count, v), 3, "GLint", location, "GLsizei", count, "const GLfloat*", v) -TRACE_GL_VOID(glUniform4i, (GLint location, GLint x, GLint y, GLint z, GLint w), (location, x, y, z, w), 5, "GLint", location, "GLint", x, "GLint", y, "GLint", z, "GLint", w) -TRACE_GL_VOID(glUniform4iv, (GLint location, GLsizei count, const GLint* v), (location, count, v), 3, "GLint", location, "GLsizei", count, "const GLint*", v) +TRACE_GL_VOID(glUniform3uiv, (GLint location, GLsizei count, const GLuint * value), (location, count, value), 3, "GLint", location, "GLsizei", count, "const GLuint *", value) +TRACE_GL_VOID(glUniform4f, (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3), (location, v0, v1, v2, v3), 5, "GLint", location, "GLfloat", v0, "GLfloat", v1, "GLfloat", v2, "GLfloat", v3) +TRACE_GL_VOID(glUniform4fv, (GLint location, GLsizei count, const GLfloat * value), (location, count, value), 3, "GLint", location, "GLsizei", count, "const GLfloat *", value) +TRACE_GL_VOID(glUniform4i, (GLint location, GLint v0, GLint v1, GLint v2, GLint v3), (location, v0, v1, v2, v3), 5, "GLint", location, "GLint", v0, "GLint", v1, "GLint", v2, "GLint", v3) +TRACE_GL_VOID(glUniform4iv, (GLint location, GLsizei count, const GLint * value), (location, count, value), 3, "GLint", location, "GLsizei", count, "const GLint *", value) TRACE_GL_VOID(glUniform4ui, (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3), (location, v0, v1, v2, v3), 5, "GLint", location, "GLuint", v0, "GLuint", v1, "GLuint", v2, "GLuint", v3) -TRACE_GL_VOID(glUniform4uiv, (GLint location, GLsizei count, const GLuint* value), (location, count, value), 3, "GLint", location, "GLsizei", count, "const GLuint*", value) +TRACE_GL_VOID(glUniform4uiv, (GLint location, GLsizei count, const GLuint * value), (location, count, value), 3, "GLint", location, "GLsizei", count, "const GLuint *", value) TRACE_GL_VOID(glUniformBlockBinding, (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding), (program, uniformBlockIndex, uniformBlockBinding), 3, "GLuint", program, "GLuint", uniformBlockIndex, "GLuint", uniformBlockBinding) -TRACE_GL_VOID(glUniformMatrix2fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value), (location, count, transpose, value), 4, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat*", value) -TRACE_GL_VOID(glUniformMatrix2x3fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value), (location, count, transpose, value), 4, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat*", value) -TRACE_GL_VOID(glUniformMatrix2x4fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value), (location, count, transpose, value), 4, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat*", value) -TRACE_GL_VOID(glUniformMatrix3fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value), (location, count, transpose, value), 4, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat*", value) -TRACE_GL_VOID(glUniformMatrix3x2fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value), (location, count, transpose, value), 4, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat*", value) -TRACE_GL_VOID(glUniformMatrix3x4fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value), (location, count, transpose, value), 4, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat*", value) -TRACE_GL_VOID(glUniformMatrix4fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value), (location, count, transpose, value), 4, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat*", value) -TRACE_GL_VOID(glUniformMatrix4x2fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value), (location, count, transpose, value), 4, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat*", value) -TRACE_GL_VOID(glUniformMatrix4x3fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value), (location, count, transpose, value), 4, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat*", value) +TRACE_GL_VOID(glUniformMatrix2fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value), (location, count, transpose, value), 4, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat *", value) +TRACE_GL_VOID(glUniformMatrix2x3fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value), (location, count, transpose, value), 4, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat *", value) +TRACE_GL_VOID(glUniformMatrix2x3fvNV, (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value), (location, count, transpose, value), 4, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat *", value) +TRACE_GL_VOID(glUniformMatrix2x4fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value), (location, count, transpose, value), 4, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat *", value) +TRACE_GL_VOID(glUniformMatrix2x4fvNV, (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value), (location, count, transpose, value), 4, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat *", value) +TRACE_GL_VOID(glUniformMatrix3fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value), (location, count, transpose, value), 4, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat *", value) +TRACE_GL_VOID(glUniformMatrix3x2fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value), (location, count, transpose, value), 4, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat *", value) +TRACE_GL_VOID(glUniformMatrix3x2fvNV, (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value), (location, count, transpose, value), 4, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat *", value) +TRACE_GL_VOID(glUniformMatrix3x4fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value), (location, count, transpose, value), 4, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat *", value) +TRACE_GL_VOID(glUniformMatrix3x4fvNV, (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value), (location, count, transpose, value), 4, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat *", value) +TRACE_GL_VOID(glUniformMatrix4fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value), (location, count, transpose, value), 4, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat *", value) +TRACE_GL_VOID(glUniformMatrix4x2fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value), (location, count, transpose, value), 4, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat *", value) +TRACE_GL_VOID(glUniformMatrix4x2fvNV, (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value), (location, count, transpose, value), 4, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat *", value) +TRACE_GL_VOID(glUniformMatrix4x3fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value), (location, count, transpose, value), 4, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat *", value) +TRACE_GL_VOID(glUniformMatrix4x3fvNV, (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value), (location, count, transpose, value), 4, "GLint", location, "GLsizei", count, "GLboolean", transpose, "const GLfloat *", value) TRACE_GL(GLboolean, glUnmapBuffer, (GLenum target), (target), 1, "GLenum", target) TRACE_GL(GLboolean, glUnmapBufferOES, (GLenum target), (target), 1, "GLenum", target) TRACE_GL_VOID(glUseProgram, (GLuint program), (program), 1, "GLuint", program) TRACE_GL_VOID(glUseProgramStagesEXT, (GLuint pipeline, GLbitfield stages, GLuint program), (pipeline, stages, program), 3, "GLuint", pipeline, "GLbitfield", stages, "GLuint", program) TRACE_GL_VOID(glValidateProgram, (GLuint program), (program), 1, "GLuint", program) TRACE_GL_VOID(glValidateProgramPipelineEXT, (GLuint pipeline), (pipeline), 1, "GLuint", pipeline) -TRACE_GL_VOID(glVertexAttrib1f, (GLuint indx, GLfloat x), (indx, x), 2, "GLuint", indx, "GLfloat", x) -TRACE_GL_VOID(glVertexAttrib1fv, (GLuint indx, const GLfloat* values), (indx, values), 2, "GLuint", indx, "const GLfloat*", values) -TRACE_GL_VOID(glVertexAttrib2f, (GLuint indx, GLfloat x, GLfloat y), (indx, x, y), 3, "GLuint", indx, "GLfloat", x, "GLfloat", y) -TRACE_GL_VOID(glVertexAttrib2fv, (GLuint indx, const GLfloat* values), (indx, values), 2, "GLuint", indx, "const GLfloat*", values) -TRACE_GL_VOID(glVertexAttrib3f, (GLuint indx, GLfloat x, GLfloat y, GLfloat z), (indx, x, y, z), 4, "GLuint", indx, "GLfloat", x, "GLfloat", y, "GLfloat", z) -TRACE_GL_VOID(glVertexAttrib3fv, (GLuint indx, const GLfloat* values), (indx, values), 2, "GLuint", indx, "const GLfloat*", values) -TRACE_GL_VOID(glVertexAttrib4f, (GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w), (indx, x, y, z, w), 5, "GLuint", indx, "GLfloat", x, "GLfloat", y, "GLfloat", z, "GLfloat", w) -TRACE_GL_VOID(glVertexAttrib4fv, (GLuint indx, const GLfloat* values), (indx, values), 2, "GLuint", indx, "const GLfloat*", values) +TRACE_GL_VOID(glVertex2bOES, (GLbyte x), (x), 1, "GLbyte", x) +TRACE_GL_VOID(glVertex2bvOES, (const GLbyte * coords), (coords), 1, "const GLbyte *", coords) +TRACE_GL_VOID(glVertex3bOES, (GLbyte x, GLbyte y), (x, y), 2, "GLbyte", x, "GLbyte", y) +TRACE_GL_VOID(glVertex3bvOES, (const GLbyte * coords), (coords), 1, "const GLbyte *", coords) +TRACE_GL_VOID(glVertex4bOES, (GLbyte x, GLbyte y, GLbyte z), (x, y, z), 3, "GLbyte", x, "GLbyte", y, "GLbyte", z) +TRACE_GL_VOID(glVertex4bvOES, (const GLbyte * coords), (coords), 1, "const GLbyte *", coords) +TRACE_GL_VOID(glVertexAttrib1f, (GLuint index, GLfloat x), (index, x), 2, "GLuint", index, "GLfloat", x) +TRACE_GL_VOID(glVertexAttrib1fv, (GLuint index, const GLfloat * v), (index, v), 2, "GLuint", index, "const GLfloat *", v) +TRACE_GL_VOID(glVertexAttrib2f, (GLuint index, GLfloat x, GLfloat y), (index, x, y), 3, "GLuint", index, "GLfloat", x, "GLfloat", y) +TRACE_GL_VOID(glVertexAttrib2fv, (GLuint index, const GLfloat * v), (index, v), 2, "GLuint", index, "const GLfloat *", v) +TRACE_GL_VOID(glVertexAttrib3f, (GLuint index, GLfloat x, GLfloat y, GLfloat z), (index, x, y, z), 4, "GLuint", index, "GLfloat", x, "GLfloat", y, "GLfloat", z) +TRACE_GL_VOID(glVertexAttrib3fv, (GLuint index, const GLfloat * v), (index, v), 2, "GLuint", index, "const GLfloat *", v) +TRACE_GL_VOID(glVertexAttrib4f, (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w), (index, x, y, z, w), 5, "GLuint", index, "GLfloat", x, "GLfloat", y, "GLfloat", z, "GLfloat", w) +TRACE_GL_VOID(glVertexAttrib4fv, (GLuint index, const GLfloat * v), (index, v), 2, "GLuint", index, "const GLfloat *", v) TRACE_GL_VOID(glVertexAttribDivisor, (GLuint index, GLuint divisor), (index, divisor), 2, "GLuint", index, "GLuint", divisor) +TRACE_GL_VOID(glVertexAttribDivisorANGLE, (GLuint index, GLuint divisor), (index, divisor), 2, "GLuint", index, "GLuint", divisor) +TRACE_GL_VOID(glVertexAttribDivisorEXT, (GLuint index, GLuint divisor), (index, divisor), 2, "GLuint", index, "GLuint", divisor) +TRACE_GL_VOID(glVertexAttribDivisorNV, (GLuint index, GLuint divisor), (index, divisor), 2, "GLuint", index, "GLuint", divisor) TRACE_GL_VOID(glVertexAttribI4i, (GLuint index, GLint x, GLint y, GLint z, GLint w), (index, x, y, z, w), 5, "GLuint", index, "GLint", x, "GLint", y, "GLint", z, "GLint", w) -TRACE_GL_VOID(glVertexAttribI4iv, (GLuint index, const GLint* v), (index, v), 2, "GLuint", index, "const GLint*", v) +TRACE_GL_VOID(glVertexAttribI4iv, (GLuint index, const GLint * v), (index, v), 2, "GLuint", index, "const GLint *", v) TRACE_GL_VOID(glVertexAttribI4ui, (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w), (index, x, y, z, w), 5, "GLuint", index, "GLuint", x, "GLuint", y, "GLuint", z, "GLuint", w) -TRACE_GL_VOID(glVertexAttribI4uiv, (GLuint index, const GLuint* v), (index, v), 2, "GLuint", index, "const GLuint*", v) -TRACE_GL_VOID(glVertexAttribIPointer, (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid* pointer), (index, size, type, stride, pointer), 5, "GLuint", index, "GLint", size, "GLenum", type, "GLsizei", stride, "const GLvoid*", pointer) -TRACE_GL_VOID(glVertexAttribPointer, (GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr), (indx, size, type, normalized, stride, ptr), 6, "GLuint", indx, "GLint", size, "GLenum", type, "GLboolean", normalized, "GLsizei", stride, "const GLvoid*", ptr) -TRACE_GL_VOID(glVertexPointer, (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer), (size, type, stride, pointer), 4, "GLint", size, "GLenum", type, "GLsizei", stride, "const GLvoid *", pointer) +TRACE_GL_VOID(glVertexAttribI4uiv, (GLuint index, const GLuint * v), (index, v), 2, "GLuint", index, "const GLuint *", v) +TRACE_GL_VOID(glVertexAttribIPointer, (GLuint index, GLint size, GLenum type, GLsizei stride, const void * pointer), (index, size, type, stride, pointer), 5, "GLuint", index, "GLint", size, "GLenum", type, "GLsizei", stride, "const void *", pointer) +TRACE_GL_VOID(glVertexAttribPointer, (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void * pointer), (index, size, type, normalized, stride, pointer), 6, "GLuint", index, "GLint", size, "GLenum", type, "GLboolean", normalized, "GLsizei", stride, "const void *", pointer) +TRACE_GL_VOID(glVertexPointer, (GLint size, GLenum type, GLsizei stride, const void * pointer), (size, type, stride, pointer), 4, "GLint", size, "GLenum", type, "GLsizei", stride, "const void *", pointer) TRACE_GL_VOID(glViewport, (GLint x, GLint y, GLsizei width, GLsizei height), (x, y, width, height), 4, "GLint", x, "GLint", y, "GLsizei", width, "GLsizei", height) TRACE_GL_VOID(glWaitSync, (GLsync sync, GLbitfield flags, GLuint64 timeout), (sync, flags, timeout), 3, "GLsync", sync, "GLbitfield", flags, "GLuint64", timeout) -TRACE_GL_VOID(glWeightPointerOES, (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer), (size, type, stride, pointer), 4, "GLint", size, "GLenum", type, "GLsizei", stride, "const GLvoid *", pointer) +TRACE_GL_VOID(glWaitSyncAPPLE, (GLsync sync, GLbitfield flags, GLuint64 timeout), (sync, flags, timeout), 3, "GLsync", sync, "GLbitfield", flags, "GLuint64", timeout) +TRACE_GL_VOID(glWeightPointerOES, (GLint size, GLenum type, GLsizei stride, const void * pointer), (size, type, stride, pointer), 4, "GLint", size, "GLenum", type, "GLsizei", stride, "const void *", pointer) diff --git a/opengl/tools/glgen2/.gitignore b/opengl/tools/glgen2/.gitignore new file mode 100644 index 000000000..6d459f75c --- /dev/null +++ b/opengl/tools/glgen2/.gitignore @@ -0,0 +1 @@ +registry/reg.pyc diff --git a/opengl/tools/glgen2/glgen.py b/opengl/tools/glgen2/glgen.py new file mode 100755 index 000000000..4887f8d2f --- /dev/null +++ b/opengl/tools/glgen2/glgen.py @@ -0,0 +1,254 @@ +#!/usr/bin/env python +# +# Copyright 2014 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +from __future__ import print_function +from operator import itemgetter +import collections +import os.path +import re +import sys + + +# Avoid endlessly adding to the path if this module is imported multiple +# times, e.g. in an interactive session +regpath = os.path.join(sys.path[0], "registry") +if sys.path[1] != regpath: + sys.path.insert(1, regpath) +import reg + + +def nonestr(s): + return s if s else "" + + +def parseTypedName(elem): + type = [nonestr(elem.text)] + name = None + for subelem in elem: + text = nonestr(subelem.text) + tail = nonestr(subelem.tail) + if subelem.tag == 'name': + name = text + break + else: + type.extend([text, tail]) + return (''.join(type).strip(), name) + + +# Format a list of (type, name) tuples as a C-style parameter list +def fmtParams(params): + if not params: + return 'void' + return ', '.join(['%s %s' % (p[0], p[1]) for p in params]) + +# Format a list of (type, name) tuples as a C-style argument list +def fmtArgs(params): + return ', '.join(p[1] for p in params) + +# Format a list of (type, name) tuples as comma-separated '"type", name' +def fmtTypeNameList(params): + return ', '.join(['"%s", %s' % (p[0], p[1]) for p in params]) + + +def overrideSymbolName(sym): + # The wrapper intercepts glGetString and (sometimes) calls the generated + # __glGetString thunk which dispatches to the driver's glGetString + if sym == 'glGetString': + return '__glGetString' + else: + return sym + + +# Generate API trampoline templates: +# API_ENTRY()() { +# CALL_GL_API(, ); +# // or +# CALL_GL_API_RETURN(, ); +# } +class TrampolineGen(reg.OutputGenerator): + def __init__(self): + reg.OutputGenerator.__init__(self, sys.stderr, sys.stderr, None) + + def genCmd(self, cmd, name): + reg.OutputGenerator.genCmd(self, cmd, name) + + rtype, fname = parseTypedName(cmd.elem.find('proto')) + params = [parseTypedName(p) for p in cmd.elem.findall('param')] + + call = 'CALL_GL_API' if rtype == 'void' else 'CALL_GL_API_RETURN' + print('%s API_ENTRY(%s)(%s) {\n' + ' %s(%s%s%s);\n' + '}' + % (rtype, overrideSymbolName(fname), fmtParams(params), + call, fname, + ', ' if len(params) > 0 else '', + fmtArgs(params)), + file=self.outFile) + + + +# Collect all API prototypes across all families, remove duplicates, +# emit to entries.in and trace.in files. +class ApiGenerator(reg.OutputGenerator): + def __init__(self): + reg.OutputGenerator.__init__(self, sys.stderr, sys.stderr, None) + self.cmds = [] + self.enums = collections.OrderedDict() + + def genCmd(self, cmd, name): + reg.OutputGenerator.genCmd(self, cmd, name) + rtype, fname = parseTypedName(cmd.elem.find('proto')) + params = [parseTypedName(p) for p in cmd.elem.findall('param')] + self.cmds.append({'rtype': rtype, 'name': fname, 'params': params}) + + def genEnum(self, enuminfo, name): + reg.OutputGenerator.genEnum(self, enuminfo, name) + value = enuminfo.elem.get('value') + + # Skip bitmask enums. Pattern matches: + # - GL_DEPTH_BUFFER_BIT + # - GL_MAP_INVALIDATE_BUFFER_BIT_EXT + # - GL_COLOR_BUFFER_BIT1_QCOM + # but not + # - GL_DEPTH_BITS + # - GL_QUERY_COUNTER_BITS_EXT + # + # TODO: Assuming a naming pattern and using a regex is what the + # old glenumsgen script did. But the registry XML knows which enums are + # parts of bitmask groups, so we should just use that. I'm not sure how + # to get the information out though, and it's not critical right now, + # so leaving for later. + if re.search('_BIT($|\d*_)', name): + return + + # Skip non-hex values (GL_TRUE, GL_FALSE, header guard junk) + if not re.search('0x[0-9A-Fa-f]+', value): + return + + # Append 'u' or 'ull' type suffix if present + type = enuminfo.elem.get('type') + if type and type != 'i': + value += type + + if value not in self.enums: + self.enums[value] = name + + def finish(self): + # sort by function name, remove duplicates + self.cmds.sort(key=itemgetter('name')) + cmds = [] + for cmd in self.cmds: + if len(cmds) == 0 or cmd != cmds[-1]: + cmds.append(cmd) + self.cmds = cmds + + # Write entries.in + def writeEntries(self, outfile): + for cmd in self.cmds: + print('GL_ENTRY(%s, %s, %s)' + % (cmd['rtype'], cmd['name'], fmtParams(cmd['params'])), + file=outfile) + + # Write traces.in + def writeTrace(self, outfile): + for cmd in self.cmds: + if cmd['rtype'] == 'void': + ret = '_VOID(' + else: + ret = '(%s, ' % cmd['rtype'] + + params = cmd['params'] + if len(params) > 0: + typeNameList = ', ' + fmtTypeNameList(params) + else: + typeNameList = '' + + print('TRACE_GL%s%s, (%s), (%s), %d%s)' + % (ret, cmd['name'], + fmtParams(params), fmtArgs(params), + len(params), typeNameList), + file=outfile) + + # Write enums.in + def writeEnums(self, outfile): + for enum in self.enums.iteritems(): + print('GL_ENUM(%s,%s)' % (enum[0], enum[1]), file=outfile) + + +if __name__ == '__main__': + registry = reg.Registry() + registry.loadFile('registry/gl.xml') + + registry.setGenerator(TrampolineGen()) + TRAMPOLINE_OPTIONS = [ + reg.GeneratorOptions( + apiname = 'gles1', + profile = 'common', + filename = '../../libs/GLES_CM/gl_api.in'), + reg.GeneratorOptions( + apiname = 'gles1', + profile = 'common', + emitversions = None, + defaultExtensions = 'gles1', + filename = '../../libs/GLES_CM/glext_api.in'), + reg.GeneratorOptions( + apiname = 'gles2', + versions = '(2|3)\.0', + profile = 'common', + filename = '../../libs/GLES2/gl2_api.in'), + reg.GeneratorOptions( + apiname = 'gles2', + versions = '(2|3)\.0', + profile = 'common', + emitversions = None, + defaultExtensions = 'gles2', + filename = '../../libs/GLES2/gl2ext_api.in')] + for opts in TRAMPOLINE_OPTIONS: + registry.apiGen(opts) + + apigen = ApiGenerator() + registry.setGenerator(apigen) + API_OPTIONS = [ + # Generate non-extension versions of each API first, then extensions, + # so that if an extension enum was later standardized, we see the non- + # suffixed version first. + reg.GeneratorOptions( + apiname = 'gles1', + profile = 'common'), + reg.GeneratorOptions( + apiname = 'gles2', + versions = '2\.0|3\.0', + profile = 'common'), + reg.GeneratorOptions( + apiname = 'gles1', + profile = 'common', + emitversions = None, + defaultExtensions = 'gles1'), + reg.GeneratorOptions( + apiname = 'gles2', + versions = '2\.0|3\.0', + profile = 'common', + emitversions = None, + defaultExtensions = 'gles2')] + for opts in API_OPTIONS: + registry.apiGen(opts) + apigen.finish() + with open('../../libs/entries.in', 'w') as f: + apigen.writeEntries(f) + with open('../../libs/trace.in', 'w') as f: + apigen.writeTrace(f) + with open('../../libs/enums.in', 'w') as f: + apigen.writeEnums(f)