Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
尘离序散
obs-studio
提交
1dd39177
O
obs-studio
项目概览
尘离序散
/
obs-studio
与 Fork 源项目一致
从无法访问的项目Fork
通知
30
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
obs-studio
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
1dd39177
编写于
4月 05, 2014
作者:
Z
Zachary Lund
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Added GLX_NV_copy_image extension, updated tools
上级
4250f6ae
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
443 addition
and
425 deletion
+443
-425
libobs-opengl/GL/gl_obs.c
libobs-opengl/GL/gl_obs.c
+335
-338
libobs-opengl/GL/gl_obs.h
libobs-opengl/GL/gl_obs.h
+50
-47
libobs-opengl/GL/glx_obs.c
libobs-opengl/GL/glx_obs.c
+27
-17
libobs-opengl/GL/glx_obs.h
libobs-opengl/GL/glx_obs.h
+12
-3
libobs-opengl/GL/wgl_obs.c
libobs-opengl/GL/wgl_obs.c
+14
-17
libobs-opengl/GL/wgl_obs.h
libobs-opengl/GL/wgl_obs.h
+5
-3
未找到文件。
libobs-opengl/GL/gl_obs.c
浏览文件 @
1dd39177
/* AUTOGENERATED BY glLoadGen, DO NOT EDIT */
#include <stdlib.h>
#include <string.h>
#include <stddef.h>
...
...
@@ -6,7 +7,7 @@
#if defined(__APPLE__)
#include <dlfcn.h>
static void* AppleGLGetProcAddress (const char *name)
static void* AppleGLGetProcAddress (const c
onst c
har *name)
{
static void* image = NULL;
...
...
@@ -44,17 +45,13 @@ static PROC WinGetProcAddress(const char *name)
/* Linux, FreeBSD, other */
#ifndef IntGetProcAddress
#ifndef GLX_ARB_get_proc_address
#define GLX_ARB_get_proc_address 1
typedef void (*__GLXextFuncPtr)(void);
extern __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *);
#endif /* GLX_ARB_get_proc_address */
extern void ( * glXGetProcAddressARB (const GLubyte *procName)) (void);
#define IntGetProcAddress(name) (*glXGetProcAddressARB)((const GLubyte*)name)
#endif
/* TODO: Need to eventually use eglGetProcAddress */
int ogl_ext_ARB_imaging = ogl_LOAD_FAILED;
int ogl_ext_ARB_vertex_array_object = ogl_LOAD_FAILED;
int ogl_ext_ARB_texture_rg = ogl_LOAD_FAILED;
...
...
@@ -558,7 +555,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glResetHistogram)(GLenum) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glResetMinmax)(GLenum) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glSeparableFilter2D)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL;
static int Load_ARB_imaging()
static int Load_ARB_imaging(
void
)
{
int numFailed = 0;
_ptrc_glColorSubTable = (void (CODEGEN_FUNCPTR *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *))IntGetProcAddress("glColorSubTable");
...
...
@@ -633,7 +630,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glDeleteVertexArrays)(GLsizei, const GLuint *) = NU
void (CODEGEN_FUNCPTR *_ptrc_glGenVertexArrays)(GLsizei, GLuint *) = NULL;
GLboolean (CODEGEN_FUNCPTR *_ptrc_glIsVertexArray)(GLuint) = NULL;
static int Load_ARB_vertex_array_object()
static int Load_ARB_vertex_array_object(
void
)
{
int numFailed = 0;
_ptrc_glBindVertexArray = (void (CODEGEN_FUNCPTR *)(GLuint))IntGetProcAddress("glBindVertexArray");
...
...
@@ -650,7 +647,7 @@ static int Load_ARB_vertex_array_object()
void (CODEGEN_FUNCPTR *_ptrc_glFlushMappedBufferRange)(GLenum, GLintptr, GLsizeiptr) = NULL;
void * (CODEGEN_FUNCPTR *_ptrc_glMapBufferRange)(GLenum, GLintptr, GLsizeiptr, GLbitfield) = NULL;
static int Load_ARB_map_buffer_range()
static int Load_ARB_map_buffer_range(
void
)
{
int numFailed = 0;
_ptrc_glFlushMappedBufferRange = (void (CODEGEN_FUNCPTR *)(GLenum, GLintptr, GLsizeiptr))IntGetProcAddress("glFlushMappedBufferRange");
...
...
@@ -681,7 +678,7 @@ GLboolean (CODEGEN_FUNCPTR *_ptrc_glIsRenderbuffer)(GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glRenderbufferStorage)(GLenum, GLenum, GLsizei, GLsizei) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glRenderbufferStorageMultisample)(GLenum, GLsizei, GLenum, GLsizei, GLsizei) = NULL;
static int Load_ARB_framebuffer_object()
static int Load_ARB_framebuffer_object(
void
)
{
int numFailed = 0;
_ptrc_glBindFramebuffer = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint))IntGetProcAddress("glBindFramebuffer");
...
...
@@ -735,7 +732,7 @@ GLuint (CODEGEN_FUNCPTR *_ptrc_glGetUniformBlockIndex)(GLuint, const GLchar *) =
void (CODEGEN_FUNCPTR *_ptrc_glGetUniformIndices)(GLuint, GLsizei, const GLchar *const*, GLuint *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glUniformBlockBinding)(GLuint, GLuint, GLuint) = NULL;
static int Load_ARB_uniform_buffer_object()
static int Load_ARB_uniform_buffer_object(
void
)
{
int numFailed = 0;
_ptrc_glGetActiveUniformBlockName = (void (CODEGEN_FUNCPTR *)(GLuint, GLuint, GLsizei, GLsizei *, GLchar *))IntGetProcAddress("glGetActiveUniformBlockName");
...
...
@@ -757,7 +754,7 @@ static int Load_ARB_uniform_buffer_object()
void (CODEGEN_FUNCPTR *_ptrc_glCopyBufferSubData)(GLenum, GLenum, GLintptr, GLintptr, GLsizeiptr) = NULL;
static int Load_ARB_copy_buffer()
static int Load_ARB_copy_buffer(
void
)
{
int numFailed = 0;
_ptrc_glCopyBufferSubData = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLintptr, GLintptr, GLsizeiptr))IntGetProcAddress("glCopyBufferSubData");
...
...
@@ -770,7 +767,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glDrawElementsInstancedBaseVertex)(GLenum, GLsizei,
void (CODEGEN_FUNCPTR *_ptrc_glDrawRangeElementsBaseVertex)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *, GLint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glMultiDrawElementsBaseVertex)(GLenum, const GLsizei *, GLenum, const GLvoid *const*, GLsizei, const GLint *) = NULL;
static int Load_ARB_draw_elements_base_vertex()
static int Load_ARB_draw_elements_base_vertex(
void
)
{
int numFailed = 0;
_ptrc_glDrawElementsBaseVertex = (void (CODEGEN_FUNCPTR *)(GLenum, GLsizei, GLenum, const GLvoid *, GLint))IntGetProcAddress("glDrawElementsBaseVertex");
...
...
@@ -786,7 +783,7 @@ static int Load_ARB_draw_elements_base_vertex()
void (CODEGEN_FUNCPTR *_ptrc_glProvokingVertex)(GLenum) = NULL;
static int Load_ARB_provoking_vertex()
static int Load_ARB_provoking_vertex(
void
)
{
int numFailed = 0;
_ptrc_glProvokingVertex = (void (CODEGEN_FUNCPTR *)(GLenum))IntGetProcAddress("glProvokingVertex");
...
...
@@ -802,7 +799,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glGetSynciv)(GLsync, GLenum, GLsizei, GLsizei *, GL
GLboolean (CODEGEN_FUNCPTR *_ptrc_glIsSync)(GLsync) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glWaitSync)(GLsync, GLbitfield, GLuint64) = NULL;
static int Load_ARB_sync()
static int Load_ARB_sync(
void
)
{
int numFailed = 0;
_ptrc_glClientWaitSync = (GLenum (CODEGEN_FUNCPTR *)(GLsync, GLbitfield, GLuint64))IntGetProcAddress("glClientWaitSync");
...
...
@@ -827,7 +824,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glSampleMaski)(GLuint, GLbitfield) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glTexImage2DMultisample)(GLenum, GLsizei, GLint, GLsizei, GLsizei, GLboolean) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glTexImage3DMultisample)(GLenum, GLsizei, GLint, GLsizei, GLsizei, GLsizei, GLboolean) = NULL;
static int Load_ARB_texture_multisample()
static int Load_ARB_texture_multisample(
void
)
{
int numFailed = 0;
_ptrc_glGetMultisamplefv = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint, GLfloat *))IntGetProcAddress("glGetMultisamplefv");
...
...
@@ -845,7 +842,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glGetQueryObjecti64v)(GLuint, GLenum, GLint64 *) =
void (CODEGEN_FUNCPTR *_ptrc_glGetQueryObjectui64v)(GLuint, GLenum, GLuint64 *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glQueryCounter)(GLuint, GLenum) = NULL;
static int Load_ARB_timer_query()
static int Load_ARB_timer_query(
void
)
{
int numFailed = 0;
_ptrc_glGetQueryObjecti64v = (void (CODEGEN_FUNCPTR *)(GLuint, GLenum, GLint64 *))IntGetProcAddress("glGetQueryObjecti64v");
...
...
@@ -896,7 +893,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glVertexP3uiv)(GLenum, const GLuint *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVertexP4ui)(GLenum, GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVertexP4uiv)(GLenum, const GLuint *) = NULL;
static int Load_ARB_vertex_type_2_10_10_10_rev()
static int Load_ARB_vertex_type_2_10_10_10_rev(
void
)
{
int numFailed = 0;
_ptrc_glColorP3ui = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint))IntGetProcAddress("glColorP3ui");
...
...
@@ -981,7 +978,7 @@ static int Load_ARB_vertex_type_2_10_10_10_rev()
void (CODEGEN_FUNCPTR *_ptrc_glBindFragDataLocationIndexed)(GLuint, GLuint, GLuint, const GLchar *) = NULL;
GLint (CODEGEN_FUNCPTR *_ptrc_glGetFragDataIndex)(GLuint, const GLchar *) = NULL;
static int Load_ARB_blend_func_extended()
static int Load_ARB_blend_func_extended(
void
)
{
int numFailed = 0;
_ptrc_glBindFragDataLocationIndexed = (void (CODEGEN_FUNCPTR *)(GLuint, GLuint, GLuint, const GLchar *))IntGetProcAddress("glBindFragDataLocationIndexed");
...
...
@@ -1006,7 +1003,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glSamplerParameterfv)(GLuint, GLenum, const GLfloat
void (CODEGEN_FUNCPTR *_ptrc_glSamplerParameteri)(GLuint, GLenum, GLint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glSamplerParameteriv)(GLuint, GLenum, const GLint *) = NULL;
static int Load_ARB_sampler_objects()
static int Load_ARB_sampler_objects(
void
)
{
int numFailed = 0;
_ptrc_glBindSampler = (void (CODEGEN_FUNCPTR *)(GLuint, GLuint))IntGetProcAddress("glBindSampler");
...
...
@@ -1043,7 +1040,7 @@ static int Load_ARB_sampler_objects()
void (CODEGEN_FUNCPTR *_ptrc_glDrawArraysIndirect)(GLenum, const GLvoid *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glDrawElementsIndirect)(GLenum, GLenum, const GLvoid *) = NULL;
static int Load_ARB_draw_indirect()
static int Load_ARB_draw_indirect(
void
)
{
int numFailed = 0;
_ptrc_glDrawArraysIndirect = (void (CODEGEN_FUNCPTR *)(GLenum, const GLvoid *))IntGetProcAddress("glDrawArraysIndirect");
...
...
@@ -1072,7 +1069,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glUniformMatrix4dv)(GLint, GLsizei, GLboolean, cons
void (CODEGEN_FUNCPTR *_ptrc_glUniformMatrix4x2dv)(GLint, GLsizei, GLboolean, const GLdouble *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glUniformMatrix4x3dv)(GLint, GLsizei, GLboolean, const GLdouble *) = NULL;
static int Load_ARB_gpu_shader_fp64()
static int Load_ARB_gpu_shader_fp64(
void
)
{
int numFailed = 0;
_ptrc_glGetUniformdv = (void (CODEGEN_FUNCPTR *)(GLuint, GLint, GLdouble *))IntGetProcAddress("glGetUniformdv");
...
...
@@ -1123,7 +1120,7 @@ GLint (CODEGEN_FUNCPTR *_ptrc_glGetSubroutineUniformLocation)(GLuint, GLenum, co
void (CODEGEN_FUNCPTR *_ptrc_glGetUniformSubroutineuiv)(GLenum, GLint, GLuint *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glUniformSubroutinesuiv)(GLenum, GLsizei, const GLuint *) = NULL;
static int Load_ARB_shader_subroutine()
static int Load_ARB_shader_subroutine(
void
)
{
int numFailed = 0;
_ptrc_glGetActiveSubroutineName = (void (CODEGEN_FUNCPTR *)(GLuint, GLenum, GLuint, GLsizei, GLsizei *, GLchar *))IntGetProcAddress("glGetActiveSubroutineName");
...
...
@@ -1148,7 +1145,7 @@ static int Load_ARB_shader_subroutine()
void (CODEGEN_FUNCPTR *_ptrc_glPatchParameterfv)(GLenum, const GLfloat *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glPatchParameteri)(GLenum, GLint) = NULL;
static int Load_ARB_tessellation_shader()
static int Load_ARB_tessellation_shader(
void
)
{
int numFailed = 0;
_ptrc_glPatchParameterfv = (void (CODEGEN_FUNCPTR *)(GLenum, const GLfloat *))IntGetProcAddress("glPatchParameterfv");
...
...
@@ -1163,10 +1160,10 @@ void (CODEGEN_FUNCPTR *_ptrc_glDeleteTransformFeedbacks)(GLsizei, const GLuint *
void (CODEGEN_FUNCPTR *_ptrc_glDrawTransformFeedback)(GLenum, GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGenTransformFeedbacks)(GLsizei, GLuint *) = NULL;
GLboolean (CODEGEN_FUNCPTR *_ptrc_glIsTransformFeedback)(GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glPauseTransformFeedback)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glResumeTransformFeedback)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glPauseTransformFeedback)(
void
) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glResumeTransformFeedback)(
void
) = NULL;
static int Load_ARB_transform_feedback2()
static int Load_ARB_transform_feedback2(
void
)
{
int numFailed = 0;
_ptrc_glBindTransformFeedback = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint))IntGetProcAddress("glBindTransformFeedback");
...
...
@@ -1179,9 +1176,9 @@ static int Load_ARB_transform_feedback2()
if(!_ptrc_glGenTransformFeedbacks) numFailed++;
_ptrc_glIsTransformFeedback = (GLboolean (CODEGEN_FUNCPTR *)(GLuint))IntGetProcAddress("glIsTransformFeedback");
if(!_ptrc_glIsTransformFeedback) numFailed++;
_ptrc_glPauseTransformFeedback = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glPauseTransformFeedback");
_ptrc_glPauseTransformFeedback = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glPauseTransformFeedback");
if(!_ptrc_glPauseTransformFeedback) numFailed++;
_ptrc_glResumeTransformFeedback = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glResumeTransformFeedback");
_ptrc_glResumeTransformFeedback = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glResumeTransformFeedback");
if(!_ptrc_glResumeTransformFeedback) numFailed++;
return numFailed;
}
...
...
@@ -1191,7 +1188,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glDrawTransformFeedbackStream)(GLenum, GLuint, GLui
void (CODEGEN_FUNCPTR *_ptrc_glEndQueryIndexed)(GLenum, GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGetQueryIndexediv)(GLenum, GLuint, GLenum, GLint *) = NULL;
static int Load_ARB_transform_feedback3()
static int Load_ARB_transform_feedback3(
void
)
{
int numFailed = 0;
_ptrc_glBeginQueryIndexed = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint, GLuint))IntGetProcAddress("glBeginQueryIndexed");
...
...
@@ -1208,10 +1205,10 @@ static int Load_ARB_transform_feedback3()
void (CODEGEN_FUNCPTR *_ptrc_glClearDepthf)(GLfloat) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glDepthRangef)(GLfloat, GLfloat) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGetShaderPrecisionFormat)(GLenum, GLenum, GLint *, GLint *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glReleaseShaderCompiler)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glReleaseShaderCompiler)(
void
) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glShaderBinary)(GLsizei, const GLuint *, GLenum, const GLvoid *, GLsizei) = NULL;
static int Load_ARB_ES2_compatibility()
static int Load_ARB_ES2_compatibility(
void
)
{
int numFailed = 0;
_ptrc_glClearDepthf = (void (CODEGEN_FUNCPTR *)(GLfloat))IntGetProcAddress("glClearDepthf");
...
...
@@ -1220,7 +1217,7 @@ static int Load_ARB_ES2_compatibility()
if(!_ptrc_glDepthRangef) numFailed++;
_ptrc_glGetShaderPrecisionFormat = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLint *, GLint *))IntGetProcAddress("glGetShaderPrecisionFormat");
if(!_ptrc_glGetShaderPrecisionFormat) numFailed++;
_ptrc_glReleaseShaderCompiler = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glReleaseShaderCompiler");
_ptrc_glReleaseShaderCompiler = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glReleaseShaderCompiler");
if(!_ptrc_glReleaseShaderCompiler) numFailed++;
_ptrc_glShaderBinary = (void (CODEGEN_FUNCPTR *)(GLsizei, const GLuint *, GLenum, const GLvoid *, GLsizei))IntGetProcAddress("glShaderBinary");
if(!_ptrc_glShaderBinary) numFailed++;
...
...
@@ -1231,7 +1228,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glGetProgramBinary)(GLuint, GLsizei, GLsizei *, GLe
void (CODEGEN_FUNCPTR *_ptrc_glProgramBinary)(GLuint, GLenum, const GLvoid *, GLsizei) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glProgramParameteri)(GLuint, GLenum, GLint) = NULL;
static int Load_ARB_get_program_binary()
static int Load_ARB_get_program_binary(
void
)
{
int numFailed = 0;
_ptrc_glGetProgramBinary = (void (CODEGEN_FUNCPTR *)(GLuint, GLsizei, GLsizei *, GLenum *, GLvoid *))IntGetProcAddress("glGetProgramBinary");
...
...
@@ -1304,7 +1301,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glProgramUniformMatrix4x3fv)(GLuint, GLint, GLsizei
void (CODEGEN_FUNCPTR *_ptrc_glUseProgramStages)(GLuint, GLbitfield, GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glValidateProgramPipeline)(GLuint) = NULL;
static int Load_ARB_separate_shader_objects()
static int Load_ARB_separate_shader_objects(
void
)
{
int numFailed = 0;
_ptrc_glActiveShaderProgram = (void (CODEGEN_FUNCPTR *)(GLuint, GLuint))IntGetProcAddress("glActiveShaderProgram");
...
...
@@ -1441,7 +1438,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glVertexAttribL4d)(GLuint, GLdouble, GLdouble, GLdo
void (CODEGEN_FUNCPTR *_ptrc_glVertexAttribL4dv)(GLuint, const GLdouble *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVertexAttribLPointer)(GLuint, GLint, GLenum, GLsizei, const GLvoid *) = NULL;
static int Load_ARB_vertex_attrib_64bit()
static int Load_ARB_vertex_attrib_64bit(
void
)
{
int numFailed = 0;
_ptrc_glGetVertexAttribLdv = (void (CODEGEN_FUNCPTR *)(GLuint, GLenum, GLdouble *))IntGetProcAddress("glGetVertexAttribLdv");
...
...
@@ -1478,7 +1475,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glViewportArrayv)(GLuint, GLsizei, const GLfloat *)
void (CODEGEN_FUNCPTR *_ptrc_glViewportIndexedf)(GLuint, GLfloat, GLfloat, GLfloat, GLfloat) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glViewportIndexedfv)(GLuint, const GLfloat *) = NULL;
static int Load_ARB_viewport_array()
static int Load_ARB_viewport_array(
void
)
{
int numFailed = 0;
_ptrc_glDepthRangeArrayv = (void (CODEGEN_FUNCPTR *)(GLuint, GLsizei, const GLdouble *))IntGetProcAddress("glDepthRangeArrayv");
...
...
@@ -1508,7 +1505,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glDrawArraysInstancedBaseInstance)(GLenum, GLint, G
void (CODEGEN_FUNCPTR *_ptrc_glDrawElementsInstancedBaseInstance)(GLenum, GLsizei, GLenum, const void *, GLsizei, GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glDrawElementsInstancedBaseVertexBaseInstance)(GLenum, GLsizei, GLenum, const void *, GLsizei, GLint, GLuint) = NULL;
static int Load_ARB_base_instance()
static int Load_ARB_base_instance(
void
)
{
int numFailed = 0;
_ptrc_glDrawArraysInstancedBaseInstance = (void (CODEGEN_FUNCPTR *)(GLenum, GLint, GLsizei, GLsizei, GLuint))IntGetProcAddress("glDrawArraysInstancedBaseInstance");
...
...
@@ -1523,7 +1520,7 @@ static int Load_ARB_base_instance()
void (CODEGEN_FUNCPTR *_ptrc_glDrawTransformFeedbackInstanced)(GLenum, GLuint, GLsizei) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glDrawTransformFeedbackStreamInstanced)(GLenum, GLuint, GLuint, GLsizei) = NULL;
static int Load_ARB_transform_feedback_instanced()
static int Load_ARB_transform_feedback_instanced(
void
)
{
int numFailed = 0;
_ptrc_glDrawTransformFeedbackInstanced = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint, GLsizei))IntGetProcAddress("glDrawTransformFeedbackInstanced");
...
...
@@ -1535,7 +1532,7 @@ static int Load_ARB_transform_feedback_instanced()
void (CODEGEN_FUNCPTR *_ptrc_glGetInternalformativ)(GLenum, GLenum, GLenum, GLsizei, GLint *) = NULL;
static int Load_ARB_internalformat_query()
static int Load_ARB_internalformat_query(
void
)
{
int numFailed = 0;
_ptrc_glGetInternalformativ = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLenum, GLsizei, GLint *))IntGetProcAddress("glGetInternalformativ");
...
...
@@ -1545,7 +1542,7 @@ static int Load_ARB_internalformat_query()
void (CODEGEN_FUNCPTR *_ptrc_glGetActiveAtomicCounterBufferiv)(GLuint, GLuint, GLenum, GLint *) = NULL;
static int Load_ARB_shader_atomic_counters()
static int Load_ARB_shader_atomic_counters(
void
)
{
int numFailed = 0;
_ptrc_glGetActiveAtomicCounterBufferiv = (void (CODEGEN_FUNCPTR *)(GLuint, GLuint, GLenum, GLint *))IntGetProcAddress("glGetActiveAtomicCounterBufferiv");
...
...
@@ -1556,7 +1553,7 @@ static int Load_ARB_shader_atomic_counters()
void (CODEGEN_FUNCPTR *_ptrc_glBindImageTexture)(GLuint, GLuint, GLint, GLboolean, GLint, GLenum, GLenum) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glMemoryBarrier)(GLbitfield) = NULL;
static int Load_ARB_shader_image_load_store()
static int Load_ARB_shader_image_load_store(
void
)
{
int numFailed = 0;
_ptrc_glBindImageTexture = (void (CODEGEN_FUNCPTR *)(GLuint, GLuint, GLint, GLboolean, GLint, GLenum, GLenum))IntGetProcAddress("glBindImageTexture");
...
...
@@ -1570,7 +1567,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glTexStorage1D)(GLenum, GLsizei, GLenum, GLsizei) =
void (CODEGEN_FUNCPTR *_ptrc_glTexStorage2D)(GLenum, GLsizei, GLenum, GLsizei, GLsizei) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glTexStorage3D)(GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLsizei) = NULL;
static int Load_ARB_texture_storage()
static int Load_ARB_texture_storage(
void
)
{
int numFailed = 0;
_ptrc_glTexStorage1D = (void (CODEGEN_FUNCPTR *)(GLenum, GLsizei, GLenum, GLsizei))IntGetProcAddress("glTexStorage1D");
...
...
@@ -1591,10 +1588,10 @@ void (CODEGEN_FUNCPTR *_ptrc_glGetObjectPtrLabel)(const void *, GLsizei, GLsizei
void (CODEGEN_FUNCPTR *_ptrc_glGetPointerv)(GLenum, GLvoid **) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glObjectLabel)(GLenum, GLuint, GLsizei, const GLchar *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glObjectPtrLabel)(const void *, GLsizei, const GLchar *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glPopDebugGroup)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glPopDebugGroup)(
void
) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glPushDebugGroup)(GLenum, GLuint, GLsizei, const GLchar *) = NULL;
static int Load_KHR_debug()
static int Load_KHR_debug(
void
)
{
int numFailed = 0;
_ptrc_glDebugMessageCallback = (void (CODEGEN_FUNCPTR *)(GLDEBUGPROC, const void *))IntGetProcAddress("glDebugMessageCallback");
...
...
@@ -1615,7 +1612,7 @@ static int Load_KHR_debug()
if(!_ptrc_glObjectLabel) numFailed++;
_ptrc_glObjectPtrLabel = (void (CODEGEN_FUNCPTR *)(const void *, GLsizei, const GLchar *))IntGetProcAddress("glObjectPtrLabel");
if(!_ptrc_glObjectPtrLabel) numFailed++;
_ptrc_glPopDebugGroup = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glPopDebugGroup");
_ptrc_glPopDebugGroup = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glPopDebugGroup");
if(!_ptrc_glPopDebugGroup) numFailed++;
_ptrc_glPushDebugGroup = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint, GLsizei, const GLchar *))IntGetProcAddress("glPushDebugGroup");
if(!_ptrc_glPushDebugGroup) numFailed++;
...
...
@@ -1625,7 +1622,7 @@ static int Load_KHR_debug()
void (CODEGEN_FUNCPTR *_ptrc_glClearBufferData)(GLenum, GLenum, GLenum, GLenum, const void *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glClearBufferSubData)(GLenum, GLenum, GLintptr, GLsizeiptr, GLenum, GLenum, const void *) = NULL;
static int Load_ARB_clear_buffer_object()
static int Load_ARB_clear_buffer_object(
void
)
{
int numFailed = 0;
_ptrc_glClearBufferData = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLenum, GLenum, const void *))IntGetProcAddress("glClearBufferData");
...
...
@@ -1638,7 +1635,7 @@ static int Load_ARB_clear_buffer_object()
void (CODEGEN_FUNCPTR *_ptrc_glDispatchCompute)(GLuint, GLuint, GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glDispatchComputeIndirect)(GLintptr) = NULL;
static int Load_ARB_compute_shader()
static int Load_ARB_compute_shader(
void
)
{
int numFailed = 0;
_ptrc_glDispatchCompute = (void (CODEGEN_FUNCPTR *)(GLuint, GLuint, GLuint))IntGetProcAddress("glDispatchCompute");
...
...
@@ -1650,7 +1647,7 @@ static int Load_ARB_compute_shader()
void (CODEGEN_FUNCPTR *_ptrc_glCopyImageSubData)(GLuint, GLenum, GLint, GLint, GLint, GLint, GLuint, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei) = NULL;
static int Load_ARB_copy_image()
static int Load_ARB_copy_image(
void
)
{
int numFailed = 0;
_ptrc_glCopyImageSubData = (void (CODEGEN_FUNCPTR *)(GLuint, GLenum, GLint, GLint, GLint, GLint, GLuint, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei))IntGetProcAddress("glCopyImageSubData");
...
...
@@ -1661,7 +1658,7 @@ static int Load_ARB_copy_image()
void (CODEGEN_FUNCPTR *_ptrc_glFramebufferParameteri)(GLenum, GLenum, GLint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGetFramebufferParameteriv)(GLenum, GLenum, GLint *) = NULL;
static int Load_ARB_framebuffer_no_attachments()
static int Load_ARB_framebuffer_no_attachments(
void
)
{
int numFailed = 0;
_ptrc_glFramebufferParameteri = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLint))IntGetProcAddress("glFramebufferParameteri");
...
...
@@ -1673,7 +1670,7 @@ static int Load_ARB_framebuffer_no_attachments()
void (CODEGEN_FUNCPTR *_ptrc_glGetInternalformati64v)(GLenum, GLenum, GLenum, GLsizei, GLint64 *) = NULL;
static int Load_ARB_internalformat_query2()
static int Load_ARB_internalformat_query2(
void
)
{
int numFailed = 0;
_ptrc_glGetInternalformati64v = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLenum, GLsizei, GLint64 *))IntGetProcAddress("glGetInternalformati64v");
...
...
@@ -1688,7 +1685,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glInvalidateSubFramebuffer)(GLenum, GLsizei, const
void (CODEGEN_FUNCPTR *_ptrc_glInvalidateTexImage)(GLuint, GLint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glInvalidateTexSubImage)(GLuint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei) = NULL;
static int Load_ARB_invalidate_subdata()
static int Load_ARB_invalidate_subdata(
void
)
{
int numFailed = 0;
_ptrc_glInvalidateBufferData = (void (CODEGEN_FUNCPTR *)(GLuint))IntGetProcAddress("glInvalidateBufferData");
...
...
@@ -1709,7 +1706,7 @@ static int Load_ARB_invalidate_subdata()
void (CODEGEN_FUNCPTR *_ptrc_glMultiDrawArraysIndirect)(GLenum, const void *, GLsizei, GLsizei) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glMultiDrawElementsIndirect)(GLenum, GLenum, const void *, GLsizei, GLsizei) = NULL;
static int Load_ARB_multi_draw_indirect()
static int Load_ARB_multi_draw_indirect(
void
)
{
int numFailed = 0;
_ptrc_glMultiDrawArraysIndirect = (void (CODEGEN_FUNCPTR *)(GLenum, const void *, GLsizei, GLsizei))IntGetProcAddress("glMultiDrawArraysIndirect");
...
...
@@ -1726,7 +1723,7 @@ GLint (CODEGEN_FUNCPTR *_ptrc_glGetProgramResourceLocationIndex)(GLuint, GLenum,
void (CODEGEN_FUNCPTR *_ptrc_glGetProgramResourceName)(GLuint, GLenum, GLuint, GLsizei, GLsizei *, GLchar *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGetProgramResourceiv)(GLuint, GLenum, GLuint, GLsizei, const GLenum *, GLsizei, GLsizei *, GLint *) = NULL;
static int Load_ARB_program_interface_query()
static int Load_ARB_program_interface_query(
void
)
{
int numFailed = 0;
_ptrc_glGetProgramInterfaceiv = (void (CODEGEN_FUNCPTR *)(GLuint, GLenum, GLenum, GLint *))IntGetProcAddress("glGetProgramInterfaceiv");
...
...
@@ -1746,7 +1743,7 @@ static int Load_ARB_program_interface_query()
void (CODEGEN_FUNCPTR *_ptrc_glShaderStorageBlockBinding)(GLuint, GLuint, GLuint) = NULL;
static int Load_ARB_shader_storage_buffer_object()
static int Load_ARB_shader_storage_buffer_object(
void
)
{
int numFailed = 0;
_ptrc_glShaderStorageBlockBinding = (void (CODEGEN_FUNCPTR *)(GLuint, GLuint, GLuint))IntGetProcAddress("glShaderStorageBlockBinding");
...
...
@@ -1756,7 +1753,7 @@ static int Load_ARB_shader_storage_buffer_object()
void (CODEGEN_FUNCPTR *_ptrc_glTexBufferRange)(GLenum, GLenum, GLuint, GLintptr, GLsizeiptr) = NULL;
static int Load_ARB_texture_buffer_range()
static int Load_ARB_texture_buffer_range(
void
)
{
int numFailed = 0;
_ptrc_glTexBufferRange = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLuint, GLintptr, GLsizeiptr))IntGetProcAddress("glTexBufferRange");
...
...
@@ -1767,7 +1764,7 @@ static int Load_ARB_texture_buffer_range()
void (CODEGEN_FUNCPTR *_ptrc_glTexStorage2DMultisample)(GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLboolean) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glTexStorage3DMultisample)(GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLsizei, GLboolean) = NULL;
static int Load_ARB_texture_storage_multisample()
static int Load_ARB_texture_storage_multisample(
void
)
{
int numFailed = 0;
_ptrc_glTexStorage2DMultisample = (void (CODEGEN_FUNCPTR *)(GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLboolean))IntGetProcAddress("glTexStorage2DMultisample");
...
...
@@ -1779,7 +1776,7 @@ static int Load_ARB_texture_storage_multisample()
void (CODEGEN_FUNCPTR *_ptrc_glTextureView)(GLuint, GLenum, GLuint, GLenum, GLuint, GLuint, GLuint, GLuint) = NULL;
static int Load_ARB_texture_view()
static int Load_ARB_texture_view(
void
)
{
int numFailed = 0;
_ptrc_glTextureView = (void (CODEGEN_FUNCPTR *)(GLuint, GLenum, GLuint, GLenum, GLuint, GLuint, GLuint, GLuint))IntGetProcAddress("glTextureView");
...
...
@@ -1794,7 +1791,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glVertexAttribIFormat)(GLuint, GLint, GLenum, GLuin
void (CODEGEN_FUNCPTR *_ptrc_glVertexAttribLFormat)(GLuint, GLint, GLenum, GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVertexBindingDivisor)(GLuint, GLuint) = NULL;
static int Load_ARB_vertex_attrib_binding()
static int Load_ARB_vertex_attrib_binding(
void
)
{
int numFailed = 0;
_ptrc_glBindVertexBuffer = (void (CODEGEN_FUNCPTR *)(GLuint, GLuint, GLintptr, GLsizei))IntGetProcAddress("glBindVertexBuffer");
...
...
@@ -1814,7 +1811,7 @@ static int Load_ARB_vertex_attrib_binding()
void (CODEGEN_FUNCPTR *_ptrc_glTbufferMask3DFX)(GLuint) = NULL;
static int Load_3DFX_tbuffer()
static int Load_3DFX_tbuffer(
void
)
{
int numFailed = 0;
_ptrc_glTbufferMask3DFX = (void (CODEGEN_FUNCPTR *)(GLuint))IntGetProcAddress("glTbufferMask3DFX");
...
...
@@ -1827,7 +1824,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glDebugMessageEnableAMD)(GLenum, GLenum, GLsizei, c
void (CODEGEN_FUNCPTR *_ptrc_glDebugMessageInsertAMD)(GLenum, GLenum, GLuint, GLsizei, const GLchar *) = NULL;
GLuint (CODEGEN_FUNCPTR *_ptrc_glGetDebugMessageLogAMD)(GLuint, GLsizei, GLenum *, GLuint *, GLuint *, GLsizei *, GLchar *) = NULL;
static int Load_AMD_debug_output()
static int Load_AMD_debug_output(
void
)
{
int numFailed = 0;
_ptrc_glDebugMessageCallbackAMD = (void (CODEGEN_FUNCPTR *)(GLDEBUGPROCAMD, void *))IntGetProcAddress("glDebugMessageCallbackAMD");
...
...
@@ -1846,7 +1843,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glBlendEquationSeparateIndexedAMD)(GLuint, GLenum,
void (CODEGEN_FUNCPTR *_ptrc_glBlendFuncIndexedAMD)(GLuint, GLenum, GLenum) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glBlendFuncSeparateIndexedAMD)(GLuint, GLenum, GLenum, GLenum, GLenum) = NULL;
static int Load_AMD_draw_buffers_blend()
static int Load_AMD_draw_buffers_blend(
void
)
{
int numFailed = 0;
_ptrc_glBlendEquationIndexedAMD = (void (CODEGEN_FUNCPTR *)(GLuint, GLenum))IntGetProcAddress("glBlendEquationIndexedAMD");
...
...
@@ -1862,7 +1859,7 @@ static int Load_AMD_draw_buffers_blend()
void (CODEGEN_FUNCPTR *_ptrc_glVertexAttribParameteriAMD)(GLuint, GLenum, GLint) = NULL;
static int Load_AMD_interleaved_elements()
static int Load_AMD_interleaved_elements(
void
)
{
int numFailed = 0;
_ptrc_glVertexAttribParameteriAMD = (void (CODEGEN_FUNCPTR *)(GLuint, GLenum, GLint))IntGetProcAddress("glVertexAttribParameteriAMD");
...
...
@@ -1873,7 +1870,7 @@ static int Load_AMD_interleaved_elements()
void (CODEGEN_FUNCPTR *_ptrc_glMultiDrawArraysIndirectAMD)(GLenum, const GLvoid *, GLsizei, GLsizei) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glMultiDrawElementsIndirectAMD)(GLenum, GLenum, const GLvoid *, GLsizei, GLsizei) = NULL;
static int Load_AMD_multi_draw_indirect()
static int Load_AMD_multi_draw_indirect(
void
)
{
int numFailed = 0;
_ptrc_glMultiDrawArraysIndirectAMD = (void (CODEGEN_FUNCPTR *)(GLenum, const GLvoid *, GLsizei, GLsizei))IntGetProcAddress("glMultiDrawArraysIndirectAMD");
...
...
@@ -1887,7 +1884,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glDeleteNamesAMD)(GLenum, GLuint, const GLuint *) =
void (CODEGEN_FUNCPTR *_ptrc_glGenNamesAMD)(GLenum, GLuint, GLuint *) = NULL;
GLboolean (CODEGEN_FUNCPTR *_ptrc_glIsNameAMD)(GLenum, GLuint) = NULL;
static int Load_AMD_name_gen_delete()
static int Load_AMD_name_gen_delete(
void
)
{
int numFailed = 0;
_ptrc_glDeleteNamesAMD = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint, const GLuint *))IntGetProcAddress("glDeleteNamesAMD");
...
...
@@ -1911,7 +1908,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glGetPerfMonitorGroupStringAMD)(GLuint, GLsizei, GL
void (CODEGEN_FUNCPTR *_ptrc_glGetPerfMonitorGroupsAMD)(GLint *, GLsizei, GLuint *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glSelectPerfMonitorCountersAMD)(GLuint, GLboolean, GLuint, GLint, GLuint *) = NULL;
static int Load_AMD_performance_monitor()
static int Load_AMD_performance_monitor(
void
)
{
int numFailed = 0;
_ptrc_glBeginPerfMonitorAMD = (void (CODEGEN_FUNCPTR *)(GLuint))IntGetProcAddress("glBeginPerfMonitorAMD");
...
...
@@ -1941,7 +1938,7 @@ static int Load_AMD_performance_monitor()
void (CODEGEN_FUNCPTR *_ptrc_glSetMultisamplefvAMD)(GLenum, GLuint, const GLfloat *) = NULL;
static int Load_AMD_sample_positions()
static int Load_AMD_sample_positions(
void
)
{
int numFailed = 0;
_ptrc_glSetMultisamplefvAMD = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint, const GLfloat *))IntGetProcAddress("glSetMultisamplefvAMD");
...
...
@@ -1952,7 +1949,7 @@ static int Load_AMD_sample_positions()
void (CODEGEN_FUNCPTR *_ptrc_glTexStorageSparseAMD)(GLenum, GLenum, GLsizei, GLsizei, GLsizei, GLsizei, GLbitfield) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glTextureStorageSparseAMD)(GLuint, GLenum, GLenum, GLsizei, GLsizei, GLsizei, GLsizei, GLbitfield) = NULL;
static int Load_AMD_sparse_texture()
static int Load_AMD_sparse_texture(
void
)
{
int numFailed = 0;
_ptrc_glTexStorageSparseAMD = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLsizei, GLsizei, GLsizei, GLsizei, GLbitfield))IntGetProcAddress("glTexStorageSparseAMD");
...
...
@@ -1964,7 +1961,7 @@ static int Load_AMD_sparse_texture()
void (CODEGEN_FUNCPTR *_ptrc_glStencilOpValueAMD)(GLenum, GLuint) = NULL;
static int Load_AMD_stencil_operation_extended()
static int Load_AMD_stencil_operation_extended(
void
)
{
int numFailed = 0;
_ptrc_glStencilOpValueAMD = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint))IntGetProcAddress("glStencilOpValueAMD");
...
...
@@ -1975,7 +1972,7 @@ static int Load_AMD_stencil_operation_extended()
void (CODEGEN_FUNCPTR *_ptrc_glTessellationFactorAMD)(GLfloat) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glTessellationModeAMD)(GLenum) = NULL;
static int Load_AMD_vertex_shader_tessellator()
static int Load_AMD_vertex_shader_tessellator(
void
)
{
int numFailed = 0;
_ptrc_glTessellationFactorAMD = (void (CODEGEN_FUNCPTR *)(GLfloat))IntGetProcAddress("glTessellationFactorAMD");
...
...
@@ -1991,7 +1988,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glElementPointerAPPLE)(GLenum, const GLvoid *) = NU
void (CODEGEN_FUNCPTR *_ptrc_glMultiDrawElementArrayAPPLE)(GLenum, const GLint *, const GLsizei *, GLsizei) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glMultiDrawRangeElementArrayAPPLE)(GLenum, GLuint, GLuint, const GLint *, const GLsizei *, GLsizei) = NULL;
static int Load_APPLE_element_array()
static int Load_APPLE_element_array(
void
)
{
int numFailed = 0;
_ptrc_glDrawElementArrayAPPLE = (void (CODEGEN_FUNCPTR *)(GLenum, GLint, GLsizei))IntGetProcAddress("glDrawElementArrayAPPLE");
...
...
@@ -2016,7 +2013,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glSetFenceAPPLE)(GLuint) = NULL;
GLboolean (CODEGEN_FUNCPTR *_ptrc_glTestFenceAPPLE)(GLuint) = NULL;
GLboolean (CODEGEN_FUNCPTR *_ptrc_glTestObjectAPPLE)(GLenum, GLuint) = NULL;
static int Load_APPLE_fence()
static int Load_APPLE_fence(
void
)
{
int numFailed = 0;
_ptrc_glDeleteFencesAPPLE = (void (CODEGEN_FUNCPTR *)(GLsizei, const GLuint *))IntGetProcAddress("glDeleteFencesAPPLE");
...
...
@@ -2041,7 +2038,7 @@ static int Load_APPLE_fence()
void (CODEGEN_FUNCPTR *_ptrc_glBufferParameteriAPPLE)(GLenum, GLenum, GLint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glFlushMappedBufferRangeAPPLE)(GLenum, GLintptr, GLsizeiptr) = NULL;
static int Load_APPLE_flush_buffer_range()
static int Load_APPLE_flush_buffer_range(
void
)
{
int numFailed = 0;
_ptrc_glBufferParameteriAPPLE = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLint))IntGetProcAddress("glBufferParameteriAPPLE");
...
...
@@ -2055,7 +2052,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glGetObjectParameterivAPPLE)(GLenum, GLuint, GLenum
GLenum (CODEGEN_FUNCPTR *_ptrc_glObjectPurgeableAPPLE)(GLenum, GLuint, GLenum) = NULL;
GLenum (CODEGEN_FUNCPTR *_ptrc_glObjectUnpurgeableAPPLE)(GLenum, GLuint, GLenum) = NULL;
static int Load_APPLE_object_purgeable()
static int Load_APPLE_object_purgeable(
void
)
{
int numFailed = 0;
_ptrc_glGetObjectParameterivAPPLE = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint, GLenum, GLint *))IntGetProcAddress("glGetObjectParameterivAPPLE");
...
...
@@ -2070,7 +2067,7 @@ static int Load_APPLE_object_purgeable()
void (CODEGEN_FUNCPTR *_ptrc_glGetTexParameterPointervAPPLE)(GLenum, GLenum, GLvoid **) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glTextureRangeAPPLE)(GLenum, GLsizei, const GLvoid *) = NULL;
static int Load_APPLE_texture_range()
static int Load_APPLE_texture_range(
void
)
{
int numFailed = 0;
_ptrc_glGetTexParameterPointervAPPLE = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLvoid **))IntGetProcAddress("glGetTexParameterPointervAPPLE");
...
...
@@ -2085,7 +2082,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glDeleteVertexArraysAPPLE)(GLsizei, const GLuint *)
void (CODEGEN_FUNCPTR *_ptrc_glGenVertexArraysAPPLE)(GLsizei, GLuint *) = NULL;
GLboolean (CODEGEN_FUNCPTR *_ptrc_glIsVertexArrayAPPLE)(GLuint) = NULL;
static int Load_APPLE_vertex_array_object()
static int Load_APPLE_vertex_array_object(
void
)
{
int numFailed = 0;
_ptrc_glBindVertexArrayAPPLE = (void (CODEGEN_FUNCPTR *)(GLuint))IntGetProcAddress("glBindVertexArrayAPPLE");
...
...
@@ -2103,7 +2100,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glFlushVertexArrayRangeAPPLE)(GLsizei, GLvoid *) =
void (CODEGEN_FUNCPTR *_ptrc_glVertexArrayParameteriAPPLE)(GLenum, GLint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVertexArrayRangeAPPLE)(GLsizei, GLvoid *) = NULL;
static int Load_APPLE_vertex_array_range()
static int Load_APPLE_vertex_array_range(
void
)
{
int numFailed = 0;
_ptrc_glFlushVertexArrayRangeAPPLE = (void (CODEGEN_FUNCPTR *)(GLsizei, GLvoid *))IntGetProcAddress("glFlushVertexArrayRangeAPPLE");
...
...
@@ -2123,7 +2120,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glMapVertexAttrib1fAPPLE)(GLuint, GLuint, GLfloat,
void (CODEGEN_FUNCPTR *_ptrc_glMapVertexAttrib2dAPPLE)(GLuint, GLuint, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glMapVertexAttrib2fAPPLE)(GLuint, GLuint, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *) = NULL;
static int Load_APPLE_vertex_program_evaluators()
static int Load_APPLE_vertex_program_evaluators(
void
)
{
int numFailed = 0;
_ptrc_glDisableVertexAttribAPPLE = (void (CODEGEN_FUNCPTR *)(GLuint, GLenum))IntGetProcAddress("glDisableVertexAttribAPPLE");
...
...
@@ -2160,7 +2157,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glUniformHandleui64vARB)(GLint, GLsizei, const GLui
void (CODEGEN_FUNCPTR *_ptrc_glVertexAttribL1ui64ARB)(GLuint, GLuint64EXT) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVertexAttribL1ui64vARB)(GLuint, const GLuint64EXT *) = NULL;
static int Load_ARB_bindless_texture()
static int Load_ARB_bindless_texture(
void
)
{
int numFailed = 0;
_ptrc_glGetImageHandleARB = (GLuint64 (CODEGEN_FUNCPTR *)(GLuint, GLint, GLboolean, GLint, GLenum))IntGetProcAddress("glGetImageHandleARB");
...
...
@@ -2200,7 +2197,7 @@ static int Load_ARB_bindless_texture()
void (CODEGEN_FUNCPTR *_ptrc_glBufferStorage)(GLenum, GLsizeiptr, const void *, GLbitfield) = NULL;
static int Load_ARB_buffer_storage()
static int Load_ARB_buffer_storage(
void
)
{
int numFailed = 0;
_ptrc_glBufferStorage = (void (CODEGEN_FUNCPTR *)(GLenum, GLsizeiptr, const void *, GLbitfield))IntGetProcAddress("glBufferStorage");
...
...
@@ -2210,7 +2207,7 @@ static int Load_ARB_buffer_storage()
GLsync (CODEGEN_FUNCPTR *_ptrc_glCreateSyncFromCLeventARB)(struct _cl_context *, struct _cl_event *, GLbitfield) = NULL;
static int Load_ARB_cl_event()
static int Load_ARB_cl_event(
void
)
{
int numFailed = 0;
_ptrc_glCreateSyncFromCLeventARB = (GLsync (CODEGEN_FUNCPTR *)(struct _cl_context *, struct _cl_event *, GLbitfield))IntGetProcAddress("glCreateSyncFromCLeventARB");
...
...
@@ -2221,7 +2218,7 @@ static int Load_ARB_cl_event()
void (CODEGEN_FUNCPTR *_ptrc_glClearTexImage)(GLuint, GLint, GLenum, GLenum, const void *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glClearTexSubImage)(GLuint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const void *) = NULL;
static int Load_ARB_clear_texture()
static int Load_ARB_clear_texture(
void
)
{
int numFailed = 0;
_ptrc_glClearTexImage = (void (CODEGEN_FUNCPTR *)(GLuint, GLint, GLenum, GLenum, const void *))IntGetProcAddress("glClearTexImage");
...
...
@@ -2233,7 +2230,7 @@ static int Load_ARB_clear_texture()
void (CODEGEN_FUNCPTR *_ptrc_glClampColorARB)(GLenum, GLenum) = NULL;
static int Load_ARB_color_buffer_float()
static int Load_ARB_color_buffer_float(
void
)
{
int numFailed = 0;
_ptrc_glClampColorARB = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum))IntGetProcAddress("glClampColorARB");
...
...
@@ -2243,7 +2240,7 @@ static int Load_ARB_color_buffer_float()
void (CODEGEN_FUNCPTR *_ptrc_glDispatchComputeGroupSizeARB)(GLuint, GLuint, GLuint, GLuint, GLuint, GLuint) = NULL;
static int Load_ARB_compute_variable_group_size()
static int Load_ARB_compute_variable_group_size(
void
)
{
int numFailed = 0;
_ptrc_glDispatchComputeGroupSizeARB = (void (CODEGEN_FUNCPTR *)(GLuint, GLuint, GLuint, GLuint, GLuint, GLuint))IntGetProcAddress("glDispatchComputeGroupSizeARB");
...
...
@@ -2256,7 +2253,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glDebugMessageControlARB)(GLenum, GLenum, GLenum, G
void (CODEGEN_FUNCPTR *_ptrc_glDebugMessageInsertARB)(GLenum, GLenum, GLuint, GLenum, GLsizei, const GLchar *) = NULL;
GLuint (CODEGEN_FUNCPTR *_ptrc_glGetDebugMessageLogARB)(GLuint, GLsizei, GLenum *, GLenum *, GLuint *, GLenum *, GLsizei *, GLchar *) = NULL;
static int Load_ARB_debug_output()
static int Load_ARB_debug_output(
void
)
{
int numFailed = 0;
_ptrc_glDebugMessageCallbackARB = (void (CODEGEN_FUNCPTR *)(GLDEBUGPROCARB, const void *))IntGetProcAddress("glDebugMessageCallbackARB");
...
...
@@ -2272,7 +2269,7 @@ static int Load_ARB_debug_output()
void (CODEGEN_FUNCPTR *_ptrc_glDrawBuffersARB)(GLsizei, const GLenum *) = NULL;
static int Load_ARB_draw_buffers()
static int Load_ARB_draw_buffers(
void
)
{
int numFailed = 0;
_ptrc_glDrawBuffersARB = (void (CODEGEN_FUNCPTR *)(GLsizei, const GLenum *))IntGetProcAddress("glDrawBuffersARB");
...
...
@@ -2285,7 +2282,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glBlendEquationiARB)(GLuint, GLenum) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glBlendFuncSeparateiARB)(GLuint, GLenum, GLenum, GLenum, GLenum) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glBlendFunciARB)(GLuint, GLenum, GLenum) = NULL;
static int Load_ARB_draw_buffers_blend()
static int Load_ARB_draw_buffers_blend(
void
)
{
int numFailed = 0;
_ptrc_glBlendEquationSeparateiARB = (void (CODEGEN_FUNCPTR *)(GLuint, GLenum, GLenum))IntGetProcAddress("glBlendEquationSeparateiARB");
...
...
@@ -2302,7 +2299,7 @@ static int Load_ARB_draw_buffers_blend()
void (CODEGEN_FUNCPTR *_ptrc_glDrawArraysInstancedARB)(GLenum, GLint, GLsizei, GLsizei) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glDrawElementsInstancedARB)(GLenum, GLsizei, GLenum, const GLvoid *, GLsizei) = NULL;
static int Load_ARB_draw_instanced()
static int Load_ARB_draw_instanced(
void
)
{
int numFailed = 0;
_ptrc_glDrawArraysInstancedARB = (void (CODEGEN_FUNCPTR *)(GLenum, GLint, GLsizei, GLsizei))IntGetProcAddress("glDrawArraysInstancedARB");
...
...
@@ -2332,7 +2329,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glProgramLocalParameter4fARB)(GLenum, GLuint, GLflo
void (CODEGEN_FUNCPTR *_ptrc_glProgramLocalParameter4fvARB)(GLenum, GLuint, const GLfloat *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glProgramStringARB)(GLenum, GLenum, GLsizei, const GLvoid *) = NULL;
static int Load_ARB_fragment_program()
static int Load_ARB_fragment_program(
void
)
{
int numFailed = 0;
_ptrc_glBindProgramARB = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint))IntGetProcAddress("glBindProgramARB");
...
...
@@ -2381,7 +2378,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glFramebufferTextureFaceARB)(GLenum, GLenum, GLuint
void (CODEGEN_FUNCPTR *_ptrc_glFramebufferTextureLayerARB)(GLenum, GLenum, GLuint, GLint, GLint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glProgramParameteriARB)(GLuint, GLenum, GLint) = NULL;
static int Load_ARB_geometry_shader4()
static int Load_ARB_geometry_shader4(
void
)
{
int numFailed = 0;
_ptrc_glFramebufferTextureARB = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLuint, GLint))IntGetProcAddress("glFramebufferTextureARB");
...
...
@@ -2398,7 +2395,7 @@ static int Load_ARB_geometry_shader4()
void (CODEGEN_FUNCPTR *_ptrc_glMultiDrawArraysIndirectCountARB)(GLenum, GLintptr, GLintptr, GLsizei, GLsizei) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glMultiDrawElementsIndirectCountARB)(GLenum, GLenum, GLintptr, GLintptr, GLsizei, GLsizei) = NULL;
static int Load_ARB_indirect_parameters()
static int Load_ARB_indirect_parameters(
void
)
{
int numFailed = 0;
_ptrc_glMultiDrawArraysIndirectCountARB = (void (CODEGEN_FUNCPTR *)(GLenum, GLintptr, GLintptr, GLsizei, GLsizei))IntGetProcAddress("glMultiDrawArraysIndirectCountARB");
...
...
@@ -2410,7 +2407,7 @@ static int Load_ARB_indirect_parameters()
void (CODEGEN_FUNCPTR *_ptrc_glVertexAttribDivisorARB)(GLuint, GLuint) = NULL;
static int Load_ARB_instanced_arrays()
static int Load_ARB_instanced_arrays(
void
)
{
int numFailed = 0;
_ptrc_glVertexAttribDivisorARB = (void (CODEGEN_FUNCPTR *)(GLuint, GLuint))IntGetProcAddress("glVertexAttribDivisorARB");
...
...
@@ -2424,7 +2421,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glMatrixIndexubvARB)(GLint, const GLubyte *) = NULL
void (CODEGEN_FUNCPTR *_ptrc_glMatrixIndexuivARB)(GLint, const GLuint *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glMatrixIndexusvARB)(GLint, const GLushort *) = NULL;
static int Load_ARB_matrix_palette()
static int Load_ARB_matrix_palette(
void
)
{
int numFailed = 0;
_ptrc_glCurrentPaletteMatrixARB = (void (CODEGEN_FUNCPTR *)(GLint))IntGetProcAddress("glCurrentPaletteMatrixARB");
...
...
@@ -2447,7 +2444,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glBindSamplers)(GLuint, GLsizei, const GLuint *) =
void (CODEGEN_FUNCPTR *_ptrc_glBindTextures)(GLuint, GLsizei, const GLuint *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glBindVertexBuffers)(GLuint, GLsizei, const GLuint *, const GLintptr *, const GLsizei *) = NULL;
static int Load_ARB_multi_bind()
static int Load_ARB_multi_bind(
void
)
{
int numFailed = 0;
_ptrc_glBindBuffersBase = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint, GLsizei, const GLuint *))IntGetProcAddress("glBindBuffersBase");
...
...
@@ -2467,7 +2464,7 @@ static int Load_ARB_multi_bind()
void (CODEGEN_FUNCPTR *_ptrc_glSampleCoverageARB)(GLfloat, GLboolean) = NULL;
static int Load_ARB_multisample()
static int Load_ARB_multisample(
void
)
{
int numFailed = 0;
_ptrc_glSampleCoverageARB = (void (CODEGEN_FUNCPTR *)(GLfloat, GLboolean))IntGetProcAddress("glSampleCoverageARB");
...
...
@@ -2510,7 +2507,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glMultiTexCoord4ivARB)(GLenum, const GLint *) = NUL
void (CODEGEN_FUNCPTR *_ptrc_glMultiTexCoord4sARB)(GLenum, GLshort, GLshort, GLshort, GLshort) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glMultiTexCoord4svARB)(GLenum, const GLshort *) = NULL;
static int Load_ARB_multitexture()
static int Load_ARB_multitexture(
void
)
{
int numFailed = 0;
_ptrc_glActiveTextureARB = (void (CODEGEN_FUNCPTR *)(GLenum))IntGetProcAddress("glActiveTextureARB");
...
...
@@ -2593,7 +2590,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glGetQueryObjectuivARB)(GLuint, GLenum, GLuint *) =
void (CODEGEN_FUNCPTR *_ptrc_glGetQueryivARB)(GLenum, GLenum, GLint *) = NULL;
GLboolean (CODEGEN_FUNCPTR *_ptrc_glIsQueryARB)(GLuint) = NULL;
static int Load_ARB_occlusion_query()
static int Load_ARB_occlusion_query(
void
)
{
int numFailed = 0;
_ptrc_glBeginQueryARB = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint))IntGetProcAddress("glBeginQueryARB");
...
...
@@ -2618,7 +2615,7 @@ static int Load_ARB_occlusion_query()
void (CODEGEN_FUNCPTR *_ptrc_glPointParameterfARB)(GLenum, GLfloat) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glPointParameterfvARB)(GLenum, const GLfloat *) = NULL;
static int Load_ARB_point_parameters()
static int Load_ARB_point_parameters(
void
)
{
int numFailed = 0;
_ptrc_glPointParameterfARB = (void (CODEGEN_FUNCPTR *)(GLenum, GLfloat))IntGetProcAddress("glPointParameterfARB");
...
...
@@ -2628,7 +2625,7 @@ static int Load_ARB_point_parameters()
return numFailed;
}
GLenum (CODEGEN_FUNCPTR *_ptrc_glGetGraphicsResetStatusARB)() = NULL;
GLenum (CODEGEN_FUNCPTR *_ptrc_glGetGraphicsResetStatusARB)(
void
) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGetnColorTableARB)(GLenum, GLenum, GLenum, GLsizei, GLvoid *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGetnCompressedTexImageARB)(GLenum, GLint, GLsizei, GLvoid *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGetnConvolutionFilterARB)(GLenum, GLenum, GLenum, GLsizei, GLvoid *) = NULL;
...
...
@@ -2649,10 +2646,10 @@ void (CODEGEN_FUNCPTR *_ptrc_glGetnUniformivARB)(GLuint, GLint, GLsizei, GLint *
void (CODEGEN_FUNCPTR *_ptrc_glGetnUniformuivARB)(GLuint, GLint, GLsizei, GLuint *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glReadnPixelsARB)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLsizei, GLvoid *) = NULL;
static int Load_ARB_robustness()
static int Load_ARB_robustness(
void
)
{
int numFailed = 0;
_ptrc_glGetGraphicsResetStatusARB = (GLenum (CODEGEN_FUNCPTR *)())IntGetProcAddress("glGetGraphicsResetStatusARB");
_ptrc_glGetGraphicsResetStatusARB = (GLenum (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glGetGraphicsResetStatusARB");
if(!_ptrc_glGetGraphicsResetStatusARB) numFailed++;
_ptrc_glGetnColorTableARB = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLenum, GLsizei, GLvoid *))IntGetProcAddress("glGetnColorTableARB");
if(!_ptrc_glGetnColorTableARB) numFailed++;
...
...
@@ -2697,7 +2694,7 @@ static int Load_ARB_robustness()
void (CODEGEN_FUNCPTR *_ptrc_glMinSampleShadingARB)(GLfloat) = NULL;
static int Load_ARB_sample_shading()
static int Load_ARB_sample_shading(
void
)
{
int numFailed = 0;
_ptrc_glMinSampleShadingARB = (void (CODEGEN_FUNCPTR *)(GLfloat))IntGetProcAddress("glMinSampleShadingARB");
...
...
@@ -2707,7 +2704,7 @@ static int Load_ARB_sample_shading()
void (CODEGEN_FUNCPTR *_ptrc_glAttachObjectARB)(GLhandleARB, GLhandleARB) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glCompileShaderARB)(GLhandleARB) = NULL;
GLhandleARB (CODEGEN_FUNCPTR *_ptrc_glCreateProgramObjectARB)() = NULL;
GLhandleARB (CODEGEN_FUNCPTR *_ptrc_glCreateProgramObjectARB)(
void
) = NULL;
GLhandleARB (CODEGEN_FUNCPTR *_ptrc_glCreateShaderObjectARB)(GLenum) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glDeleteObjectARB)(GLhandleARB) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glDetachObjectARB)(GLhandleARB, GLhandleARB) = NULL;
...
...
@@ -2745,14 +2742,14 @@ void (CODEGEN_FUNCPTR *_ptrc_glUniformMatrix4fvARB)(GLint, GLsizei, GLboolean, c
void (CODEGEN_FUNCPTR *_ptrc_glUseProgramObjectARB)(GLhandleARB) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glValidateProgramARB)(GLhandleARB) = NULL;
static int Load_ARB_shader_objects()
static int Load_ARB_shader_objects(
void
)
{
int numFailed = 0;
_ptrc_glAttachObjectARB = (void (CODEGEN_FUNCPTR *)(GLhandleARB, GLhandleARB))IntGetProcAddress("glAttachObjectARB");
if(!_ptrc_glAttachObjectARB) numFailed++;
_ptrc_glCompileShaderARB = (void (CODEGEN_FUNCPTR *)(GLhandleARB))IntGetProcAddress("glCompileShaderARB");
if(!_ptrc_glCompileShaderARB) numFailed++;
_ptrc_glCreateProgramObjectARB = (GLhandleARB (CODEGEN_FUNCPTR *)())IntGetProcAddress("glCreateProgramObjectARB");
_ptrc_glCreateProgramObjectARB = (GLhandleARB (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glCreateProgramObjectARB");
if(!_ptrc_glCreateProgramObjectARB) numFailed++;
_ptrc_glCreateShaderObjectARB = (GLhandleARB (CODEGEN_FUNCPTR *)(GLenum))IntGetProcAddress("glCreateShaderObjectARB");
if(!_ptrc_glCreateShaderObjectARB) numFailed++;
...
...
@@ -2836,7 +2833,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glGetNamedStringivARB)(GLint, const GLchar *, GLenu
GLboolean (CODEGEN_FUNCPTR *_ptrc_glIsNamedStringARB)(GLint, const GLchar *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glNamedStringARB)(GLenum, GLint, const GLchar *, GLint, const GLchar *) = NULL;
static int Load_ARB_shading_language_include()
static int Load_ARB_shading_language_include(
void
)
{
int numFailed = 0;
_ptrc_glCompileShaderIncludeARB = (void (CODEGEN_FUNCPTR *)(GLuint, GLsizei, const GLchar *const*, const GLint *))IntGetProcAddress("glCompileShaderIncludeARB");
...
...
@@ -2856,7 +2853,7 @@ static int Load_ARB_shading_language_include()
void (CODEGEN_FUNCPTR *_ptrc_glTexPageCommitmentARB)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLboolean) = NULL;
static int Load_ARB_sparse_texture()
static int Load_ARB_sparse_texture(
void
)
{
int numFailed = 0;
_ptrc_glTexPageCommitmentARB = (void (CODEGEN_FUNCPTR *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLboolean))IntGetProcAddress("glTexPageCommitmentARB");
...
...
@@ -2866,7 +2863,7 @@ static int Load_ARB_sparse_texture()
void (CODEGEN_FUNCPTR *_ptrc_glTexBufferARB)(GLenum, GLenum, GLuint) = NULL;
static int Load_ARB_texture_buffer_object()
static int Load_ARB_texture_buffer_object(
void
)
{
int numFailed = 0;
_ptrc_glTexBufferARB = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLuint))IntGetProcAddress("glTexBufferARB");
...
...
@@ -2882,7 +2879,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glCompressedTexSubImage2DARB)(GLenum, GLint, GLint,
void (CODEGEN_FUNCPTR *_ptrc_glCompressedTexSubImage3DARB)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGetCompressedTexImageARB)(GLenum, GLint, GLvoid *) = NULL;
static int Load_ARB_texture_compression()
static int Load_ARB_texture_compression(
void
)
{
int numFailed = 0;
_ptrc_glCompressedTexImage1DARB = (void (CODEGEN_FUNCPTR *)(GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *))IntGetProcAddress("glCompressedTexImage1DARB");
...
...
@@ -2907,7 +2904,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glLoadTransposeMatrixfARB)(const GLfloat *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glMultTransposeMatrixdARB)(const GLdouble *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glMultTransposeMatrixfARB)(const GLfloat *) = NULL;
static int Load_ARB_transpose_matrix()
static int Load_ARB_transpose_matrix(
void
)
{
int numFailed = 0;
_ptrc_glLoadTransposeMatrixdARB = (void (CODEGEN_FUNCPTR *)(const GLdouble *))IntGetProcAddress("glLoadTransposeMatrixdARB");
...
...
@@ -2932,7 +2929,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glWeightubvARB)(GLint, const GLubyte *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glWeightuivARB)(GLint, const GLuint *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glWeightusvARB)(GLint, const GLushort *) = NULL;
static int Load_ARB_vertex_blend()
static int Load_ARB_vertex_blend(
void
)
{
int numFailed = 0;
_ptrc_glVertexBlendARB = (void (CODEGEN_FUNCPTR *)(GLint))IntGetProcAddress("glVertexBlendARB");
...
...
@@ -2970,7 +2967,7 @@ GLboolean (CODEGEN_FUNCPTR *_ptrc_glIsBufferARB)(GLuint) = NULL;
void * (CODEGEN_FUNCPTR *_ptrc_glMapBufferARB)(GLenum, GLenum) = NULL;
GLboolean (CODEGEN_FUNCPTR *_ptrc_glUnmapBufferARB)(GLenum) = NULL;
static int Load_ARB_vertex_buffer_object()
static int Load_ARB_vertex_buffer_object(
void
)
{
int numFailed = 0;
_ptrc_glBindBufferARB = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint))IntGetProcAddress("glBindBufferARB");
...
...
@@ -3042,7 +3039,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glVertexAttrib4uivARB)(GLuint, const GLuint *) = NU
void (CODEGEN_FUNCPTR *_ptrc_glVertexAttrib4usvARB)(GLuint, const GLushort *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVertexAttribPointerARB)(GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *) = NULL;
static int Load_ARB_vertex_program()
static int Load_ARB_vertex_program(
void
)
{
int numFailed = 0;
_ptrc_glBindProgramARB = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint))IntGetProcAddress("glBindProgramARB");
...
...
@@ -3176,7 +3173,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glBindAttribLocationARB)(GLhandleARB, GLuint, const
void (CODEGEN_FUNCPTR *_ptrc_glGetActiveAttribARB)(GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *) = NULL;
GLint (CODEGEN_FUNCPTR *_ptrc_glGetAttribLocationARB)(GLhandleARB, const GLcharARB *) = NULL;
static int Load_ARB_vertex_shader()
static int Load_ARB_vertex_shader(
void
)
{
int numFailed = 0;
_ptrc_glBindAttribLocationARB = (void (CODEGEN_FUNCPTR *)(GLhandleARB, GLuint, const GLcharARB *))IntGetProcAddress("glBindAttribLocationARB");
...
...
@@ -3205,7 +3202,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glWindowPos3ivARB)(const GLint *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glWindowPos3sARB)(GLshort, GLshort, GLshort) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glWindowPos3svARB)(const GLshort *) = NULL;
static int Load_ARB_window_pos()
static int Load_ARB_window_pos(
void
)
{
int numFailed = 0;
_ptrc_glWindowPos2dARB = (void (CODEGEN_FUNCPTR *)(GLdouble, GLdouble))IntGetProcAddress("glWindowPos2dARB");
...
...
@@ -3245,7 +3242,7 @@ static int Load_ARB_window_pos()
void (CODEGEN_FUNCPTR *_ptrc_glDrawBuffersATI)(GLsizei, const GLenum *) = NULL;
static int Load_ATI_draw_buffers()
static int Load_ATI_draw_buffers(
void
)
{
int numFailed = 0;
_ptrc_glDrawBuffersATI = (void (CODEGEN_FUNCPTR *)(GLsizei, const GLenum *))IntGetProcAddress("glDrawBuffersATI");
...
...
@@ -3257,7 +3254,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glDrawElementArrayATI)(GLenum, GLsizei) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glDrawRangeElementArrayATI)(GLenum, GLuint, GLuint, GLsizei) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glElementPointerATI)(GLenum, const GLvoid *) = NULL;
static int Load_ATI_element_array()
static int Load_ATI_element_array(
void
)
{
int numFailed = 0;
_ptrc_glDrawElementArrayATI = (void (CODEGEN_FUNCPTR *)(GLenum, GLsizei))IntGetProcAddress("glDrawElementArrayATI");
...
...
@@ -3274,7 +3271,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glGetTexBumpParameterivATI)(GLenum, GLint *) = NULL
void (CODEGEN_FUNCPTR *_ptrc_glTexBumpParameterfvATI)(GLenum, const GLfloat *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glTexBumpParameterivATI)(GLenum, const GLint *) = NULL;
static int Load_ATI_envmap_bumpmap()
static int Load_ATI_envmap_bumpmap(
void
)
{
int numFailed = 0;
_ptrc_glGetTexBumpParameterfvATI = (void (CODEGEN_FUNCPTR *)(GLenum, GLfloat *))IntGetProcAddress("glGetTexBumpParameterfvATI");
...
...
@@ -3291,19 +3288,19 @@ static int Load_ATI_envmap_bumpmap()
void (CODEGEN_FUNCPTR *_ptrc_glAlphaFragmentOp1ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glAlphaFragmentOp2ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glAlphaFragmentOp3ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glBeginFragmentShaderATI)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glBeginFragmentShaderATI)(
void
) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glBindFragmentShaderATI)(GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glColorFragmentOp1ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glColorFragmentOp2ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glColorFragmentOp3ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glDeleteFragmentShaderATI)(GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glEndFragmentShaderATI)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glEndFragmentShaderATI)(
void
) = NULL;
GLuint (CODEGEN_FUNCPTR *_ptrc_glGenFragmentShadersATI)(GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glPassTexCoordATI)(GLuint, GLuint, GLenum) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glSampleMapATI)(GLuint, GLuint, GLenum) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glSetFragmentShaderConstantATI)(GLuint, const GLfloat *) = NULL;
static int Load_ATI_fragment_shader()
static int Load_ATI_fragment_shader(
void
)
{
int numFailed = 0;
_ptrc_glAlphaFragmentOp1ATI = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint))IntGetProcAddress("glAlphaFragmentOp1ATI");
...
...
@@ -3312,7 +3309,7 @@ static int Load_ATI_fragment_shader()
if(!_ptrc_glAlphaFragmentOp2ATI) numFailed++;
_ptrc_glAlphaFragmentOp3ATI = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint))IntGetProcAddress("glAlphaFragmentOp3ATI");
if(!_ptrc_glAlphaFragmentOp3ATI) numFailed++;
_ptrc_glBeginFragmentShaderATI = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glBeginFragmentShaderATI");
_ptrc_glBeginFragmentShaderATI = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glBeginFragmentShaderATI");
if(!_ptrc_glBeginFragmentShaderATI) numFailed++;
_ptrc_glBindFragmentShaderATI = (void (CODEGEN_FUNCPTR *)(GLuint))IntGetProcAddress("glBindFragmentShaderATI");
if(!_ptrc_glBindFragmentShaderATI) numFailed++;
...
...
@@ -3324,7 +3321,7 @@ static int Load_ATI_fragment_shader()
if(!_ptrc_glColorFragmentOp3ATI) numFailed++;
_ptrc_glDeleteFragmentShaderATI = (void (CODEGEN_FUNCPTR *)(GLuint))IntGetProcAddress("glDeleteFragmentShaderATI");
if(!_ptrc_glDeleteFragmentShaderATI) numFailed++;
_ptrc_glEndFragmentShaderATI = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glEndFragmentShaderATI");
_ptrc_glEndFragmentShaderATI = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glEndFragmentShaderATI");
if(!_ptrc_glEndFragmentShaderATI) numFailed++;
_ptrc_glGenFragmentShadersATI = (GLuint (CODEGEN_FUNCPTR *)(GLuint))IntGetProcAddress("glGenFragmentShadersATI");
if(!_ptrc_glGenFragmentShadersATI) numFailed++;
...
...
@@ -3340,7 +3337,7 @@ static int Load_ATI_fragment_shader()
void * (CODEGEN_FUNCPTR *_ptrc_glMapObjectBufferATI)(GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glUnmapObjectBufferATI)(GLuint) = NULL;
static int Load_ATI_map_object_buffer()
static int Load_ATI_map_object_buffer(
void
)
{
int numFailed = 0;
_ptrc_glMapObjectBufferATI = (void * (CODEGEN_FUNCPTR *)(GLuint))IntGetProcAddress("glMapObjectBufferATI");
...
...
@@ -3353,7 +3350,7 @@ static int Load_ATI_map_object_buffer()
void (CODEGEN_FUNCPTR *_ptrc_glPNTrianglesfATI)(GLenum, GLfloat) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glPNTrianglesiATI)(GLenum, GLint) = NULL;
static int Load_ATI_pn_triangles()
static int Load_ATI_pn_triangles(
void
)
{
int numFailed = 0;
_ptrc_glPNTrianglesfATI = (void (CODEGEN_FUNCPTR *)(GLenum, GLfloat))IntGetProcAddress("glPNTrianglesfATI");
...
...
@@ -3366,7 +3363,7 @@ static int Load_ATI_pn_triangles()
void (CODEGEN_FUNCPTR *_ptrc_glStencilFuncSeparateATI)(GLenum, GLenum, GLint, GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glStencilOpSeparateATI)(GLenum, GLenum, GLenum, GLenum) = NULL;
static int Load_ATI_separate_stencil()
static int Load_ATI_separate_stencil(
void
)
{
int numFailed = 0;
_ptrc_glStencilFuncSeparateATI = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLint, GLuint))IntGetProcAddress("glStencilFuncSeparateATI");
...
...
@@ -3389,7 +3386,7 @@ GLuint (CODEGEN_FUNCPTR *_ptrc_glNewObjectBufferATI)(GLsizei, const GLvoid *, GL
void (CODEGEN_FUNCPTR *_ptrc_glUpdateObjectBufferATI)(GLuint, GLuint, GLsizei, const GLvoid *, GLenum) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVariantArrayObjectATI)(GLuint, GLenum, GLsizei, GLuint, GLuint) = NULL;
static int Load_ATI_vertex_array_object()
static int Load_ATI_vertex_array_object(
void
)
{
int numFailed = 0;
_ptrc_glArrayObjectATI = (void (CODEGEN_FUNCPTR *)(GLenum, GLint, GLenum, GLsizei, GLuint, GLuint))IntGetProcAddress("glArrayObjectATI");
...
...
@@ -3423,7 +3420,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glGetVertexAttribArrayObjectfvATI)(GLuint, GLenum,
void (CODEGEN_FUNCPTR *_ptrc_glGetVertexAttribArrayObjectivATI)(GLuint, GLenum, GLint *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVertexAttribArrayObjectATI)(GLuint, GLint, GLenum, GLboolean, GLsizei, GLuint, GLuint) = NULL;
static int Load_ATI_vertex_attrib_array_object()
static int Load_ATI_vertex_attrib_array_object(
void
)
{
int numFailed = 0;
_ptrc_glGetVertexAttribArrayObjectfvATI = (void (CODEGEN_FUNCPTR *)(GLuint, GLenum, GLfloat *))IntGetProcAddress("glGetVertexAttribArrayObjectfvATI");
...
...
@@ -3481,7 +3478,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glVertexStream4ivATI)(GLenum, const GLint *) = NULL
void (CODEGEN_FUNCPTR *_ptrc_glVertexStream4sATI)(GLenum, GLshort, GLshort, GLshort, GLshort) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVertexStream4svATI)(GLenum, const GLshort *) = NULL;
static int Load_ATI_vertex_streams()
static int Load_ATI_vertex_streams(
void
)
{
int numFailed = 0;
_ptrc_glClientActiveVertexStreamATI = (void (CODEGEN_FUNCPTR *)(GLenum))IntGetProcAddress("glClientActiveVertexStreamATI");
...
...
@@ -3581,7 +3578,7 @@ GLint (CODEGEN_FUNCPTR *_ptrc_glGetUniformBufferSizeEXT)(GLuint, GLint) = NULL;
GLintptr (CODEGEN_FUNCPTR *_ptrc_glGetUniformOffsetEXT)(GLuint, GLint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glUniformBufferEXT)(GLuint, GLint, GLuint) = NULL;
static int Load_EXT_bindable_uniform()
static int Load_EXT_bindable_uniform(
void
)
{
int numFailed = 0;
_ptrc_glGetUniformBufferSizeEXT = (GLint (CODEGEN_FUNCPTR *)(GLuint, GLint))IntGetProcAddress("glGetUniformBufferSizeEXT");
...
...
@@ -3595,7 +3592,7 @@ static int Load_EXT_bindable_uniform()
void (CODEGEN_FUNCPTR *_ptrc_glBlendColorEXT)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL;
static int Load_EXT_blend_color()
static int Load_EXT_blend_color(
void
)
{
int numFailed = 0;
_ptrc_glBlendColorEXT = (void (CODEGEN_FUNCPTR *)(GLfloat, GLfloat, GLfloat, GLfloat))IntGetProcAddress("glBlendColorEXT");
...
...
@@ -3605,7 +3602,7 @@ static int Load_EXT_blend_color()
void (CODEGEN_FUNCPTR *_ptrc_glBlendEquationSeparateEXT)(GLenum, GLenum) = NULL;
static int Load_EXT_blend_equation_separate()
static int Load_EXT_blend_equation_separate(
void
)
{
int numFailed = 0;
_ptrc_glBlendEquationSeparateEXT = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum))IntGetProcAddress("glBlendEquationSeparateEXT");
...
...
@@ -3615,7 +3612,7 @@ static int Load_EXT_blend_equation_separate()
void (CODEGEN_FUNCPTR *_ptrc_glBlendFuncSeparateEXT)(GLenum, GLenum, GLenum, GLenum) = NULL;
static int Load_EXT_blend_func_separate()
static int Load_EXT_blend_func_separate(
void
)
{
int numFailed = 0;
_ptrc_glBlendFuncSeparateEXT = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLenum, GLenum))IntGetProcAddress("glBlendFuncSeparateEXT");
...
...
@@ -3625,7 +3622,7 @@ static int Load_EXT_blend_func_separate()
void (CODEGEN_FUNCPTR *_ptrc_glBlendEquationEXT)(GLenum) = NULL;
static int Load_EXT_blend_minmax()
static int Load_EXT_blend_minmax(
void
)
{
int numFailed = 0;
_ptrc_glBlendEquationEXT = (void (CODEGEN_FUNCPTR *)(GLenum))IntGetProcAddress("glBlendEquationEXT");
...
...
@@ -3636,7 +3633,7 @@ static int Load_EXT_blend_minmax()
void (CODEGEN_FUNCPTR *_ptrc_glColorSubTableEXT)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glCopyColorSubTableEXT)(GLenum, GLsizei, GLint, GLint, GLsizei) = NULL;
static int Load_EXT_color_subtable()
static int Load_EXT_color_subtable(
void
)
{
int numFailed = 0;
_ptrc_glColorSubTableEXT = (void (CODEGEN_FUNCPTR *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *))IntGetProcAddress("glColorSubTableEXT");
...
...
@@ -3647,14 +3644,14 @@ static int Load_EXT_color_subtable()
}
void (CODEGEN_FUNCPTR *_ptrc_glLockArraysEXT)(GLint, GLsizei) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glUnlockArraysEXT)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glUnlockArraysEXT)(
void
) = NULL;
static int Load_EXT_compiled_vertex_array()
static int Load_EXT_compiled_vertex_array(
void
)
{
int numFailed = 0;
_ptrc_glLockArraysEXT = (void (CODEGEN_FUNCPTR *)(GLint, GLsizei))IntGetProcAddress("glLockArraysEXT");
if(!_ptrc_glLockArraysEXT) numFailed++;
_ptrc_glUnlockArraysEXT = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glUnlockArraysEXT");
_ptrc_glUnlockArraysEXT = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glUnlockArraysEXT");
if(!_ptrc_glUnlockArraysEXT) numFailed++;
return numFailed;
}
...
...
@@ -3673,7 +3670,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glGetConvolutionParameterivEXT)(GLenum, GLenum, GLi
void (CODEGEN_FUNCPTR *_ptrc_glGetSeparableFilterEXT)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glSeparableFilter2DEXT)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL;
static int Load_EXT_convolution()
static int Load_EXT_convolution(
void
)
{
int numFailed = 0;
_ptrc_glConvolutionFilter1DEXT = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *))IntGetProcAddress("glConvolutionFilter1DEXT");
...
...
@@ -3728,7 +3725,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glTangent3sEXT)(GLshort, GLshort, GLshort) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glTangent3svEXT)(const GLshort *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glTangentPointerEXT)(GLenum, GLsizei, const GLvoid *) = NULL;
static int Load_EXT_coordinate_frame()
static int Load_EXT_coordinate_frame(
void
)
{
int numFailed = 0;
_ptrc_glBinormal3bEXT = (void (CODEGEN_FUNCPTR *)(GLbyte, GLbyte, GLbyte))IntGetProcAddress("glBinormal3bEXT");
...
...
@@ -3784,7 +3781,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glCopyTexSubImage1DEXT)(GLenum, GLint, GLint, GLint
void (CODEGEN_FUNCPTR *_ptrc_glCopyTexSubImage2DEXT)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glCopyTexSubImage3DEXT)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei) = NULL;
static int Load_EXT_copy_texture()
static int Load_EXT_copy_texture(
void
)
{
int numFailed = 0;
_ptrc_glCopyTexImage1DEXT = (void (CODEGEN_FUNCPTR *)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint))IntGetProcAddress("glCopyTexImage1DEXT");
...
...
@@ -3803,7 +3800,7 @@ static int Load_EXT_copy_texture()
void (CODEGEN_FUNCPTR *_ptrc_glCullParameterdvEXT)(GLenum, GLdouble *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glCullParameterfvEXT)(GLenum, GLfloat *) = NULL;
static int Load_EXT_cull_vertex()
static int Load_EXT_cull_vertex(
void
)
{
int numFailed = 0;
_ptrc_glCullParameterdvEXT = (void (CODEGEN_FUNCPTR *)(GLenum, GLdouble *))IntGetProcAddress("glCullParameterdvEXT");
...
...
@@ -3815,7 +3812,7 @@ static int Load_EXT_cull_vertex()
void (CODEGEN_FUNCPTR *_ptrc_glDepthBoundsEXT)(GLclampd, GLclampd) = NULL;
static int Load_EXT_depth_bounds_test()
static int Load_EXT_depth_bounds_test(
void
)
{
int numFailed = 0;
_ptrc_glDepthBoundsEXT = (void (CODEGEN_FUNCPTR *)(GLclampd, GLclampd))IntGetProcAddress("glDepthBoundsEXT");
...
...
@@ -4077,7 +4074,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glVertexArrayVertexAttribOffsetEXT)(GLuint, GLuint,
void (CODEGEN_FUNCPTR *_ptrc_glVertexArrayVertexBindingDivisorEXT)(GLuint, GLuint, GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVertexArrayVertexOffsetEXT)(GLuint, GLuint, GLint, GLenum, GLsizei, GLintptr) = NULL;
static int Load_EXT_direct_state_access()
static int Load_EXT_direct_state_access(
void
)
{
int numFailed = 0;
_ptrc_glBindMultiTextureEXT = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLuint))IntGetProcAddress("glBindMultiTextureEXT");
...
...
@@ -4591,7 +4588,7 @@ static int Load_EXT_direct_state_access()
void (CODEGEN_FUNCPTR *_ptrc_glColorMaskIndexedEXT)(GLuint, GLboolean, GLboolean, GLboolean, GLboolean) = NULL;
static int Load_EXT_draw_buffers2()
static int Load_EXT_draw_buffers2(
void
)
{
int numFailed = 0;
_ptrc_glColorMaskIndexedEXT = (void (CODEGEN_FUNCPTR *)(GLuint, GLboolean, GLboolean, GLboolean, GLboolean))IntGetProcAddress("glColorMaskIndexedEXT");
...
...
@@ -4612,7 +4609,7 @@ static int Load_EXT_draw_buffers2()
void (CODEGEN_FUNCPTR *_ptrc_glDrawArraysInstancedEXT)(GLenum, GLint, GLsizei, GLsizei) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glDrawElementsInstancedEXT)(GLenum, GLsizei, GLenum, const GLvoid *, GLsizei) = NULL;
static int Load_EXT_draw_instanced()
static int Load_EXT_draw_instanced(
void
)
{
int numFailed = 0;
_ptrc_glDrawArraysInstancedEXT = (void (CODEGEN_FUNCPTR *)(GLenum, GLint, GLsizei, GLsizei))IntGetProcAddress("glDrawArraysInstancedEXT");
...
...
@@ -4624,7 +4621,7 @@ static int Load_EXT_draw_instanced()
void (CODEGEN_FUNCPTR *_ptrc_glDrawRangeElementsEXT)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL;
static int Load_EXT_draw_range_elements()
static int Load_EXT_draw_range_elements(
void
)
{
int numFailed = 0;
_ptrc_glDrawRangeElementsEXT = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *))IntGetProcAddress("glDrawRangeElementsEXT");
...
...
@@ -4638,7 +4635,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glFogCoorddvEXT)(const GLdouble *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glFogCoordfEXT)(GLfloat) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glFogCoordfvEXT)(const GLfloat *) = NULL;
static int Load_EXT_fog_coord()
static int Load_EXT_fog_coord(
void
)
{
int numFailed = 0;
_ptrc_glFogCoordPointerEXT = (void (CODEGEN_FUNCPTR *)(GLenum, GLsizei, const GLvoid *))IntGetProcAddress("glFogCoordPointerEXT");
...
...
@@ -4656,7 +4653,7 @@ static int Load_EXT_fog_coord()
void (CODEGEN_FUNCPTR *_ptrc_glBlitFramebufferEXT)(GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLbitfield, GLenum) = NULL;
static int Load_EXT_framebuffer_blit()
static int Load_EXT_framebuffer_blit(
void
)
{
int numFailed = 0;
_ptrc_glBlitFramebufferEXT = (void (CODEGEN_FUNCPTR *)(GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLbitfield, GLenum))IntGetProcAddress("glBlitFramebufferEXT");
...
...
@@ -4666,7 +4663,7 @@ static int Load_EXT_framebuffer_blit()
void (CODEGEN_FUNCPTR *_ptrc_glRenderbufferStorageMultisampleEXT)(GLenum, GLsizei, GLenum, GLsizei, GLsizei) = NULL;
static int Load_EXT_framebuffer_multisample()
static int Load_EXT_framebuffer_multisample(
void
)
{
int numFailed = 0;
_ptrc_glRenderbufferStorageMultisampleEXT = (void (CODEGEN_FUNCPTR *)(GLenum, GLsizei, GLenum, GLsizei, GLsizei))IntGetProcAddress("glRenderbufferStorageMultisampleEXT");
...
...
@@ -4692,7 +4689,7 @@ GLboolean (CODEGEN_FUNCPTR *_ptrc_glIsFramebufferEXT)(GLuint) = NULL;
GLboolean (CODEGEN_FUNCPTR *_ptrc_glIsRenderbufferEXT)(GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glRenderbufferStorageEXT)(GLenum, GLenum, GLsizei, GLsizei) = NULL;
static int Load_EXT_framebuffer_object()
static int Load_EXT_framebuffer_object(
void
)
{
int numFailed = 0;
_ptrc_glBindFramebufferEXT = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint))IntGetProcAddress("glBindFramebufferEXT");
...
...
@@ -4734,7 +4731,7 @@ static int Load_EXT_framebuffer_object()
void (CODEGEN_FUNCPTR *_ptrc_glProgramParameteriEXT)(GLuint, GLenum, GLint) = NULL;
static int Load_EXT_geometry_shader4()
static int Load_EXT_geometry_shader4(
void
)
{
int numFailed = 0;
_ptrc_glProgramParameteriEXT = (void (CODEGEN_FUNCPTR *)(GLuint, GLenum, GLint))IntGetProcAddress("glProgramParameteriEXT");
...
...
@@ -4745,7 +4742,7 @@ static int Load_EXT_geometry_shader4()
void (CODEGEN_FUNCPTR *_ptrc_glProgramEnvParameters4fvEXT)(GLenum, GLuint, GLsizei, const GLfloat *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glProgramLocalParameters4fvEXT)(GLenum, GLuint, GLsizei, const GLfloat *) = NULL;
static int Load_EXT_gpu_program_parameters()
static int Load_EXT_gpu_program_parameters(
void
)
{
int numFailed = 0;
_ptrc_glProgramEnvParameters4fvEXT = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint, GLsizei, const GLfloat *))IntGetProcAddress("glProgramEnvParameters4fvEXT");
...
...
@@ -4767,7 +4764,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glUniform3uivEXT)(GLint, GLsizei, const GLuint *) =
void (CODEGEN_FUNCPTR *_ptrc_glUniform4uiEXT)(GLint, GLuint, GLuint, GLuint, GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glUniform4uivEXT)(GLint, GLsizei, const GLuint *) = NULL;
static int Load_EXT_gpu_shader4()
static int Load_EXT_gpu_shader4(
void
)
{
int numFailed = 0;
_ptrc_glBindFragDataLocationEXT = (void (CODEGEN_FUNCPTR *)(GLuint, GLuint, const GLchar *))IntGetProcAddress("glBindFragDataLocationEXT");
...
...
@@ -4806,7 +4803,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glMinmaxEXT)(GLenum, GLenum, GLboolean) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glResetHistogramEXT)(GLenum) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glResetMinmaxEXT)(GLenum) = NULL;
static int Load_EXT_histogram()
static int Load_EXT_histogram(
void
)
{
int numFailed = 0;
_ptrc_glGetHistogramEXT = (void (CODEGEN_FUNCPTR *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *))IntGetProcAddress("glGetHistogramEXT");
...
...
@@ -4834,7 +4831,7 @@ static int Load_EXT_histogram()
void (CODEGEN_FUNCPTR *_ptrc_glIndexFuncEXT)(GLenum, GLclampf) = NULL;
static int Load_EXT_index_func()
static int Load_EXT_index_func(
void
)
{
int numFailed = 0;
_ptrc_glIndexFuncEXT = (void (CODEGEN_FUNCPTR *)(GLenum, GLclampf))IntGetProcAddress("glIndexFuncEXT");
...
...
@@ -4844,7 +4841,7 @@ static int Load_EXT_index_func()
void (CODEGEN_FUNCPTR *_ptrc_glIndexMaterialEXT)(GLenum, GLenum) = NULL;
static int Load_EXT_index_material()
static int Load_EXT_index_material(
void
)
{
int numFailed = 0;
_ptrc_glIndexMaterialEXT = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum))IntGetProcAddress("glIndexMaterialEXT");
...
...
@@ -4856,7 +4853,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glApplyTextureEXT)(GLenum) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glTextureLightEXT)(GLenum) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glTextureMaterialEXT)(GLenum, GLenum) = NULL;
static int Load_EXT_light_texture()
static int Load_EXT_light_texture(
void
)
{
int numFailed = 0;
_ptrc_glApplyTextureEXT = (void (CODEGEN_FUNCPTR *)(GLenum))IntGetProcAddress("glApplyTextureEXT");
...
...
@@ -4871,7 +4868,7 @@ static int Load_EXT_light_texture()
void (CODEGEN_FUNCPTR *_ptrc_glMultiDrawArraysEXT)(GLenum, const GLint *, const GLsizei *, GLsizei) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glMultiDrawElementsEXT)(GLenum, const GLsizei *, GLenum, const GLvoid *const*, GLsizei) = NULL;
static int Load_EXT_multi_draw_arrays()
static int Load_EXT_multi_draw_arrays(
void
)
{
int numFailed = 0;
_ptrc_glMultiDrawArraysEXT = (void (CODEGEN_FUNCPTR *)(GLenum, const GLint *, const GLsizei *, GLsizei))IntGetProcAddress("glMultiDrawArraysEXT");
...
...
@@ -4884,7 +4881,7 @@ static int Load_EXT_multi_draw_arrays()
void (CODEGEN_FUNCPTR *_ptrc_glSampleMaskEXT)(GLclampf, GLboolean) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glSamplePatternEXT)(GLenum) = NULL;
static int Load_EXT_multisample()
static int Load_EXT_multisample(
void
)
{
int numFailed = 0;
_ptrc_glSampleMaskEXT = (void (CODEGEN_FUNCPTR *)(GLclampf, GLboolean))IntGetProcAddress("glSampleMaskEXT");
...
...
@@ -4899,7 +4896,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glGetColorTableEXT)(GLenum, GLenum, GLenum, GLvoid
void (CODEGEN_FUNCPTR *_ptrc_glGetColorTableParameterfvEXT)(GLenum, GLenum, GLfloat *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGetColorTableParameterivEXT)(GLenum, GLenum, GLint *) = NULL;
static int Load_EXT_paletted_texture()
static int Load_EXT_paletted_texture(
void
)
{
int numFailed = 0;
_ptrc_glColorTableEXT = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *))IntGetProcAddress("glColorTableEXT");
...
...
@@ -4920,7 +4917,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glPixelTransformParameterfvEXT)(GLenum, GLenum, con
void (CODEGEN_FUNCPTR *_ptrc_glPixelTransformParameteriEXT)(GLenum, GLenum, GLint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glPixelTransformParameterivEXT)(GLenum, GLenum, const GLint *) = NULL;
static int Load_EXT_pixel_transform()
static int Load_EXT_pixel_transform(
void
)
{
int numFailed = 0;
_ptrc_glGetPixelTransformParameterfvEXT = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLfloat *))IntGetProcAddress("glGetPixelTransformParameterfvEXT");
...
...
@@ -4941,7 +4938,7 @@ static int Load_EXT_pixel_transform()
void (CODEGEN_FUNCPTR *_ptrc_glPointParameterfEXT)(GLenum, GLfloat) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glPointParameterfvEXT)(GLenum, const GLfloat *) = NULL;
static int Load_EXT_point_parameters()
static int Load_EXT_point_parameters(
void
)
{
int numFailed = 0;
_ptrc_glPointParameterfEXT = (void (CODEGEN_FUNCPTR *)(GLenum, GLfloat))IntGetProcAddress("glPointParameterfEXT");
...
...
@@ -4953,7 +4950,7 @@ static int Load_EXT_point_parameters()
void (CODEGEN_FUNCPTR *_ptrc_glPolygonOffsetEXT)(GLfloat, GLfloat) = NULL;
static int Load_EXT_polygon_offset()
static int Load_EXT_polygon_offset(
void
)
{
int numFailed = 0;
_ptrc_glPolygonOffsetEXT = (void (CODEGEN_FUNCPTR *)(GLfloat, GLfloat))IntGetProcAddress("glPolygonOffsetEXT");
...
...
@@ -4963,7 +4960,7 @@ static int Load_EXT_polygon_offset()
void (CODEGEN_FUNCPTR *_ptrc_glProvokingVertexEXT)(GLenum) = NULL;
static int Load_EXT_provoking_vertex()
static int Load_EXT_provoking_vertex(
void
)
{
int numFailed = 0;
_ptrc_glProvokingVertexEXT = (void (CODEGEN_FUNCPTR *)(GLenum))IntGetProcAddress("glProvokingVertexEXT");
...
...
@@ -4989,7 +4986,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glSecondaryColor3usEXT)(GLushort, GLushort, GLushor
void (CODEGEN_FUNCPTR *_ptrc_glSecondaryColor3usvEXT)(const GLushort *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glSecondaryColorPointerEXT)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
static int Load_EXT_secondary_color()
static int Load_EXT_secondary_color(
void
)
{
int numFailed = 0;
_ptrc_glSecondaryColor3bEXT = (void (CODEGEN_FUNCPTR *)(GLbyte, GLbyte, GLbyte))IntGetProcAddress("glSecondaryColor3bEXT");
...
...
@@ -5033,7 +5030,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glActiveProgramEXT)(GLuint) = NULL;
GLuint (CODEGEN_FUNCPTR *_ptrc_glCreateShaderProgramEXT)(GLenum, const GLchar *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glUseShaderProgramEXT)(GLenum, GLuint) = NULL;
static int Load_EXT_separate_shader_objects()
static int Load_EXT_separate_shader_objects(
void
)
{
int numFailed = 0;
_ptrc_glActiveProgramEXT = (void (CODEGEN_FUNCPTR *)(GLuint))IntGetProcAddress("glActiveProgramEXT");
...
...
@@ -5048,7 +5045,7 @@ static int Load_EXT_separate_shader_objects()
void (CODEGEN_FUNCPTR *_ptrc_glBindImageTextureEXT)(GLuint, GLuint, GLint, GLboolean, GLint, GLenum, GLint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glMemoryBarrierEXT)(GLbitfield) = NULL;
static int Load_EXT_shader_image_load_store()
static int Load_EXT_shader_image_load_store(
void
)
{
int numFailed = 0;
_ptrc_glBindImageTextureEXT = (void (CODEGEN_FUNCPTR *)(GLuint, GLuint, GLint, GLboolean, GLint, GLenum, GLint))IntGetProcAddress("glBindImageTextureEXT");
...
...
@@ -5060,7 +5057,7 @@ static int Load_EXT_shader_image_load_store()
void (CODEGEN_FUNCPTR *_ptrc_glStencilClearTagEXT)(GLsizei, GLuint) = NULL;
static int Load_EXT_stencil_clear_tag()
static int Load_EXT_stencil_clear_tag(
void
)
{
int numFailed = 0;
_ptrc_glStencilClearTagEXT = (void (CODEGEN_FUNCPTR *)(GLsizei, GLuint))IntGetProcAddress("glStencilClearTagEXT");
...
...
@@ -5070,7 +5067,7 @@ static int Load_EXT_stencil_clear_tag()
void (CODEGEN_FUNCPTR *_ptrc_glActiveStencilFaceEXT)(GLenum) = NULL;
static int Load_EXT_stencil_two_side()
static int Load_EXT_stencil_two_side(
void
)
{
int numFailed = 0;
_ptrc_glActiveStencilFaceEXT = (void (CODEGEN_FUNCPTR *)(GLenum))IntGetProcAddress("glActiveStencilFaceEXT");
...
...
@@ -5081,7 +5078,7 @@ static int Load_EXT_stencil_two_side()
void (CODEGEN_FUNCPTR *_ptrc_glTexSubImage1DEXT)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glTexSubImage2DEXT)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
static int Load_EXT_subtexture()
static int Load_EXT_subtexture(
void
)
{
int numFailed = 0;
_ptrc_glTexSubImage1DEXT = (void (CODEGEN_FUNCPTR *)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *))IntGetProcAddress("glTexSubImage1DEXT");
...
...
@@ -5094,7 +5091,7 @@ static int Load_EXT_subtexture()
void (CODEGEN_FUNCPTR *_ptrc_glTexImage3DEXT)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glTexSubImage3DEXT)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
static int Load_EXT_texture3D()
static int Load_EXT_texture3D(
void
)
{
int numFailed = 0;
_ptrc_glTexImage3DEXT = (void (CODEGEN_FUNCPTR *)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *))IntGetProcAddress("glTexImage3DEXT");
...
...
@@ -5106,7 +5103,7 @@ static int Load_EXT_texture3D()
void (CODEGEN_FUNCPTR *_ptrc_glTexBufferEXT)(GLenum, GLenum, GLuint) = NULL;
static int Load_EXT_texture_buffer_object()
static int Load_EXT_texture_buffer_object(
void
)
{
int numFailed = 0;
_ptrc_glTexBufferEXT = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLuint))IntGetProcAddress("glTexBufferEXT");
...
...
@@ -5121,7 +5118,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glGetTexParameterIuivEXT)(GLenum, GLenum, GLuint *)
void (CODEGEN_FUNCPTR *_ptrc_glTexParameterIivEXT)(GLenum, GLenum, const GLint *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glTexParameterIuivEXT)(GLenum, GLenum, const GLuint *) = NULL;
static int Load_EXT_texture_integer()
static int Load_EXT_texture_integer(
void
)
{
int numFailed = 0;
_ptrc_glClearColorIiEXT = (void (CODEGEN_FUNCPTR *)(GLint, GLint, GLint, GLint))IntGetProcAddress("glClearColorIiEXT");
...
...
@@ -5146,7 +5143,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glGenTexturesEXT)(GLsizei, GLuint *) = NULL;
GLboolean (CODEGEN_FUNCPTR *_ptrc_glIsTextureEXT)(GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glPrioritizeTexturesEXT)(GLsizei, const GLuint *, const GLclampf *) = NULL;
static int Load_EXT_texture_object()
static int Load_EXT_texture_object(
void
)
{
int numFailed = 0;
_ptrc_glAreTexturesResidentEXT = (GLboolean (CODEGEN_FUNCPTR *)(GLsizei, const GLuint *, GLboolean *))IntGetProcAddress("glAreTexturesResidentEXT");
...
...
@@ -5166,7 +5163,7 @@ static int Load_EXT_texture_object()
void (CODEGEN_FUNCPTR *_ptrc_glTextureNormalEXT)(GLenum) = NULL;
static int Load_EXT_texture_perturb_normal()
static int Load_EXT_texture_perturb_normal(
void
)
{
int numFailed = 0;
_ptrc_glTextureNormalEXT = (void (CODEGEN_FUNCPTR *)(GLenum))IntGetProcAddress("glTextureNormalEXT");
...
...
@@ -5177,7 +5174,7 @@ static int Load_EXT_texture_perturb_normal()
void (CODEGEN_FUNCPTR *_ptrc_glGetQueryObjecti64vEXT)(GLuint, GLenum, GLint64 *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGetQueryObjectui64vEXT)(GLuint, GLenum, GLuint64 *) = NULL;
static int Load_EXT_timer_query()
static int Load_EXT_timer_query(
void
)
{
int numFailed = 0;
_ptrc_glGetQueryObjecti64vEXT = (void (CODEGEN_FUNCPTR *)(GLuint, GLenum, GLint64 *))IntGetProcAddress("glGetQueryObjecti64vEXT");
...
...
@@ -5191,11 +5188,11 @@ void (CODEGEN_FUNCPTR *_ptrc_glBeginTransformFeedbackEXT)(GLenum) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glBindBufferBaseEXT)(GLenum, GLuint, GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glBindBufferOffsetEXT)(GLenum, GLuint, GLuint, GLintptr) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glBindBufferRangeEXT)(GLenum, GLuint, GLuint, GLintptr, GLsizeiptr) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glEndTransformFeedbackEXT)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glEndTransformFeedbackEXT)(
void
) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGetTransformFeedbackVaryingEXT)(GLuint, GLuint, GLsizei, GLsizei *, GLsizei *, GLenum *, GLchar *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glTransformFeedbackVaryingsEXT)(GLuint, GLsizei, const GLchar *const*, GLenum) = NULL;
static int Load_EXT_transform_feedback()
static int Load_EXT_transform_feedback(
void
)
{
int numFailed = 0;
_ptrc_glBeginTransformFeedbackEXT = (void (CODEGEN_FUNCPTR *)(GLenum))IntGetProcAddress("glBeginTransformFeedbackEXT");
...
...
@@ -5206,7 +5203,7 @@ static int Load_EXT_transform_feedback()
if(!_ptrc_glBindBufferOffsetEXT) numFailed++;
_ptrc_glBindBufferRangeEXT = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint, GLuint, GLintptr, GLsizeiptr))IntGetProcAddress("glBindBufferRangeEXT");
if(!_ptrc_glBindBufferRangeEXT) numFailed++;
_ptrc_glEndTransformFeedbackEXT = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glEndTransformFeedbackEXT");
_ptrc_glEndTransformFeedbackEXT = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glEndTransformFeedbackEXT");
if(!_ptrc_glEndTransformFeedbackEXT) numFailed++;
_ptrc_glGetTransformFeedbackVaryingEXT = (void (CODEGEN_FUNCPTR *)(GLuint, GLuint, GLsizei, GLsizei *, GLsizei *, GLenum *, GLchar *))IntGetProcAddress("glGetTransformFeedbackVaryingEXT");
if(!_ptrc_glGetTransformFeedbackVaryingEXT) numFailed++;
...
...
@@ -5225,7 +5222,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glNormalPointerEXT)(GLenum, GLsizei, GLsizei, const
void (CODEGEN_FUNCPTR *_ptrc_glTexCoordPointerEXT)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVertexPointerEXT)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
static int Load_EXT_vertex_array()
static int Load_EXT_vertex_array(
void
)
{
int numFailed = 0;
_ptrc_glArrayElementEXT = (void (CODEGEN_FUNCPTR *)(GLint))IntGetProcAddress("glArrayElementEXT");
...
...
@@ -5260,7 +5257,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glVertexAttribL4dEXT)(GLuint, GLdouble, GLdouble, G
void (CODEGEN_FUNCPTR *_ptrc_glVertexAttribL4dvEXT)(GLuint, const GLdouble *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVertexAttribLPointerEXT)(GLuint, GLint, GLenum, GLsizei, const GLvoid *) = NULL;
static int Load_EXT_vertex_attrib_64bit()
static int Load_EXT_vertex_attrib_64bit(
void
)
{
int numFailed = 0;
_ptrc_glGetVertexAttribLdvEXT = (void (CODEGEN_FUNCPTR *)(GLuint, GLenum, GLdouble *))IntGetProcAddress("glGetVertexAttribLdvEXT");
...
...
@@ -5286,7 +5283,7 @@ static int Load_EXT_vertex_attrib_64bit()
return numFailed;
}
void (CODEGEN_FUNCPTR *_ptrc_glBeginVertexShaderEXT)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glBeginVertexShaderEXT)(
void
) = NULL;
GLuint (CODEGEN_FUNCPTR *_ptrc_glBindLightParameterEXT)(GLenum, GLenum) = NULL;
GLuint (CODEGEN_FUNCPTR *_ptrc_glBindMaterialParameterEXT)(GLenum, GLenum) = NULL;
GLuint (CODEGEN_FUNCPTR *_ptrc_glBindParameterEXT)(GLenum) = NULL;
...
...
@@ -5296,7 +5293,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glBindVertexShaderEXT)(GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glDeleteVertexShaderEXT)(GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glDisableVariantClientStateEXT)(GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glEnableVariantClientStateEXT)(GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glEndVertexShaderEXT)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glEndVertexShaderEXT)(
void
) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glExtractComponentEXT)(GLuint, GLuint, GLuint) = NULL;
GLuint (CODEGEN_FUNCPTR *_ptrc_glGenSymbolsEXT)(GLenum, GLenum, GLenum, GLuint) = NULL;
GLuint (CODEGEN_FUNCPTR *_ptrc_glGenVertexShadersEXT)(GLuint) = NULL;
...
...
@@ -5329,10 +5326,10 @@ void (CODEGEN_FUNCPTR *_ptrc_glVariantuivEXT)(GLuint, const GLuint *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVariantusvEXT)(GLuint, const GLushort *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glWriteMaskEXT)(GLuint, GLuint, GLenum, GLenum, GLenum, GLenum) = NULL;
static int Load_EXT_vertex_shader()
static int Load_EXT_vertex_shader(
void
)
{
int numFailed = 0;
_ptrc_glBeginVertexShaderEXT = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glBeginVertexShaderEXT");
_ptrc_glBeginVertexShaderEXT = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glBeginVertexShaderEXT");
if(!_ptrc_glBeginVertexShaderEXT) numFailed++;
_ptrc_glBindLightParameterEXT = (GLuint (CODEGEN_FUNCPTR *)(GLenum, GLenum))IntGetProcAddress("glBindLightParameterEXT");
if(!_ptrc_glBindLightParameterEXT) numFailed++;
...
...
@@ -5352,7 +5349,7 @@ static int Load_EXT_vertex_shader()
if(!_ptrc_glDisableVariantClientStateEXT) numFailed++;
_ptrc_glEnableVariantClientStateEXT = (void (CODEGEN_FUNCPTR *)(GLuint))IntGetProcAddress("glEnableVariantClientStateEXT");
if(!_ptrc_glEnableVariantClientStateEXT) numFailed++;
_ptrc_glEndVertexShaderEXT = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glEndVertexShaderEXT");
_ptrc_glEndVertexShaderEXT = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glEndVertexShaderEXT");
if(!_ptrc_glEndVertexShaderEXT) numFailed++;
_ptrc_glExtractComponentEXT = (void (CODEGEN_FUNCPTR *)(GLuint, GLuint, GLuint))IntGetProcAddress("glExtractComponentEXT");
if(!_ptrc_glExtractComponentEXT) numFailed++;
...
...
@@ -5423,7 +5420,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glVertexWeightPointerEXT)(GLint, GLenum, GLsizei, c
void (CODEGEN_FUNCPTR *_ptrc_glVertexWeightfEXT)(GLfloat) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVertexWeightfvEXT)(const GLfloat *) = NULL;
static int Load_EXT_vertex_weighting()
static int Load_EXT_vertex_weighting(
void
)
{
int numFailed = 0;
_ptrc_glVertexWeightPointerEXT = (void (CODEGEN_FUNCPTR *)(GLint, GLenum, GLsizei, const GLvoid *))IntGetProcAddress("glVertexWeightPointerEXT");
...
...
@@ -5437,7 +5434,7 @@ static int Load_EXT_vertex_weighting()
GLsync (CODEGEN_FUNCPTR *_ptrc_glImportSyncEXT)(GLenum, GLintptr, GLbitfield) = NULL;
static int Load_EXT_x11_sync_object()
static int Load_EXT_x11_sync_object(
void
)
{
int numFailed = 0;
_ptrc_glImportSyncEXT = (GLsync (CODEGEN_FUNCPTR *)(GLenum, GLintptr, GLbitfield))IntGetProcAddress("glImportSyncEXT");
...
...
@@ -5445,19 +5442,19 @@ static int Load_EXT_x11_sync_object()
return numFailed;
}
void (CODEGEN_FUNCPTR *_ptrc_glFrameTerminatorGREMEDY)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glFrameTerminatorGREMEDY)(
void
) = NULL;
static int Load_GREMEDY_frame_terminator()
static int Load_GREMEDY_frame_terminator(
void
)
{
int numFailed = 0;
_ptrc_glFrameTerminatorGREMEDY = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glFrameTerminatorGREMEDY");
_ptrc_glFrameTerminatorGREMEDY = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glFrameTerminatorGREMEDY");
if(!_ptrc_glFrameTerminatorGREMEDY) numFailed++;
return numFailed;
}
void (CODEGEN_FUNCPTR *_ptrc_glStringMarkerGREMEDY)(GLsizei, const GLvoid *) = NULL;
static int Load_GREMEDY_string_marker()
static int Load_GREMEDY_string_marker(
void
)
{
int numFailed = 0;
_ptrc_glStringMarkerGREMEDY = (void (CODEGEN_FUNCPTR *)(GLsizei, const GLvoid *))IntGetProcAddress("glStringMarkerGREMEDY");
...
...
@@ -5472,7 +5469,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glImageTransformParameterfvHP)(GLenum, GLenum, cons
void (CODEGEN_FUNCPTR *_ptrc_glImageTransformParameteriHP)(GLenum, GLenum, GLint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glImageTransformParameterivHP)(GLenum, GLenum, const GLint *) = NULL;
static int Load_HP_image_transform()
static int Load_HP_image_transform(
void
)
{
int numFailed = 0;
_ptrc_glGetImageTransformParameterfvHP = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLfloat *))IntGetProcAddress("glGetImageTransformParameterfvHP");
...
...
@@ -5493,7 +5490,7 @@ static int Load_HP_image_transform()
void (CODEGEN_FUNCPTR *_ptrc_glMultiModeDrawArraysIBM)(const GLenum *, const GLint *, const GLsizei *, GLsizei, GLint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glMultiModeDrawElementsIBM)(const GLenum *, const GLsizei *, GLenum, const GLvoid *const*, GLsizei, GLint) = NULL;
static int Load_IBM_multimode_draw_arrays()
static int Load_IBM_multimode_draw_arrays(
void
)
{
int numFailed = 0;
_ptrc_glMultiModeDrawArraysIBM = (void (CODEGEN_FUNCPTR *)(const GLenum *, const GLint *, const GLsizei *, GLsizei, GLint))IntGetProcAddress("glMultiModeDrawArraysIBM");
...
...
@@ -5505,7 +5502,7 @@ static int Load_IBM_multimode_draw_arrays()
void (CODEGEN_FUNCPTR *_ptrc_glFlushStaticDataIBM)(GLenum) = NULL;
static int Load_IBM_static_data()
static int Load_IBM_static_data(
void
)
{
int numFailed = 0;
_ptrc_glFlushStaticDataIBM = (void (CODEGEN_FUNCPTR *)(GLenum))IntGetProcAddress("glFlushStaticDataIBM");
...
...
@@ -5522,7 +5519,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glSecondaryColorPointerListIBM)(GLint, GLenum, GLin
void (CODEGEN_FUNCPTR *_ptrc_glTexCoordPointerListIBM)(GLint, GLenum, GLint, const GLvoid **, GLint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVertexPointerListIBM)(GLint, GLenum, GLint, const GLvoid **, GLint) = NULL;
static int Load_IBM_vertex_array_lists()
static int Load_IBM_vertex_array_lists(
void
)
{
int numFailed = 0;
_ptrc_glColorPointerListIBM = (void (CODEGEN_FUNCPTR *)(GLint, GLenum, GLint, const GLvoid **, GLint))IntGetProcAddress("glColorPointerListIBM");
...
...
@@ -5546,7 +5543,7 @@ static int Load_IBM_vertex_array_lists()
void (CODEGEN_FUNCPTR *_ptrc_glBlendFuncSeparateINGR)(GLenum, GLenum, GLenum, GLenum) = NULL;
static int Load_INGR_blend_func_separate()
static int Load_INGR_blend_func_separate(
void
)
{
int numFailed = 0;
_ptrc_glBlendFuncSeparateINGR = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLenum, GLenum))IntGetProcAddress("glBlendFuncSeparateINGR");
...
...
@@ -5558,7 +5555,7 @@ void * (CODEGEN_FUNCPTR *_ptrc_glMapTexture2DINTEL)(GLuint, GLint, GLbitfield, c
void (CODEGEN_FUNCPTR *_ptrc_glSyncTextureINTEL)(GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glUnmapTexture2DINTEL)(GLuint, GLint) = NULL;
static int Load_INTEL_map_texture()
static int Load_INTEL_map_texture(
void
)
{
int numFailed = 0;
_ptrc_glMapTexture2DINTEL = (void * (CODEGEN_FUNCPTR *)(GLuint, GLint, GLbitfield, const GLint *, const GLenum *))IntGetProcAddress("glMapTexture2DINTEL");
...
...
@@ -5575,7 +5572,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glNormalPointervINTEL)(GLenum, const GLvoid **) = N
void (CODEGEN_FUNCPTR *_ptrc_glTexCoordPointervINTEL)(GLint, GLenum, const GLvoid **) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVertexPointervINTEL)(GLint, GLenum, const GLvoid **) = NULL;
static int Load_INTEL_parallel_arrays()
static int Load_INTEL_parallel_arrays(
void
)
{
int numFailed = 0;
_ptrc_glColorPointervINTEL = (void (CODEGEN_FUNCPTR *)(GLint, GLenum, const GLvoid **))IntGetProcAddress("glColorPointervINTEL");
...
...
@@ -5589,12 +5586,12 @@ static int Load_INTEL_parallel_arrays()
return numFailed;
}
void (CODEGEN_FUNCPTR *_ptrc_glResizeBuffersMESA)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glResizeBuffersMESA)(
void
) = NULL;
static int Load_MESA_resize_buffers()
static int Load_MESA_resize_buffers(
void
)
{
int numFailed = 0;
_ptrc_glResizeBuffersMESA = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glResizeBuffersMESA");
_ptrc_glResizeBuffersMESA = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glResizeBuffersMESA");
if(!_ptrc_glResizeBuffersMESA) numFailed++;
return numFailed;
}
...
...
@@ -5624,7 +5621,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glWindowPos4ivMESA)(const GLint *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glWindowPos4sMESA)(GLshort, GLshort, GLshort, GLshort) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glWindowPos4svMESA)(const GLshort *) = NULL;
static int Load_MESA_window_pos()
static int Load_MESA_window_pos(
void
)
{
int numFailed = 0;
_ptrc_glWindowPos2dMESA = (void (CODEGEN_FUNCPTR *)(GLdouble, GLdouble))IntGetProcAddress("glWindowPos2dMESA");
...
...
@@ -5679,14 +5676,14 @@ static int Load_MESA_window_pos()
}
void (CODEGEN_FUNCPTR *_ptrc_glBeginConditionalRenderNVX)(GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glEndConditionalRenderNVX)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glEndConditionalRenderNVX)(
void
) = NULL;
static int Load_NVX_conditional_render()
static int Load_NVX_conditional_render(
void
)
{
int numFailed = 0;
_ptrc_glBeginConditionalRenderNVX = (void (CODEGEN_FUNCPTR *)(GLuint))IntGetProcAddress("glBeginConditionalRenderNVX");
if(!_ptrc_glBeginConditionalRenderNVX) numFailed++;
_ptrc_glEndConditionalRenderNVX = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glEndConditionalRenderNVX");
_ptrc_glEndConditionalRenderNVX = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glEndConditionalRenderNVX");
if(!_ptrc_glEndConditionalRenderNVX) numFailed++;
return numFailed;
}
...
...
@@ -5694,7 +5691,7 @@ static int Load_NVX_conditional_render()
void (CODEGEN_FUNCPTR *_ptrc_glMultiDrawArraysIndirectBindlessNV)(GLenum, const GLvoid *, GLsizei, GLsizei, GLint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glMultiDrawElementsIndirectBindlessNV)(GLenum, GLenum, const GLvoid *, GLsizei, GLsizei, GLint) = NULL;
static int Load_NV_bindless_multi_draw_indirect()
static int Load_NV_bindless_multi_draw_indirect(
void
)
{
int numFailed = 0;
_ptrc_glMultiDrawArraysIndirectBindlessNV = (void (CODEGEN_FUNCPTR *)(GLenum, const GLvoid *, GLsizei, GLsizei, GLint))IntGetProcAddress("glMultiDrawArraysIndirectBindlessNV");
...
...
@@ -5718,7 +5715,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glProgramUniformHandleui64vNV)(GLuint, GLint, GLsiz
void (CODEGEN_FUNCPTR *_ptrc_glUniformHandleui64NV)(GLint, GLuint64) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glUniformHandleui64vNV)(GLint, GLsizei, const GLuint64 *) = NULL;
static int Load_NV_bindless_texture()
static int Load_NV_bindless_texture(
void
)
{
int numFailed = 0;
_ptrc_glGetImageHandleNV = (GLuint64 (CODEGEN_FUNCPTR *)(GLuint, GLint, GLboolean, GLint, GLenum))IntGetProcAddress("glGetImageHandleNV");
...
...
@@ -5750,13 +5747,13 @@ static int Load_NV_bindless_texture()
return numFailed;
}
void (CODEGEN_FUNCPTR *_ptrc_glBlendBarrierNV)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glBlendBarrierNV)(
void
) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glBlendParameteriNV)(GLenum, GLint) = NULL;
static int Load_NV_blend_equation_advanced()
static int Load_NV_blend_equation_advanced(
void
)
{
int numFailed = 0;
_ptrc_glBlendBarrierNV = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glBlendBarrierNV");
_ptrc_glBlendBarrierNV = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glBlendBarrierNV");
if(!_ptrc_glBlendBarrierNV) numFailed++;
_ptrc_glBlendParameteriNV = (void (CODEGEN_FUNCPTR *)(GLenum, GLint))IntGetProcAddress("glBlendParameteriNV");
if(!_ptrc_glBlendParameteriNV) numFailed++;
...
...
@@ -5764,21 +5761,21 @@ static int Load_NV_blend_equation_advanced()
}
void (CODEGEN_FUNCPTR *_ptrc_glBeginConditionalRenderNV)(GLuint, GLenum) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glEndConditionalRenderNV)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glEndConditionalRenderNV)(
void
) = NULL;
static int Load_NV_conditional_render()
static int Load_NV_conditional_render(
void
)
{
int numFailed = 0;
_ptrc_glBeginConditionalRenderNV = (void (CODEGEN_FUNCPTR *)(GLuint, GLenum))IntGetProcAddress("glBeginConditionalRenderNV");
if(!_ptrc_glBeginConditionalRenderNV) numFailed++;
_ptrc_glEndConditionalRenderNV = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glEndConditionalRenderNV");
_ptrc_glEndConditionalRenderNV = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glEndConditionalRenderNV");
if(!_ptrc_glEndConditionalRenderNV) numFailed++;
return numFailed;
}
void (CODEGEN_FUNCPTR *_ptrc_glCopyImageSubDataNV)(GLuint, GLenum, GLint, GLint, GLint, GLint, GLuint, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei) = NULL;
static int Load_NV_copy_image()
static int Load_NV_copy_image(
void
)
{
int numFailed = 0;
_ptrc_glCopyImageSubDataNV = (void (CODEGEN_FUNCPTR *)(GLuint, GLenum, GLint, GLint, GLint, GLint, GLuint, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei))IntGetProcAddress("glCopyImageSubDataNV");
...
...
@@ -5790,7 +5787,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glClearDepthdNV)(GLdouble) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glDepthBoundsdNV)(GLdouble, GLdouble) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glDepthRangedNV)(GLdouble, GLdouble) = NULL;
static int Load_NV_depth_buffer_float()
static int Load_NV_depth_buffer_float(
void
)
{
int numFailed = 0;
_ptrc_glClearDepthdNV = (void (CODEGEN_FUNCPTR *)(GLdouble))IntGetProcAddress("glClearDepthdNV");
...
...
@@ -5804,7 +5801,7 @@ static int Load_NV_depth_buffer_float()
void (CODEGEN_FUNCPTR *_ptrc_glDrawTextureNV)(GLuint, GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat) = NULL;
static int Load_NV_draw_texture()
static int Load_NV_draw_texture(
void
)
{
int numFailed = 0;
_ptrc_glDrawTextureNV = (void (CODEGEN_FUNCPTR *)(GLuint, GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat))IntGetProcAddress("glDrawTextureNV");
...
...
@@ -5822,7 +5819,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glMapControlPointsNV)(GLenum, GLuint, GLenum, GLsiz
void (CODEGEN_FUNCPTR *_ptrc_glMapParameterfvNV)(GLenum, GLenum, const GLfloat *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glMapParameterivNV)(GLenum, GLenum, const GLint *) = NULL;
static int Load_NV_evaluators()
static int Load_NV_evaluators(
void
)
{
int numFailed = 0;
_ptrc_glEvalMapsNV = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum))IntGetProcAddress("glEvalMapsNV");
...
...
@@ -5850,7 +5847,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glGetMultisamplefvNV)(GLenum, GLuint, GLfloat *) =
void (CODEGEN_FUNCPTR *_ptrc_glSampleMaskIndexedNV)(GLuint, GLbitfield) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glTexRenderbufferNV)(GLenum, GLuint) = NULL;
static int Load_NV_explicit_multisample()
static int Load_NV_explicit_multisample(
void
)
{
int numFailed = 0;
_ptrc_glGetMultisamplefvNV = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint, GLfloat *))IntGetProcAddress("glGetMultisamplefvNV");
...
...
@@ -5870,7 +5867,7 @@ GLboolean (CODEGEN_FUNCPTR *_ptrc_glIsFenceNV)(GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glSetFenceNV)(GLuint, GLenum) = NULL;
GLboolean (CODEGEN_FUNCPTR *_ptrc_glTestFenceNV)(GLuint) = NULL;
static int Load_NV_fence()
static int Load_NV_fence(
void
)
{
int numFailed = 0;
_ptrc_glDeleteFencesNV = (void (CODEGEN_FUNCPTR *)(GLsizei, const GLuint *))IntGetProcAddress("glDeleteFencesNV");
...
...
@@ -5897,7 +5894,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glProgramNamedParameter4dvNV)(GLuint, GLsizei, cons
void (CODEGEN_FUNCPTR *_ptrc_glProgramNamedParameter4fNV)(GLuint, GLsizei, const GLubyte *, GLfloat, GLfloat, GLfloat, GLfloat) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glProgramNamedParameter4fvNV)(GLuint, GLsizei, const GLubyte *, const GLfloat *) = NULL;
static int Load_NV_fragment_program()
static int Load_NV_fragment_program(
void
)
{
int numFailed = 0;
_ptrc_glGetProgramNamedParameterdvNV = (void (CODEGEN_FUNCPTR *)(GLuint, GLsizei, const GLubyte *, GLdouble *))IntGetProcAddress("glGetProgramNamedParameterdvNV");
...
...
@@ -5917,7 +5914,7 @@ static int Load_NV_fragment_program()
void (CODEGEN_FUNCPTR *_ptrc_glRenderbufferStorageMultisampleCoverageNV)(GLenum, GLsizei, GLsizei, GLenum, GLsizei, GLsizei) = NULL;
static int Load_NV_framebuffer_multisample_coverage()
static int Load_NV_framebuffer_multisample_coverage(
void
)
{
int numFailed = 0;
_ptrc_glRenderbufferStorageMultisampleCoverageNV = (void (CODEGEN_FUNCPTR *)(GLenum, GLsizei, GLsizei, GLenum, GLsizei, GLsizei))IntGetProcAddress("glRenderbufferStorageMultisampleCoverageNV");
...
...
@@ -5930,7 +5927,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glFramebufferTextureFaceEXT)(GLenum, GLenum, GLuint
void (CODEGEN_FUNCPTR *_ptrc_glFramebufferTextureLayerEXT)(GLenum, GLenum, GLuint, GLint, GLint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glProgramVertexLimitNV)(GLenum, GLint) = NULL;
static int Load_NV_geometry_program4()
static int Load_NV_geometry_program4(
void
)
{
int numFailed = 0;
_ptrc_glFramebufferTextureEXT = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLuint, GLint))IntGetProcAddress("glFramebufferTextureEXT");
...
...
@@ -5961,7 +5958,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glProgramLocalParameterI4uivNV)(GLenum, GLuint, con
void (CODEGEN_FUNCPTR *_ptrc_glProgramLocalParametersI4ivNV)(GLenum, GLuint, GLsizei, const GLint *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glProgramLocalParametersI4uivNV)(GLenum, GLuint, GLsizei, const GLuint *) = NULL;
static int Load_NV_gpu_program4()
static int Load_NV_gpu_program4(
void
)
{
int numFailed = 0;
_ptrc_glGetProgramEnvParameterIivNV = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint, GLint *))IntGetProcAddress("glGetProgramEnvParameterIivNV");
...
...
@@ -6002,7 +5999,7 @@ static int Load_NV_gpu_program4()
void (CODEGEN_FUNCPTR *_ptrc_glGetProgramSubroutineParameteruivNV)(GLenum, GLuint, GLuint *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glProgramSubroutineParametersuivNV)(GLenum, GLsizei, const GLuint *) = NULL;
static int Load_NV_gpu_program5()
static int Load_NV_gpu_program5(
void
)
{
int numFailed = 0;
_ptrc_glGetProgramSubroutineParameteruivNV = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint, GLuint *))IntGetProcAddress("glGetProgramSubroutineParameteruivNV");
...
...
@@ -6046,7 +6043,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glUniform4i64vNV)(GLint, GLsizei, const GLint64EXT
void (CODEGEN_FUNCPTR *_ptrc_glUniform4ui64NV)(GLint, GLuint64EXT, GLuint64EXT, GLuint64EXT, GLuint64EXT) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glUniform4ui64vNV)(GLint, GLsizei, const GLuint64EXT *) = NULL;
static int Load_NV_gpu_shader5()
static int Load_NV_gpu_shader5(
void
)
{
int numFailed = 0;
_ptrc_glGetUniformi64vNV = (void (CODEGEN_FUNCPTR *)(GLuint, GLint, GLint64EXT *))IntGetProcAddress("glGetUniformi64vNV");
...
...
@@ -6165,7 +6162,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glVertexAttribs4hvNV)(GLuint, GLsizei, const GLhalf
void (CODEGEN_FUNCPTR *_ptrc_glVertexWeighthNV)(GLhalfNV) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVertexWeighthvNV)(const GLhalfNV *) = NULL;
static int Load_NV_half_float()
static int Load_NV_half_float(
void
)
{
int numFailed = 0;
_ptrc_glColor3hNV = (void (CODEGEN_FUNCPTR *)(GLhalfNV, GLhalfNV, GLhalfNV))IntGetProcAddress("glColor3hNV");
...
...
@@ -6265,20 +6262,20 @@ static int Load_NV_half_float()
void (CODEGEN_FUNCPTR *_ptrc_glBeginOcclusionQueryNV)(GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glDeleteOcclusionQueriesNV)(GLsizei, const GLuint *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glEndOcclusionQueryNV)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glEndOcclusionQueryNV)(
void
) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGenOcclusionQueriesNV)(GLsizei, GLuint *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGetOcclusionQueryivNV)(GLuint, GLenum, GLint *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGetOcclusionQueryuivNV)(GLuint, GLenum, GLuint *) = NULL;
GLboolean (CODEGEN_FUNCPTR *_ptrc_glIsOcclusionQueryNV)(GLuint) = NULL;
static int Load_NV_occlusion_query()
static int Load_NV_occlusion_query(
void
)
{
int numFailed = 0;
_ptrc_glBeginOcclusionQueryNV = (void (CODEGEN_FUNCPTR *)(GLuint))IntGetProcAddress("glBeginOcclusionQueryNV");
if(!_ptrc_glBeginOcclusionQueryNV) numFailed++;
_ptrc_glDeleteOcclusionQueriesNV = (void (CODEGEN_FUNCPTR *)(GLsizei, const GLuint *))IntGetProcAddress("glDeleteOcclusionQueriesNV");
if(!_ptrc_glDeleteOcclusionQueriesNV) numFailed++;
_ptrc_glEndOcclusionQueryNV = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glEndOcclusionQueryNV");
_ptrc_glEndOcclusionQueryNV = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glEndOcclusionQueryNV");
if(!_ptrc_glEndOcclusionQueryNV) numFailed++;
_ptrc_glGenOcclusionQueriesNV = (void (CODEGEN_FUNCPTR *)(GLsizei, GLuint *))IntGetProcAddress("glGenOcclusionQueriesNV");
if(!_ptrc_glGenOcclusionQueriesNV) numFailed++;
...
...
@@ -6295,7 +6292,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glProgramBufferParametersIivNV)(GLenum, GLuint, GLu
void (CODEGEN_FUNCPTR *_ptrc_glProgramBufferParametersIuivNV)(GLenum, GLuint, GLuint, GLsizei, const GLuint *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glProgramBufferParametersfvNV)(GLenum, GLuint, GLuint, GLsizei, const GLfloat *) = NULL;
static int Load_NV_parameter_buffer_object()
static int Load_NV_parameter_buffer_object(
void
)
{
int numFailed = 0;
_ptrc_glProgramBufferParametersIivNV = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint, GLuint, GLsizei, const GLint *))IntGetProcAddress("glProgramBufferParametersIivNV");
...
...
@@ -6357,7 +6354,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glStencilStrokePathNV)(GLuint, GLint, GLuint) = NUL
void (CODEGEN_FUNCPTR *_ptrc_glTransformPathNV)(GLuint, GLuint, GLenum, const GLfloat *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glWeightPathsNV)(GLuint, GLsizei, const GLuint *, const GLfloat *) = NULL;
static int Load_NV_path_rendering()
static int Load_NV_path_rendering(
void
)
{
int numFailed = 0;
_ptrc_glCopyPathNV = (void (CODEGEN_FUNCPTR *)(GLuint, GLuint))IntGetProcAddress("glCopyPathNV");
...
...
@@ -6464,7 +6461,7 @@ static int Load_NV_path_rendering()
void (CODEGEN_FUNCPTR *_ptrc_glFlushPixelDataRangeNV)(GLenum) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glPixelDataRangeNV)(GLenum, GLsizei, const GLvoid *) = NULL;
static int Load_NV_pixel_data_range()
static int Load_NV_pixel_data_range(
void
)
{
int numFailed = 0;
_ptrc_glFlushPixelDataRangeNV = (void (CODEGEN_FUNCPTR *)(GLenum))IntGetProcAddress("glFlushPixelDataRangeNV");
...
...
@@ -6477,7 +6474,7 @@ static int Load_NV_pixel_data_range()
void (CODEGEN_FUNCPTR *_ptrc_glPointParameteriNV)(GLenum, GLint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glPointParameterivNV)(GLenum, const GLint *) = NULL;
static int Load_NV_point_sprite()
static int Load_NV_point_sprite(
void
)
{
int numFailed = 0;
_ptrc_glPointParameteriNV = (void (CODEGEN_FUNCPTR *)(GLenum, GLint))IntGetProcAddress("glPointParameteriNV");
...
...
@@ -6494,7 +6491,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glGetVideouivNV)(GLuint, GLenum, GLuint *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glPresentFrameDualFillNV)(GLuint, GLuint64EXT, GLuint, GLuint, GLenum, GLenum, GLuint, GLenum, GLuint, GLenum, GLuint, GLenum, GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glPresentFrameKeyedNV)(GLuint, GLuint64EXT, GLuint, GLuint, GLenum, GLenum, GLuint, GLuint, GLenum, GLuint, GLuint) = NULL;
static int Load_NV_present_video()
static int Load_NV_present_video(
void
)
{
int numFailed = 0;
_ptrc_glGetVideoi64vNV = (void (CODEGEN_FUNCPTR *)(GLuint, GLenum, GLint64EXT *))IntGetProcAddress("glGetVideoi64vNV");
...
...
@@ -6513,14 +6510,14 @@ static int Load_NV_present_video()
}
void (CODEGEN_FUNCPTR *_ptrc_glPrimitiveRestartIndexNV)(GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glPrimitiveRestartNV)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glPrimitiveRestartNV)(
void
) = NULL;
static int Load_NV_primitive_restart()
static int Load_NV_primitive_restart(
void
)
{
int numFailed = 0;
_ptrc_glPrimitiveRestartIndexNV = (void (CODEGEN_FUNCPTR *)(GLuint))IntGetProcAddress("glPrimitiveRestartIndexNV");
if(!_ptrc_glPrimitiveRestartIndexNV) numFailed++;
_ptrc_glPrimitiveRestartNV = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glPrimitiveRestartNV");
_ptrc_glPrimitiveRestartNV = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glPrimitiveRestartNV");
if(!_ptrc_glPrimitiveRestartNV) numFailed++;
return numFailed;
}
...
...
@@ -6539,7 +6536,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glGetCombinerOutputParameterivNV)(GLenum, GLenum, G
void (CODEGEN_FUNCPTR *_ptrc_glGetFinalCombinerInputParameterfvNV)(GLenum, GLenum, GLfloat *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGetFinalCombinerInputParameterivNV)(GLenum, GLenum, GLint *) = NULL;
static int Load_NV_register_combiners()
static int Load_NV_register_combiners(
void
)
{
int numFailed = 0;
_ptrc_glCombinerInputNV = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLenum, GLenum, GLenum, GLenum))IntGetProcAddress("glCombinerInputNV");
...
...
@@ -6574,7 +6571,7 @@ static int Load_NV_register_combiners()
void (CODEGEN_FUNCPTR *_ptrc_glCombinerStageParameterfvNV)(GLenum, GLenum, const GLfloat *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGetCombinerStageParameterfvNV)(GLenum, GLenum, GLfloat *) = NULL;
static int Load_NV_register_combiners2()
static int Load_NV_register_combiners2(
void
)
{
int numFailed = 0;
_ptrc_glCombinerStageParameterfvNV = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, const GLfloat *))IntGetProcAddress("glCombinerStageParameterfvNV");
...
...
@@ -6599,7 +6596,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glProgramUniformui64vNV)(GLuint, GLint, GLsizei, co
void (CODEGEN_FUNCPTR *_ptrc_glUniformui64NV)(GLint, GLuint64EXT) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glUniformui64vNV)(GLint, GLsizei, const GLuint64EXT *) = NULL;
static int Load_NV_shader_buffer_load()
static int Load_NV_shader_buffer_load(
void
)
{
int numFailed = 0;
_ptrc_glGetBufferParameterui64vNV = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLuint64EXT *))IntGetProcAddress("glGetBufferParameterui64vNV");
...
...
@@ -6633,12 +6630,12 @@ static int Load_NV_shader_buffer_load()
return numFailed;
}
void (CODEGEN_FUNCPTR *_ptrc_glTextureBarrierNV)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glTextureBarrierNV)(
void
) = NULL;
static int Load_NV_texture_barrier()
static int Load_NV_texture_barrier(
void
)
{
int numFailed = 0;
_ptrc_glTextureBarrierNV = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glTextureBarrierNV");
_ptrc_glTextureBarrierNV = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glTextureBarrierNV");
if(!_ptrc_glTextureBarrierNV) numFailed++;
return numFailed;
}
...
...
@@ -6650,7 +6647,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glTextureImage2DMultisampleNV)(GLuint, GLenum, GLsi
void (CODEGEN_FUNCPTR *_ptrc_glTextureImage3DMultisampleCoverageNV)(GLuint, GLenum, GLsizei, GLsizei, GLint, GLsizei, GLsizei, GLsizei, GLboolean) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glTextureImage3DMultisampleNV)(GLuint, GLenum, GLsizei, GLint, GLsizei, GLsizei, GLsizei, GLboolean) = NULL;
static int Load_NV_texture_multisample()
static int Load_NV_texture_multisample(
void
)
{
int numFailed = 0;
_ptrc_glTexImage2DMultisampleCoverageNV = (void (CODEGEN_FUNCPTR *)(GLenum, GLsizei, GLsizei, GLint, GLsizei, GLsizei, GLboolean))IntGetProcAddress("glTexImage2DMultisampleCoverageNV");
...
...
@@ -6673,7 +6670,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glBeginTransformFeedbackNV)(GLenum) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glBindBufferBaseNV)(GLenum, GLuint, GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glBindBufferOffsetNV)(GLenum, GLuint, GLuint, GLintptr) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glBindBufferRangeNV)(GLenum, GLuint, GLuint, GLintptr, GLsizeiptr) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glEndTransformFeedbackNV)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glEndTransformFeedbackNV)(
void
) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGetActiveVaryingNV)(GLuint, GLuint, GLsizei, GLsizei *, GLsizei *, GLenum *, GLchar *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGetTransformFeedbackVaryingNV)(GLuint, GLuint, GLint *) = NULL;
GLint (CODEGEN_FUNCPTR *_ptrc_glGetVaryingLocationNV)(GLuint, const GLchar *) = NULL;
...
...
@@ -6681,7 +6678,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glTransformFeedbackAttribsNV)(GLuint, const GLint *
void (CODEGEN_FUNCPTR *_ptrc_glTransformFeedbackStreamAttribsNV)(GLsizei, const GLint *, GLsizei, const GLint *, GLenum) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glTransformFeedbackVaryingsNV)(GLuint, GLsizei, const GLint *, GLenum) = NULL;
static int Load_NV_transform_feedback()
static int Load_NV_transform_feedback(
void
)
{
int numFailed = 0;
_ptrc_glActiveVaryingNV = (void (CODEGEN_FUNCPTR *)(GLuint, const GLchar *))IntGetProcAddress("glActiveVaryingNV");
...
...
@@ -6694,7 +6691,7 @@ static int Load_NV_transform_feedback()
if(!_ptrc_glBindBufferOffsetNV) numFailed++;
_ptrc_glBindBufferRangeNV = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint, GLuint, GLintptr, GLsizeiptr))IntGetProcAddress("glBindBufferRangeNV");
if(!_ptrc_glBindBufferRangeNV) numFailed++;
_ptrc_glEndTransformFeedbackNV = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glEndTransformFeedbackNV");
_ptrc_glEndTransformFeedbackNV = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glEndTransformFeedbackNV");
if(!_ptrc_glEndTransformFeedbackNV) numFailed++;
_ptrc_glGetActiveVaryingNV = (void (CODEGEN_FUNCPTR *)(GLuint, GLuint, GLsizei, GLsizei *, GLsizei *, GLenum *, GLchar *))IntGetProcAddress("glGetActiveVaryingNV");
if(!_ptrc_glGetActiveVaryingNV) numFailed++;
...
...
@@ -6716,10 +6713,10 @@ void (CODEGEN_FUNCPTR *_ptrc_glDeleteTransformFeedbacksNV)(GLsizei, const GLuint
void (CODEGEN_FUNCPTR *_ptrc_glDrawTransformFeedbackNV)(GLenum, GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGenTransformFeedbacksNV)(GLsizei, GLuint *) = NULL;
GLboolean (CODEGEN_FUNCPTR *_ptrc_glIsTransformFeedbackNV)(GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glPauseTransformFeedbackNV)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glResumeTransformFeedbackNV)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glPauseTransformFeedbackNV)(
void
) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glResumeTransformFeedbackNV)(
void
) = NULL;
static int Load_NV_transform_feedback2()
static int Load_NV_transform_feedback2(
void
)
{
int numFailed = 0;
_ptrc_glBindTransformFeedbackNV = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint))IntGetProcAddress("glBindTransformFeedbackNV");
...
...
@@ -6732,14 +6729,14 @@ static int Load_NV_transform_feedback2()
if(!_ptrc_glGenTransformFeedbacksNV) numFailed++;
_ptrc_glIsTransformFeedbackNV = (GLboolean (CODEGEN_FUNCPTR *)(GLuint))IntGetProcAddress("glIsTransformFeedbackNV");
if(!_ptrc_glIsTransformFeedbackNV) numFailed++;
_ptrc_glPauseTransformFeedbackNV = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glPauseTransformFeedbackNV");
_ptrc_glPauseTransformFeedbackNV = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glPauseTransformFeedbackNV");
if(!_ptrc_glPauseTransformFeedbackNV) numFailed++;
_ptrc_glResumeTransformFeedbackNV = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glResumeTransformFeedbackNV");
_ptrc_glResumeTransformFeedbackNV = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glResumeTransformFeedbackNV");
if(!_ptrc_glResumeTransformFeedbackNV) numFailed++;
return numFailed;
}
void (CODEGEN_FUNCPTR *_ptrc_glVDPAUFiniNV)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVDPAUFiniNV)(
void
) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVDPAUGetSurfaceivNV)(GLvdpauSurfaceNV, GLenum, GLsizei, GLsizei *, GLint *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVDPAUInitNV)(const GLvoid *, const GLvoid *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVDPAUIsSurfaceNV)(GLvdpauSurfaceNV) = NULL;
...
...
@@ -6750,10 +6747,10 @@ void (CODEGEN_FUNCPTR *_ptrc_glVDPAUSurfaceAccessNV)(GLvdpauSurfaceNV, GLenum) =
void (CODEGEN_FUNCPTR *_ptrc_glVDPAUUnmapSurfacesNV)(GLsizei, const GLvdpauSurfaceNV *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVDPAUUnregisterSurfaceNV)(GLvdpauSurfaceNV) = NULL;
static int Load_NV_vdpau_interop()
static int Load_NV_vdpau_interop(
void
)
{
int numFailed = 0;
_ptrc_glVDPAUFiniNV = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glVDPAUFiniNV");
_ptrc_glVDPAUFiniNV = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glVDPAUFiniNV");
if(!_ptrc_glVDPAUFiniNV) numFailed++;
_ptrc_glVDPAUGetSurfaceivNV = (void (CODEGEN_FUNCPTR *)(GLvdpauSurfaceNV, GLenum, GLsizei, GLsizei *, GLint *))IntGetProcAddress("glVDPAUGetSurfaceivNV");
if(!_ptrc_glVDPAUGetSurfaceivNV) numFailed++;
...
...
@@ -6776,13 +6773,13 @@ static int Load_NV_vdpau_interop()
return numFailed;
}
void (CODEGEN_FUNCPTR *_ptrc_glFlushVertexArrayRangeNV)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glFlushVertexArrayRangeNV)(
void
) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVertexArrayRangeNV)(GLsizei, const GLvoid *) = NULL;
static int Load_NV_vertex_array_range()
static int Load_NV_vertex_array_range(
void
)
{
int numFailed = 0;
_ptrc_glFlushVertexArrayRangeNV = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glFlushVertexArrayRangeNV");
_ptrc_glFlushVertexArrayRangeNV = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glFlushVertexArrayRangeNV");
if(!_ptrc_glFlushVertexArrayRangeNV) numFailed++;
_ptrc_glVertexArrayRangeNV = (void (CODEGEN_FUNCPTR *)(GLsizei, const GLvoid *))IntGetProcAddress("glVertexArrayRangeNV");
if(!_ptrc_glVertexArrayRangeNV) numFailed++;
...
...
@@ -6809,7 +6806,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glVertexAttribL4ui64NV)(GLuint, GLuint64EXT, GLuint
void (CODEGEN_FUNCPTR *_ptrc_glVertexAttribL4ui64vNV)(GLuint, const GLuint64EXT *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVertexAttribLFormatNV)(GLuint, GLint, GLenum, GLsizei) = NULL;
static int Load_NV_vertex_attrib_integer_64bit()
static int Load_NV_vertex_attrib_integer_64bit(
void
)
{
int numFailed = 0;
_ptrc_glGetVertexAttribLi64vNV = (void (CODEGEN_FUNCPTR *)(GLuint, GLenum, GLint64EXT *))IntGetProcAddress("glGetVertexAttribLi64vNV");
...
...
@@ -6866,7 +6863,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glVertexAttribFormatNV)(GLuint, GLint, GLenum, GLbo
void (CODEGEN_FUNCPTR *_ptrc_glVertexAttribIFormatNV)(GLuint, GLint, GLenum, GLsizei) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVertexFormatNV)(GLint, GLenum, GLsizei) = NULL;
static int Load_NV_vertex_buffer_unified_memory()
static int Load_NV_vertex_buffer_unified_memory(
void
)
{
int numFailed = 0;
_ptrc_glBufferAddressRangeNV = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint, GLuint64EXT, GLsizeiptr))IntGetProcAddress("glBufferAddressRangeNV");
...
...
@@ -6961,7 +6958,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glVertexAttribs4fvNV)(GLuint, GLsizei, const GLfloa
void (CODEGEN_FUNCPTR *_ptrc_glVertexAttribs4svNV)(GLuint, GLsizei, const GLshort *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVertexAttribs4ubvNV)(GLuint, GLsizei, const GLubyte *) = NULL;
static int Load_NV_vertex_program()
static int Load_NV_vertex_program(
void
)
{
int numFailed = 0;
_ptrc_glAreProgramsResidentNV = (GLboolean (CODEGEN_FUNCPTR *)(GLsizei, const GLuint *, GLboolean *))IntGetProcAddress("glAreProgramsResidentNV");
...
...
@@ -7119,7 +7116,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glVertexAttribI4uivEXT)(GLuint, const GLuint *) = N
void (CODEGEN_FUNCPTR *_ptrc_glVertexAttribI4usvEXT)(GLuint, const GLushort *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVertexAttribIPointerEXT)(GLuint, GLint, GLenum, GLsizei, const GLvoid *) = NULL;
static int Load_NV_vertex_program4()
static int Load_NV_vertex_program4(
void
)
{
int numFailed = 0;
_ptrc_glGetVertexAttribIivEXT = (void (CODEGEN_FUNCPTR *)(GLuint, GLenum, GLint *))IntGetProcAddress("glGetVertexAttribIivEXT");
...
...
@@ -7184,7 +7181,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glVideoCaptureStreamParameterdvNV)(GLuint, GLuint,
void (CODEGEN_FUNCPTR *_ptrc_glVideoCaptureStreamParameterfvNV)(GLuint, GLuint, GLenum, const GLfloat *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVideoCaptureStreamParameterivNV)(GLuint, GLuint, GLenum, const GLint *) = NULL;
static int Load_NV_video_capture()
static int Load_NV_video_capture(
void
)
{
int numFailed = 0;
_ptrc_glBeginVideoCaptureNV = (void (CODEGEN_FUNCPTR *)(GLuint))IntGetProcAddress("glBeginVideoCaptureNV");
...
...
@@ -7237,7 +7234,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glVertex3bvOES)(const GLbyte *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVertex4bOES)(GLbyte, GLbyte, GLbyte) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVertex4bvOES)(const GLbyte *) = NULL;
static int Load_OES_byte_coordinates()
static int Load_OES_byte_coordinates(
void
)
{
int numFailed = 0;
_ptrc_glMultiTexCoord1bOES = (void (CODEGEN_FUNCPTR *)(GLenum, GLbyte))IntGetProcAddress("glMultiTexCoord1bOES");
...
...
@@ -7392,7 +7389,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glVertex3xvOES)(const GLfixed *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVertex4xOES)(GLfixed, GLfixed, GLfixed) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glVertex4xvOES)(const GLfixed *) = NULL;
static int Load_OES_fixed_point()
static int Load_OES_fixed_point(
void
)
{
int numFailed = 0;
_ptrc_glAccumxOES = (void (CODEGEN_FUNCPTR *)(GLenum, GLfixed))IntGetProcAddress("glAccumxOES");
...
...
@@ -7608,7 +7605,7 @@ static int Load_OES_fixed_point()
GLbitfield (CODEGEN_FUNCPTR *_ptrc_glQueryMatrixxOES)(GLfixed *, GLint *) = NULL;
static int Load_OES_query_matrix()
static int Load_OES_query_matrix(
void
)
{
int numFailed = 0;
_ptrc_glQueryMatrixxOES = (GLbitfield (CODEGEN_FUNCPTR *)(GLfixed *, GLint *))IntGetProcAddress("glQueryMatrixxOES");
...
...
@@ -7623,7 +7620,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glFrustumfOES)(GLfloat, GLfloat, GLfloat, GLfloat,
void (CODEGEN_FUNCPTR *_ptrc_glGetClipPlanefOES)(GLenum, GLfloat *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glOrthofOES)(GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat) = NULL;
static int Load_OES_single_precision()
static int Load_OES_single_precision(
void
)
{
int numFailed = 0;
_ptrc_glClearDepthfOES = (void (CODEGEN_FUNCPTR *)(GLclampf))IntGetProcAddress("glClearDepthfOES");
...
...
@@ -7643,7 +7640,7 @@ static int Load_OES_single_precision()
void (CODEGEN_FUNCPTR *_ptrc_glHintPGI)(GLenum, GLint) = NULL;
static int Load_PGI_misc_hints()
static int Load_PGI_misc_hints(
void
)
{
int numFailed = 0;
_ptrc_glHintPGI = (void (CODEGEN_FUNCPTR *)(GLenum, GLint))IntGetProcAddress("glHintPGI");
...
...
@@ -7654,7 +7651,7 @@ static int Load_PGI_misc_hints()
void (CODEGEN_FUNCPTR *_ptrc_glDetailTexFuncSGIS)(GLenum, GLsizei, const GLfloat *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGetDetailTexFuncSGIS)(GLenum, GLfloat *) = NULL;
static int Load_SGIS_detail_texture()
static int Load_SGIS_detail_texture(
void
)
{
int numFailed = 0;
_ptrc_glDetailTexFuncSGIS = (void (CODEGEN_FUNCPTR *)(GLenum, GLsizei, const GLfloat *))IntGetProcAddress("glDetailTexFuncSGIS");
...
...
@@ -7667,7 +7664,7 @@ static int Load_SGIS_detail_texture()
void (CODEGEN_FUNCPTR *_ptrc_glFogFuncSGIS)(GLsizei, const GLfloat *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGetFogFuncSGIS)(GLfloat *) = NULL;
static int Load_SGIS_fog_function()
static int Load_SGIS_fog_function(
void
)
{
int numFailed = 0;
_ptrc_glFogFuncSGIS = (void (CODEGEN_FUNCPTR *)(GLsizei, const GLfloat *))IntGetProcAddress("glFogFuncSGIS");
...
...
@@ -7680,7 +7677,7 @@ static int Load_SGIS_fog_function()
void (CODEGEN_FUNCPTR *_ptrc_glSampleMaskSGIS)(GLclampf, GLboolean) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glSamplePatternSGIS)(GLenum) = NULL;
static int Load_SGIS_multisample()
static int Load_SGIS_multisample(
void
)
{
int numFailed = 0;
_ptrc_glSampleMaskSGIS = (void (CODEGEN_FUNCPTR *)(GLclampf, GLboolean))IntGetProcAddress("glSampleMaskSGIS");
...
...
@@ -7697,7 +7694,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glPixelTexGenParameterfvSGIS)(GLenum, const GLfloat
void (CODEGEN_FUNCPTR *_ptrc_glPixelTexGenParameteriSGIS)(GLenum, GLint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glPixelTexGenParameterivSGIS)(GLenum, const GLint *) = NULL;
static int Load_SGIS_pixel_texture()
static int Load_SGIS_pixel_texture(
void
)
{
int numFailed = 0;
_ptrc_glGetPixelTexGenParameterfvSGIS = (void (CODEGEN_FUNCPTR *)(GLenum, GLfloat *))IntGetProcAddress("glGetPixelTexGenParameterfvSGIS");
...
...
@@ -7718,7 +7715,7 @@ static int Load_SGIS_pixel_texture()
void (CODEGEN_FUNCPTR *_ptrc_glPointParameterfSGIS)(GLenum, GLfloat) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glPointParameterfvSGIS)(GLenum, const GLfloat *) = NULL;
static int Load_SGIS_point_parameters()
static int Load_SGIS_point_parameters(
void
)
{
int numFailed = 0;
_ptrc_glPointParameterfSGIS = (void (CODEGEN_FUNCPTR *)(GLenum, GLfloat))IntGetProcAddress("glPointParameterfSGIS");
...
...
@@ -7731,7 +7728,7 @@ static int Load_SGIS_point_parameters()
void (CODEGEN_FUNCPTR *_ptrc_glGetSharpenTexFuncSGIS)(GLenum, GLfloat *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glSharpenTexFuncSGIS)(GLenum, GLsizei, const GLfloat *) = NULL;
static int Load_SGIS_sharpen_texture()
static int Load_SGIS_sharpen_texture(
void
)
{
int numFailed = 0;
_ptrc_glGetSharpenTexFuncSGIS = (void (CODEGEN_FUNCPTR *)(GLenum, GLfloat *))IntGetProcAddress("glGetSharpenTexFuncSGIS");
...
...
@@ -7744,7 +7741,7 @@ static int Load_SGIS_sharpen_texture()
void (CODEGEN_FUNCPTR *_ptrc_glTexImage4DSGIS)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glTexSubImage4DSGIS)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
static int Load_SGIS_texture4D()
static int Load_SGIS_texture4D(
void
)
{
int numFailed = 0;
_ptrc_glTexImage4DSGIS = (void (CODEGEN_FUNCPTR *)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *))IntGetProcAddress("glTexImage4DSGIS");
...
...
@@ -7756,7 +7753,7 @@ static int Load_SGIS_texture4D()
void (CODEGEN_FUNCPTR *_ptrc_glTextureColorMaskSGIS)(GLboolean, GLboolean, GLboolean, GLboolean) = NULL;
static int Load_SGIS_texture_color_mask()
static int Load_SGIS_texture_color_mask(
void
)
{
int numFailed = 0;
_ptrc_glTextureColorMaskSGIS = (void (CODEGEN_FUNCPTR *)(GLboolean, GLboolean, GLboolean, GLboolean))IntGetProcAddress("glTextureColorMaskSGIS");
...
...
@@ -7767,7 +7764,7 @@ static int Load_SGIS_texture_color_mask()
void (CODEGEN_FUNCPTR *_ptrc_glGetTexFilterFuncSGIS)(GLenum, GLenum, GLfloat *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glTexFilterFuncSGIS)(GLenum, GLenum, GLsizei, const GLfloat *) = NULL;
static int Load_SGIS_texture_filter4()
static int Load_SGIS_texture_filter4(
void
)
{
int numFailed = 0;
_ptrc_glGetTexFilterFuncSGIS = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLfloat *))IntGetProcAddress("glGetTexFilterFuncSGIS");
...
...
@@ -7784,7 +7781,7 @@ GLuint (CODEGEN_FUNCPTR *_ptrc_glGenAsyncMarkersSGIX)(GLsizei) = NULL;
GLboolean (CODEGEN_FUNCPTR *_ptrc_glIsAsyncMarkerSGIX)(GLuint) = NULL;
GLint (CODEGEN_FUNCPTR *_ptrc_glPollAsyncSGIX)(GLuint *) = NULL;
static int Load_SGIX_async()
static int Load_SGIX_async(
void
)
{
int numFailed = 0;
_ptrc_glAsyncMarkerSGIX = (void (CODEGEN_FUNCPTR *)(GLuint))IntGetProcAddress("glAsyncMarkerSGIX");
...
...
@@ -7802,12 +7799,12 @@ static int Load_SGIX_async()
return numFailed;
}
void (CODEGEN_FUNCPTR *_ptrc_glFlushRasterSGIX)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glFlushRasterSGIX)(
void
) = NULL;
static int Load_SGIX_flush_raster()
static int Load_SGIX_flush_raster(
void
)
{
int numFailed = 0;
_ptrc_glFlushRasterSGIX = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glFlushRasterSGIX");
_ptrc_glFlushRasterSGIX = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glFlushRasterSGIX");
if(!_ptrc_glFlushRasterSGIX) numFailed++;
return numFailed;
}
...
...
@@ -7831,7 +7828,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glGetFragmentMaterialfvSGIX)(GLenum, GLenum, GLfloa
void (CODEGEN_FUNCPTR *_ptrc_glGetFragmentMaterialivSGIX)(GLenum, GLenum, GLint *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glLightEnviSGIX)(GLenum, GLint) = NULL;
static int Load_SGIX_fragment_lighting()
static int Load_SGIX_fragment_lighting(
void
)
{
int numFailed = 0;
_ptrc_glFragmentColorMaterialSGIX = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum))IntGetProcAddress("glFragmentColorMaterialSGIX");
...
...
@@ -7875,7 +7872,7 @@ static int Load_SGIX_fragment_lighting()
void (CODEGEN_FUNCPTR *_ptrc_glFrameZoomSGIX)(GLint) = NULL;
static int Load_SGIX_framezoom()
static int Load_SGIX_framezoom(
void
)
{
int numFailed = 0;
_ptrc_glFrameZoomSGIX = (void (CODEGEN_FUNCPTR *)(GLint))IntGetProcAddress("glFrameZoomSGIX");
...
...
@@ -7885,7 +7882,7 @@ static int Load_SGIX_framezoom()
void (CODEGEN_FUNCPTR *_ptrc_glIglooInterfaceSGIX)(GLenum, const GLvoid *) = NULL;
static int Load_SGIX_igloo_interface()
static int Load_SGIX_igloo_interface(
void
)
{
int numFailed = 0;
_ptrc_glIglooInterfaceSGIX = (void (CODEGEN_FUNCPTR *)(GLenum, const GLvoid *))IntGetProcAddress("glIglooInterfaceSGIX");
...
...
@@ -7893,17 +7890,17 @@ static int Load_SGIX_igloo_interface()
return numFailed;
}
GLint (CODEGEN_FUNCPTR *_ptrc_glGetInstrumentsSGIX)() = NULL;
GLint (CODEGEN_FUNCPTR *_ptrc_glGetInstrumentsSGIX)(
void
) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glInstrumentsBufferSGIX)(GLsizei, GLint *) = NULL;
GLint (CODEGEN_FUNCPTR *_ptrc_glPollInstrumentsSGIX)(GLint *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glReadInstrumentsSGIX)(GLint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glStartInstrumentsSGIX)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glStartInstrumentsSGIX)(
void
) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glStopInstrumentsSGIX)(GLint) = NULL;
static int Load_SGIX_instruments()
static int Load_SGIX_instruments(
void
)
{
int numFailed = 0;
_ptrc_glGetInstrumentsSGIX = (GLint (CODEGEN_FUNCPTR *)())IntGetProcAddress("glGetInstrumentsSGIX");
_ptrc_glGetInstrumentsSGIX = (GLint (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glGetInstrumentsSGIX");
if(!_ptrc_glGetInstrumentsSGIX) numFailed++;
_ptrc_glInstrumentsBufferSGIX = (void (CODEGEN_FUNCPTR *)(GLsizei, GLint *))IntGetProcAddress("glInstrumentsBufferSGIX");
if(!_ptrc_glInstrumentsBufferSGIX) numFailed++;
...
...
@@ -7911,7 +7908,7 @@ static int Load_SGIX_instruments()
if(!_ptrc_glPollInstrumentsSGIX) numFailed++;
_ptrc_glReadInstrumentsSGIX = (void (CODEGEN_FUNCPTR *)(GLint))IntGetProcAddress("glReadInstrumentsSGIX");
if(!_ptrc_glReadInstrumentsSGIX) numFailed++;
_ptrc_glStartInstrumentsSGIX = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glStartInstrumentsSGIX");
_ptrc_glStartInstrumentsSGIX = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glStartInstrumentsSGIX");
if(!_ptrc_glStartInstrumentsSGIX) numFailed++;
_ptrc_glStopInstrumentsSGIX = (void (CODEGEN_FUNCPTR *)(GLint))IntGetProcAddress("glStopInstrumentsSGIX");
if(!_ptrc_glStopInstrumentsSGIX) numFailed++;
...
...
@@ -7925,7 +7922,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glListParameterfvSGIX)(GLuint, GLenum, const GLfloa
void (CODEGEN_FUNCPTR *_ptrc_glListParameteriSGIX)(GLuint, GLenum, GLint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glListParameterivSGIX)(GLuint, GLenum, const GLint *) = NULL;
static int Load_SGIX_list_priority()
static int Load_SGIX_list_priority(
void
)
{
int numFailed = 0;
_ptrc_glGetListParameterfvSGIX = (void (CODEGEN_FUNCPTR *)(GLuint, GLenum, GLfloat *))IntGetProcAddress("glGetListParameterfvSGIX");
...
...
@@ -7945,7 +7942,7 @@ static int Load_SGIX_list_priority()
void (CODEGEN_FUNCPTR *_ptrc_glPixelTexGenSGIX)(GLenum) = NULL;
static int Load_SGIX_pixel_texture()
static int Load_SGIX_pixel_texture(
void
)
{
int numFailed = 0;
_ptrc_glPixelTexGenSGIX = (void (CODEGEN_FUNCPTR *)(GLenum))IntGetProcAddress("glPixelTexGenSGIX");
...
...
@@ -7958,7 +7955,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glDeformationMap3dSGIX)(GLenum, GLdouble, GLdouble,
void (CODEGEN_FUNCPTR *_ptrc_glDeformationMap3fSGIX)(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glLoadIdentityDeformationMapSGIX)(GLbitfield) = NULL;
static int Load_SGIX_polynomial_ffd()
static int Load_SGIX_polynomial_ffd(
void
)
{
int numFailed = 0;
_ptrc_glDeformSGIX = (void (CODEGEN_FUNCPTR *)(GLbitfield))IntGetProcAddress("glDeformSGIX");
...
...
@@ -7974,7 +7971,7 @@ static int Load_SGIX_polynomial_ffd()
void (CODEGEN_FUNCPTR *_ptrc_glReferencePlaneSGIX)(const GLdouble *) = NULL;
static int Load_SGIX_reference_plane()
static int Load_SGIX_reference_plane(
void
)
{
int numFailed = 0;
_ptrc_glReferencePlaneSGIX = (void (CODEGEN_FUNCPTR *)(const GLdouble *))IntGetProcAddress("glReferencePlaneSGIX");
...
...
@@ -7987,7 +7984,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glSpriteParameterfvSGIX)(GLenum, const GLfloat *) =
void (CODEGEN_FUNCPTR *_ptrc_glSpriteParameteriSGIX)(GLenum, GLint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glSpriteParameterivSGIX)(GLenum, const GLint *) = NULL;
static int Load_SGIX_sprite()
static int Load_SGIX_sprite(
void
)
{
int numFailed = 0;
_ptrc_glSpriteParameterfSGIX = (void (CODEGEN_FUNCPTR *)(GLenum, GLfloat))IntGetProcAddress("glSpriteParameterfSGIX");
...
...
@@ -8001,12 +7998,12 @@ static int Load_SGIX_sprite()
return numFailed;
}
void (CODEGEN_FUNCPTR *_ptrc_glTagSampleBufferSGIX)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glTagSampleBufferSGIX)(
void
) = NULL;
static int Load_SGIX_tag_sample_buffer()
static int Load_SGIX_tag_sample_buffer(
void
)
{
int numFailed = 0;
_ptrc_glTagSampleBufferSGIX = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glTagSampleBufferSGIX");
_ptrc_glTagSampleBufferSGIX = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glTagSampleBufferSGIX");
if(!_ptrc_glTagSampleBufferSGIX) numFailed++;
return numFailed;
}
...
...
@@ -8019,7 +8016,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glGetColorTableParameterfvSGI)(GLenum, GLenum, GLfl
void (CODEGEN_FUNCPTR *_ptrc_glGetColorTableParameterivSGI)(GLenum, GLenum, GLint *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGetColorTableSGI)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
static int Load_SGI_color_table()
static int Load_SGI_color_table(
void
)
{
int numFailed = 0;
_ptrc_glColorTableParameterfvSGI = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, const GLfloat *))IntGetProcAddress("glColorTableParameterfvSGI");
...
...
@@ -8039,12 +8036,12 @@ static int Load_SGI_color_table()
return numFailed;
}
void (CODEGEN_FUNCPTR *_ptrc_glFinishTextureSUNX)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glFinishTextureSUNX)(
void
) = NULL;
static int Load_SUNX_constant_data()
static int Load_SUNX_constant_data(
void
)
{
int numFailed = 0;
_ptrc_glFinishTextureSUNX = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glFinishTextureSUNX");
_ptrc_glFinishTextureSUNX = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glFinishTextureSUNX");
if(!_ptrc_glFinishTextureSUNX) numFailed++;
return numFailed;
}
...
...
@@ -8058,7 +8055,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glGlobalAlphaFactorubSUN)(GLubyte) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGlobalAlphaFactoruiSUN)(GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGlobalAlphaFactorusSUN)(GLushort) = NULL;
static int Load_SUN_global_alpha()
static int Load_SUN_global_alpha(
void
)
{
int numFailed = 0;
_ptrc_glGlobalAlphaFactorbSUN = (void (CODEGEN_FUNCPTR *)(GLbyte))IntGetProcAddress("glGlobalAlphaFactorbSUN");
...
...
@@ -8082,7 +8079,7 @@ static int Load_SUN_global_alpha()
void (CODEGEN_FUNCPTR *_ptrc_glDrawMeshArraysSUN)(GLenum, GLint, GLsizei, GLsizei) = NULL;
static int Load_SUN_mesh_array()
static int Load_SUN_mesh_array(
void
)
{
int numFailed = 0;
_ptrc_glDrawMeshArraysSUN = (void (CODEGEN_FUNCPTR *)(GLenum, GLint, GLsizei, GLsizei))IntGetProcAddress("glDrawMeshArraysSUN");
...
...
@@ -8098,7 +8095,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glReplacementCodeuivSUN)(const GLuint *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glReplacementCodeusSUN)(GLushort) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glReplacementCodeusvSUN)(const GLushort *) = NULL;
static int Load_SUN_triangle_list()
static int Load_SUN_triangle_list(
void
)
{
int numFailed = 0;
_ptrc_glReplacementCodePointerSUN = (void (CODEGEN_FUNCPTR *)(GLenum, GLsizei, const GLvoid **))IntGetProcAddress("glReplacementCodePointerSUN");
...
...
@@ -8159,7 +8156,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glTexCoord4fColor4fNormal3fVertex4fvSUN)(const GLfl
void (CODEGEN_FUNCPTR *_ptrc_glTexCoord4fVertex4fSUN)(GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glTexCoord4fVertex4fvSUN)(const GLfloat *, const GLfloat *) = NULL;
static int Load_SUN_vertex()
static int Load_SUN_vertex(
void
)
{
int numFailed = 0;
_ptrc_glColor3fVertex3fSUN = (void (CODEGEN_FUNCPTR *)(GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat))IntGetProcAddress("glColor3fVertex3fSUN");
...
...
@@ -8258,12 +8255,12 @@ void (CODEGEN_FUNCPTR *_ptrc_glDepthRange)(GLdouble, GLdouble) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glDisable)(GLenum) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glDrawBuffer)(GLenum) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glEnable)(GLenum) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glFinish)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glFlush)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glFinish)(
void
) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glFlush)(
void
) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glFrontFace)(GLenum) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGetBooleanv)(GLenum, GLboolean *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGetDoublev)(GLenum, GLdouble *) = NULL;
GLenum (CODEGEN_FUNCPTR *_ptrc_glGetError)() = NULL;
GLenum (CODEGEN_FUNCPTR *_ptrc_glGetError)(
void
) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGetFloatv)(GLenum, GLfloat *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGetIntegerv)(GLenum, GLint *) = NULL;
const GLubyte * (CODEGEN_FUNCPTR *_ptrc_glGetString)(GLenum) = NULL;
...
...
@@ -8357,7 +8354,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glAttachShader)(GLuint, GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glBindAttribLocation)(GLuint, GLuint, const GLchar *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glBlendEquationSeparate)(GLenum, GLenum) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glCompileShader)(GLuint) = NULL;
GLuint (CODEGEN_FUNCPTR *_ptrc_glCreateProgram)() = NULL;
GLuint (CODEGEN_FUNCPTR *_ptrc_glCreateProgram)(
void
) = NULL;
GLuint (CODEGEN_FUNCPTR *_ptrc_glCreateShader)(GLenum) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glDeleteProgram)(GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glDeleteShader)(GLuint) = NULL;
...
...
@@ -8467,8 +8464,8 @@ void (CODEGEN_FUNCPTR *_ptrc_glClearBufferuiv)(GLenum, GLint, const GLuint *) =
void (CODEGEN_FUNCPTR *_ptrc_glColorMaski)(GLuint, GLboolean, GLboolean, GLboolean, GLboolean) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glDisablei)(GLenum, GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glEnablei)(GLenum, GLuint) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glEndConditionalRender)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glEndTransformFeedback)() = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glEndConditionalRender)(
void
) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glEndTransformFeedback)(
void
) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGetBooleani_v)(GLenum, GLuint, GLboolean *) = NULL;
GLint (CODEGEN_FUNCPTR *_ptrc_glGetFragDataLocation)(GLuint, const GLchar *) = NULL;
void (CODEGEN_FUNCPTR *_ptrc_glGetIntegeri_v)(GLenum, GLuint, GLint *) = NULL;
...
...
@@ -8534,7 +8531,7 @@ void (CODEGEN_FUNCPTR *_ptrc_glMinSampleShading)(GLfloat) = NULL;
static int Load_Version_4_4()
static int Load_Version_4_4(
void
)
{
int numFailed = 0;
_ptrc_glBlendFunc = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum))IntGetProcAddress("glBlendFunc");
...
...
@@ -8563,9 +8560,9 @@ static int Load_Version_4_4()
if(!_ptrc_glDrawBuffer) numFailed++;
_ptrc_glEnable = (void (CODEGEN_FUNCPTR *)(GLenum))IntGetProcAddress("glEnable");
if(!_ptrc_glEnable) numFailed++;
_ptrc_glFinish = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glFinish");
_ptrc_glFinish = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glFinish");
if(!_ptrc_glFinish) numFailed++;
_ptrc_glFlush = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glFlush");
_ptrc_glFlush = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glFlush");
if(!_ptrc_glFlush) numFailed++;
_ptrc_glFrontFace = (void (CODEGEN_FUNCPTR *)(GLenum))IntGetProcAddress("glFrontFace");
if(!_ptrc_glFrontFace) numFailed++;
...
...
@@ -8573,7 +8570,7 @@ static int Load_Version_4_4()
if(!_ptrc_glGetBooleanv) numFailed++;
_ptrc_glGetDoublev = (void (CODEGEN_FUNCPTR *)(GLenum, GLdouble *))IntGetProcAddress("glGetDoublev");
if(!_ptrc_glGetDoublev) numFailed++;
_ptrc_glGetError = (GLenum (CODEGEN_FUNCPTR *)())IntGetProcAddress("glGetError");
_ptrc_glGetError = (GLenum (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glGetError");
if(!_ptrc_glGetError) numFailed++;
_ptrc_glGetFloatv = (void (CODEGEN_FUNCPTR *)(GLenum, GLfloat *))IntGetProcAddress("glGetFloatv");
if(!_ptrc_glGetFloatv) numFailed++;
...
...
@@ -8751,7 +8748,7 @@ static int Load_Version_4_4()
if(!_ptrc_glBlendEquationSeparate) numFailed++;
_ptrc_glCompileShader = (void (CODEGEN_FUNCPTR *)(GLuint))IntGetProcAddress("glCompileShader");
if(!_ptrc_glCompileShader) numFailed++;
_ptrc_glCreateProgram = (GLuint (CODEGEN_FUNCPTR *)())IntGetProcAddress("glCreateProgram");
_ptrc_glCreateProgram = (GLuint (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glCreateProgram");
if(!_ptrc_glCreateProgram) numFailed++;
_ptrc_glCreateShader = (GLuint (CODEGEN_FUNCPTR *)(GLenum))IntGetProcAddress("glCreateShader");
if(!_ptrc_glCreateShader) numFailed++;
...
...
@@ -8983,9 +8980,9 @@ static int Load_Version_4_4()
if(!_ptrc_glDisablei) numFailed++;
_ptrc_glEnablei = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint))IntGetProcAddress("glEnablei");
if(!_ptrc_glEnablei) numFailed++;
_ptrc_glEndConditionalRender = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glEndConditionalRender");
_ptrc_glEndConditionalRender = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glEndConditionalRender");
if(!_ptrc_glEndConditionalRender) numFailed++;
_ptrc_glEndTransformFeedback = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glEndTransformFeedback");
_ptrc_glEndTransformFeedback = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glEndTransformFeedback");
if(!_ptrc_glEndTransformFeedback) numFailed++;
_ptrc_glFlushMappedBufferRange = (void (CODEGEN_FUNCPTR *)(GLenum, GLintptr, GLsizeiptr))IntGetProcAddress("glFlushMappedBufferRange");
if(!_ptrc_glFlushMappedBufferRange) numFailed++;
...
...
@@ -9339,9 +9336,9 @@ static int Load_Version_4_4()
if(!_ptrc_glPatchParameterfv) numFailed++;
_ptrc_glPatchParameteri = (void (CODEGEN_FUNCPTR *)(GLenum, GLint))IntGetProcAddress("glPatchParameteri");
if(!_ptrc_glPatchParameteri) numFailed++;
_ptrc_glPauseTransformFeedback = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glPauseTransformFeedback");
_ptrc_glPauseTransformFeedback = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glPauseTransformFeedback");
if(!_ptrc_glPauseTransformFeedback) numFailed++;
_ptrc_glResumeTransformFeedback = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glResumeTransformFeedback");
_ptrc_glResumeTransformFeedback = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glResumeTransformFeedback");
if(!_ptrc_glResumeTransformFeedback) numFailed++;
_ptrc_glUniform1d = (void (CODEGEN_FUNCPTR *)(GLint, GLdouble))IntGetProcAddress("glUniform1d");
if(!_ptrc_glUniform1d) numFailed++;
...
...
@@ -9517,7 +9514,7 @@ static int Load_Version_4_4()
if(!_ptrc_glProgramUniformMatrix4x3dv) numFailed++;
_ptrc_glProgramUniformMatrix4x3fv = (void (CODEGEN_FUNCPTR *)(GLuint, GLint, GLsizei, GLboolean, const GLfloat *))IntGetProcAddress("glProgramUniformMatrix4x3fv");
if(!_ptrc_glProgramUniformMatrix4x3fv) numFailed++;
_ptrc_glReleaseShaderCompiler = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glReleaseShaderCompiler");
_ptrc_glReleaseShaderCompiler = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glReleaseShaderCompiler");
if(!_ptrc_glReleaseShaderCompiler) numFailed++;
_ptrc_glScissorArrayv = (void (CODEGEN_FUNCPTR *)(GLuint, GLsizei, const GLint *))IntGetProcAddress("glScissorArrayv");
if(!_ptrc_glScissorArrayv) numFailed++;
...
...
@@ -9569,8 +9566,6 @@ static int Load_Version_4_4()
if(!_ptrc_glDrawTransformFeedbackStreamInstanced) numFailed++;
_ptrc_glGetActiveAtomicCounterBufferiv = (void (CODEGEN_FUNCPTR *)(GLuint, GLuint, GLenum, GLint *))IntGetProcAddress("glGetActiveAtomicCounterBufferiv");
if(!_ptrc_glGetActiveAtomicCounterBufferiv) numFailed++;
_ptrc_glGetInternalformati64v = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLenum, GLsizei, GLint64 *))IntGetProcAddress("glGetInternalformati64v");
if(!_ptrc_glGetInternalformati64v) numFailed++;
_ptrc_glMemoryBarrier = (void (CODEGEN_FUNCPTR *)(GLbitfield))IntGetProcAddress("glMemoryBarrier");
if(!_ptrc_glMemoryBarrier) numFailed++;
_ptrc_glTexStorage1D = (void (CODEGEN_FUNCPTR *)(GLenum, GLsizei, GLenum, GLsizei))IntGetProcAddress("glTexStorage1D");
...
...
@@ -9603,6 +9598,8 @@ static int Load_Version_4_4()
if(!_ptrc_glGetDebugMessageLog) numFailed++;
_ptrc_glGetFramebufferParameteriv = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLint *))IntGetProcAddress("glGetFramebufferParameteriv");
if(!_ptrc_glGetFramebufferParameteriv) numFailed++;
_ptrc_glGetInternalformati64v = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLenum, GLsizei, GLint64 *))IntGetProcAddress("glGetInternalformati64v");
if(!_ptrc_glGetInternalformati64v) numFailed++;
_ptrc_glGetObjectLabel = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint, GLsizei, GLsizei *, GLchar *))IntGetProcAddress("glGetObjectLabel");
if(!_ptrc_glGetObjectLabel) numFailed++;
_ptrc_glGetObjectPtrLabel = (void (CODEGEN_FUNCPTR *)(const void *, GLsizei, GLsizei *, GLchar *))IntGetProcAddress("glGetObjectPtrLabel");
...
...
@@ -9639,7 +9636,7 @@ static int Load_Version_4_4()
if(!_ptrc_glObjectLabel) numFailed++;
_ptrc_glObjectPtrLabel = (void (CODEGEN_FUNCPTR *)(const void *, GLsizei, const GLchar *))IntGetProcAddress("glObjectPtrLabel");
if(!_ptrc_glObjectPtrLabel) numFailed++;
_ptrc_glPopDebugGroup = (void (CODEGEN_FUNCPTR *)())IntGetProcAddress("glPopDebugGroup");
_ptrc_glPopDebugGroup = (void (CODEGEN_FUNCPTR *)(
void
))IntGetProcAddress("glPopDebugGroup");
if(!_ptrc_glPopDebugGroup) numFailed++;
_ptrc_glPushDebugGroup = (void (CODEGEN_FUNCPTR *)(GLenum, GLuint, GLsizei, const GLchar *))IntGetProcAddress("glPushDebugGroup");
if(!_ptrc_glPushDebugGroup) numFailed++;
...
...
@@ -9684,10 +9681,10 @@ static int Load_Version_4_4()
return numFailed;
}
typedef int (*PFN_LOADFUNCPOINTERS)();
typedef int (*PFN_LOADFUNCPOINTERS)(
void
);
typedef struct ogl_StrToExtMap_s
{
char *extensionName;
c
onst c
har *extensionName;
int *extensionVariable;
PFN_LOADFUNCPOINTERS LoadExtension;
} ogl_StrToExtMap;
...
...
@@ -10179,7 +10176,7 @@ static ogl_StrToExtMap *FindExtEntry(const char *extensionName)
return NULL;
}
static void ClearExtensionVars()
static void ClearExtensionVars(
void
)
{
ogl_ext_ARB_imaging = ogl_LOAD_FAILED;
ogl_ext_ARB_vertex_array_object = ogl_LOAD_FAILED;
...
...
@@ -10679,7 +10676,7 @@ static void LoadExtByName(const char *extensionName)
}
static void ProcExtsFromExtList()
static void ProcExtsFromExtList(
void
)
{
GLint iLoop;
GLint iNumExtensions = 0;
...
...
@@ -10692,7 +10689,7 @@ static void ProcExtsFromExtList()
}
}
int ogl_LoadFunctions()
int ogl_LoadFunctions(
void
)
{
int numFailed = 0;
ClearExtensionVars();
...
...
@@ -10714,22 +10711,22 @@ int ogl_LoadFunctions()
static int g_major_version = 0;
static int g_minor_version = 0;
static void GetGLVersion()
static void GetGLVersion(
void
)
{
glGetIntegerv(GL_MAJOR_VERSION, &g_major_version);
glGetIntegerv(GL_MINOR_VERSION, &g_minor_version);
}
int ogl_GetMajorVersion()
int ogl_GetMajorVersion(
void
)
{
if(g_major_version == 0)
GetGLVersion();
return g_major_version;
}
int ogl_GetMinorVersion()
int ogl_GetMinorVersion(
void
)
{
if(g_major_version == 0) /
/Yes, check the major version to get the minor one.
if(g_major_version == 0) /
* Yes, check the major version to get the minor one. */
GetGLVersion();
return g_minor_version;
}
...
...
@@ -10738,7 +10735,7 @@ int ogl_IsVersionGEQ(int majorVersion, int minorVersion)
{
if(g_major_version == 0)
GetGLVersion();
if(majorVersion > g_major_version) return 0;
if(majorVersion < g_major_version) return 1;
if(g_minor_version >= minorVersion) return 1;
...
...
libobs-opengl/GL/gl_obs.h
浏览文件 @
1dd39177
/* AUTOGENERATED BY glLoadGen, DO NOT EDIT */
#ifndef POINTER_C_GENERATED_HEADER_OPENGL_H
#define POINTER_C_GENERATED_HEADER_OPENGL_H
...
...
@@ -62,6 +63,8 @@
#endif
#define GL_LOAD_GEN_GL_VERSION 440
#ifndef GL_LOAD_GEN_BASIC_OPENGL_TYPEDEFS
#define GL_LOAD_GEN_BASIC_OPENGL_TYPEDEFS
...
...
@@ -6379,9 +6382,9 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glGenTransformFeedbacks)(GLsizei, GLuint *);
#define glGenTransformFeedbacks _ptrc_glGenTransformFeedbacks
extern GLboolean (CODEGEN_FUNCPTR *_ptrc_glIsTransformFeedback)(GLuint);
#define glIsTransformFeedback _ptrc_glIsTransformFeedback
extern void (CODEGEN_FUNCPTR *_ptrc_glPauseTransformFeedback)();
extern void (CODEGEN_FUNCPTR *_ptrc_glPauseTransformFeedback)(
void
);
#define glPauseTransformFeedback _ptrc_glPauseTransformFeedback
extern void (CODEGEN_FUNCPTR *_ptrc_glResumeTransformFeedback)();
extern void (CODEGEN_FUNCPTR *_ptrc_glResumeTransformFeedback)(
void
);
#define glResumeTransformFeedback _ptrc_glResumeTransformFeedback
#endif /*GL_ARB_transform_feedback2*/
...
...
@@ -6405,7 +6408,7 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glDepthRangef)(GLfloat, GLfloat);
#define glDepthRangef _ptrc_glDepthRangef
extern void (CODEGEN_FUNCPTR *_ptrc_glGetShaderPrecisionFormat)(GLenum, GLenum, GLint *, GLint *);
#define glGetShaderPrecisionFormat _ptrc_glGetShaderPrecisionFormat
extern void (CODEGEN_FUNCPTR *_ptrc_glReleaseShaderCompiler)();
extern void (CODEGEN_FUNCPTR *_ptrc_glReleaseShaderCompiler)(
void
);
#define glReleaseShaderCompiler _ptrc_glReleaseShaderCompiler
extern void (CODEGEN_FUNCPTR *_ptrc_glShaderBinary)(GLsizei, const GLuint *, GLenum, const GLvoid *, GLsizei);
#define glShaderBinary _ptrc_glShaderBinary
...
...
@@ -6666,7 +6669,7 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glObjectLabel)(GLenum, GLuint, GLsizei, cons
#define glObjectLabel _ptrc_glObjectLabel
extern void (CODEGEN_FUNCPTR *_ptrc_glObjectPtrLabel)(const void *, GLsizei, const GLchar *);
#define glObjectPtrLabel _ptrc_glObjectPtrLabel
extern void (CODEGEN_FUNCPTR *_ptrc_glPopDebugGroup)();
extern void (CODEGEN_FUNCPTR *_ptrc_glPopDebugGroup)(
void
);
#define glPopDebugGroup _ptrc_glPopDebugGroup
extern void (CODEGEN_FUNCPTR *_ptrc_glPushDebugGroup)(GLenum, GLuint, GLsizei, const GLchar *);
#define glPushDebugGroup _ptrc_glPushDebugGroup
...
...
@@ -7350,7 +7353,7 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glPointParameterfvARB)(GLenum, const GLfloat
#ifndef GL_ARB_robustness
#define GL_ARB_robustness 1
extern GLenum (CODEGEN_FUNCPTR *_ptrc_glGetGraphicsResetStatusARB)();
extern GLenum (CODEGEN_FUNCPTR *_ptrc_glGetGraphicsResetStatusARB)(
void
);
#define glGetGraphicsResetStatusARB _ptrc_glGetGraphicsResetStatusARB
extern void (CODEGEN_FUNCPTR *_ptrc_glGetnColorTableARB)(GLenum, GLenum, GLenum, GLsizei, GLvoid *);
#define glGetnColorTableARB _ptrc_glGetnColorTableARB
...
...
@@ -7409,7 +7412,7 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glAttachObjectARB)(GLhandleARB, GLhandleARB)
#define glAttachObjectARB _ptrc_glAttachObjectARB
extern void (CODEGEN_FUNCPTR *_ptrc_glCompileShaderARB)(GLhandleARB);
#define glCompileShaderARB _ptrc_glCompileShaderARB
extern GLhandleARB (CODEGEN_FUNCPTR *_ptrc_glCreateProgramObjectARB)();
extern GLhandleARB (CODEGEN_FUNCPTR *_ptrc_glCreateProgramObjectARB)(
void
);
#define glCreateProgramObjectARB _ptrc_glCreateProgramObjectARB
extern GLhandleARB (CODEGEN_FUNCPTR *_ptrc_glCreateShaderObjectARB)(GLenum);
#define glCreateShaderObjectARB _ptrc_glCreateShaderObjectARB
...
...
@@ -7827,7 +7830,7 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glAlphaFragmentOp2ATI)(GLenum, GLuint, GLuin
#define glAlphaFragmentOp2ATI _ptrc_glAlphaFragmentOp2ATI
extern void (CODEGEN_FUNCPTR *_ptrc_glAlphaFragmentOp3ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
#define glAlphaFragmentOp3ATI _ptrc_glAlphaFragmentOp3ATI
extern void (CODEGEN_FUNCPTR *_ptrc_glBeginFragmentShaderATI)();
extern void (CODEGEN_FUNCPTR *_ptrc_glBeginFragmentShaderATI)(
void
);
#define glBeginFragmentShaderATI _ptrc_glBeginFragmentShaderATI
extern void (CODEGEN_FUNCPTR *_ptrc_glBindFragmentShaderATI)(GLuint);
#define glBindFragmentShaderATI _ptrc_glBindFragmentShaderATI
...
...
@@ -7839,7 +7842,7 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glColorFragmentOp3ATI)(GLenum, GLuint, GLuin
#define glColorFragmentOp3ATI _ptrc_glColorFragmentOp3ATI
extern void (CODEGEN_FUNCPTR *_ptrc_glDeleteFragmentShaderATI)(GLuint);
#define glDeleteFragmentShaderATI _ptrc_glDeleteFragmentShaderATI
extern void (CODEGEN_FUNCPTR *_ptrc_glEndFragmentShaderATI)();
extern void (CODEGEN_FUNCPTR *_ptrc_glEndFragmentShaderATI)(
void
);
#define glEndFragmentShaderATI _ptrc_glEndFragmentShaderATI
extern GLuint (CODEGEN_FUNCPTR *_ptrc_glGenFragmentShadersATI)(GLuint);
#define glGenFragmentShadersATI _ptrc_glGenFragmentShadersATI
...
...
@@ -8066,7 +8069,7 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glCopyColorSubTableEXT)(GLenum, GLsizei, GLi
#define GL_EXT_compiled_vertex_array 1
extern void (CODEGEN_FUNCPTR *_ptrc_glLockArraysEXT)(GLint, GLsizei);
#define glLockArraysEXT _ptrc_glLockArraysEXT
extern void (CODEGEN_FUNCPTR *_ptrc_glUnlockArraysEXT)();
extern void (CODEGEN_FUNCPTR *_ptrc_glUnlockArraysEXT)(
void
);
#define glUnlockArraysEXT _ptrc_glUnlockArraysEXT
#endif /*GL_EXT_compiled_vertex_array*/
...
...
@@ -9108,7 +9111,7 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glBindBufferOffsetEXT)(GLenum, GLuint, GLuin
#define glBindBufferOffsetEXT _ptrc_glBindBufferOffsetEXT
extern void (CODEGEN_FUNCPTR *_ptrc_glBindBufferRangeEXT)(GLenum, GLuint, GLuint, GLintptr, GLsizeiptr);
#define glBindBufferRangeEXT _ptrc_glBindBufferRangeEXT
extern void (CODEGEN_FUNCPTR *_ptrc_glEndTransformFeedbackEXT)();
extern void (CODEGEN_FUNCPTR *_ptrc_glEndTransformFeedbackEXT)(
void
);
#define glEndTransformFeedbackEXT _ptrc_glEndTransformFeedbackEXT
extern void (CODEGEN_FUNCPTR *_ptrc_glGetTransformFeedbackVaryingEXT)(GLuint, GLuint, GLsizei, GLsizei *, GLsizei *, GLenum *, GLchar *);
#define glGetTransformFeedbackVaryingEXT _ptrc_glGetTransformFeedbackVaryingEXT
...
...
@@ -9165,7 +9168,7 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glVertexAttribLPointerEXT)(GLuint, GLint, GL
#ifndef GL_EXT_vertex_shader
#define GL_EXT_vertex_shader 1
extern void (CODEGEN_FUNCPTR *_ptrc_glBeginVertexShaderEXT)();
extern void (CODEGEN_FUNCPTR *_ptrc_glBeginVertexShaderEXT)(
void
);
#define glBeginVertexShaderEXT _ptrc_glBeginVertexShaderEXT
extern GLuint (CODEGEN_FUNCPTR *_ptrc_glBindLightParameterEXT)(GLenum, GLenum);
#define glBindLightParameterEXT _ptrc_glBindLightParameterEXT
...
...
@@ -9185,7 +9188,7 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glDisableVariantClientStateEXT)(GLuint);
#define glDisableVariantClientStateEXT _ptrc_glDisableVariantClientStateEXT
extern void (CODEGEN_FUNCPTR *_ptrc_glEnableVariantClientStateEXT)(GLuint);
#define glEnableVariantClientStateEXT _ptrc_glEnableVariantClientStateEXT
extern void (CODEGEN_FUNCPTR *_ptrc_glEndVertexShaderEXT)();
extern void (CODEGEN_FUNCPTR *_ptrc_glEndVertexShaderEXT)(
void
);
#define glEndVertexShaderEXT _ptrc_glEndVertexShaderEXT
extern void (CODEGEN_FUNCPTR *_ptrc_glExtractComponentEXT)(GLuint, GLuint, GLuint);
#define glExtractComponentEXT _ptrc_glExtractComponentEXT
...
...
@@ -9269,7 +9272,7 @@ extern GLsync (CODEGEN_FUNCPTR *_ptrc_glImportSyncEXT)(GLenum, GLintptr, GLbitfi
#ifndef GL_GREMEDY_frame_terminator
#define GL_GREMEDY_frame_terminator 1
extern void (CODEGEN_FUNCPTR *_ptrc_glFrameTerminatorGREMEDY)();
extern void (CODEGEN_FUNCPTR *_ptrc_glFrameTerminatorGREMEDY)(
void
);
#define glFrameTerminatorGREMEDY _ptrc_glFrameTerminatorGREMEDY
#endif /*GL_GREMEDY_frame_terminator*/
...
...
@@ -9370,7 +9373,7 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glVertexPointervINTEL)(GLint, GLenum, const
#ifndef GL_MESA_resize_buffers
#define GL_MESA_resize_buffers 1
extern void (CODEGEN_FUNCPTR *_ptrc_glResizeBuffersMESA)();
extern void (CODEGEN_FUNCPTR *_ptrc_glResizeBuffersMESA)(
void
);
#define glResizeBuffersMESA _ptrc_glResizeBuffersMESA
#endif /*GL_MESA_resize_buffers*/
...
...
@@ -9431,7 +9434,7 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glWindowPos4svMESA)(const GLshort *);
#define GL_NVX_conditional_render 1
extern void (CODEGEN_FUNCPTR *_ptrc_glBeginConditionalRenderNVX)(GLuint);
#define glBeginConditionalRenderNVX _ptrc_glBeginConditionalRenderNVX
extern void (CODEGEN_FUNCPTR *_ptrc_glEndConditionalRenderNVX)();
extern void (CODEGEN_FUNCPTR *_ptrc_glEndConditionalRenderNVX)(
void
);
#define glEndConditionalRenderNVX _ptrc_glEndConditionalRenderNVX
#endif /*GL_NVX_conditional_render*/
...
...
@@ -9475,7 +9478,7 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glUniformHandleui64vNV)(GLint, GLsizei, cons
#ifndef GL_NV_blend_equation_advanced
#define GL_NV_blend_equation_advanced 1
extern void (CODEGEN_FUNCPTR *_ptrc_glBlendBarrierNV)();
extern void (CODEGEN_FUNCPTR *_ptrc_glBlendBarrierNV)(
void
);
#define glBlendBarrierNV _ptrc_glBlendBarrierNV
extern void (CODEGEN_FUNCPTR *_ptrc_glBlendParameteriNV)(GLenum, GLint);
#define glBlendParameteriNV _ptrc_glBlendParameteriNV
...
...
@@ -9488,7 +9491,7 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glBlendParameteriNV)(GLenum, GLint);
#define GL_NV_conditional_render 1
extern void (CODEGEN_FUNCPTR *_ptrc_glBeginConditionalRenderNV)(GLuint, GLenum);
#define glBeginConditionalRenderNV _ptrc_glBeginConditionalRenderNV
extern void (CODEGEN_FUNCPTR *_ptrc_glEndConditionalRenderNV)();
extern void (CODEGEN_FUNCPTR *_ptrc_glEndConditionalRenderNV)(
void
);
#define glEndConditionalRenderNV _ptrc_glEndConditionalRenderNV
#endif /*GL_NV_conditional_render*/
...
...
@@ -9827,7 +9830,7 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glBeginOcclusionQueryNV)(GLuint);
#define glBeginOcclusionQueryNV _ptrc_glBeginOcclusionQueryNV
extern void (CODEGEN_FUNCPTR *_ptrc_glDeleteOcclusionQueriesNV)(GLsizei, const GLuint *);
#define glDeleteOcclusionQueriesNV _ptrc_glDeleteOcclusionQueriesNV
extern void (CODEGEN_FUNCPTR *_ptrc_glEndOcclusionQueryNV)();
extern void (CODEGEN_FUNCPTR *_ptrc_glEndOcclusionQueryNV)(
void
);
#define glEndOcclusionQueryNV _ptrc_glEndOcclusionQueryNV
extern void (CODEGEN_FUNCPTR *_ptrc_glGenOcclusionQueriesNV)(GLsizei, GLuint *);
#define glGenOcclusionQueriesNV _ptrc_glGenOcclusionQueriesNV
...
...
@@ -9989,7 +9992,7 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glPresentFrameKeyedNV)(GLuint, GLuint64EXT,
#define GL_NV_primitive_restart 1
extern void (CODEGEN_FUNCPTR *_ptrc_glPrimitiveRestartIndexNV)(GLuint);
#define glPrimitiveRestartIndexNV _ptrc_glPrimitiveRestartIndexNV
extern void (CODEGEN_FUNCPTR *_ptrc_glPrimitiveRestartNV)();
extern void (CODEGEN_FUNCPTR *_ptrc_glPrimitiveRestartNV)(
void
);
#define glPrimitiveRestartNV _ptrc_glPrimitiveRestartNV
#endif /*GL_NV_primitive_restart*/
...
...
@@ -10072,7 +10075,7 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glUniformui64vNV)(GLint, GLsizei, const GLui
#ifndef GL_NV_texture_barrier
#define GL_NV_texture_barrier 1
extern void (CODEGEN_FUNCPTR *_ptrc_glTextureBarrierNV)();
extern void (CODEGEN_FUNCPTR *_ptrc_glTextureBarrierNV)(
void
);
#define glTextureBarrierNV _ptrc_glTextureBarrierNV
#endif /*GL_NV_texture_barrier*/
...
...
@@ -10111,7 +10114,7 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glBindBufferOffsetNV)(GLenum, GLuint, GLuint
#define glBindBufferOffsetNV _ptrc_glBindBufferOffsetNV
extern void (CODEGEN_FUNCPTR *_ptrc_glBindBufferRangeNV)(GLenum, GLuint, GLuint, GLintptr, GLsizeiptr);
#define glBindBufferRangeNV _ptrc_glBindBufferRangeNV
extern void (CODEGEN_FUNCPTR *_ptrc_glEndTransformFeedbackNV)();
extern void (CODEGEN_FUNCPTR *_ptrc_glEndTransformFeedbackNV)(
void
);
#define glEndTransformFeedbackNV _ptrc_glEndTransformFeedbackNV
extern void (CODEGEN_FUNCPTR *_ptrc_glGetActiveVaryingNV)(GLuint, GLuint, GLsizei, GLsizei *, GLsizei *, GLenum *, GLchar *);
#define glGetActiveVaryingNV _ptrc_glGetActiveVaryingNV
...
...
@@ -10139,15 +10142,15 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glGenTransformFeedbacksNV)(GLsizei, GLuint *
#define glGenTransformFeedbacksNV _ptrc_glGenTransformFeedbacksNV
extern GLboolean (CODEGEN_FUNCPTR *_ptrc_glIsTransformFeedbackNV)(GLuint);
#define glIsTransformFeedbackNV _ptrc_glIsTransformFeedbackNV
extern void (CODEGEN_FUNCPTR *_ptrc_glPauseTransformFeedbackNV)();
extern void (CODEGEN_FUNCPTR *_ptrc_glPauseTransformFeedbackNV)(
void
);
#define glPauseTransformFeedbackNV _ptrc_glPauseTransformFeedbackNV
extern void (CODEGEN_FUNCPTR *_ptrc_glResumeTransformFeedbackNV)();
extern void (CODEGEN_FUNCPTR *_ptrc_glResumeTransformFeedbackNV)(
void
);
#define glResumeTransformFeedbackNV _ptrc_glResumeTransformFeedbackNV
#endif /*GL_NV_transform_feedback2*/
#ifndef GL_NV_vdpau_interop
#define GL_NV_vdpau_interop 1
extern void (CODEGEN_FUNCPTR *_ptrc_glVDPAUFiniNV)();
extern void (CODEGEN_FUNCPTR *_ptrc_glVDPAUFiniNV)(
void
);
#define glVDPAUFiniNV _ptrc_glVDPAUFiniNV
extern void (CODEGEN_FUNCPTR *_ptrc_glVDPAUGetSurfaceivNV)(GLvdpauSurfaceNV, GLenum, GLsizei, GLsizei *, GLint *);
#define glVDPAUGetSurfaceivNV _ptrc_glVDPAUGetSurfaceivNV
...
...
@@ -10171,7 +10174,7 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glVDPAUUnregisterSurfaceNV)(GLvdpauSurfaceNV
#ifndef GL_NV_vertex_array_range
#define GL_NV_vertex_array_range 1
extern void (CODEGEN_FUNCPTR *_ptrc_glFlushVertexArrayRangeNV)();
extern void (CODEGEN_FUNCPTR *_ptrc_glFlushVertexArrayRangeNV)(
void
);
#define glFlushVertexArrayRangeNV _ptrc_glFlushVertexArrayRangeNV
extern void (CODEGEN_FUNCPTR *_ptrc_glVertexArrayRangeNV)(GLsizei, const GLvoid *);
#define glVertexArrayRangeNV _ptrc_glVertexArrayRangeNV
...
...
@@ -10868,7 +10871,7 @@ extern GLint (CODEGEN_FUNCPTR *_ptrc_glPollAsyncSGIX)(GLuint *);
#ifndef GL_SGIX_flush_raster
#define GL_SGIX_flush_raster 1
extern void (CODEGEN_FUNCPTR *_ptrc_glFlushRasterSGIX)();
extern void (CODEGEN_FUNCPTR *_ptrc_glFlushRasterSGIX)(
void
);
#define glFlushRasterSGIX _ptrc_glFlushRasterSGIX
#endif /*GL_SGIX_flush_raster*/
...
...
@@ -10927,7 +10930,7 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glIglooInterfaceSGIX)(GLenum, const GLvoid *
#ifndef GL_SGIX_instruments
#define GL_SGIX_instruments 1
extern GLint (CODEGEN_FUNCPTR *_ptrc_glGetInstrumentsSGIX)();
extern GLint (CODEGEN_FUNCPTR *_ptrc_glGetInstrumentsSGIX)(
void
);
#define glGetInstrumentsSGIX _ptrc_glGetInstrumentsSGIX
extern void (CODEGEN_FUNCPTR *_ptrc_glInstrumentsBufferSGIX)(GLsizei, GLint *);
#define glInstrumentsBufferSGIX _ptrc_glInstrumentsBufferSGIX
...
...
@@ -10935,7 +10938,7 @@ extern GLint (CODEGEN_FUNCPTR *_ptrc_glPollInstrumentsSGIX)(GLint *);
#define glPollInstrumentsSGIX _ptrc_glPollInstrumentsSGIX
extern void (CODEGEN_FUNCPTR *_ptrc_glReadInstrumentsSGIX)(GLint);
#define glReadInstrumentsSGIX _ptrc_glReadInstrumentsSGIX
extern void (CODEGEN_FUNCPTR *_ptrc_glStartInstrumentsSGIX)();
extern void (CODEGEN_FUNCPTR *_ptrc_glStartInstrumentsSGIX)(
void
);
#define glStartInstrumentsSGIX _ptrc_glStartInstrumentsSGIX
extern void (CODEGEN_FUNCPTR *_ptrc_glStopInstrumentsSGIX)(GLint);
#define glStopInstrumentsSGIX _ptrc_glStopInstrumentsSGIX
...
...
@@ -11003,7 +11006,7 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glSpriteParameterivSGIX)(GLenum, const GLint
#ifndef GL_SGIX_tag_sample_buffer
#define GL_SGIX_tag_sample_buffer 1
extern void (CODEGEN_FUNCPTR *_ptrc_glTagSampleBufferSGIX)();
extern void (CODEGEN_FUNCPTR *_ptrc_glTagSampleBufferSGIX)(
void
);
#define glTagSampleBufferSGIX _ptrc_glTagSampleBufferSGIX
#endif /*GL_SGIX_tag_sample_buffer*/
...
...
@@ -11038,7 +11041,7 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glGetColorTableSGI)(GLenum, GLenum, GLenum,
#ifndef GL_SUNX_constant_data
#define GL_SUNX_constant_data 1
extern void (CODEGEN_FUNCPTR *_ptrc_glFinishTextureSUNX)();
extern void (CODEGEN_FUNCPTR *_ptrc_glFinishTextureSUNX)(
void
);
#define glFinishTextureSUNX _ptrc_glFinishTextureSUNX
#endif /*GL_SUNX_constant_data*/
...
...
@@ -11200,9 +11203,9 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glDrawBuffer)(GLenum);
#define glDrawBuffer _ptrc_glDrawBuffer
extern void (CODEGEN_FUNCPTR *_ptrc_glEnable)(GLenum);
#define glEnable _ptrc_glEnable
extern void (CODEGEN_FUNCPTR *_ptrc_glFinish)();
extern void (CODEGEN_FUNCPTR *_ptrc_glFinish)(
void
);
#define glFinish _ptrc_glFinish
extern void (CODEGEN_FUNCPTR *_ptrc_glFlush)();
extern void (CODEGEN_FUNCPTR *_ptrc_glFlush)(
void
);
#define glFlush _ptrc_glFlush
extern void (CODEGEN_FUNCPTR *_ptrc_glFrontFace)(GLenum);
#define glFrontFace _ptrc_glFrontFace
...
...
@@ -11210,7 +11213,7 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glGetBooleanv)(GLenum, GLboolean *);
#define glGetBooleanv _ptrc_glGetBooleanv
extern void (CODEGEN_FUNCPTR *_ptrc_glGetDoublev)(GLenum, GLdouble *);
#define glGetDoublev _ptrc_glGetDoublev
extern GLenum (CODEGEN_FUNCPTR *_ptrc_glGetError)();
extern GLenum (CODEGEN_FUNCPTR *_ptrc_glGetError)(
void
);
#define glGetError _ptrc_glGetError
extern void (CODEGEN_FUNCPTR *_ptrc_glGetFloatv)(GLenum, GLfloat *);
#define glGetFloatv _ptrc_glGetFloatv
...
...
@@ -11394,7 +11397,7 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glBlendEquationSeparate)(GLenum, GLenum);
#define glBlendEquationSeparate _ptrc_glBlendEquationSeparate
extern void (CODEGEN_FUNCPTR *_ptrc_glCompileShader)(GLuint);
#define glCompileShader _ptrc_glCompileShader
extern GLuint (CODEGEN_FUNCPTR *_ptrc_glCreateProgram)();
extern GLuint (CODEGEN_FUNCPTR *_ptrc_glCreateProgram)(
void
);
#define glCreateProgram _ptrc_glCreateProgram
extern GLuint (CODEGEN_FUNCPTR *_ptrc_glCreateShader)(GLenum);
#define glCreateShader _ptrc_glCreateShader
...
...
@@ -11628,9 +11631,9 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glDisablei)(GLenum, GLuint);
#define glDisablei _ptrc_glDisablei
extern void (CODEGEN_FUNCPTR *_ptrc_glEnablei)(GLenum, GLuint);
#define glEnablei _ptrc_glEnablei
extern void (CODEGEN_FUNCPTR *_ptrc_glEndConditionalRender)();
extern void (CODEGEN_FUNCPTR *_ptrc_glEndConditionalRender)(
void
);
#define glEndConditionalRender _ptrc_glEndConditionalRender
extern void (CODEGEN_FUNCPTR *_ptrc_glEndTransformFeedback)();
extern void (CODEGEN_FUNCPTR *_ptrc_glEndTransformFeedback)(
void
);
#define glEndTransformFeedback _ptrc_glEndTransformFeedback
extern void (CODEGEN_FUNCPTR *_ptrc_glFlushMappedBufferRange)(GLenum, GLintptr, GLsizeiptr);
#define glFlushMappedBufferRange _ptrc_glFlushMappedBufferRange
...
...
@@ -11988,9 +11991,9 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glPatchParameterfv)(GLenum, const GLfloat *)
#define glPatchParameterfv _ptrc_glPatchParameterfv
extern void (CODEGEN_FUNCPTR *_ptrc_glPatchParameteri)(GLenum, GLint);
#define glPatchParameteri _ptrc_glPatchParameteri
extern void (CODEGEN_FUNCPTR *_ptrc_glPauseTransformFeedback)();
extern void (CODEGEN_FUNCPTR *_ptrc_glPauseTransformFeedback)(
void
);
#define glPauseTransformFeedback _ptrc_glPauseTransformFeedback
extern void (CODEGEN_FUNCPTR *_ptrc_glResumeTransformFeedback)();
extern void (CODEGEN_FUNCPTR *_ptrc_glResumeTransformFeedback)(
void
);
#define glResumeTransformFeedback _ptrc_glResumeTransformFeedback
extern void (CODEGEN_FUNCPTR *_ptrc_glUniform1d)(GLint, GLdouble);
#define glUniform1d _ptrc_glUniform1d
...
...
@@ -12167,7 +12170,7 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glProgramUniformMatrix4x3dv)(GLuint, GLint,
#define glProgramUniformMatrix4x3dv _ptrc_glProgramUniformMatrix4x3dv
extern void (CODEGEN_FUNCPTR *_ptrc_glProgramUniformMatrix4x3fv)(GLuint, GLint, GLsizei, GLboolean, const GLfloat *);
#define glProgramUniformMatrix4x3fv _ptrc_glProgramUniformMatrix4x3fv
extern void (CODEGEN_FUNCPTR *_ptrc_glReleaseShaderCompiler)();
extern void (CODEGEN_FUNCPTR *_ptrc_glReleaseShaderCompiler)(
void
);
#define glReleaseShaderCompiler _ptrc_glReleaseShaderCompiler
extern void (CODEGEN_FUNCPTR *_ptrc_glScissorArrayv)(GLuint, GLsizei, const GLint *);
#define glScissorArrayv _ptrc_glScissorArrayv
...
...
@@ -12220,8 +12223,6 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glDrawTransformFeedbackStreamInstanced)(GLen
#define glDrawTransformFeedbackStreamInstanced _ptrc_glDrawTransformFeedbackStreamInstanced
extern void (CODEGEN_FUNCPTR *_ptrc_glGetActiveAtomicCounterBufferiv)(GLuint, GLuint, GLenum, GLint *);
#define glGetActiveAtomicCounterBufferiv _ptrc_glGetActiveAtomicCounterBufferiv
extern void (CODEGEN_FUNCPTR *_ptrc_glGetInternalformati64v)(GLenum, GLenum, GLenum, GLsizei, GLint64 *);
#define glGetInternalformati64v _ptrc_glGetInternalformati64v
extern void (CODEGEN_FUNCPTR *_ptrc_glMemoryBarrier)(GLbitfield);
#define glMemoryBarrier _ptrc_glMemoryBarrier
extern void (CODEGEN_FUNCPTR *_ptrc_glTexStorage1D)(GLenum, GLsizei, GLenum, GLsizei);
...
...
@@ -12255,6 +12256,8 @@ extern GLuint (CODEGEN_FUNCPTR *_ptrc_glGetDebugMessageLog)(GLuint, GLsizei, GLe
#define glGetDebugMessageLog _ptrc_glGetDebugMessageLog
extern void (CODEGEN_FUNCPTR *_ptrc_glGetFramebufferParameteriv)(GLenum, GLenum, GLint *);
#define glGetFramebufferParameteriv _ptrc_glGetFramebufferParameteriv
extern void (CODEGEN_FUNCPTR *_ptrc_glGetInternalformati64v)(GLenum, GLenum, GLenum, GLsizei, GLint64 *);
#define glGetInternalformati64v _ptrc_glGetInternalformati64v
extern void (CODEGEN_FUNCPTR *_ptrc_glGetObjectLabel)(GLenum, GLuint, GLsizei, GLsizei *, GLchar *);
#define glGetObjectLabel _ptrc_glGetObjectLabel
extern void (CODEGEN_FUNCPTR *_ptrc_glGetObjectPtrLabel)(const void *, GLsizei, GLsizei *, GLchar *);
...
...
@@ -12291,7 +12294,7 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glObjectLabel)(GLenum, GLuint, GLsizei, cons
#define glObjectLabel _ptrc_glObjectLabel
extern void (CODEGEN_FUNCPTR *_ptrc_glObjectPtrLabel)(const void *, GLsizei, const GLchar *);
#define glObjectPtrLabel _ptrc_glObjectPtrLabel
extern void (CODEGEN_FUNCPTR *_ptrc_glPopDebugGroup)();
extern void (CODEGEN_FUNCPTR *_ptrc_glPopDebugGroup)(
void
);
#define glPopDebugGroup _ptrc_glPopDebugGroup
extern void (CODEGEN_FUNCPTR *_ptrc_glPushDebugGroup)(GLenum, GLuint, GLsizei, const GLchar *);
#define glPushDebugGroup _ptrc_glPushDebugGroup
...
...
@@ -12338,17 +12341,17 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glClearTexSubImage)(GLuint, GLint, GLint, GL
enum ogl_LoadStatus
{
ogl_LOAD_FAILED = 0,
ogl_LOAD_SUCCEEDED = 1
,
ogl_LOAD_SUCCEEDED = 1
};
int ogl_LoadFunctions();
int ogl_LoadFunctions(
void
);
int ogl_GetMinorVersion();
int ogl_GetMajorVersion();
int ogl_GetMinorVersion(
void
);
int ogl_GetMajorVersion(
void
);
int ogl_IsVersionGEQ(int majorVersion, int minorVersion);
#ifdef __cplusplus
}
#endif /*__cplusplus*/
#endif /
/POINTER_C_GENERATED_HEADER_OPENGL_H
#endif /
* POINTER_C_GENERATED_HEADER_OPENGL_H */
libobs-opengl/GL/glx_obs.c
浏览文件 @
1dd39177
/* AUTOGENERATED BY glLoadGen, DO NOT EDIT */
#include <stdlib.h>
#include <string.h>
#include <stddef.h>
...
...
@@ -44,17 +45,14 @@ static PROC WinGetProcAddress(const char *name)
/* Linux, FreeBSD, other */
#ifndef IntGetProcAddress
#ifndef GLX_ARB_get_proc_address
#define GLX_ARB_get_proc_address 1
typedef
void
(
*
__GLXextFuncPtr
)(
void
);
extern
__GLXextFuncPtr
glXGetProcAddressARB
(
const
GLubyte
*
);
#endif
/* GLX_ARB_get_proc_address */
extern
void
(
*
glXGetProcAddressARB
(
const
GLubyte
*
procName
))
(
void
);
#define IntGetProcAddress(name) (*glXGetProcAddressARB)((const GLubyte*)name)
#endif
/* TODO: Need to eventually use eglGetProcAddress */
int
glx_ext_NV_copy_image
=
glx_LOAD_FAILED
;
int
glx_ext_ARB_create_context
=
glx_LOAD_FAILED
;
int
glx_ext_ARB_create_context_profile
=
glx_LOAD_FAILED
;
int
glx_ext_ARB_create_context_robustness
=
glx_LOAD_FAILED
;
...
...
@@ -68,9 +66,19 @@ int glx_ext_EXT_import_context = glx_LOAD_FAILED;
int
glx_ext_EXT_swap_control
=
glx_LOAD_FAILED
;
int
glx_ext_EXT_swap_control_tear
=
glx_LOAD_FAILED
;
void
(
CODEGEN_FUNCPTR
*
_ptrc_glXCopyImageSubDataNV
)(
Display
*
,
GLXContext
,
GLuint
,
GLenum
,
GLint
,
GLint
,
GLint
,
GLint
,
GLXContext
,
GLuint
,
GLenum
,
GLint
,
GLint
,
GLint
,
GLint
,
GLsizei
,
GLsizei
,
GLsizei
)
=
NULL
;
static
int
Load_NV_copy_image
(
void
)
{
int
numFailed
=
0
;
_ptrc_glXCopyImageSubDataNV
=
(
void
(
CODEGEN_FUNCPTR
*
)(
Display
*
,
GLXContext
,
GLuint
,
GLenum
,
GLint
,
GLint
,
GLint
,
GLint
,
GLXContext
,
GLuint
,
GLenum
,
GLint
,
GLint
,
GLint
,
GLint
,
GLsizei
,
GLsizei
,
GLsizei
))
IntGetProcAddress
(
"glXCopyImageSubDataNV"
);
if
(
!
_ptrc_glXCopyImageSubDataNV
)
numFailed
++
;
return
numFailed
;
}
GLXContext
(
CODEGEN_FUNCPTR
*
_ptrc_glXCreateContextAttribsARB
)(
Display
*
,
GLXFBConfig
,
GLXContext
,
Bool
,
const
int
*
)
=
NULL
;
static
int
Load_ARB_create_context
()
static
int
Load_ARB_create_context
(
void
)
{
int
numFailed
=
0
;
_ptrc_glXCreateContextAttribsARB
=
(
GLXContext
(
CODEGEN_FUNCPTR
*
)(
Display
*
,
GLXFBConfig
,
GLXContext
,
Bool
,
const
int
*
))
IntGetProcAddress
(
"glXCreateContextAttribsARB"
);
...
...
@@ -80,18 +88,18 @@ static int Load_ARB_create_context()
void
(
CODEGEN_FUNCPTR
*
_ptrc_glXFreeContextEXT
)(
Display
*
,
GLXContext
)
=
NULL
;
GLXContextID
(
CODEGEN_FUNCPTR
*
_ptrc_glXGetContextIDEXT
)(
const
GLXContext
)
=
NULL
;
Display
*
(
CODEGEN_FUNCPTR
*
_ptrc_glXGetCurrentDisplayEXT
)()
=
NULL
;
Display
*
(
CODEGEN_FUNCPTR
*
_ptrc_glXGetCurrentDisplayEXT
)(
void
)
=
NULL
;
GLXContext
(
CODEGEN_FUNCPTR
*
_ptrc_glXImportContextEXT
)(
Display
*
,
GLXContextID
)
=
NULL
;
int
(
CODEGEN_FUNCPTR
*
_ptrc_glXQueryContextInfoEXT
)(
Display
*
,
GLXContext
,
int
,
int
*
)
=
NULL
;
static
int
Load_EXT_import_context
()
static
int
Load_EXT_import_context
(
void
)
{
int
numFailed
=
0
;
_ptrc_glXFreeContextEXT
=
(
void
(
CODEGEN_FUNCPTR
*
)(
Display
*
,
GLXContext
))
IntGetProcAddress
(
"glXFreeContextEXT"
);
if
(
!
_ptrc_glXFreeContextEXT
)
numFailed
++
;
_ptrc_glXGetContextIDEXT
=
(
GLXContextID
(
CODEGEN_FUNCPTR
*
)(
const
GLXContext
))
IntGetProcAddress
(
"glXGetContextIDEXT"
);
if
(
!
_ptrc_glXGetContextIDEXT
)
numFailed
++
;
_ptrc_glXGetCurrentDisplayEXT
=
(
Display
*
(
CODEGEN_FUNCPTR
*
)())
IntGetProcAddress
(
"glXGetCurrentDisplayEXT"
);
_ptrc_glXGetCurrentDisplayEXT
=
(
Display
*
(
CODEGEN_FUNCPTR
*
)(
void
))
IntGetProcAddress
(
"glXGetCurrentDisplayEXT"
);
if
(
!
_ptrc_glXGetCurrentDisplayEXT
)
numFailed
++
;
_ptrc_glXImportContextEXT
=
(
GLXContext
(
CODEGEN_FUNCPTR
*
)(
Display
*
,
GLXContextID
))
IntGetProcAddress
(
"glXImportContextEXT"
);
if
(
!
_ptrc_glXImportContextEXT
)
numFailed
++
;
...
...
@@ -102,7 +110,7 @@ static int Load_EXT_import_context()
void
(
CODEGEN_FUNCPTR
*
_ptrc_glXSwapIntervalEXT
)(
Display
*
,
GLXDrawable
,
int
)
=
NULL
;
static
int
Load_EXT_swap_control
()
static
int
Load_EXT_swap_control
(
void
)
{
int
numFailed
=
0
;
_ptrc_glXSwapIntervalEXT
=
(
void
(
CODEGEN_FUNCPTR
*
)(
Display
*
,
GLXDrawable
,
int
))
IntGetProcAddress
(
"glXSwapIntervalEXT"
);
...
...
@@ -110,15 +118,16 @@ static int Load_EXT_swap_control()
return
numFailed
;
}
typedef
int
(
*
PFN_LOADFUNCPOINTERS
)();
typedef
int
(
*
PFN_LOADFUNCPOINTERS
)(
void
);
typedef
struct
glx_StrToExtMap_s
{
char
*
extensionName
;
c
onst
c
har
*
extensionName
;
int
*
extensionVariable
;
PFN_LOADFUNCPOINTERS
LoadExtension
;
}
glx_StrToExtMap
;
static
glx_StrToExtMap
ExtensionMap
[
12
]
=
{
static
glx_StrToExtMap
ExtensionMap
[
13
]
=
{
{
"GLX_NV_copy_image"
,
&
glx_ext_NV_copy_image
,
Load_NV_copy_image
},
{
"GLX_ARB_create_context"
,
&
glx_ext_ARB_create_context
,
Load_ARB_create_context
},
{
"GLX_ARB_create_context_profile"
,
&
glx_ext_ARB_create_context_profile
,
NULL
},
{
"GLX_ARB_create_context_robustness"
,
&
glx_ext_ARB_create_context_robustness
,
NULL
},
...
...
@@ -133,7 +142,7 @@ static glx_StrToExtMap ExtensionMap[12] = {
{
"GLX_EXT_swap_control_tear"
,
&
glx_ext_EXT_swap_control_tear
,
NULL
},
};
static
int
g_extensionMapSize
=
1
2
;
static
int
g_extensionMapSize
=
1
3
;
static
glx_StrToExtMap
*
FindExtEntry
(
const
char
*
extensionName
)
{
...
...
@@ -148,8 +157,9 @@ static glx_StrToExtMap *FindExtEntry(const char *extensionName)
return
NULL
;
}
static
void
ClearExtensionVars
()
static
void
ClearExtensionVars
(
void
)
{
glx_ext_NV_copy_image
=
glx_LOAD_FAILED
;
glx_ext_ARB_create_context
=
glx_LOAD_FAILED
;
glx_ext_ARB_create_context_profile
=
glx_LOAD_FAILED
;
glx_ext_ARB_create_context_robustness
=
glx_LOAD_FAILED
;
...
...
libobs-opengl/GL/glx_obs.h
浏览文件 @
1dd39177
/* AUTOGENERATED BY glLoadGen, DO NOT EDIT */
#ifndef POINTER_C_GENERATED_HEADER_GLXWIN_H
#define POINTER_C_GENERATED_HEADER_GLXWIN_H
...
...
@@ -37,6 +38,7 @@ typedef double GLclampd;
#endif
/*GL_LOAD_GEN_BASIC_OPENGL_TYPEDEFS*/
#ifndef GL_LOAD_GEN_BASIC_OPENGL_TYPEDEFS
#define GL_LOAD_GEN_BASIC_OPENGL_TYPEDEFS
...
...
@@ -117,6 +119,7 @@ typedef unsigned __int64 uint64_t;
extern
"C"
{
#endif
/*__cplusplus*/
extern
int
glx_ext_NV_copy_image
;
extern
int
glx_ext_ARB_create_context
;
extern
int
glx_ext_ARB_create_context_profile
;
extern
int
glx_ext_ARB_create_context_robustness
;
...
...
@@ -169,6 +172,12 @@ extern int glx_ext_EXT_swap_control_tear;
#define GLX_LATE_SWAPS_TEAR_EXT 0x20F3
#ifndef GLX_NV_copy_image
#define GLX_NV_copy_image 1
extern
void
(
CODEGEN_FUNCPTR
*
_ptrc_glXCopyImageSubDataNV
)(
Display
*
,
GLXContext
,
GLuint
,
GLenum
,
GLint
,
GLint
,
GLint
,
GLint
,
GLXContext
,
GLuint
,
GLenum
,
GLint
,
GLint
,
GLint
,
GLint
,
GLsizei
,
GLsizei
,
GLsizei
);
#define glXCopyImageSubDataNV _ptrc_glXCopyImageSubDataNV
#endif
/*GLX_NV_copy_image*/
#ifndef GLX_ARB_create_context
#define GLX_ARB_create_context 1
extern
GLXContext
(
CODEGEN_FUNCPTR
*
_ptrc_glXCreateContextAttribsARB
)(
Display
*
,
GLXFBConfig
,
GLXContext
,
Bool
,
const
int
*
);
...
...
@@ -189,7 +198,7 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glXFreeContextEXT)(Display *, GLXContext);
#define glXFreeContextEXT _ptrc_glXFreeContextEXT
extern
GLXContextID
(
CODEGEN_FUNCPTR
*
_ptrc_glXGetContextIDEXT
)(
const
GLXContext
);
#define glXGetContextIDEXT _ptrc_glXGetContextIDEXT
extern
Display
*
(
CODEGEN_FUNCPTR
*
_ptrc_glXGetCurrentDisplayEXT
)();
extern
Display
*
(
CODEGEN_FUNCPTR
*
_ptrc_glXGetCurrentDisplayEXT
)(
void
);
#define glXGetCurrentDisplayEXT _ptrc_glXGetCurrentDisplayEXT
extern
GLXContext
(
CODEGEN_FUNCPTR
*
_ptrc_glXImportContextEXT
)(
Display
*
,
GLXContextID
);
#define glXImportContextEXT _ptrc_glXImportContextEXT
...
...
@@ -207,7 +216,7 @@ extern void (CODEGEN_FUNCPTR *_ptrc_glXSwapIntervalEXT)(Display *, GLXDrawable,
enum
glx_LoadStatus
{
glx_LOAD_FAILED
=
0
,
glx_LOAD_SUCCEEDED
=
1
,
glx_LOAD_SUCCEEDED
=
1
};
int
glx_LoadFunctions
(
Display
*
display
,
int
screen
);
...
...
@@ -217,4 +226,4 @@ int glx_LoadFunctions(Display *display, int screen);
}
#endif
/*__cplusplus*/
#endif /
/POINTER_C_GENERATED_HEADER_GLXWIN_H
#endif
/
* POINTER_C_GENERATED_HEADER_GLXWIN_H */
libobs-opengl/GL/wgl_obs.c
浏览文件 @
1dd39177
/* AUTOGENERATED BY glLoadGen, DO NOT EDIT */
#include <stdlib.h>
#include <string.h>
#include <stddef.h>
...
...
@@ -44,17 +45,13 @@ static PROC WinGetProcAddress(const char *name)
/* Linux, FreeBSD, other */
#ifndef IntGetProcAddress
#ifndef GLX_ARB_get_proc_address
#define GLX_ARB_get_proc_address 1
typedef
void
(
*
__GLXextFuncPtr
)(
void
);
extern
__GLXextFuncPtr
glXGetProcAddressARB
(
const
GLubyte
*
);
#endif
/* GLX_ARB_get_proc_address */
extern
void
(
*
glXGetProcAddressARB
(
const
GLubyte
*
procName
))
(
void
);
#define IntGetProcAddress(name) (*glXGetProcAddressARB)((const GLubyte*)name)
#endif
/* TODO: Need to eventually use eglGetProcAddress */
int
wgl_ext_ARB_multisample
=
wgl_LOAD_FAILED
;
int
wgl_ext_ARB_extensions_string
=
wgl_LOAD_FAILED
;
int
wgl_ext_ARB_pixel_format
=
wgl_LOAD_FAILED
;
...
...
@@ -71,7 +68,7 @@ int wgl_ext_NV_swap_group = wgl_LOAD_FAILED;
const
char
*
(
CODEGEN_FUNCPTR
*
_ptrc_wglGetExtensionsStringARB
)(
HDC
)
=
NULL
;
static
int
Load_ARB_extensions_string
()
static
int
Load_ARB_extensions_string
(
void
)
{
int
numFailed
=
0
;
_ptrc_wglGetExtensionsStringARB
=
(
const
char
*
(
CODEGEN_FUNCPTR
*
)(
HDC
))
IntGetProcAddress
(
"wglGetExtensionsStringARB"
);
...
...
@@ -83,7 +80,7 @@ BOOL (CODEGEN_FUNCPTR *_ptrc_wglChoosePixelFormatARB)(HDC, const int *, const FL
BOOL
(
CODEGEN_FUNCPTR
*
_ptrc_wglGetPixelFormatAttribfvARB
)(
HDC
,
int
,
int
,
UINT
,
const
int
*
,
FLOAT
*
)
=
NULL
;
BOOL
(
CODEGEN_FUNCPTR
*
_ptrc_wglGetPixelFormatAttribivARB
)(
HDC
,
int
,
int
,
UINT
,
const
int
*
,
int
*
)
=
NULL
;
static
int
Load_ARB_pixel_format
()
static
int
Load_ARB_pixel_format
(
void
)
{
int
numFailed
=
0
;
_ptrc_wglChoosePixelFormatARB
=
(
BOOL
(
CODEGEN_FUNCPTR
*
)(
HDC
,
const
int
*
,
const
FLOAT
*
,
UINT
,
int
*
,
UINT
*
))
IntGetProcAddress
(
"wglChoosePixelFormatARB"
);
...
...
@@ -97,7 +94,7 @@ static int Load_ARB_pixel_format()
HGLRC
(
CODEGEN_FUNCPTR
*
_ptrc_wglCreateContextAttribsARB
)(
HDC
,
HGLRC
,
const
int
*
)
=
NULL
;
static
int
Load_ARB_create_context
()
static
int
Load_ARB_create_context
(
void
)
{
int
numFailed
=
0
;
_ptrc_wglCreateContextAttribsARB
=
(
HGLRC
(
CODEGEN_FUNCPTR
*
)(
HDC
,
HGLRC
,
const
int
*
))
IntGetProcAddress
(
"wglCreateContextAttribsARB"
);
...
...
@@ -105,13 +102,13 @@ static int Load_ARB_create_context()
return
numFailed
;
}
int
(
CODEGEN_FUNCPTR
*
_ptrc_wglGetSwapIntervalEXT
)()
=
NULL
;
int
(
CODEGEN_FUNCPTR
*
_ptrc_wglGetSwapIntervalEXT
)(
void
)
=
NULL
;
BOOL
(
CODEGEN_FUNCPTR
*
_ptrc_wglSwapIntervalEXT
)(
int
)
=
NULL
;
static
int
Load_EXT_swap_control
()
static
int
Load_EXT_swap_control
(
void
)
{
int
numFailed
=
0
;
_ptrc_wglGetSwapIntervalEXT
=
(
int
(
CODEGEN_FUNCPTR
*
)())
IntGetProcAddress
(
"wglGetSwapIntervalEXT"
);
_ptrc_wglGetSwapIntervalEXT
=
(
int
(
CODEGEN_FUNCPTR
*
)(
void
))
IntGetProcAddress
(
"wglGetSwapIntervalEXT"
);
if
(
!
_ptrc_wglGetSwapIntervalEXT
)
numFailed
++
;
_ptrc_wglSwapIntervalEXT
=
(
BOOL
(
CODEGEN_FUNCPTR
*
)(
int
))
IntGetProcAddress
(
"wglSwapIntervalEXT"
);
if
(
!
_ptrc_wglSwapIntervalEXT
)
numFailed
++
;
...
...
@@ -125,7 +122,7 @@ BOOL (CODEGEN_FUNCPTR *_ptrc_wglQueryMaxSwapGroupsNV)(HDC, GLuint *, GLuint *) =
BOOL
(
CODEGEN_FUNCPTR
*
_ptrc_wglQuerySwapGroupNV
)(
HDC
,
GLuint
*
,
GLuint
*
)
=
NULL
;
BOOL
(
CODEGEN_FUNCPTR
*
_ptrc_wglResetFrameCountNV
)(
HDC
)
=
NULL
;
static
int
Load_NV_swap_group
()
static
int
Load_NV_swap_group
(
void
)
{
int
numFailed
=
0
;
_ptrc_wglBindSwapBarrierNV
=
(
BOOL
(
CODEGEN_FUNCPTR
*
)(
GLuint
,
GLuint
))
IntGetProcAddress
(
"wglBindSwapBarrierNV"
);
...
...
@@ -143,10 +140,10 @@ static int Load_NV_swap_group()
return
numFailed
;
}
typedef
int
(
*
PFN_LOADFUNCPOINTERS
)();
typedef
int
(
*
PFN_LOADFUNCPOINTERS
)(
void
);
typedef
struct
wgl_StrToExtMap_s
{
char
*
extensionName
;
c
onst
c
har
*
extensionName
;
int
*
extensionVariable
;
PFN_LOADFUNCPOINTERS
LoadExtension
;
}
wgl_StrToExtMap
;
...
...
@@ -182,7 +179,7 @@ static wgl_StrToExtMap *FindExtEntry(const char *extensionName)
return
NULL
;
}
static
void
ClearExtensionVars
()
static
void
ClearExtensionVars
(
void
)
{
wgl_ext_ARB_multisample
=
wgl_LOAD_FAILED
;
wgl_ext_ARB_extensions_string
=
wgl_LOAD_FAILED
;
...
...
libobs-opengl/GL/wgl_obs.h
浏览文件 @
1dd39177
/* AUTOGENERATED BY glLoadGen, DO NOT EDIT */
#ifndef POINTER_C_GENERATED_HEADER_WINDOWSGL_H
#define POINTER_C_GENERATED_HEADER_WINDOWSGL_H
...
...
@@ -42,6 +43,7 @@ typedef double GLclampd;
#endif
/*GL_LOAD_GEN_BASIC_OPENGL_TYPEDEFS*/
#ifndef GL_LOAD_GEN_BASIC_OPENGL_TYPEDEFS
#define GL_LOAD_GEN_BASIC_OPENGL_TYPEDEFS
...
...
@@ -190,7 +192,7 @@ extern HGLRC (CODEGEN_FUNCPTR *_ptrc_wglCreateContextAttribsARB)(HDC, HGLRC, con
#ifndef WGL_EXT_swap_control
#define WGL_EXT_swap_control 1
extern
int
(
CODEGEN_FUNCPTR
*
_ptrc_wglGetSwapIntervalEXT
)();
extern
int
(
CODEGEN_FUNCPTR
*
_ptrc_wglGetSwapIntervalEXT
)(
void
);
#define wglGetSwapIntervalEXT _ptrc_wglGetSwapIntervalEXT
extern
BOOL
(
CODEGEN_FUNCPTR
*
_ptrc_wglSwapIntervalEXT
)(
int
);
#define wglSwapIntervalEXT _ptrc_wglSwapIntervalEXT
...
...
@@ -218,7 +220,7 @@ extern BOOL (CODEGEN_FUNCPTR *_ptrc_wglResetFrameCountNV)(HDC);
enum
wgl_LoadStatus
{
wgl_LOAD_FAILED
=
0
,
wgl_LOAD_SUCCEEDED
=
1
,
wgl_LOAD_SUCCEEDED
=
1
};
int
wgl_LoadFunctions
(
HDC
hdc
);
...
...
@@ -228,4 +230,4 @@ int wgl_LoadFunctions(HDC hdc);
}
#endif
/*__cplusplus*/
#endif /
/POINTER_C_GENERATED_HEADER_WINDOWSGL_H
#endif
/
* POINTER_C_GENERATED_HEADER_WINDOWSGL_H */
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录