mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-20 10:43:29 +00:00
[glstub] Add functions needed to get glsl working
Pity vulkan won't be so easy.
This commit is contained in:
parent
3351b62318
commit
8369a2206a
5 changed files with 1093 additions and 2 deletions
|
@ -416,7 +416,7 @@ QFGL_NEED (void, glVertexPointer, (GLint size, GLenum type, GLsizei stride, cons
|
|||
QFGL_NEED (void, glViewport, (GLint x, GLint y, GLsizei width, GLsizei height))
|
||||
|
||||
// ATI Extensions
|
||||
QFGL_WANT (void, glPNTrianglesiATI, (GLenum pname, GLint param))
|
||||
QFGL_WANT (void, glPNTrianglesiATI, (GLint x, GLint y))
|
||||
|
||||
#ifdef UNDEF_QFGL_DONT_NEED
|
||||
#undef QFGL_DONT_NEED
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /bin/sh
|
||||
|
||||
gcc -o GLstub.so -g -fPIC -shared -O3 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations gl_stub.c gls_norm.c gls_trace.c
|
||||
gcc -o GLstub.so -I../../include -g -fPIC -shared -O3 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations gl_stub.c gls_norm.c gls_trace.c -Wall -Werror
|
||||
#gcc -o GLstub.so -g -fPIC -shared gl_stub.c gls_norm.c gls_trace.c
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xutil.h>
|
||||
|
@ -8,6 +9,7 @@
|
|||
#include "QF/GL/defines.h"
|
||||
#include "QF/GL/extensions.h"
|
||||
#include "QF/GL/types.h"
|
||||
#include "QF/GLSL/types.h"
|
||||
|
||||
#include "QF/hash.h"
|
||||
|
||||
|
@ -28,6 +30,7 @@ ret GLAPIENTRY norm_##name args;
|
|||
#define QFGL_NEED(ret, name, args) \
|
||||
ret GLAPIENTRY norm_##name args;
|
||||
#include "QF/GL/qf_funcs_list.h"
|
||||
#include "QF/GLSL/qf_funcs_list.h"
|
||||
#undef QFGL_NEED
|
||||
#undef QFGL_WANT
|
||||
|
||||
|
@ -36,6 +39,7 @@ ret GLAPIENTRY trace_##name args;
|
|||
#define QFGL_NEED(ret, name, args) \
|
||||
ret GLAPIENTRY trace_##name args;
|
||||
#include "QF/GL/qf_funcs_list.h"
|
||||
#include "QF/GLSL/qf_funcs_list.h"
|
||||
#undef QFGL_NEED
|
||||
#undef QFGL_WANT
|
||||
|
||||
|
@ -53,6 +57,7 @@ static gl_stub_t gl_stub_funcs[] = {
|
|||
#define QFGL_NEED(ret, name, args) \
|
||||
{#name, norm_##name, trace_##name},
|
||||
#include "QF/GL/qf_funcs_list.h"
|
||||
#include "QF/GLSL/qf_funcs_list.h"
|
||||
#undef QFGL_NEED
|
||||
#undef QFGL_WANT
|
||||
};
|
||||
|
|
|
@ -5,15 +5,35 @@
|
|||
|
||||
#include "QF/GL/defines.h"
|
||||
#include "QF/GL/types.h"
|
||||
#include "QF/GLSL/types.h"
|
||||
|
||||
typedef struct __GLXcontextRec *GLXContext;
|
||||
typedef XID GLXDrawable;
|
||||
|
||||
#define QFGL_DONT_NEED(ret, func, params) QFGL_NEED(ret, func, params)
|
||||
|
||||
#undef QFGL_WANT
|
||||
#undef QFGL_NEED
|
||||
|
||||
#define QFGL_WANT(ret, name, args) \
|
||||
ret GLAPIENTRY norm_##name args;
|
||||
#define QFGL_NEED(ret, name, args) \
|
||||
ret GLAPIENTRY norm_##name args;
|
||||
#include "QF/GL/qf_funcs_list.h"
|
||||
#include "QF/GLSL/qf_funcs_list.h"
|
||||
#undef QFGL_NEED
|
||||
#undef QFGL_WANT
|
||||
|
||||
void
|
||||
norm_glAccum (GLenum op, GLfloat value)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glActiveTexture (GLenum texture)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glAlphaFunc (GLenum func, GLclampf ref)
|
||||
{
|
||||
|
@ -31,11 +51,36 @@ norm_glArrayElement (GLint i)
|
|||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glAttachShader (GLuint program, GLuint shader)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glBegin (GLenum mode)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glBindAttribLocation (GLuint program, GLuint index, const GLchar* name)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glBindBuffer (GLenum target, GLuint buffer)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glBindFramebuffer (GLenum target, GLuint framebuffer)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glBindRenderbuffer (GLenum target, GLuint renderbuffer)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glBindTexture (GLenum target, GLuint texture)
|
||||
{
|
||||
|
@ -57,11 +102,31 @@ norm_glBlendEquation (GLenum mode)
|
|||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glBlendFunc (GLenum sfactor, GLenum dfactor)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glBufferData (GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glCallList (GLuint list)
|
||||
{
|
||||
|
@ -72,6 +137,443 @@ norm_glCallLists (GLsizei n, GLenum type, const GLvoid * lists)
|
|||
{
|
||||
}
|
||||
|
||||
GLenum
|
||||
norm_glCheckFramebufferStatus (GLenum target)
|
||||
{
|
||||
return 0x8CD5;
|
||||
}
|
||||
|
||||
void
|
||||
norm_glClearDepthf (GLclampf depth)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glCompileShader (GLuint shader)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data)
|
||||
{
|
||||
}
|
||||
|
||||
GLuint
|
||||
norm_glCreateProgram (void)
|
||||
{
|
||||
static int program;
|
||||
return ++program;
|
||||
}
|
||||
|
||||
GLuint
|
||||
norm_glCreateShader (GLenum type)
|
||||
{
|
||||
static int shader;
|
||||
return ++shader;
|
||||
}
|
||||
|
||||
void
|
||||
norm_glDeleteBuffers (GLsizei n, const GLuint* buffers)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glDeleteFramebuffers (GLsizei n, const GLuint* framebuffers)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glDeleteProgram (GLuint program)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glDeleteRenderbuffers (GLsizei n, const GLuint* renderbuffers)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glDeleteShader (GLuint shader)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glDepthRangef (GLclampf zNear, GLclampf zFar)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glDetachShader (GLuint program, GLuint shader)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glDisableVertexAttribArray (GLuint index)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glEnableVertexAttribArray (GLuint index)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glGenBuffers (GLsizei n, GLuint* buffers)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glGenFramebuffers (GLsizei n, GLuint* framebuffers)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glGenRenderbuffers (GLsizei n, GLuint* renderbuffers)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glGenerateMipmap (GLenum target)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glGetActiveUniform (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glGetAttachedShaders (GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders)
|
||||
{
|
||||
}
|
||||
|
||||
int
|
||||
norm_glGetAttribLocation (GLuint program, const GLchar* name)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
norm_glGetBufferParameteriv (GLenum target, GLenum pname, GLint* params)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint* params)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glGetProgramInfoLog (GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glGetProgramiv (GLuint program, GLenum pname, GLint* params)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glGetRenderbufferParameteriv (GLuint shader, GLenum pname, GLint* params)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glGetShaderInfoLog (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glGetShaderSource (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glGetShaderiv (GLuint shader, GLenum pname, GLint* params)
|
||||
{
|
||||
}
|
||||
|
||||
int
|
||||
norm_glGetUniformLocation (GLuint program, const GLchar* name)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
norm_glGetUniformfv (GLuint program, GLint location, GLfloat* params)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glGetUniformiv (GLuint program, GLint location, GLint* params)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glGetVertexAttribPointerv (GLuint index, GLenum pname, GLvoid** pointer)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat* params)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glGetVertexAttribiv (GLuint index, GLenum pname, GLint* params)
|
||||
{
|
||||
}
|
||||
|
||||
GLboolean
|
||||
norm_glIsBuffer (GLuint buffer)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
GLboolean
|
||||
norm_glIsFramebuffer (GLuint framebuffer)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
GLboolean
|
||||
norm_glIsProgram (GLuint program)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
GLboolean
|
||||
norm_glIsRenderbuffer (GLuint renderbuffer)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
GLboolean
|
||||
norm_glIsShader (GLuint shader)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
norm_glLinkProgram (GLuint program)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glReleaseShaderCompiler (void)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glSampleCoverage (GLclampf value, GLboolean invert)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glShaderBinary (GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glShaderSource (GLuint shader, GLsizei count, const GLchar** string, const GLint* length)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glStencilMaskSeparate (GLenum face, GLuint mask)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glStencilOpSeparate (GLenum face, GLenum fail, GLenum zfail, GLenum zpass)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glUniform1f (GLint location, GLfloat x)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glUniform1fv (GLint location, GLsizei count, const GLfloat* v)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glUniform1i (GLint location, GLint x)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glUniform1iv (GLint location, GLsizei count, const GLint* v)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glUniform2f (GLint location, GLfloat x, GLfloat y)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glUniform2fv (GLint location, GLsizei count, const GLfloat* v)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glUniform2i (GLint location, GLint x, GLint y)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glUniform2iv (GLint location, GLsizei count, const GLint* v)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glUniform3f (GLint location, GLfloat x, GLfloat y, GLfloat z)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glUniform3fv (GLint location, GLsizei count, const GLfloat* v)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glUniform3i (GLint location, GLint x, GLint y, GLint z)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glUniform3iv (GLint location, GLsizei count, const GLint* v)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glUniform4f (GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glUniform4fv (GLint location, GLsizei count, const GLfloat* v)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glUniform4i (GLint location, GLint x, GLint y, GLint z, GLint w)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glUniform4iv (GLint location, GLsizei count, const GLint* v)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glUseProgram (GLuint program)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glValidateProgram (GLuint program)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glVertexAttrib1f (GLuint indx, GLfloat x)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glVertexAttrib1fv (GLuint indx, const GLfloat* values)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glVertexAttrib2f (GLuint indx, GLfloat x, GLfloat y)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glVertexAttrib2fv (GLuint indx, const GLfloat* values)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glVertexAttrib3f (GLuint indx, GLfloat x, GLfloat y, GLfloat z)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glVertexAttrib3fv (GLuint indx, const GLfloat* values)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glVertexAttrib4f (GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glVertexAttrib4fv (GLuint indx, const GLfloat* values)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glVertexAttribPointer (GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
norm_glClear (GLbitfield mask)
|
||||
{
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include "QF/GL/defines.h"
|
||||
#include "QF/GL/types.h"
|
||||
#include "QF/GLSL/types.h"
|
||||
|
||||
typedef struct __GLXcontextRec *GLXContext;
|
||||
typedef XID GLXDrawable;
|
||||
|
@ -19,6 +20,12 @@ trace_glAccum (GLenum op, GLfloat value)
|
|||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glActiveTexture (GLenum texture)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glAlphaFunc (GLenum func, GLclampf ref)
|
||||
{
|
||||
|
@ -39,12 +46,42 @@ trace_glArrayElement (GLint i)
|
|||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glAttachShader (GLuint program, GLuint shader)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glBegin (GLenum mode)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glBindAttribLocation (GLuint program, GLuint index, const GLchar* name)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glBindBuffer (GLenum target, GLuint buffer)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glBindFramebuffer (GLenum target, GLuint framebuffer)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glBindRenderbuffer (GLenum target, GLuint renderbuffer)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glBindTexture (GLenum target, GLuint texture)
|
||||
{
|
||||
|
@ -70,12 +107,36 @@ trace_glBlendEquation (GLenum mode)
|
|||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glBlendFunc (GLenum sfactor, GLenum dfactor)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glBlendFuncSeparate (GLenum sfactor, GLenum dfactor)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glBufferData (GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glCallList (GLuint list)
|
||||
{
|
||||
|
@ -88,6 +149,528 @@ trace_glCallLists (GLsizei n, GLenum type, const GLvoid * lists)
|
|||
TRACE;
|
||||
}
|
||||
|
||||
GLenum
|
||||
trace_glCheckFramebufferStatus (GLenum target)
|
||||
{
|
||||
TRACE;
|
||||
return 0x8CD5;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glClearDepthf (GLclampf depth)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glCompileShader (GLuint shader)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
GLuint
|
||||
trace_glCreateProgram (void)
|
||||
{
|
||||
static int program;
|
||||
TRACE;
|
||||
return ++program;
|
||||
}
|
||||
|
||||
GLuint
|
||||
trace_glCreateShader (GLenum type)
|
||||
{
|
||||
static int shader;
|
||||
TRACE;
|
||||
return ++shader;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glDeleteBuffers (GLsizei n, const GLuint* buffers)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glDeleteFramebuffers (GLsizei n, const GLuint* framebuffers)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glDeleteProgram (GLuint program)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glDeleteRenderbuffers (GLsizei n, const GLuint* renderbuffers)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glDeleteShader (GLuint shader)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glDepthRangef (GLclampf zNear, GLclampf zFar)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glDetachShader (GLuint program, GLuint shader)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glDisableVertexAttribArray (GLuint index)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glEnableVertexAttribArray (GLuint index)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glGenBuffers (GLsizei n, GLuint* buffers)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glGenFramebuffers (GLsizei n, GLuint* framebuffers)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glGenRenderbuffers (GLsizei n, GLuint* renderbuffers)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glGenerateMipmap (GLenum target)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glGetActiveUniform (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glGetAttachedShaders (GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
int
|
||||
trace_glGetAttribLocation (GLuint program, const GLchar* name)
|
||||
{
|
||||
TRACE;
|
||||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glGetBufferParameteriv (GLenum target, GLenum pname, GLint* params)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint* params)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glGetProgramInfoLog (GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glGetProgramiv (GLuint program, GLenum pname, GLint* params)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glGetRenderbufferParameteriv (GLuint shader, GLenum pname, GLint* params)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glGetShaderInfoLog (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glGetShaderSource (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glGetShaderiv (GLuint shader, GLenum pname, GLint* params)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
int
|
||||
trace_glGetUniformLocation (GLuint program, const GLchar* name)
|
||||
{
|
||||
TRACE;
|
||||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glGetUniformfv (GLuint program, GLint location, GLfloat* params)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glGetUniformiv (GLuint program, GLint location, GLint* params)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glGetVertexAttribPointerv (GLuint index, GLenum pname, GLvoid** pointer)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat* params)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glGetVertexAttribiv (GLuint index, GLenum pname, GLint* params)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
GLboolean
|
||||
trace_glIsBuffer (GLuint buffer)
|
||||
{
|
||||
TRACE;
|
||||
return 0;
|
||||
}
|
||||
|
||||
GLboolean
|
||||
trace_glIsFramebuffer (GLuint framebuffer)
|
||||
{
|
||||
TRACE;
|
||||
return 0;
|
||||
}
|
||||
|
||||
GLboolean
|
||||
trace_glIsProgram (GLuint program)
|
||||
{
|
||||
TRACE;
|
||||
return 0;
|
||||
}
|
||||
|
||||
GLboolean
|
||||
trace_glIsRenderbuffer (GLuint renderbuffer)
|
||||
{
|
||||
TRACE;
|
||||
return 0;
|
||||
}
|
||||
|
||||
GLboolean
|
||||
trace_glIsShader (GLuint shader)
|
||||
{
|
||||
TRACE;
|
||||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glLinkProgram (GLuint program)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glReleaseShaderCompiler (void)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glSampleCoverage (GLclampf value, GLboolean invert)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glShaderBinary (GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glShaderSource (GLuint shader, GLsizei count, const GLchar** string, const GLint* length)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glStencilMaskSeparate (GLenum face, GLuint mask)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glStencilOpSeparate (GLenum face, GLenum fail, GLenum zfail, GLenum zpass)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glUniform1f (GLint location, GLfloat x)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glUniform1fv (GLint location, GLsizei count, const GLfloat* v)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glUniform1i (GLint location, GLint x)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glUniform1iv (GLint location, GLsizei count, const GLint* v)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glUniform2f (GLint location, GLfloat x, GLfloat y)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glUniform2fv (GLint location, GLsizei count, const GLfloat* v)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glUniform2i (GLint location, GLint x, GLint y)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glUniform2iv (GLint location, GLsizei count, const GLint* v)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glUniform3f (GLint location, GLfloat x, GLfloat y, GLfloat z)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glUniform3fv (GLint location, GLsizei count, const GLfloat* v)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glUniform3i (GLint location, GLint x, GLint y, GLint z)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glUniform3iv (GLint location, GLsizei count, const GLint* v)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glUniform4f (GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glUniform4fv (GLint location, GLsizei count, const GLfloat* v)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glUniform4i (GLint location, GLint x, GLint y, GLint z, GLint w)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glUniform4iv (GLint location, GLsizei count, const GLint* v)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glUseProgram (GLuint program)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glValidateProgram (GLuint program)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glVertexAttrib1f (GLuint indx, GLfloat x)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glVertexAttrib1fv (GLuint indx, const GLfloat* values)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glVertexAttrib2f (GLuint indx, GLfloat x, GLfloat y)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glVertexAttrib2fv (GLuint indx, const GLfloat* values)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glVertexAttrib3f (GLuint indx, GLfloat x, GLfloat y, GLfloat z)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glVertexAttrib3fv (GLuint indx, const GLfloat* values)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glVertexAttrib4f (GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glVertexAttrib4fv (GLuint indx, const GLfloat* values)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glVertexAttribPointer (GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
||||
void
|
||||
trace_glClear (GLbitfield mask)
|
||||
{
|
||||
|
@ -2341,4 +2924,5 @@ trace_glViewport (GLint x, GLint y, GLsizei width, GLsizei height)
|
|||
void
|
||||
trace_glPNTrianglesiATI (GLint x, GLint y)
|
||||
{
|
||||
TRACE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue