mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-29 23:51:49 +00:00
dc42bdc873
by injecting code to do it into fragment shaders. Can be disabled with r_gammaInShaders 0 refs #385
402 lines
24 KiB
C++
402 lines
24 KiB
C++
/*
|
|
===========================================================================
|
|
|
|
Doom 3 GPL Source Code
|
|
Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
|
|
|
|
This file is part of the Doom 3 GPL Source Code ("Doom 3 Source Code").
|
|
|
|
Doom 3 Source Code is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
Doom 3 Source Code is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with Doom 3 Source Code. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
In addition, the Doom 3 Source Code is also subject to certain additional terms. You should have received a copy of these additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Doom 3 Source Code. If not, please request a copy in writing from id Software at the address below.
|
|
|
|
If you have questions concerning this license or the applicable additional terms, you may contact in writing id Software LLC, c/o ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA.
|
|
|
|
===========================================================================
|
|
*/
|
|
#include "sys/platform.h"
|
|
|
|
#include "renderer/tr_local.h"
|
|
|
|
#ifdef _MSC_VER
|
|
#pragma warning(push)
|
|
// for each gl function we get an inconsistent dll linkage warning, because SDL_OpenGL.h says they're dllimport
|
|
// showing one warning is enough and it doesn't matter anyway (these stubs are for the dedicated server)
|
|
#pragma warning( once : 4273 )
|
|
#endif
|
|
|
|
void APIENTRY glAccum(GLenum op, GLfloat value){};
|
|
void APIENTRY glAlphaFunc(GLenum func, GLclampf ref){};
|
|
GLboolean APIENTRY glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences){ return false; };
|
|
void APIENTRY glArrayElement(GLint i){};
|
|
void APIENTRY glBegin(GLenum mode){};
|
|
void APIENTRY glBindTexture(GLenum target, GLuint texture){};
|
|
void APIENTRY glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap){};
|
|
void APIENTRY glBlendFunc(GLenum sfactor, GLenum dfactor){};
|
|
void APIENTRY glCallList(GLuint list){};
|
|
void APIENTRY glCallLists(GLsizei n, GLenum type, const GLvoid *lists){};
|
|
void APIENTRY glClear(GLbitfield mask){};
|
|
void APIENTRY glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha){};
|
|
void APIENTRY glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha){};
|
|
void APIENTRY glClearDepth(GLclampd depth){};
|
|
void APIENTRY glClearIndex(GLfloat c){};
|
|
void APIENTRY glClearStencil(GLint s){};
|
|
void APIENTRY glClipPlane(GLenum plane, const GLdouble *equation){};
|
|
void APIENTRY glColor3b(GLbyte red, GLbyte green, GLbyte blue){};
|
|
void APIENTRY glColor3bv(const GLbyte *v){};
|
|
void APIENTRY glColor3d(GLdouble red, GLdouble green, GLdouble blue){};
|
|
void APIENTRY glColor3dv(const GLdouble *v){};
|
|
void APIENTRY glColor3f(GLfloat red, GLfloat green, GLfloat blue){};
|
|
void APIENTRY glColor3fv(const GLfloat *v){};
|
|
void APIENTRY glColor3i(GLint red, GLint green, GLint blue){};
|
|
void APIENTRY glColor3iv(const GLint *v){};
|
|
void APIENTRY glColor3s(GLshort red, GLshort green, GLshort blue){};
|
|
void APIENTRY glColor3sv(const GLshort *v){};
|
|
void APIENTRY glColor3ub(GLubyte red, GLubyte green, GLubyte blue){};
|
|
void APIENTRY glColor3ubv(const GLubyte *v){};
|
|
void APIENTRY glColor3ui(GLuint red, GLuint green, GLuint blue){};
|
|
void APIENTRY glColor3uiv(const GLuint *v){};
|
|
void APIENTRY glColor3us(GLushort red, GLushort green, GLushort blue){};
|
|
void APIENTRY glColor3usv(const GLushort *v){};
|
|
void APIENTRY glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha){};
|
|
void APIENTRY glColor4bv(const GLbyte *v){};
|
|
void APIENTRY glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha){};
|
|
void APIENTRY glColor4dv(const GLdouble *v){};
|
|
void APIENTRY glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha){};
|
|
void APIENTRY glColor4fv(const GLfloat *v){};
|
|
void APIENTRY glColor4i(GLint red, GLint green, GLint blue, GLint alpha){};
|
|
void APIENTRY glColor4iv(const GLint *v){};
|
|
void APIENTRY glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha){};
|
|
void APIENTRY glColor4sv(const GLshort *v){};
|
|
void APIENTRY glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha){};
|
|
void APIENTRY glColor4ubv(const GLubyte *v){};
|
|
void APIENTRY glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha){};
|
|
void APIENTRY glColor4uiv(const GLuint *v){};
|
|
void APIENTRY glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha){};
|
|
void APIENTRY glColor4usv(const GLushort *v){};
|
|
void APIENTRY glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha){};
|
|
void APIENTRY glColorMaterial(GLenum face, GLenum mode){};
|
|
void APIENTRY glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer){};
|
|
void APIENTRY glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type){};
|
|
void APIENTRY glCopyTexImage1D(GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border){};
|
|
void APIENTRY glCopyTexImage2D(GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border){};
|
|
void APIENTRY glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width){};
|
|
void APIENTRY glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height){};
|
|
void APIENTRY glCullFace(GLenum mode){};
|
|
void APIENTRY glDeleteLists(GLuint list, GLsizei range){};
|
|
void APIENTRY glDeleteTextures(GLsizei n, const GLuint *textures){};
|
|
void APIENTRY glDepthFunc(GLenum func){};
|
|
void APIENTRY glDepthMask(GLboolean flag){};
|
|
void APIENTRY glDepthRange(GLclampd zNear, GLclampd zFar){};
|
|
void APIENTRY glDisable(GLenum cap){};
|
|
void APIENTRY glDisableClientState(GLenum array){};
|
|
void APIENTRY glDrawArrays(GLenum mode, GLint first, GLsizei count){};
|
|
void APIENTRY glDrawBuffer(GLenum mode){};
|
|
void APIENTRY glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices){};
|
|
void APIENTRY glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels){};
|
|
void APIENTRY glEdgeFlag(GLboolean flag){};
|
|
void APIENTRY glEdgeFlagPointer(GLsizei stride, const GLvoid *pointer){};
|
|
void APIENTRY glEdgeFlagv(const GLboolean *flag){};
|
|
void APIENTRY glEnable(GLenum cap){};
|
|
void APIENTRY glEnableClientState(GLenum array){};
|
|
void APIENTRY glEnd(void){};
|
|
void APIENTRY glEndList(void){};
|
|
void APIENTRY glEvalCoord1d(GLdouble u){};
|
|
void APIENTRY glEvalCoord1dv(const GLdouble *u){};
|
|
void APIENTRY glEvalCoord1f(GLfloat u){};
|
|
void APIENTRY glEvalCoord1fv(const GLfloat *u){};
|
|
void APIENTRY glEvalCoord2d(GLdouble u, GLdouble v){};
|
|
void APIENTRY glEvalCoord2dv(const GLdouble *u){};
|
|
void APIENTRY glEvalCoord2f(GLfloat u, GLfloat v){};
|
|
void APIENTRY glEvalCoord2fv(const GLfloat *u){};
|
|
void APIENTRY glEvalMesh1(GLenum mode, GLint i1, GLint i2){};
|
|
void APIENTRY glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2){};
|
|
void APIENTRY glEvalPoint1(GLint i){};
|
|
void APIENTRY glEvalPoint2(GLint i, GLint j){};
|
|
void APIENTRY glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer){};
|
|
void APIENTRY glFinish(void){};
|
|
void APIENTRY glFlush(void){};
|
|
void APIENTRY glFogf(GLenum pname, GLfloat param){};
|
|
void APIENTRY glFogfv(GLenum pname, const GLfloat *params){};
|
|
void APIENTRY glFogi(GLenum pname, GLint param){};
|
|
void APIENTRY glFogiv(GLenum pname, const GLint *params){};
|
|
void APIENTRY glFrontFace(GLenum mode){};
|
|
void APIENTRY glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar){};
|
|
GLuint APIENTRY glGenLists(GLsizei range){return 0;};
|
|
void APIENTRY glGenTextures(GLsizei n, GLuint *textures){};
|
|
void APIENTRY glGetBooleanv(GLenum pname, GLboolean *params){};
|
|
void APIENTRY glGetClipPlane(GLenum plane, GLdouble *equation){};
|
|
void APIENTRY glGetDoublev(GLenum pname, GLdouble *params){};
|
|
GLenum APIENTRY glGetError(void){return 0;};
|
|
void APIENTRY glGetFloatv(GLenum pname, GLfloat *params){};
|
|
void APIENTRY glGetIntegerv(GLenum pname, GLint *params){
|
|
switch( pname ) {
|
|
case GL_MAX_TEXTURE_SIZE: *params = 1024; break;
|
|
case GL_MAX_TEXTURE_UNITS_ARB: *params = 2; break;
|
|
default: *params = 0; break;
|
|
}
|
|
};
|
|
void APIENTRY glGetLightfv(GLenum light, GLenum pname, GLfloat *params){};
|
|
void APIENTRY glGetLightiv(GLenum light, GLenum pname, GLint *params){};
|
|
void APIENTRY glGetMapdv(GLenum target, GLenum query, GLdouble *v){};
|
|
void APIENTRY glGetMapfv(GLenum target, GLenum query, GLfloat *v){};
|
|
void APIENTRY glGetMapiv(GLenum target, GLenum query, GLint *v){};
|
|
void APIENTRY glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params){};
|
|
void APIENTRY glGetMaterialiv(GLenum face, GLenum pname, GLint *params){};
|
|
void APIENTRY glGetPixelMapfv(GLenum map, GLfloat *values){};
|
|
void APIENTRY glGetPixelMapuiv(GLenum map, GLuint *values){};
|
|
void APIENTRY glGetPixelMapusv(GLenum map, GLushort *values){};
|
|
void APIENTRY glGetPointerv(GLenum pname, GLvoid* *params){};
|
|
void APIENTRY glGetPolygonStipple(GLubyte *mask){};
|
|
const GLubyte * APIENTRY glGetString(GLenum name){
|
|
switch( name ) {
|
|
case GL_EXTENSIONS: return (GLubyte *)"GL_ARB_multitexture GL_ARB_texture_env_combine GL_ARB_texture_cube_map GL_ARB_texture_env_dot3";
|
|
}
|
|
return (const GLubyte *)"";
|
|
};
|
|
void APIENTRY glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params){};
|
|
void APIENTRY glGetTexEnviv(GLenum target, GLenum pname, GLint *params){};
|
|
void APIENTRY glGetTexGendv(GLenum coord, GLenum pname, GLdouble *params){};
|
|
void APIENTRY glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *params){};
|
|
void APIENTRY glGetTexGeniv(GLenum coord, GLenum pname, GLint *params){};
|
|
void APIENTRY glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels){};
|
|
void APIENTRY glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params){};
|
|
void APIENTRY glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params){};
|
|
void APIENTRY glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params){};
|
|
void APIENTRY glGetTexParameteriv(GLenum target, GLenum pname, GLint *params){};
|
|
void APIENTRY glHint(GLenum target, GLenum mode){};
|
|
void APIENTRY glIndexMask(GLuint mask){};
|
|
void APIENTRY glIndexPointer(GLenum type, GLsizei stride, const GLvoid *pointer){};
|
|
void APIENTRY glIndexd(GLdouble c){};
|
|
void APIENTRY glIndexdv(const GLdouble *c){};
|
|
void APIENTRY glIndexf(GLfloat c){};
|
|
void APIENTRY glIndexfv(const GLfloat *c){};
|
|
void APIENTRY glIndexi(GLint c){};
|
|
void APIENTRY glIndexiv(const GLint *c){};
|
|
void APIENTRY glIndexs(GLshort c){};
|
|
void APIENTRY glIndexsv(const GLshort *c){};
|
|
void APIENTRY glIndexub(GLubyte c){};
|
|
void APIENTRY glIndexubv(const GLubyte *c){};
|
|
void APIENTRY glInitNames(void){};
|
|
void APIENTRY glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer){};
|
|
GLboolean APIENTRY glIsEnabled(GLenum cap){ return false; };
|
|
GLboolean APIENTRY glIsList(GLuint list){ return false; };
|
|
GLboolean APIENTRY glIsTexture(GLuint texture){ return false; };
|
|
void APIENTRY glLightModelf(GLenum pname, GLfloat param){};
|
|
void APIENTRY glLightModelfv(GLenum pname, const GLfloat *params){};
|
|
void APIENTRY glLightModeli(GLenum pname, GLint param){};
|
|
void APIENTRY glLightModeliv(GLenum pname, const GLint *params){};
|
|
void APIENTRY glLightf(GLenum light, GLenum pname, GLfloat param){};
|
|
void APIENTRY glLightfv(GLenum light, GLenum pname, const GLfloat *params){};
|
|
void APIENTRY glLighti(GLenum light, GLenum pname, GLint param){};
|
|
void APIENTRY glLightiv(GLenum light, GLenum pname, const GLint *params){};
|
|
void APIENTRY glLineStipple(GLint factor, GLushort pattern){};
|
|
void APIENTRY glLineWidth(GLfloat width){};
|
|
void APIENTRY glListBase(GLuint base){};
|
|
void APIENTRY glLoadIdentity(void){};
|
|
void APIENTRY glLoadMatrixd(const GLdouble *m){};
|
|
void APIENTRY glLoadMatrixf(const GLfloat *m){};
|
|
void APIENTRY glLoadName(GLuint name){};
|
|
void APIENTRY glLogicOp(GLenum opcode){};
|
|
void APIENTRY glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points){};
|
|
void APIENTRY glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points){};
|
|
void APIENTRY glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points){};
|
|
void APIENTRY glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points){};
|
|
void APIENTRY glMapGrid1d(GLint un, GLdouble u1, GLdouble u2){};
|
|
void APIENTRY glMapGrid1f(GLint un, GLfloat u1, GLfloat u2){};
|
|
void APIENTRY glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2){};
|
|
void APIENTRY glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2){};
|
|
void APIENTRY glMaterialf(GLenum face, GLenum pname, GLfloat param){};
|
|
void APIENTRY glMaterialfv(GLenum face, GLenum pname, const GLfloat *params){};
|
|
void APIENTRY glMateriali(GLenum face, GLenum pname, GLint param){};
|
|
void APIENTRY glMaterialiv(GLenum face, GLenum pname, const GLint *params){};
|
|
void APIENTRY glMatrixMode(GLenum mode){};
|
|
void APIENTRY glMultMatrixd(const GLdouble *m){};
|
|
void APIENTRY glMultMatrixf(const GLfloat *m){};
|
|
void APIENTRY glNewList(GLuint list, GLenum mode){};
|
|
void APIENTRY glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz){};
|
|
void APIENTRY glNormal3bv(const GLbyte *v){};
|
|
void APIENTRY glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz){};
|
|
void APIENTRY glNormal3dv(const GLdouble *v){};
|
|
void APIENTRY glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz){};
|
|
void APIENTRY glNormal3fv(const GLfloat *v){};
|
|
void APIENTRY glNormal3i(GLint nx, GLint ny, GLint nz){};
|
|
void APIENTRY glNormal3iv(const GLint *v){};
|
|
void APIENTRY glNormal3s(GLshort nx, GLshort ny, GLshort nz){};
|
|
void APIENTRY glNormal3sv(const GLshort *v){};
|
|
void APIENTRY glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer){};
|
|
void APIENTRY glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar){};
|
|
void APIENTRY glPassThrough(GLfloat token){};
|
|
void APIENTRY glPixelMapfv(GLenum map, GLsizei mapsize, const GLfloat *values){};
|
|
void APIENTRY glPixelMapuiv(GLenum map, GLsizei mapsize, const GLuint *values){};
|
|
void APIENTRY glPixelMapusv(GLenum map, GLsizei mapsize, const GLushort *values){};
|
|
void APIENTRY glPixelStoref(GLenum pname, GLfloat param){};
|
|
void APIENTRY glPixelStorei(GLenum pname, GLint param){};
|
|
void APIENTRY glPixelTransferf(GLenum pname, GLfloat param){};
|
|
void APIENTRY glPixelTransferi(GLenum pname, GLint param){};
|
|
void APIENTRY glPixelZoom(GLfloat xfactor, GLfloat yfactor){};
|
|
void APIENTRY glPointSize(GLfloat size){};
|
|
void APIENTRY glPolygonMode(GLenum face, GLenum mode){};
|
|
void APIENTRY glPolygonOffset(GLfloat factor, GLfloat units){};
|
|
void APIENTRY glPolygonStipple(const GLubyte *mask){};
|
|
void APIENTRY glPopAttrib(void){};
|
|
void APIENTRY glPopClientAttrib(void){};
|
|
void APIENTRY glPopMatrix(void){};
|
|
void APIENTRY glPopName(void){};
|
|
void APIENTRY glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLclampf *priorities){};
|
|
void APIENTRY glPushAttrib(GLbitfield mask){};
|
|
void APIENTRY glPushClientAttrib(GLbitfield mask){};
|
|
void APIENTRY glPushMatrix(void){};
|
|
void APIENTRY glPushName(GLuint name){};
|
|
void APIENTRY glRasterPos2d(GLdouble x, GLdouble y){};
|
|
void APIENTRY glRasterPos2dv(const GLdouble *v){};
|
|
void APIENTRY glRasterPos2f(GLfloat x, GLfloat y){};
|
|
void APIENTRY glRasterPos2fv(const GLfloat *v){};
|
|
void APIENTRY glRasterPos2i(GLint x, GLint y){};
|
|
void APIENTRY glRasterPos2iv(const GLint *v){};
|
|
void APIENTRY glRasterPos2s(GLshort x, GLshort y){};
|
|
void APIENTRY glRasterPos2sv(const GLshort *v){};
|
|
void APIENTRY glRasterPos3d(GLdouble x, GLdouble y, GLdouble z){};
|
|
void APIENTRY glRasterPos3dv(const GLdouble *v){};
|
|
void APIENTRY glRasterPos3f(GLfloat x, GLfloat y, GLfloat z){};
|
|
void APIENTRY glRasterPos3fv(const GLfloat *v){};
|
|
void APIENTRY glRasterPos3i(GLint x, GLint y, GLint z){};
|
|
void APIENTRY glRasterPos3iv(const GLint *v){};
|
|
void APIENTRY glRasterPos3s(GLshort x, GLshort y, GLshort z){};
|
|
void APIENTRY glRasterPos3sv(const GLshort *v){};
|
|
void APIENTRY glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w){};
|
|
void APIENTRY glRasterPos4dv(const GLdouble *v){};
|
|
void APIENTRY glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w){};
|
|
void APIENTRY glRasterPos4fv(const GLfloat *v){};
|
|
void APIENTRY glRasterPos4i(GLint x, GLint y, GLint z, GLint w){};
|
|
void APIENTRY glRasterPos4iv(const GLint *v){};
|
|
void APIENTRY glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w){};
|
|
void APIENTRY glRasterPos4sv(const GLshort *v){};
|
|
void APIENTRY glReadBuffer(GLenum mode){};
|
|
void APIENTRY glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels){};
|
|
void APIENTRY glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2){};
|
|
void APIENTRY glRectdv(const GLdouble *v1, const GLdouble *v2){};
|
|
void APIENTRY glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2){};
|
|
void APIENTRY glRectfv(const GLfloat *v1, const GLfloat *v2){};
|
|
void APIENTRY glRecti(GLint x1, GLint y1, GLint x2, GLint y2){};
|
|
void APIENTRY glRectiv(const GLint *v1, const GLint *v2){};
|
|
void APIENTRY glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2){};
|
|
void APIENTRY glRectsv(const GLshort *v1, const GLshort *v2){};
|
|
GLint APIENTRY glRenderMode(GLenum mode){ return 0; };
|
|
void APIENTRY glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z){};
|
|
void APIENTRY glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z){};
|
|
void APIENTRY glScaled(GLdouble x, GLdouble y, GLdouble z){};
|
|
void APIENTRY glScalef(GLfloat x, GLfloat y, GLfloat z){};
|
|
void APIENTRY glScissor(GLint x, GLint y, GLsizei width, GLsizei height){};
|
|
void APIENTRY glSelectBuffer(GLsizei size, GLuint *buffer){};
|
|
void APIENTRY glShadeModel(GLenum mode){};
|
|
void APIENTRY glStencilFunc(GLenum func, GLint ref, GLuint mask){};
|
|
void APIENTRY glStencilMask(GLuint mask){};
|
|
void APIENTRY glStencilOp(GLenum fail, GLenum zfail, GLenum zpass){};
|
|
void APIENTRY glTexCoord1d(GLdouble s){};
|
|
void APIENTRY glTexCoord1dv(const GLdouble *v){};
|
|
void APIENTRY glTexCoord1f(GLfloat s){};
|
|
void APIENTRY glTexCoord1fv(const GLfloat *v){};
|
|
void APIENTRY glTexCoord1i(GLint s){};
|
|
void APIENTRY glTexCoord1iv(const GLint *v){};
|
|
void APIENTRY glTexCoord1s(GLshort s){};
|
|
void APIENTRY glTexCoord1sv(const GLshort *v){};
|
|
void APIENTRY glTexCoord2d(GLdouble s, GLdouble t){};
|
|
void APIENTRY glTexCoord2dv(const GLdouble *v){};
|
|
void APIENTRY glTexCoord2f(GLfloat s, GLfloat t){};
|
|
void APIENTRY glTexCoord2fv(const GLfloat *v){};
|
|
void APIENTRY glTexCoord2i(GLint s, GLint t){};
|
|
void APIENTRY glTexCoord2iv(const GLint *v){};
|
|
void APIENTRY glTexCoord2s(GLshort s, GLshort t){};
|
|
void APIENTRY glTexCoord2sv(const GLshort *v){};
|
|
void APIENTRY glTexCoord3d(GLdouble s, GLdouble t, GLdouble r){};
|
|
void APIENTRY glTexCoord3dv(const GLdouble *v){};
|
|
void APIENTRY glTexCoord3f(GLfloat s, GLfloat t, GLfloat r){};
|
|
void APIENTRY glTexCoord3fv(const GLfloat *v){};
|
|
void APIENTRY glTexCoord3i(GLint s, GLint t, GLint r){};
|
|
void APIENTRY glTexCoord3iv(const GLint *v){};
|
|
void APIENTRY glTexCoord3s(GLshort s, GLshort t, GLshort r){};
|
|
void APIENTRY glTexCoord3sv(const GLshort *v){};
|
|
void APIENTRY glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q){};
|
|
void APIENTRY glTexCoord4dv(const GLdouble *v){};
|
|
void APIENTRY glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q){};
|
|
void APIENTRY glTexCoord4fv(const GLfloat *v){};
|
|
void APIENTRY glTexCoord4i(GLint s, GLint t, GLint r, GLint q){};
|
|
void APIENTRY glTexCoord4iv(const GLint *v){};
|
|
void APIENTRY glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q){};
|
|
void APIENTRY glTexCoord4sv(const GLshort *v){};
|
|
void APIENTRY glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer){};
|
|
void APIENTRY glTexEnvf(GLenum target, GLenum pname, GLfloat param){};
|
|
void APIENTRY glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params){};
|
|
void APIENTRY glTexEnvi(GLenum target, GLenum pname, GLint param){};
|
|
void APIENTRY glTexEnviv(GLenum target, GLenum pname, const GLint *params){};
|
|
void APIENTRY glTexGend(GLenum coord, GLenum pname, GLdouble param){};
|
|
void APIENTRY glTexGendv(GLenum coord, GLenum pname, const GLdouble *params){};
|
|
void APIENTRY glTexGenf(GLenum coord, GLenum pname, GLfloat param){};
|
|
void APIENTRY glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params){};
|
|
void APIENTRY glTexGeni(GLenum coord, GLenum pname, GLint param){};
|
|
void APIENTRY glTexGeniv(GLenum coord, GLenum pname, const GLint *params){};
|
|
void APIENTRY glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels){};
|
|
void APIENTRY glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) {};
|
|
void APIENTRY glTexParameterf(GLenum target, GLenum pname, GLfloat param){};
|
|
void APIENTRY glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params){};
|
|
void APIENTRY glTexParameteri(GLenum target, GLenum pname, GLint param){};
|
|
void APIENTRY glTexParameteriv(GLenum target, GLenum pname, const GLint *params){};
|
|
void APIENTRY glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels){};
|
|
void APIENTRY glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels){};
|
|
void APIENTRY glTranslated(GLdouble x, GLdouble y, GLdouble z){};
|
|
void APIENTRY glTranslatef(GLfloat x, GLfloat y, GLfloat z){};
|
|
void APIENTRY glVertex2d(GLdouble x, GLdouble y){};
|
|
void APIENTRY glVertex2dv(const GLdouble *v){};
|
|
void APIENTRY glVertex2f(GLfloat x, GLfloat y){};
|
|
void APIENTRY glVertex2fv(const GLfloat *v){};
|
|
void APIENTRY glVertex2i(GLint x, GLint y){};
|
|
void APIENTRY glVertex2iv(const GLint *v){};
|
|
void APIENTRY glVertex2s(GLshort x, GLshort y){};
|
|
void APIENTRY glVertex2sv(const GLshort *v){};
|
|
void APIENTRY glVertex3d(GLdouble x, GLdouble y, GLdouble z){};
|
|
void APIENTRY glVertex3dv(const GLdouble *v){};
|
|
void APIENTRY glVertex3f(GLfloat x, GLfloat y, GLfloat z){};
|
|
void APIENTRY glVertex3fv(const GLfloat *v){};
|
|
void APIENTRY glVertex3i(GLint x, GLint y, GLint z){};
|
|
void APIENTRY glVertex3iv(const GLint *v){};
|
|
void APIENTRY glVertex3s(GLshort x, GLshort y, GLshort z){};
|
|
void APIENTRY glVertex3sv(const GLshort *v){};
|
|
void APIENTRY glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w){};
|
|
void APIENTRY glVertex4dv(const GLdouble *v){};
|
|
void APIENTRY glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w){};
|
|
void APIENTRY glVertex4fv(const GLfloat *v){};
|
|
void APIENTRY glVertex4i(GLint x, GLint y, GLint z, GLint w){};
|
|
void APIENTRY glVertex4iv(const GLint *v){};
|
|
void APIENTRY glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w){};
|
|
void APIENTRY glVertex4sv(const GLshort *v){};
|
|
void APIENTRY glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer){};
|
|
void APIENTRY glViewport(GLint x, GLint y, GLsizei width, GLsizei height){};
|
|
|
|
static void StubFunction( void ) {};
|
|
GLExtension_t GLimp_ExtensionPointer( const char *a) { return StubFunction; };
|
|
|
|
bool GLimp_Init(glimpParms_t a) {return true;};
|
|
void GLimp_SetGamma(unsigned short*a, unsigned short*b, unsigned short*c) {};
|
|
void GLimp_ResetGamma() {}
|
|
bool GLimp_SetScreenParms(glimpParms_t parms) { return true; };
|
|
void GLimp_Shutdown() {};
|
|
void GLimp_SwapBuffers() {};
|
|
void GLimp_ActivateContext() {};
|
|
void GLimp_DeactivateContext() {};
|
|
void GLimp_GrabInput(int flags) {};
|
|
|
|
#ifdef _MSC_VER
|
|
#pragma warning(pop)
|
|
#endif
|