head 3.22; access; symbols merge-1:3.15.2.4 autoconf:3.15.0.4 experimental-1:3.15.0.2 mesa-3-1-with-kw3:3.10 mesa-3-1-prior-to-kw3:3.9; locks; strict; comment @ * @; 3.22 date 99.08.03.14.42.02; author keithw; state Exp; branches; next 3.21; 3.21 date 99.07.30.17.09.10; author brianp; state Exp; branches; next 3.20; 3.20 date 99.07.29.17.40.42; author miklos; state Exp; branches; next 3.19; 3.19 date 99.07.12.12.05.22; author keithw; state Exp; branches; next 3.18; 3.18 date 99.06.18.20.04.19; author brianp; state Exp; branches; next 3.17; 3.17 date 99.06.13.15.27.39; author brianp; state Exp; branches; next 3.16; 3.16 date 99.06.08.01.29.54; author brianp; state Exp; branches; next 3.15; 3.15 date 99.05.08.15.26.26; author brianp; state Exp; branches 3.15.2.1; next 3.14; 3.14 date 99.05.08.14.47.30; author brianp; state Exp; branches; next 3.13; 3.13 date 99.05.06.17.10.32; author brianp; state Exp; branches; next 3.12; 3.12 date 99.03.31.20.18.38; author keithw; state Exp; branches; next 3.11; 3.11 date 99.03.20.18.53.23; author brianp; state Exp; branches; next 3.10; 3.10 date 99.02.25.14.12.29; author keithw; state Exp; branches; next 3.9; 3.9 date 99.02.24.22.48.04; author jens; state Exp; branches; next 3.8; 3.8 date 99.02.14.03.46.34; author brianp; state Exp; branches; next 3.7; 3.7 date 99.01.03.03.28.39; author brianp; state Exp; branches; next 3.6; 3.6 date 98.11.03.01.40.37; author brianp; state Exp; branches; next 3.5; 3.5 date 98.10.23.01.03.47; author brianp; state Exp; branches; next 3.4; 3.4 date 98.10.23.00.44.11; author brianp; state Exp; branches; next 3.3; 3.3 date 98.10.05.00.40.15; author brianp; state Exp; branches; next 3.2; 3.2 date 98.06.07.22.18.52; author brianp; state Exp; branches; next 3.1; 3.1 date 98.03.27.03.30.36; author brianp; state Exp; branches; next 3.0; 3.0 date 98.02.20.04.45.50; author brianp; state Exp; branches; next ; 3.15.2.1 date 99.05.21.21.29.25; author keithw; state Exp; branches; next 3.15.2.2; 3.15.2.2 date 99.06.06.22.35.53; author keithw; state Exp; branches; next 3.15.2.3; 3.15.2.3 date 99.06.19.15.04.13; author keithw; state Exp; branches; next 3.15.2.4; 3.15.2.4 date 99.07.05.19.42.32; author keithw; state Exp; branches; next ; desc @API extension functions @ 3.22 log @fixes for bugs from eero and miklos @ text @/* $Id: apiext.c,v 3.21 1999/07/30 17:09:10 brianp Exp $ */ /* * Mesa 3-D graphics library * Version: 3.1 * * Copyright (C) 1999 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #ifdef PC_HEADER #include "all.h" #else #include #include #include "api.h" #include "context.h" #include "cva.h" #include "types.h" #include "varray.h" #ifdef XFree86Server #include "GL/xf86glx.h" #endif #endif #if !defined(CTX_ARG) #define CTX_ARG #define CTX_VOID #define CTX_PRM #endif /* * Extension API functions */ /* * GL_EXT_blend_minmax */ void GLAPIENTRY glBlendEquationEXT(CTX_ARG GLenum mode ) { GET_CONTEXT; CHECK_CONTEXT; (*CC->API.BlendEquation)(CC, mode); } /* * GL_EXT_blend_color */ void GLAPIENTRY glBlendColorEXT(CTX_ARG GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) { GET_CONTEXT; CHECK_CONTEXT; (*CC->API.BlendColor)(CC, red, green, blue, alpha); } /* * GL_EXT_vertex_array */ void GLAPIENTRY glVertexPointerEXT(CTX_ARG GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr ) { glVertexPointer(CTX_PRM size, type, stride, ptr ); (void) count; } void GLAPIENTRY glNormalPointerEXT(CTX_ARG GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr ) { glNormalPointer(CTX_PRM type, stride, ptr); (void) count; } void GLAPIENTRY glColorPointerEXT(CTX_ARG GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr ) { glColorPointer(CTX_PRM size, type, stride, ptr); (void) count; } void GLAPIENTRY glIndexPointerEXT(CTX_ARG GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr ) { glIndexPointer(CTX_PRM type, stride, ptr); (void) count; } void GLAPIENTRY glTexCoordPointerEXT(CTX_ARG GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr ) { glTexCoordPointer(CTX_PRM size, type, stride, ptr); (void) count; } void GLAPIENTRY glEdgeFlagPointerEXT(CTX_ARG GLsizei stride, GLsizei count, const GLboolean *ptr ) { glEdgeFlagPointer(CTX_PRM stride, ptr); (void) count; } void GLAPIENTRY glGetPointervEXT(CTX_ARG GLenum pname, GLvoid **params ) { GET_CONTEXT; CHECK_CONTEXT; (*CC->API.GetPointerv)(CC, pname, params); } /* glArrayElementEXT now hiding in api1.c. */ void GLAPIENTRY glDrawArraysEXT(CTX_ARG GLenum mode, GLint first, GLsizei count ) { GET_CONTEXT; CHECK_CONTEXT; gl_DrawArrays(CC, mode, first, count); } /* * GL_EXT_texture_object */ GLboolean GLAPIENTRY glAreTexturesResidentEXT(CTX_ARG GLsizei n, const GLuint *textures, GLboolean *residences ) { return glAreTexturesResident(CTX_PRM n, textures, residences ); } void GLAPIENTRY glBindTextureEXT(CTX_ARG GLenum target, GLuint texture ) { glBindTexture(CTX_PRM target, texture ); } void GLAPIENTRY glDeleteTexturesEXT(CTX_ARG GLsizei n, const GLuint *textures) { glDeleteTextures(CTX_PRM n, textures ); } void GLAPIENTRY glGenTexturesEXT(CTX_ARG GLsizei n, GLuint *textures ) { glGenTextures(CTX_PRM n, textures ); } GLboolean GLAPIENTRY glIsTextureEXT(CTX_ARG GLuint texture ) { return glIsTexture(CTX_PRM texture ); } void GLAPIENTRY glPrioritizeTexturesEXT(CTX_ARG GLsizei n, const GLuint *textures, const GLclampf *priorities ) { glPrioritizeTextures(CTX_PRM n, textures, priorities ); } /* * GL_EXT_texture3D */ void GLAPIENTRY glCopyTexSubImage3DEXT(CTX_ARG GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height ) { glCopyTexSubImage3D(CTX_PRM target, level, xoffset, yoffset, zoffset, x, y, width, height); } void GLAPIENTRY glTexImage3DEXT(CTX_ARG GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) { glTexImage3D(CTX_PRM target, level, internalformat, width, height, depth, border, format, type, pixels ); } void GLAPIENTRY glTexSubImage3DEXT(CTX_ARG GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels ) { glTexSubImage3D(CTX_PRM target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels ); } /* * GL_EXT_point_parameters */ void GLAPIENTRY glPointParameterfEXT(CTX_ARG GLenum pname, GLfloat param ) { GLfloat params[3]; GET_CONTEXT; CHECK_CONTEXT; params[0] = param; params[1] = 0.0; params[2] = 0.0; (*CC->API.PointParameterfvEXT)(CC, pname, params); } void GLAPIENTRY glPointParameterfvEXT(CTX_ARG GLenum pname, const GLfloat *params ) { GET_CONTEXT; CHECK_CONTEXT; (*CC->API.PointParameterfvEXT)(CC, pname, params); } #ifdef GL_MESA_window_pos /* * Mesa implementation of glWindowPos*MESA() */ void GLAPIENTRY glWindowPos4fMESA(CTX_ARG GLfloat x, GLfloat y, GLfloat z, GLfloat w ) { GET_CONTEXT; CHECK_CONTEXT; (*CC->API.WindowPos4fMESA)( CC, x, y, z, w ); } #else /* Implementation in winpos.c is used */ #endif void GLAPIENTRY glWindowPos2iMESA(CTX_ARG GLint x, GLint y ) { glWindowPos4fMESA(CTX_PRM (GLfloat) x, (GLfloat) y, 0.0F, 1.0F ); } void GLAPIENTRY glWindowPos2sMESA(CTX_ARG GLshort x, GLshort y ) { glWindowPos4fMESA(CTX_PRM (GLfloat) x, (GLfloat) y, 0.0F, 1.0F ); } void GLAPIENTRY glWindowPos2fMESA(CTX_ARG GLfloat x, GLfloat y ) { glWindowPos4fMESA(CTX_PRM x, y, 0.0F, 1.0F ); } void GLAPIENTRY glWindowPos2dMESA(CTX_ARG GLdouble x, GLdouble y ) { glWindowPos4fMESA(CTX_PRM (GLfloat) x, (GLfloat) y, 0.0F, 1.0F ); } void GLAPIENTRY glWindowPos2ivMESA(CTX_ARG const GLint *p ) { glWindowPos4fMESA(CTX_PRM (GLfloat) p[0], (GLfloat) p[1], 0.0F, 1.0F ); } void GLAPIENTRY glWindowPos2svMESA(CTX_ARG const GLshort *p ) { glWindowPos4fMESA(CTX_PRM (GLfloat) p[0], (GLfloat) p[1], 0.0F, 1.0F ); } void GLAPIENTRY glWindowPos2fvMESA(CTX_ARG const GLfloat *p ) { glWindowPos4fMESA(CTX_PRM p[0], p[1], 0.0F, 1.0F ); } void GLAPIENTRY glWindowPos2dvMESA(CTX_ARG const GLdouble *p ) { glWindowPos4fMESA(CTX_PRM (GLfloat) p[0], (GLfloat) p[1], 0.0F, 1.0F ); } void GLAPIENTRY glWindowPos3iMESA(CTX_ARG GLint x, GLint y, GLint z ) { glWindowPos4fMESA(CTX_PRM (GLfloat) x, (GLfloat) y, (GLfloat) z, 1.0F ); } void GLAPIENTRY glWindowPos3sMESA(CTX_ARG GLshort x, GLshort y, GLshort z ) { glWindowPos4fMESA(CTX_PRM (GLfloat) x, (GLfloat) y, (GLfloat) z, 1.0F ); } void GLAPIENTRY glWindowPos3fMESA(CTX_ARG GLfloat x, GLfloat y, GLfloat z ) { glWindowPos4fMESA(CTX_PRM x, y, z, 1.0F ); } void GLAPIENTRY glWindowPos3dMESA(CTX_ARG GLdouble x, GLdouble y, GLdouble z ) { glWindowPos4fMESA(CTX_PRM (GLfloat) x, (GLfloat) y, (GLfloat) z, 1.0F ); } void GLAPIENTRY glWindowPos3ivMESA(CTX_ARG const GLint *p ) { glWindowPos4fMESA(CTX_PRM (GLfloat) p[0], (GLfloat) p[1], (GLfloat) p[2], 1.0F ); } void GLAPIENTRY glWindowPos3svMESA(CTX_ARG const GLshort *p ) { glWindowPos4fMESA(CTX_PRM (GLfloat) p[0], (GLfloat) p[1], (GLfloat) p[2], 1.0F ); } void GLAPIENTRY glWindowPos3fvMESA(CTX_ARG const GLfloat *p ) { glWindowPos4fMESA(CTX_PRM p[0], p[1], p[2], 1.0F ); } void GLAPIENTRY glWindowPos3dvMESA(CTX_ARG const GLdouble *p ) { glWindowPos4fMESA(CTX_PRM (GLfloat) p[0], (GLfloat) p[1], (GLfloat) p[2], 1.0F ); } void GLAPIENTRY glWindowPos4iMESA(CTX_ARG GLint x, GLint y, GLint z, GLint w ) { glWindowPos4fMESA(CTX_PRM (GLfloat) x, (GLfloat) y, (GLfloat) z, (GLfloat) w ); } void GLAPIENTRY glWindowPos4sMESA(CTX_ARG GLshort x, GLshort y, GLshort z, GLshort w ) { glWindowPos4fMESA(CTX_PRM (GLfloat) x, (GLfloat) y, (GLfloat) z, (GLfloat) w ); } void GLAPIENTRY glWindowPos4dMESA(CTX_ARG GLdouble x, GLdouble y, GLdouble z, GLdouble w ) { glWindowPos4fMESA(CTX_PRM (GLfloat) x, (GLfloat) y, (GLfloat) z, (GLfloat) w ); } void GLAPIENTRY glWindowPos4ivMESA(CTX_ARG const GLint *p ) { glWindowPos4fMESA(CTX_PRM (GLfloat) p[0], (GLfloat) p[1], (GLfloat) p[2], (GLfloat) p[3] ); } void GLAPIENTRY glWindowPos4svMESA(CTX_ARG const GLshort *p ) { glWindowPos4fMESA(CTX_PRM (GLfloat) p[0], (GLfloat) p[1], (GLfloat) p[2], (GLfloat) p[3] ); } void GLAPIENTRY glWindowPos4fvMESA(CTX_ARG const GLfloat *p ) { glWindowPos4fMESA(CTX_PRM p[0], p[1], p[2], p[3] ); } void GLAPIENTRY glWindowPos4dvMESA(CTX_ARG const GLdouble *p ) { glWindowPos4fMESA(CTX_PRM (GLfloat) p[0], (GLfloat) p[1], (GLfloat) p[2], (GLfloat) p[3] ); } /* * GL_MESA_resize_buffers */ /* * Called by user application when window has been resized. */ void GLAPIENTRY glResizeBuffersMESA(CTX_VOID ) { GET_CONTEXT; CHECK_CONTEXT; (*CC->API.ResizeBuffersMESA)( CC ); } /* * GL_SGIS_multitexture (obsolete - will be removed in near future) */ #define TEXCOORD1(s) \ { \ GLuint count; \ GLfloat *tc; \ count = IM->Count; \ IM->Flag[count] |= IM->TF1[texSet]; \ tc = IM->TexCoordPtr[texSet][count]; \ ASSIGN_4V(tc, s,0,0,1); \ } #define TEXCOORD2(s,t) \ { \ GLuint count; \ GLfloat *tc; \ count = IM->Count; \ IM->Flag[count] |= IM->TF2[texSet]; \ tc = IM->TexCoordPtr[texSet][count]; \ ASSIGN_4V(tc, s,t,0,1); \ } #define TEXCOORD3(s,t,u) \ { \ GLuint count; \ GLfloat *tc; \ count = IM->Count; \ IM->Flag[count] |= IM->TF3[texSet]; \ tc = IM->TexCoordPtr[texSet][count]; \ ASSIGN_4V(tc, s,t,u,1); \ } #define TEXCOORD4(s,t,u,v) \ { \ GLuint count; \ GLfloat *tc; \ count = IM->Count; \ IM->Flag[count] |= IM->TF4[texSet]; \ tc = IM->TexCoordPtr[texSet][count]; \ ASSIGN_4V(tc, s,t,u,v); \ } /* KW: Do the check here so that we only have to do a single range * test. The possible compliance problem with this is that * we will throw out error-producing calls when compiling * display lists. There are ways around this if need be. */ /* * GL_ARB_multitexture */ #define CHECK_ARB \ if (target >= GL_TEXTURE0_ARB && target <= GL_TEXTURE1_ARB) { \ texSet = target - GL_TEXTURE0_ARB; \ } \ else { \ gl_error(IM->backref, GL_INVALID_ENUM, "glMultiTexCoord(CTX_ARGtarget)"); \ return; \ } void GLAPIENTRY glActiveTextureARB(CTX_ARG GLenum texture) { GET_CONTEXT; CHECK_CONTEXT; (*CC->API.ActiveTexture)(CC, texture); } void GLAPIENTRY glClientActiveTextureARB(CTX_ARG GLenum texture) { GET_CONTEXT; CHECK_CONTEXT; (*CC->API.ClientActiveTexture)(CC, texture); } void GLAPIENTRY glMultiTexCoord1dARB(CTX_ARG GLenum target, GLdouble s) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD1( s ); } void GLAPIENTRY glMultiTexCoord1dvARB(CTX_ARG GLenum target, const GLdouble *v) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD1( v[0] ); } void GLAPIENTRY glMultiTexCoord1fARB(CTX_ARG GLenum target, GLfloat s) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD1( s ); } void GLAPIENTRY glMultiTexCoord1fvARB(CTX_ARG GLenum target, const GLfloat *v) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD1( v[0] ); } void GLAPIENTRY glMultiTexCoord1iARB(CTX_ARG GLenum target, GLint s) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD1( s ); } void GLAPIENTRY glMultiTexCoord1ivARB(CTX_ARG GLenum target, const GLint *v) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD1( v[0] ); } void GLAPIENTRY glMultiTexCoord1sARB(CTX_ARG GLenum target, GLshort s) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD1( s ); } void GLAPIENTRY glMultiTexCoord1svARB(CTX_ARG GLenum target, const GLshort *v) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD1( v[0] ); } void GLAPIENTRY glMultiTexCoord2dARB(CTX_ARG GLenum target, GLdouble s, GLdouble t) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD2( s, t ); } void GLAPIENTRY glMultiTexCoord2dvARB(CTX_ARG GLenum target, const GLdouble *v) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD2( v[0], v[1] ); } void GLAPIENTRY glMultiTexCoord2fARB(CTX_ARG GLenum target, GLfloat s, GLfloat t) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD2( s, t ); } void GLAPIENTRY glMultiTexCoord2fvARB(CTX_ARG GLenum target, const GLfloat *v) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD2( v[0], v[1] ); } void GLAPIENTRY glMultiTexCoord2iARB(CTX_ARG GLenum target, GLint s, GLint t) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD2( s, t ); } void GLAPIENTRY glMultiTexCoord2ivARB(CTX_ARG GLenum target, const GLint *v) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD2( v[0], v[1] ); } void GLAPIENTRY glMultiTexCoord2sARB(CTX_ARG GLenum target, GLshort s, GLshort t) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD2( s, t ); } void GLAPIENTRY glMultiTexCoord2svARB(CTX_ARG GLenum target, const GLshort *v) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD2( v[0], v[1] ); } void GLAPIENTRY glMultiTexCoord3dARB(CTX_ARG GLenum target, GLdouble s, GLdouble t, GLdouble r) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD3( s, t, r ); } void GLAPIENTRY glMultiTexCoord3dvARB(CTX_ARG GLenum target, const GLdouble *v) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD3( v[0], v[1], v[2] ); } void GLAPIENTRY glMultiTexCoord3fARB(CTX_ARG GLenum target, GLfloat s, GLfloat t, GLfloat r) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD3( s, t, r ); } void GLAPIENTRY glMultiTexCoord3fvARB(CTX_ARG GLenum target, const GLfloat *v) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD3( v[0], v[1], v[2] ); } void GLAPIENTRY glMultiTexCoord3iARB(CTX_ARG GLenum target, GLint s, GLint t, GLint r) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD3( s, t, r ); } void GLAPIENTRY glMultiTexCoord3ivARB(CTX_ARG GLenum target, const GLint *v) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD3( v[0], v[1], v[2] ); } void GLAPIENTRY glMultiTexCoord3sARB(CTX_ARG GLenum target, GLshort s, GLshort t, GLshort r) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD3( s, t, r ); } void GLAPIENTRY glMultiTexCoord3svARB(CTX_ARG GLenum target, const GLshort *v) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD3( v[0], v[1], v[2] ); } void GLAPIENTRY glMultiTexCoord4dARB(CTX_ARG GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD4( s, t, r, q ); } void GLAPIENTRY glMultiTexCoord4dvARB(CTX_ARG GLenum target, const GLdouble *v) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD4( v[0], v[1], v[2], v[3] ); } void GLAPIENTRY glMultiTexCoord4fARB(CTX_ARG GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD4( s, t, r, q ); } void GLAPIENTRY glMultiTexCoord4fvARB(CTX_ARG GLenum target, const GLfloat *v) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD4( v[0], v[1], v[2], v[3] ); } void GLAPIENTRY glMultiTexCoord4iARB(CTX_ARG GLenum target, GLint s, GLint t, GLint r, GLint q) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD4( s, t, r, q ); } void GLAPIENTRY glMultiTexCoord4ivARB(CTX_ARG GLenum target, const GLint *v) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD4( v[0], v[1], v[2], v[3] ); } void GLAPIENTRY glMultiTexCoord4sARB(CTX_ARG GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD4( s, t, r, q ); } void GLAPIENTRY glMultiTexCoord4svARB(CTX_ARG GLenum target, const GLshort *v) { GLint texSet; GET_IMMEDIATE; CHECK_ARB TEXCOORD4( v[0], v[1], v[2], v[3] ); } /* * GL_INGR_blend_func_separate */ void GLAPIENTRY glBlendFuncSeparateINGR(CTX_ARG GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha ) { GET_CONTEXT; CHECK_CONTEXT; (*CC->API.BlendFuncSeparate)( CC, sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha ); } /* * GL_PGI_misc_hints - I think this is a bit of a dead extension, but * it fits well with what I want the config. file to do. */ /*** XXX there is no such entry point in gl.h void GLAPIENTRY glHintPGI(CTX_ARG GLenum target, GLint mode ) { GET_CONTEXT; CHECK_CONTEXT; (*CC->API.Hint)( CC, target, mode ); } ***/ /* * GL_EXT_compiled_vertex_array */ /* * OpenGL 1.2 imaging subset (most not implemented, just stubs) */ void GLAPIENTRY glBlendEquation(CTX_ARG GLenum mode ) { glBlendEquationEXT(CTX_PRM mode ); } void GLAPIENTRY glBlendColor(CTX_ARG GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) { glBlendColorEXT(CTX_PRM red, green, blue, alpha ); } void GLAPIENTRY glHistogram(CTX_ARG GLenum target, GLsizei width, GLenum internalFormat, GLboolean sink ) { GET_CONTEXT; (void) target; (void) width; (void) internalFormat; (void) sink; CHECK_CONTEXT; gl_error( CC, GL_INVALID_OPERATION, "glHistogram" ); } void GLAPIENTRY glResetHistogram(CTX_ARG GLenum target ) { GET_CONTEXT; (void) target; CHECK_CONTEXT; gl_error( CC, GL_INVALID_OPERATION, "glResetHistogram" ); } void GLAPIENTRY glGetHistogram(CTX_ARG GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values ) { GET_CONTEXT; (void) target; (void) reset; (void) format; (void) type; (void) values; CHECK_CONTEXT; gl_error( CC, GL_INVALID_OPERATION, "glGetHistogram" ); } void GLAPIENTRY glGetHistogramParameterfv(CTX_ARG GLenum target, GLenum pname, GLfloat *params ) { GET_CONTEXT; (void) target; (void) pname; (void) params; CHECK_CONTEXT; gl_error( CC, GL_INVALID_OPERATION, "glGetHistogramParameterfv" ); } void GLAPIENTRY glGetHistogramParameteriv(CTX_ARG GLenum target, GLenum pname, GLint *params ) { GET_CONTEXT; (void) target; (void) pname; (void) params; CHECK_CONTEXT; gl_error( CC, GL_INVALID_OPERATION, "glGetHistogramParameteriv" ); } void GLAPIENTRY glMinmax(CTX_ARG GLenum target, GLenum internalFormat, GLboolean sink ) { GET_CONTEXT; (void) target; (void) internalFormat; (void) sink; CHECK_CONTEXT; gl_error( CC, GL_INVALID_OPERATION, "glMinmax" ); } void GLAPIENTRY glResetMinmax(CTX_ARG GLenum target ) { GET_CONTEXT; (void) target; CHECK_CONTEXT; gl_error( CC, GL_INVALID_OPERATION, "glResetMinmax" ); } void GLAPIENTRY glGetMinMax(CTX_ARG GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values ) { GET_CONTEXT; (void) target; (void) reset; (void) format; (void) types; (void) values; CHECK_CONTEXT; gl_error( CC, GL_INVALID_OPERATION, "glGetMinmax" ); } void GLAPIENTRY glGetMinmaxParameterfv(CTX_ARG GLenum target, GLenum pname, GLfloat *params ) { GET_CONTEXT; (void) target; (void) pname; (void) params; CHECK_CONTEXT; gl_error( CC, GL_INVALID_OPERATION, "glGetMinmaxParameterfv" ); } void GLAPIENTRY glGetMinmaxParameteriv(CTX_ARG GLenum target, GLenum pname, GLint *params ) { GET_CONTEXT; (void) target; (void) pname; (void) params; CHECK_CONTEXT; gl_error( CC, GL_INVALID_OPERATION, "glGetMinmaxParameteriv" ); } void GLAPIENTRY glConvolutionFilter1D(CTX_ARG GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *image ) { GET_CONTEXT; (void) target; (void) internalFormat; (void) width; (void) format; (void) type; (void) image; CHECK_CONTEXT; gl_error( CC, GL_INVALID_OPERATION, "glConvolutionFilter1D" ); } void GLAPIENTRY glConvolutionFilter2D(CTX_ARG GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image ) { GET_CONTEXT; (void) target; (void) internalFormat; (void) width; (void) height; (void) format; (void) type; (void) image; CHECK_CONTEXT; gl_error( CC, GL_INVALID_OPERATION, "glConvolutionFilter2D" ); } void GLAPIENTRY glConvolutionParameterf(CTX_ARG GLenum target, GLenum pname, GLfloat params ) { GET_CONTEXT; (void) target; (void) pname; (void) params; CHECK_CONTEXT; gl_error( CC, GL_INVALID_OPERATION, "glConvolutionParameterf" ); } void GLAPIENTRY glConvolutionParameterfv(CTX_ARG GLenum target, GLenum pname, const GLfloat *params ) { GET_CONTEXT; (void) target; (void) pname; (void) params; CHECK_CONTEXT; gl_error( CC, GL_INVALID_OPERATION, "glConvolutionParameterfv" ); } void GLAPIENTRY glConvolutionParameteri(CTX_ARG GLenum target, GLenum pname, GLint params ) { GET_CONTEXT; (void) target; (void) pname; (void) params; CHECK_CONTEXT; gl_error( CC, GL_INVALID_OPERATION, "glConvolutionParameteri" ); } void GLAPIENTRY glConvolutionParameteriv(CTX_ARG GLenum target, GLenum pname, const GLint *params ) { GET_CONTEXT; (void) target; (void) pname; (void) params; CHECK_CONTEXT; gl_error( CC, GL_INVALID_OPERATION, "glConvolutionParameteriv" ); } void GLAPIENTRY glCopyConvolutionFilter1D(CTX_ARG GLenum target, GLenum internalFormat, GLint x, GLint y, GLsizei width ) { GET_CONTEXT; (void) target; (void) internalFormat; (void) x; (void) y; (void) width; CHECK_CONTEXT; gl_error( CC, GL_INVALID_OPERATION, "glCopyConvolutionFilter1D" ); } void GLAPIENTRY glCopyConvolutionFilter2D(CTX_ARG GLenum target, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height) { GET_CONTEXT; (void) target; (void) internalFormat; (void) x; (void) y; (void) width; (void) height; CHECK_CONTEXT; gl_error( CC, GL_INVALID_OPERATION, "glCopyConvolutionFilter2D" ); } void GLAPIENTRY glGetConvolutionFilter(CTX_ARG GLenum target, GLenum format, GLenum type, GLvoid *image ) { GET_CONTEXT; (void) target; (void) format; (void) type; (void) image; CHECK_CONTEXT; gl_error( CC, GL_INVALID_OPERATION, "glGetConvolutionFilter" ); } void GLAPIENTRY glGetConvolutionParameterfv(CTX_ARG GLenum target, GLenum pname, GLfloat *params ) { GET_CONTEXT; (void) target; (void) pname; (void) params; CHECK_CONTEXT; gl_error( CC, GL_INVALID_OPERATION, "glGetConvolutionParameterfv" ); } void GLAPIENTRY glGetConvolutionParameteriv(CTX_ARG GLenum target, GLenum pname, GLint *params ) { GET_CONTEXT; (void) target; (void) pname; (void) params; CHECK_CONTEXT; gl_error( CC, GL_INVALID_OPERATION, "glGetConvolutionParameteriv" ); } void GLAPIENTRY glSeparableFilter2D(CTX_ARG GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column ) { GET_CONTEXT; (void) target; (void) internalFormat; (void) width; (void) height; (void) format; (void) row; (void) type; (void) row; (void) column; CHECK_CONTEXT; gl_error( CC, GL_INVALID_OPERATION, "glSeperableFilter2D" ); } void GLAPIENTRY glGetSeparableFilter(CTX_ARG GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span ) { GET_CONTEXT; (void) target; (void) format; (void) type; (void) row; (void) column; (void) span; CHECK_CONTEXT; gl_error( CC, GL_INVALID_OPERATION, "glGetSeparableFilter" ); } void GLAPIENTRY glCopyColorSubTable(CTX_ARG GLenum target, GLsizei start, GLint x, GLint y, GLsizei width ) { GET_CONTEXT; (void) target; (void) start; (void) x; (void) y; (void) width; CHECK_CONTEXT; gl_error( CC, GL_INVALID_OPERATION, "glCopyColorSubTable" ); } void GLAPIENTRY glCopyColorTable(CTX_ARG GLenum target, GLenum internalFormat, GLint x, GLint y, GLsizei width ) { GET_CONTEXT; (void) target; (void) internalFormat; (void) x; (void) y; (void) width; CHECK_CONTEXT; gl_error( CC, GL_INVALID_OPERATION, "glCopyColorTable" ); } @ 3.21 log @added newline to last line of file @ text @d1 1 a1 1 /* $Id: apiext.c,v 3.20 1999/07/29 17:40:42 miklos Exp $ */ a1157 15 #if 0 void GLAPIENTRY glUnlockArraysEXT(CTX_VOID) { GET_CONTEXT; CHECK_CONTEXT; gl_UnlockArrays(CC); } void GLAPIENTRY glLockArraysEXT(CTX_ARG GLint first, GLsizei count ) { GET_CONTEXT; CHECK_CONTEXT; gl_LockArrays(CC,first,count); } #endif @ 3.20 log @added CTX_PRM @ text @d1 1 a1 1 /* $Id: apiext.c,v 3.19 1999/07/12 12:05:22 keithw Exp $ */ d1156 2 d1172 1 a1172 1 #endif@ 3.19 log @merge from experimental branch upto merge-1 tag @ text @d1 1 a1 1 /* $Id: apiext.c,v 3.18 1999/06/18 20:04:19 brianp Exp $ */ d44 5 a48 1 d60 1 a60 1 void GLAPIENTRY glBlendEquationEXT( GLenum mode ) d74 1 a74 1 void GLAPIENTRY glBlendColorEXT( GLclampf red, GLclampf green, d89 1 a89 1 void GLAPIENTRY glVertexPointerEXT( GLint size, GLenum type, GLsizei stride, d92 1 a92 1 glVertexPointer( size, type, stride, ptr ); d97 1 a97 1 void GLAPIENTRY glNormalPointerEXT( GLenum type, GLsizei stride, GLsizei count, d100 1 a100 1 glNormalPointer( type, stride, ptr); d105 1 a105 1 void GLAPIENTRY glColorPointerEXT( GLint size, GLenum type, GLsizei stride, d108 1 a108 1 glColorPointer(size, type, stride, ptr); d113 1 a113 1 void GLAPIENTRY glIndexPointerEXT( GLenum type, GLsizei stride, d116 1 a116 1 glIndexPointer( type, stride, ptr); d121 1 a121 1 void GLAPIENTRY glTexCoordPointerEXT( GLint size, GLenum type, GLsizei stride, d124 1 a124 1 glTexCoordPointer( size, type, stride, ptr); d129 1 a129 1 void GLAPIENTRY glEdgeFlagPointerEXT( GLsizei stride, GLsizei count, d132 1 a132 1 glEdgeFlagPointer( stride, ptr); d137 1 a137 1 void GLAPIENTRY glGetPointervEXT( GLenum pname, GLvoid **params ) d149 1 a149 1 void GLAPIENTRY glDrawArraysEXT( GLenum mode, GLint first, GLsizei count ) d163 1 a163 1 GLboolean GLAPIENTRY glAreTexturesResidentEXT( GLsizei n, d167 1 a167 1 return glAreTexturesResident( n, textures, residences ); d171 1 a171 1 void GLAPIENTRY glBindTextureEXT( GLenum target, GLuint texture ) d173 1 a173 1 glBindTexture( target, texture ); d177 1 a177 1 void GLAPIENTRY glDeleteTexturesEXT( GLsizei n, const GLuint *textures) d179 1 a179 1 glDeleteTextures( n, textures ); d183 1 a183 1 void GLAPIENTRY glGenTexturesEXT( GLsizei n, GLuint *textures ) d185 1 a185 1 glGenTextures( n, textures ); d189 1 a189 1 GLboolean GLAPIENTRY glIsTextureEXT( GLuint texture ) d191 1 a191 1 return glIsTexture( texture ); d195 1 a195 1 void GLAPIENTRY glPrioritizeTexturesEXT( GLsizei n, const GLuint *textures, d198 1 a198 1 glPrioritizeTextures( n, textures, priorities ); d208 1 a208 1 void GLAPIENTRY glCopyTexSubImage3DEXT( GLenum target, GLint level, d214 1 a214 1 glCopyTexSubImage3D( target, level, xoffset, yoffset, zoffset, d220 1 a220 1 void GLAPIENTRY glTexImage3DEXT( GLenum target, GLint level, d226 1 a226 1 glTexImage3D( target, level, internalformat, width, height, depth, d231 1 a231 1 void GLAPIENTRY glTexSubImage3DEXT( GLenum target, GLint level, GLint xoffset, d237 1 a237 1 glTexSubImage3D( target, level, xoffset, yoffset, zoffset, d248 1 a248 1 void GLAPIENTRY glPointParameterfEXT( GLenum pname, GLfloat param ) d260 1 a260 1 void GLAPIENTRY glPointParameterfvEXT( GLenum pname, const GLfloat *params ) d274 1 a274 1 void GLAPIENTRY glWindowPos4fMESA( GLfloat x, GLfloat y, GLfloat z, GLfloat w ) d285 1 a285 1 void GLAPIENTRY glWindowPos2iMESA( GLint x, GLint y ) d287 1 a287 1 glWindowPos4fMESA( (GLfloat) x, (GLfloat) y, 0.0F, 1.0F ); d290 1 a290 1 void GLAPIENTRY glWindowPos2sMESA( GLshort x, GLshort y ) d292 1 a292 1 glWindowPos4fMESA( (GLfloat) x, (GLfloat) y, 0.0F, 1.0F ); d295 1 a295 1 void GLAPIENTRY glWindowPos2fMESA( GLfloat x, GLfloat y ) d297 1 a297 1 glWindowPos4fMESA( x, y, 0.0F, 1.0F ); d300 1 a300 1 void GLAPIENTRY glWindowPos2dMESA( GLdouble x, GLdouble y ) d302 1 a302 1 glWindowPos4fMESA( (GLfloat) x, (GLfloat) y, 0.0F, 1.0F ); d305 1 a305 1 void GLAPIENTRY glWindowPos2ivMESA( const GLint *p ) d307 1 a307 1 glWindowPos4fMESA( (GLfloat) p[0], (GLfloat) p[1], 0.0F, 1.0F ); d310 1 a310 1 void GLAPIENTRY glWindowPos2svMESA( const GLshort *p ) d312 1 a312 1 glWindowPos4fMESA( (GLfloat) p[0], (GLfloat) p[1], 0.0F, 1.0F ); d315 1 a315 1 void GLAPIENTRY glWindowPos2fvMESA( const GLfloat *p ) d317 1 a317 1 glWindowPos4fMESA( p[0], p[1], 0.0F, 1.0F ); d320 1 a320 1 void GLAPIENTRY glWindowPos2dvMESA( const GLdouble *p ) d322 1 a322 1 glWindowPos4fMESA( (GLfloat) p[0], (GLfloat) p[1], 0.0F, 1.0F ); d325 1 a325 1 void GLAPIENTRY glWindowPos3iMESA( GLint x, GLint y, GLint z ) d327 1 a327 1 glWindowPos4fMESA( (GLfloat) x, (GLfloat) y, (GLfloat) z, 1.0F ); d330 1 a330 1 void GLAPIENTRY glWindowPos3sMESA( GLshort x, GLshort y, GLshort z ) d332 1 a332 1 glWindowPos4fMESA( (GLfloat) x, (GLfloat) y, (GLfloat) z, 1.0F ); d335 1 a335 1 void GLAPIENTRY glWindowPos3fMESA( GLfloat x, GLfloat y, GLfloat z ) d337 1 a337 1 glWindowPos4fMESA( x, y, z, 1.0F ); d340 1 a340 1 void GLAPIENTRY glWindowPos3dMESA( GLdouble x, GLdouble y, GLdouble z ) d342 1 a342 1 glWindowPos4fMESA( (GLfloat) x, (GLfloat) y, (GLfloat) z, 1.0F ); d345 1 a345 1 void GLAPIENTRY glWindowPos3ivMESA( const GLint *p ) d347 1 a347 1 glWindowPos4fMESA( (GLfloat) p[0], (GLfloat) p[1], (GLfloat) p[2], 1.0F ); d350 1 a350 1 void GLAPIENTRY glWindowPos3svMESA( const GLshort *p ) d352 1 a352 1 glWindowPos4fMESA( (GLfloat) p[0], (GLfloat) p[1], (GLfloat) p[2], 1.0F ); d355 1 a355 1 void GLAPIENTRY glWindowPos3fvMESA( const GLfloat *p ) d357 1 a357 1 glWindowPos4fMESA( p[0], p[1], p[2], 1.0F ); d360 1 a360 1 void GLAPIENTRY glWindowPos3dvMESA( const GLdouble *p ) d362 1 a362 1 glWindowPos4fMESA( (GLfloat) p[0], (GLfloat) p[1], (GLfloat) p[2], 1.0F ); d365 1 a365 1 void GLAPIENTRY glWindowPos4iMESA( GLint x, GLint y, GLint z, GLint w ) d367 1 a367 1 glWindowPos4fMESA( (GLfloat) x, (GLfloat) y, (GLfloat) z, (GLfloat) w ); d370 1 a370 1 void GLAPIENTRY glWindowPos4sMESA( GLshort x, GLshort y, GLshort z, GLshort w ) d372 1 a372 1 glWindowPos4fMESA( (GLfloat) x, (GLfloat) y, (GLfloat) z, (GLfloat) w ); d375 1 a375 1 void GLAPIENTRY glWindowPos4dMESA( GLdouble x, GLdouble y, GLdouble z, GLdouble w ) d377 1 a377 1 glWindowPos4fMESA( (GLfloat) x, (GLfloat) y, (GLfloat) z, (GLfloat) w ); d381 1 a381 1 void GLAPIENTRY glWindowPos4ivMESA( const GLint *p ) d383 1 a383 1 glWindowPos4fMESA( (GLfloat) p[0], (GLfloat) p[1], d387 1 a387 1 void GLAPIENTRY glWindowPos4svMESA( const GLshort *p ) d389 1 a389 1 glWindowPos4fMESA( (GLfloat) p[0], (GLfloat) p[1], d393 1 a393 1 void GLAPIENTRY glWindowPos4fvMESA( const GLfloat *p ) d395 1 a395 1 glWindowPos4fMESA( p[0], p[1], p[2], p[3] ); d398 1 a398 1 void GLAPIENTRY glWindowPos4dvMESA( const GLdouble *p ) d400 1 a400 1 glWindowPos4fMESA( (GLfloat) p[0], (GLfloat) p[1], d414 1 a414 1 void GLAPIENTRY glResizeBuffersMESA( void ) d485 1 a485 1 gl_error(IM->backref, GL_INVALID_ENUM, "glMultiTexCoord(target)"); \ d489 1 a489 1 void GLAPIENTRY glActiveTextureARB(GLenum texture) d496 1 a496 1 void GLAPIENTRY glClientActiveTextureARB(GLenum texture) d503 1 a503 1 void GLAPIENTRY glMultiTexCoord1dARB(GLenum target, GLdouble s) d511 1 a511 1 void GLAPIENTRY glMultiTexCoord1dvARB(GLenum target, const GLdouble *v) d519 1 a519 1 void GLAPIENTRY glMultiTexCoord1fARB(GLenum target, GLfloat s) d527 1 a527 1 void GLAPIENTRY glMultiTexCoord1fvARB(GLenum target, const GLfloat *v) d535 1 a535 1 void GLAPIENTRY glMultiTexCoord1iARB(GLenum target, GLint s) d543 1 a543 1 void GLAPIENTRY glMultiTexCoord1ivARB(GLenum target, const GLint *v) d551 1 a551 1 void GLAPIENTRY glMultiTexCoord1sARB(GLenum target, GLshort s) d559 1 a559 1 void GLAPIENTRY glMultiTexCoord1svARB(GLenum target, const GLshort *v) d567 1 a567 1 void GLAPIENTRY glMultiTexCoord2dARB(GLenum target, GLdouble s, GLdouble t) d575 1 a575 1 void GLAPIENTRY glMultiTexCoord2dvARB(GLenum target, const GLdouble *v) d583 1 a583 1 void GLAPIENTRY glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t) d591 1 a591 1 void GLAPIENTRY glMultiTexCoord2fvARB(GLenum target, const GLfloat *v) d599 1 a599 1 void GLAPIENTRY glMultiTexCoord2iARB(GLenum target, GLint s, GLint t) d607 1 a607 1 void GLAPIENTRY glMultiTexCoord2ivARB(GLenum target, const GLint *v) d615 1 a615 1 void GLAPIENTRY glMultiTexCoord2sARB(GLenum target, GLshort s, GLshort t) d623 1 a623 1 void GLAPIENTRY glMultiTexCoord2svARB(GLenum target, const GLshort *v) d631 1 a631 1 void GLAPIENTRY glMultiTexCoord3dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r) d639 1 a639 1 void GLAPIENTRY glMultiTexCoord3dvARB(GLenum target, const GLdouble *v) d647 1 a647 1 void GLAPIENTRY glMultiTexCoord3fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r) d655 1 a655 1 void GLAPIENTRY glMultiTexCoord3fvARB(GLenum target, const GLfloat *v) d663 1 a663 1 void GLAPIENTRY glMultiTexCoord3iARB(GLenum target, GLint s, GLint t, GLint r) d671 1 a671 1 void GLAPIENTRY glMultiTexCoord3ivARB(GLenum target, const GLint *v) d679 1 a679 1 void GLAPIENTRY glMultiTexCoord3sARB(GLenum target, GLshort s, GLshort t, GLshort r) d687 1 a687 1 void GLAPIENTRY glMultiTexCoord3svARB(GLenum target, const GLshort *v) d695 1 a695 1 void GLAPIENTRY glMultiTexCoord4dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) d703 1 a703 1 void GLAPIENTRY glMultiTexCoord4dvARB(GLenum target, const GLdouble *v) d711 1 a711 1 void GLAPIENTRY glMultiTexCoord4fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) d720 1 a720 1 void GLAPIENTRY glMultiTexCoord4fvARB(GLenum target, const GLfloat *v) d728 1 a728 1 void GLAPIENTRY glMultiTexCoord4iARB(GLenum target, GLint s, GLint t, GLint r, GLint q) d736 1 a736 1 void GLAPIENTRY glMultiTexCoord4ivARB(GLenum target, const GLint *v) d744 1 a744 1 void GLAPIENTRY glMultiTexCoord4sARB(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) d752 1 a752 1 void GLAPIENTRY glMultiTexCoord4svARB(GLenum target, const GLshort *v) d766 1 a766 1 void GLAPIENTRY glBlendFuncSeparateINGR( GLenum sfactorRGB, d784 1 a784 1 void GLAPIENTRY glHintPGI( GLenum target, GLint mode ) d804 1 a804 1 glBlendEquation( GLenum mode ) d806 1 a806 1 glBlendEquationEXT( mode ); d811 1 a811 1 glBlendColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) d813 1 a813 1 glBlendColorEXT( red, green, blue, alpha ); d818 1 a818 1 glHistogram( GLenum target, GLsizei width, GLenum internalFormat, d832 1 a832 1 glResetHistogram( GLenum target ) d842 1 a842 1 glGetHistogram( GLenum target, GLboolean reset, GLenum format, d857 1 a857 1 glGetHistogramParameterfv( GLenum target, GLenum pname, GLfloat *params ) d869 1 a869 1 glGetHistogramParameteriv( GLenum target, GLenum pname, GLint *params ) d881 1 a881 1 glMinmax( GLenum target, GLenum internalFormat, GLboolean sink ) d893 1 a893 1 glResetMinmax( GLenum target ) d903 1 a903 1 glGetMinMax( GLenum target, GLboolean reset, GLenum format, GLenum types, d918 1 a918 1 glGetMinmaxParameterfv( GLenum target, GLenum pname, GLfloat *params ) d930 1 a930 1 glGetMinmaxParameteriv( GLenum target, GLenum pname, GLint *params ) d942 1 a942 1 glConvolutionFilter1D( GLenum target, GLenum internalFormat, GLsizei width, d958 1 a958 1 glConvolutionFilter2D( GLenum target, GLenum internalFormat, GLsizei width, d976 1 a976 1 glConvolutionParameterf( GLenum target, GLenum pname, GLfloat params ) d988 1 a988 1 glConvolutionParameterfv( GLenum target, GLenum pname, const GLfloat *params ) d1000 1 a1000 1 glConvolutionParameteri( GLenum target, GLenum pname, GLint params ) d1012 1 a1012 1 glConvolutionParameteriv( GLenum target, GLenum pname, const GLint *params ) d1024 1 a1024 1 glCopyConvolutionFilter1D( GLenum target, GLenum internalFormat, d1039 1 a1039 1 glCopyConvolutionFilter2D( GLenum target, GLenum internalFormat, d1055 1 a1055 1 glGetConvolutionFilter( GLenum target, GLenum format, d1069 1 a1069 1 glGetConvolutionParameterfv( GLenum target, GLenum pname, GLfloat *params ) d1081 1 a1081 1 glGetConvolutionParameteriv( GLenum target, GLenum pname, GLint *params ) d1093 1 a1093 1 glSeparableFilter2D( GLenum target, GLenum internalFormat, d1113 1 a1113 1 glGetSeparableFilter( GLenum target, GLenum format, GLenum type, d1129 1 a1129 1 glCopyColorSubTable( GLenum target, GLsizei start, GLint x, GLint y, d1144 1 a1144 1 glCopyColorTable( GLenum target, GLenum internalFormat, d1156 7 d1164 7 a1170 2 @ 3.18 log @minor changes for THREADS mode @ text @d1 1 a1 1 /* $Id: apiext.c,v 3.17 1999/06/13 15:27:39 brianp Exp $ */ d88 1 a88 3 GET_CONTEXT; CHECK_CONTEXT; (*CC->API.VertexPointer)(CC, size, type, stride, ptr); d96 1 a96 3 GET_CONTEXT; CHECK_CONTEXT; (*CC->API.NormalPointer)(CC, type, stride, ptr); d104 1 a104 3 GET_CONTEXT; CHECK_CONTEXT; (*CC->API.ColorPointer)(CC, size, type, stride, ptr); d112 1 a112 3 GET_CONTEXT; CHECK_CONTEXT; (*CC->API.IndexPointer)(CC, type, stride, ptr); d120 1 a120 3 GET_CONTEXT; CHECK_CONTEXT; (*CC->API.TexCoordPointer)(CC, size, type, stride, ptr); d128 1 a128 3 GET_CONTEXT; CHECK_CONTEXT; (*CC->API.EdgeFlagPointer)(CC, stride, ptr); a471 308 #if (GL_SGIS_multitexture == 1) /* * GL_SGIS_multitexture */ #define CHECK_SGIS \ if (target >= GL_TEXTURE0_SGIS && target <= GL_TEXTURE1_SGIS) { \ texSet = target - GL_TEXTURE0_SGIS; \ } \ else { \ gl_error(IM->backref, GL_INVALID_ENUM, "glMultiTexCoord(target)"); \ return; \ } void GLAPIENTRY glMultiTexCoord1dSGIS(GLenum target, GLdouble s) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD1( s ); } void GLAPIENTRY glMultiTexCoord1dvSGIS(GLenum target, const GLdouble *v) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD1( v[0] ); } void GLAPIENTRY glMultiTexCoord1fSGIS(GLenum target, GLfloat s) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD1( s ); } void GLAPIENTRY glMultiTexCoord1fvSGIS(GLenum target, const GLfloat *v) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD1( v[0] ); } void GLAPIENTRY glMultiTexCoord1iSGIS(GLenum target, GLint s) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD1( s ); } void GLAPIENTRY glMultiTexCoord1ivSGIS(GLenum target, const GLint *v) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD1( v[0] ); } void GLAPIENTRY glMultiTexCoord1sSGIS(GLenum target, GLshort s) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD1( s ); } void GLAPIENTRY glMultiTexCoord1svSGIS(GLenum target, const GLshort *v) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD1( v[0] ); } void GLAPIENTRY glMultiTexCoord2dSGIS(GLenum target, GLdouble s, GLdouble t) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD2( s, t ); } void GLAPIENTRY glMultiTexCoord2dvSGIS(GLenum target, const GLdouble *v) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD2( v[0], v[1] ); } void GLAPIENTRY glMultiTexCoord2fSGIS(GLenum target, GLfloat s, GLfloat t) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD2( s, t ); } void GLAPIENTRY glMultiTexCoord2fvSGIS(GLenum target, const GLfloat *v) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD2( v[0], v[1] ); } void GLAPIENTRY glMultiTexCoord2iSGIS(GLenum target, GLint s, GLint t) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD2( s, t ); } void GLAPIENTRY glMultiTexCoord2ivSGIS(GLenum target, const GLint *v) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD2( v[0], v[1] ); } void GLAPIENTRY glMultiTexCoord2sSGIS(GLenum target, GLshort s, GLshort t) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD2( s, t ); } void GLAPIENTRY glMultiTexCoord2svSGIS(GLenum target, const GLshort *v) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD2( v[0], v[1] ); } void GLAPIENTRY glMultiTexCoord3dSGIS(GLenum target, GLdouble s, GLdouble t, GLdouble r) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD3( s, t, r ); } void GLAPIENTRY glMultiTexCoord3dvSGIS(GLenum target, const GLdouble *v) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD3( v[0], v[1], v[2] ); } void GLAPIENTRY glMultiTexCoord3fSGIS(GLenum target, GLfloat s, GLfloat t, GLfloat r) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD3( s, t, r ); } void GLAPIENTRY glMultiTexCoord3fvSGIS(GLenum target, const GLfloat *v) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD3( v[0], v[1], v[2] ); } void GLAPIENTRY glMultiTexCoord3iSGIS(GLenum target, GLint s, GLint t, GLint r) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD3( s, t, r ); } void GLAPIENTRY glMultiTexCoord3ivSGIS(GLenum target, const GLint *v) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD3( v[0], v[1], v[2] ); } void GLAPIENTRY glMultiTexCoord3sSGIS(GLenum target, GLshort s, GLshort t, GLshort r) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD3( s, t, r ); } void GLAPIENTRY glMultiTexCoord3svSGIS(GLenum target, const GLshort *v) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD3( v[0], v[1], v[2] ); } void GLAPIENTRY glMultiTexCoord4dSGIS(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD4( s, t, r, q ); } void GLAPIENTRY glMultiTexCoord4dvSGIS(GLenum target, const GLdouble *v) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD4( v[0], v[1], v[2], v[3] ); } void GLAPIENTRY glMultiTexCoord4fSGIS(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD4( s, t, r, q ); } void GLAPIENTRY glMultiTexCoord4fvSGIS(GLenum target, const GLfloat *v) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD4( v[0], v[1], v[2], v[3] ); } void GLAPIENTRY glMultiTexCoord4iSGIS(GLenum target, GLint s, GLint t, GLint r, GLint q) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD4( s, t, r, q ); } void GLAPIENTRY glMultiTexCoord4ivSGIS(GLenum target, const GLint *v) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD4( v[0], v[1], v[2], v[3] ); } void GLAPIENTRY glMultiTexCoord4sSGIS(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD4( s, t, r, q ); } void GLAPIENTRY glMultiTexCoord4svSGIS(GLenum target, const GLshort *v) { GLint texSet; GET_IMMEDIATE; CHECK_SGIS TEXCOORD4( v[0], v[1], v[2], v[3] ); } void GLAPIENTRY glMultiTexCoordPointerSGIS(GLenum target, GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) { GLint texSet; GET_IMMEDIATE; GET_CONTEXT; CHECK_CONTEXT; CHECK_SGIS (*CC->API.MultiTexCoordPointer)(IM->backref, (GLenum) texSet, size, type, stride, ptr); } void GLAPIENTRY glSelectTextureSGIS(GLenum target) { GET_CONTEXT; CHECK_CONTEXT; (*CC->API.SelectTextureSGIS)(CC, target); } void GLAPIENTRY glSelectTextureCoordSetSGIS(GLenum target) { GET_CONTEXT; CHECK_CONTEXT; (*CC->API.SelectTextureCoordSet)(CC, target); } #endif d715 1 a791 16 void GLAPIENTRY glLockArraysEXT(int first, GLsizei count) { GET_CONTEXT; CHECK_CONTEXT; /* printf("glLockArraysEXT( %d %d )\n", first, count ); */ gl_LockArrays( CC, first, count ); } void GLAPIENTRY glUnlockArraysEXT( void ) { /* printf("glUnlLockArraysEXT()\n"); */ GET_CONTEXT; gl_UnlockArrays( CC ); } @ 3.17 log @added glBlendEquation, glBlendColor, glGetMinMax @ text @d1 1 a1 1 /* $Id: apiext.c,v 3.16 1999/06/08 01:29:54 brianp Exp $ */ d764 2 d1098 1 d1105 1 a1105 1 d1124 1 d1242 1 @ 3.16 log @minor clean-up @ text @d1 1 a1 1 /* $Id: apiext.c,v 3.15 1999/05/08 15:26:26 brianp Exp $ */ d1127 1 a1127 1 * OpenGL 1.2 imaging subset (not implemented, just stubs) d1131 14 d1226 14 @ 3.15 log @generate GL_INVALID_OPERATION when calling imaging extension stubs @ text @d1 1 a1 1 /* $Id: apiext.c,v 3.14 1999/05/08 14:47:30 brianp Exp $ */ a28 2 d86 1 a86 1 GLsizei count, const GLvoid *ptr ) d96 1 a96 1 const GLvoid *ptr ) d106 1 a106 1 GLsizei count, const GLvoid *ptr ) d116 1 a116 1 GLsizei count, const GLvoid *ptr ) d126 1 a126 1 GLsizei count, const GLvoid *ptr ) d136 1 a136 1 const GLboolean *ptr ) d171 3 a173 2 GLboolean GLAPIENTRY glAreTexturesResidentEXT( GLsizei n, const GLuint *textures, GLboolean *residences ) d204 1 a204 1 const GLclampf *priorities ) d216 5 a220 4 void GLAPIENTRY glCopyTexSubImage3DEXT( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height ) d222 2 a223 2 glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height); d228 5 a232 4 void GLAPIENTRY glTexImage3DEXT( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) d234 2 a235 2 glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels); d240 4 a243 3 GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels ) d245 2 a246 2 glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); d430 5 d758 3 a760 2 void GLAPIENTRY glMultiTexCoordPointerSGIS(GLenum target, GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) d1080 3 a1082 3 GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha ) d1087 1 a1087 1 sfactorAlpha, dfactorAlpha); d1100 1 a1100 1 (*CC->API.Hint)(CC, target, mode); @ 3.15.2.1 log @Quake3 inspired optimizations @ text @d1 1 a1 1 /* $Id: apiext.c,v 3.15 1999/05/08 15:26:26 brianp Exp $ */ d1105 1 a1105 1 d1112 1 @ 3.15.2.2 log @some trial assembly, made newer code active by default @ text @d1 1 a1 1 /* $Id: apiext.c,v 3.15.2.1 1999/05/21 21:29:25 keithw Exp $ */ a1100 1 #if 0 d1114 1 a1114 1 #endif @ 3.15.2.3 log @Removed SGIS multitexture, added FX/X86 assm directory @ text @d1 1 a1 1 /* $Id: apiext.c,v 3.15.2.2 1999/06/06 22:35:53 keithw Exp $ */ d90 3 a92 1 glVertexPointer( size, type, stride, ptr ); d100 3 a102 1 glNormalPointer( type, stride, ptr); d110 3 a112 1 glColorPointer(size, type, stride, ptr); d120 3 a122 1 glIndexPointer( type, stride, ptr); d130 3 a132 1 glTexCoordPointer( size, type, stride, ptr); d140 3 a142 1 glEdgeFlagPointer( stride, ptr); d477 303 @ 3.15.2.4 log @cleaned up fxpipeline @ text @d1 1 a1 1 /* $Id: apiext.c,v 3.15.2.3 1999/06/19 15:04:13 keithw Exp $ */ a708 1 @ 3.14 log @replaced a few APIENTRY tokens with GLAPIENTRY @ text @d1 1 a1 1 /* $Id: apiext.c,v 3.13 1999/05/06 17:10:32 brianp Exp $ */ d1126 1 d1131 2 d1139 1 d1141 2 d1150 1 d1156 2 d1164 1 d1168 2 d1176 1 d1180 2 d1188 1 d1192 2 d1200 1 d1202 2 d1210 1 d1214 2 d1222 1 d1226 2 d1235 1 d1242 2 d1252 1 d1260 2 d1268 1 d1272 2 d1280 1 d1284 2 d1292 1 d1296 2 d1304 1 d1308 2 d1317 1 d1323 2 d1332 1 d1339 2 d1348 1 d1353 2 d1361 1 d1365 2 d1373 1 d1377 2 d1387 1 d1397 2 d1406 1 d1413 2 d1422 1 d1428 2 d1437 1 d1443 2 @ 3.13 log @added stub functions for imaging subset extensions @ text @d1 1 a1 1 /* $Id: apiext.c,v 3.12 1999/03/31 20:18:38 keithw Exp $ */ d581 1 a581 1 void APIENTRY glMultiTexCoord2fvSGIS(GLenum target, const GLfloat *v) d795 1 a795 1 void APIENTRY glActiveTextureARB(GLenum texture) d1088 1 a1088 1 void APIENTRY glHintPGI( GLenum target, GLint mode ) d1101 1 a1101 1 void APIENTRY glLockArraysEXT(int first, GLsizei count) d1110 1 a1110 1 void APIENTRY glUnlockArraysEXT( void ) @ 3.12 log @Compiled vertex arrays @ text @d1 1 a1 1 /* $Id: apiext.c,v 3.11 1999/03/20 18:53:23 brianp Exp $ */ d1083 3 a1085 1 /* GL_PGI_misc_hints - I think this is a bit of a dead extension, but d1096 5 d1115 262 @ 3.11 log @fixed bug in MultiTexCoordPointerSGIS @ text @d1 1 a1 1 /* $Id: apiext.c,v 3.10 1999/02/25 14:12:29 keithw Exp $ */ d38 1 d428 10 d439 28 a466 59 /* * GL_SGIS_multitexture */ #define TEXCOORD1(s) \ { \ struct immediate *VB; \ GLuint count; \ GLfloat *tc; \ GET_CONTEXT; \ VB = CC->input; \ count = VB->Count; \ VB->LastTexCoord[texSet] = count; \ VB->Flag[count] |= (texSet+1); /* max 2 texsets */ \ tc = VB->TexCoordPtr[texSet][count]; \ ASSIGN_4V(tc, s,0,0,1); \ } #define TEXCOORD2(s,t) \ { \ struct immediate *VB; \ GLuint count; \ GLfloat *tc; \ GET_CONTEXT; \ VB = CC->input; \ count = VB->Count; \ VB->LastTexCoord[texSet] = count; \ VB->Flag[count] |= (texSet+1); /* max 2 texsets */ \ tc = VB->TexCoordPtr[texSet][count]; \ ASSIGN_4V(tc, s,t,0,1); \ } #define TEXCOORD3(s,t,u) \ { \ struct immediate *VB; \ GLuint count; \ GLfloat *tc; \ GET_CONTEXT; \ VB = CC->input; \ VB->TexCoordSize[texSet] |= 0x1; \ count = VB->Count; \ VB->LastTexCoord[texSet] = count; \ VB->Flag[count] |= (texSet+1); /* max 2 texsets */ \ tc = VB->TexCoordPtr[texSet][count]; \ ASSIGN_4V(tc, s,t,u,1); \ } #define TEXCOORD4(s,t,u,v) \ { \ struct immediate *VB; \ GLuint count; \ GLfloat *tc; \ GET_CONTEXT; \ VB = CC->input; \ VB->TexCoordSize[texSet] |= 0x2; \ count = VB->Count; \ VB->LastTexCoord[texSet] = count; \ VB->Flag[count] |= (texSet+1); /* max 2 texsets */ \ tc = VB->TexCoordPtr[texSet][count]; \ ASSIGN_4V(tc, s,t,u,v); \ d476 7 d488 1 a488 1 gl_error(CC, GL_INVALID_ENUM, "glMultiTexCoord(target)"); \ d495 1 a495 1 GET_CONTEXT; d497 1 a497 1 TEXCOORD2( s, 0.0 ); d503 1 a503 1 GET_CONTEXT; d505 1 a505 1 TEXCOORD2( v[0], 0.0 ); d511 1 a511 1 GET_CONTEXT; d513 1 a513 1 TEXCOORD2( s, 0.0 ); d519 1 a519 1 GET_CONTEXT; d521 1 a521 1 TEXCOORD2( v[0], 0.0 ); d527 1 a527 1 GET_CONTEXT; d529 1 a529 1 TEXCOORD2( s, 0.0 ); d535 1 a535 1 GET_CONTEXT; d537 1 a537 1 TEXCOORD2( v[0], 0.0 ); d543 1 a543 1 GET_CONTEXT; d545 1 a545 1 TEXCOORD2( s, 0.0 ); d551 1 a551 1 GET_CONTEXT; d553 1 a553 1 TEXCOORD2( v[0], 0.0 ); d559 1 a559 1 GET_CONTEXT; d567 1 a567 1 GET_CONTEXT; d575 1 a575 1 GET_CONTEXT; d581 1 a581 1 void GLAPIENTRY glMultiTexCoord2fvSGIS(GLenum target, const GLfloat *v) d584 1 a584 1 GET_CONTEXT; d592 1 a592 1 GET_CONTEXT; d600 1 a600 1 GET_CONTEXT; d608 1 a608 1 GET_CONTEXT; d616 1 a616 1 GET_CONTEXT; d624 1 a624 1 GET_CONTEXT; d632 1 a632 1 GET_CONTEXT; d640 1 a640 1 GET_CONTEXT; d648 1 a648 1 GET_CONTEXT; d656 1 a656 1 GET_CONTEXT; d664 1 a664 1 GET_CONTEXT; d672 1 a672 1 GET_CONTEXT; d680 1 a680 1 GET_CONTEXT; d688 1 a688 1 GET_CONTEXT; d696 1 a696 1 GET_CONTEXT; d704 1 a704 1 GET_CONTEXT; d712 1 a712 1 GET_CONTEXT; d720 1 a720 1 GET_CONTEXT; d728 1 a728 1 GET_CONTEXT; d736 1 a736 1 GET_CONTEXT; d744 1 a744 1 GET_CONTEXT; d755 1 a755 2 GET_CONTEXT; CHECK_CONTEXT; d757 2 a758 2 (*CC->API.MultiTexCoordPointer)(CC, (GLenum) (GL_TEXTURE0_SGIS + texSet), size, type, stride, ptr); d779 1 d791 1 a791 1 gl_error(CC, GL_INVALID_ENUM, "glMultiTexCoord(target)"); \ d795 1 a795 1 void GLAPIENTRY glActiveTextureARB(GLenum texture) d812 1 a812 1 GET_CONTEXT; d814 1 a814 1 TEXCOORD2( s, 0.0 ); d820 1 a820 1 GET_CONTEXT; d822 1 a822 1 TEXCOORD2( v[0], 0.0 ); d828 1 a828 1 GET_CONTEXT; d830 1 a830 1 TEXCOORD2( s, 0.0 ); d836 1 a836 1 GET_CONTEXT; d838 1 a838 1 TEXCOORD2( v[0], 0.0 ); d844 1 a844 1 GET_CONTEXT; d846 1 a846 1 TEXCOORD2( s, 0.0 ); d852 1 a852 1 GET_CONTEXT; d854 1 a854 1 TEXCOORD2( v[0], 0.0 ); d860 1 a860 1 GET_CONTEXT; d862 1 a862 1 TEXCOORD2( s, 0.0 ); d868 1 a868 1 GET_CONTEXT; d870 1 a870 1 TEXCOORD2( v[0], 0.0 ); d876 1 a876 1 GET_CONTEXT; d884 1 a884 1 GET_CONTEXT; d892 1 a892 1 GET_CONTEXT; d900 1 a900 1 GET_CONTEXT; d908 1 a908 1 GET_CONTEXT; d916 1 a916 1 GET_CONTEXT; d924 1 a924 1 GET_CONTEXT; d932 1 a932 1 GET_CONTEXT; d940 1 a940 1 GET_CONTEXT; d948 1 a948 1 GET_CONTEXT; d956 1 a956 1 GET_CONTEXT; d964 1 a964 1 GET_CONTEXT; d972 1 a972 1 GET_CONTEXT; d980 1 a980 1 GET_CONTEXT; d988 1 a988 1 GET_CONTEXT; d996 1 a996 1 GET_CONTEXT; d1004 1 a1004 1 GET_CONTEXT; d1012 1 a1012 1 GET_CONTEXT; d1020 1 a1020 1 GET_CONTEXT; d1028 1 a1028 1 GET_CONTEXT; d1036 1 a1036 1 GET_CONTEXT; d1044 1 a1044 1 GET_CONTEXT; d1052 1 a1052 1 GET_CONTEXT; d1060 1 a1060 1 GET_CONTEXT; d1080 27 @ 3.10 log @Merged in kw3 patch @ text @d1 1 a1 1 /* $Id: apiext.c,v 3.9 1999/02/24 22:48:04 jens Exp $ */ d771 2 a772 1 (*CC->API.MultiTexCoordPointer)(CC, texSet, size, type, stride, ptr); @ 3.9 log @Added header file to get XMesa to compile standalone and inside XFree86 @ text @d1 1 a1 1 /* $Id: apiext.c,v 3.8 1999/02/14 03:46:34 brianp Exp $ */ d28 1 a28 30 /* * $Log: apiext.c,v $ * Revision 3.8 1999/02/14 03:46:34 brianp * new copyright * * Revision 3.7 1999/01/03 03:28:39 brianp * now using GLAPIENTRY keyword (Ted Jump) * * Revision 3.6 1998/11/03 01:40:37 brianp * implemented GL_ARB_multitexture * * Revision 3.5 1998/10/23 01:03:47 brianp * added GL_ARB_multitexture extension * * Revision 3.4 1998/10/23 00:44:11 brianp * removed GL_EXT_multitexture * * Revision 3.3 1998/10/05 00:40:15 brianp * added GL_INGR_blend_func_separate extension * * Revision 3.2 1998/06/07 22:18:52 brianp * implemented GL_EXT_multitexture extension * * Revision 3.1 1998/03/27 03:30:36 brianp * fixed G++ warnings * * Revision 3.0 1998/02/20 04:45:50 brianp * implemented GL_SGIS_multitexture * */ d39 1 d154 2 a155 6 void GLAPIENTRY glArrayElementEXT( GLint i ) { GET_CONTEXT; CHECK_CONTEXT; (*CC->API.ArrayElement)(CC, i); } d162 1 a162 1 (*CC->API.DrawArrays)(CC, mode, first, count); d431 73 d507 1 d509 2 a510 1 (*CC->API.MultiTexCoord4f)( CC, target, s, 0.0, 0.0, 1.0 ); d515 1 d517 2 a518 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], 0.0, 0.0, 1.0 ); d523 1 d525 2 a526 1 (*CC->API.MultiTexCoord4f)( CC, target, s, 0.0, 0.0, 1.0 ); d531 1 d533 2 a534 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], 0.0, 0.0, 1.0 ); d539 1 d541 2 a542 1 (*CC->API.MultiTexCoord4f)( CC, target, s, 0.0, 0.0, 1.0 ); d547 1 d549 2 a550 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], 0.0, 0.0, 1.0 ); d555 1 d557 2 a558 1 (*CC->API.MultiTexCoord4f)( CC, target, s, 0.0, 0.0, 1.0 ); d563 1 d565 2 a566 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], 0.0, 0.0, 1.0 ); d571 1 d573 2 a574 1 (*CC->API.MultiTexCoord4f)( CC, target, s, t, 0.0, 1.0 ); d579 1 d581 2 a582 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], 0.0, 1.0 ); d587 1 d589 2 a590 1 (*CC->API.MultiTexCoord4f)( CC, target, s, t, 0.0, 1.0 ); d593 1 d596 1 d598 2 a599 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], 0.0, 1.0 ); d604 1 d606 2 a607 1 (*CC->API.MultiTexCoord4f)( CC, target, s, t, 0.0, 1.0 ); d612 1 d614 2 a615 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], 0.0, 1.0 ); d620 1 d622 2 a623 1 (*CC->API.MultiTexCoord4f)( CC, target, s, t, 0.0, 1.0 ); d628 1 d630 2 a631 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], 0.0, 1.0 ); d636 1 d638 2 a639 1 (*CC->API.MultiTexCoord4f)( CC, target, s, t, r, 1.0 ); d644 1 d646 2 a647 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], v[2], 1.0 ); d652 1 d654 2 a655 1 (*CC->API.MultiTexCoord4f)( CC, target, s, t, r, 1.0 ); d660 1 d662 2 a663 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], v[2], 1.0 ); d668 1 d670 2 a671 1 (*CC->API.MultiTexCoord4f)( CC, target, s, t, r, 1.0 ); d676 1 d678 2 a679 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], v[2], 1.0 ); d684 1 d686 2 a687 1 (*CC->API.MultiTexCoord4f)( CC, target, s, t, r, 1.0 ); d692 1 d694 2 a695 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], v[2], 1.0 ); d700 1 d702 2 a703 1 (*CC->API.MultiTexCoord4f)( CC, target, s, t, r, q ); d708 1 d710 2 a711 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], v[2], v[3] ); d716 1 d718 2 a719 1 (*CC->API.MultiTexCoord4f)( CC, target, s, t, r, q ); d724 1 d726 2 a727 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], v[2], v[3] ); d732 1 d734 2 a735 1 (*CC->API.MultiTexCoord4f)( CC, target, s, t, r, q ); d740 1 d742 2 a743 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], v[2], v[3] ); d748 1 d750 2 a751 1 (*CC->API.MultiTexCoord4f)( CC, target, s, t, r, q ); d756 1 d758 2 a759 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], v[2], v[3] ); d767 1 d770 2 a771 1 (*CC->API.MultiTexCoordPointer)(CC, target, size, type, stride, ptr); d798 9 d823 1 d825 2 a826 1 (*CC->API.MultiTexCoord4f)( CC, target, s, 0.0, 0.0, 1.0 ); d831 1 d833 2 a834 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], 0.0, 0.0, 1.0 ); d839 1 d841 2 a842 1 (*CC->API.MultiTexCoord4f)( CC, target, s, 0.0, 0.0, 1.0 ); d847 1 d849 2 a850 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], 0.0, 0.0, 1.0 ); d855 1 d857 2 a858 1 (*CC->API.MultiTexCoord4f)( CC, target, s, 0.0, 0.0, 1.0 ); d863 1 d865 2 a866 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], 0.0, 0.0, 1.0 ); d871 1 d873 2 a874 1 (*CC->API.MultiTexCoord4f)( CC, target, s, 0.0, 0.0, 1.0 ); d879 1 d881 2 a882 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], 0.0, 0.0, 1.0 ); d887 1 d889 2 a890 1 (*CC->API.MultiTexCoord4f)( CC, target, s, t, 0.0, 1.0 ); d895 1 d897 2 a898 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], 0.0, 1.0 ); d903 1 d905 2 a906 1 (*CC->API.MultiTexCoord4f)( CC, target, s, t, 0.0, 1.0 ); d911 1 d913 2 a914 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], 0.0, 1.0 ); d919 1 d921 2 a922 1 (*CC->API.MultiTexCoord4f)( CC, target, s, t, 0.0, 1.0 ); d927 1 d929 2 a930 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], 0.0, 1.0 ); d935 1 d937 2 a938 1 (*CC->API.MultiTexCoord4f)( CC, target, s, t, 0.0, 1.0 ); d943 1 d945 2 a946 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], 0.0, 1.0 ); d951 1 d953 2 a954 1 (*CC->API.MultiTexCoord4f)( CC, target, s, t, r, 1.0 ); d959 1 d961 2 a962 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], v[2], 1.0 ); d967 1 d969 2 a970 1 (*CC->API.MultiTexCoord4f)( CC, target, s, t, r, 1.0 ); d975 1 d977 2 a978 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], v[2], 1.0 ); d983 1 d985 2 a986 1 (*CC->API.MultiTexCoord4f)( CC, target, s, t, r, 1.0 ); d991 1 d993 2 a994 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], v[2], 1.0 ); d999 1 d1001 2 a1002 1 (*CC->API.MultiTexCoord4f)( CC, target, s, t, r, 1.0 ); d1007 1 d1009 2 a1010 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], v[2], 1.0 ); d1015 1 d1017 2 a1018 1 (*CC->API.MultiTexCoord4f)( CC, target, s, t, r, q ); d1023 1 d1025 2 a1026 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], v[2], v[3] ); d1031 1 d1033 2 a1034 1 (*CC->API.MultiTexCoord4f)( CC, target, s, t, r, q ); d1039 1 d1041 2 a1042 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], v[2], v[3] ); d1047 1 d1049 2 a1050 1 (*CC->API.MultiTexCoord4f)( CC, target, s, t, r, q ); d1055 1 d1057 2 a1058 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], v[2], v[3] ); d1063 1 d1065 2 a1066 1 (*CC->API.MultiTexCoord4f)( CC, target, s, t, r, q ); d1071 1 d1073 2 a1074 1 (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], v[2], v[3] ); @ 3.8 log @new copyright @ text @d1 1 a1 1 /* $Id: apiext.c,v 3.7 1999/01/03 03:28:39 brianp Exp brianp $ */ d30 3 d68 3 @ 3.7 log @now using GLAPIENTRY keyword (Ted Jump) @ text @d1 1 a1 1 /* $Id: apiext.c,v 3.6 1998/11/03 01:40:37 brianp Exp brianp $ */ d6 19 a24 15 * Copyright (C) 1995-1999 Brian Paul * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library 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 * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. d30 3 @ 3.6 log @implemented GL_ARB_multitexture @ text @d1 1 a1 1 /* $Id: apiext.c,v 3.5 1998/10/23 01:03:47 brianp Exp brianp $ */ d6 1 a6 1 * Copyright (C) 1995-1998 Brian Paul d26 3 d72 1 a72 1 void APIENTRY glBlendEquationEXT( GLenum mode ) d86 1 a86 1 void APIENTRY glBlendColorEXT( GLclampf red, GLclampf green, d101 1 a101 1 void APIENTRY glVertexPointerEXT( GLint size, GLenum type, GLsizei stride, d111 1 a111 1 void APIENTRY glNormalPointerEXT( GLenum type, GLsizei stride, GLsizei count, d121 1 a121 1 void APIENTRY glColorPointerEXT( GLint size, GLenum type, GLsizei stride, d131 1 a131 1 void APIENTRY glIndexPointerEXT( GLenum type, GLsizei stride, d141 1 a141 1 void APIENTRY glTexCoordPointerEXT( GLint size, GLenum type, GLsizei stride, d151 1 a151 1 void APIENTRY glEdgeFlagPointerEXT( GLsizei stride, GLsizei count, d161 1 a161 1 void APIENTRY glGetPointervEXT( GLenum pname, GLvoid **params ) d169 1 a169 1 void APIENTRY glArrayElementEXT( GLint i ) d177 1 a177 1 void APIENTRY glDrawArraysEXT( GLenum mode, GLint first, GLsizei count ) d191 1 a191 1 GLboolean APIENTRY glAreTexturesResidentEXT( GLsizei n, const GLuint *textures, d198 1 a198 1 void APIENTRY glBindTextureEXT( GLenum target, GLuint texture ) d204 1 a204 1 void APIENTRY glDeleteTexturesEXT( GLsizei n, const GLuint *textures) d210 1 a210 1 void APIENTRY glGenTexturesEXT( GLsizei n, GLuint *textures ) d216 1 a216 1 GLboolean APIENTRY glIsTextureEXT( GLuint texture ) d222 1 a222 1 void APIENTRY glPrioritizeTexturesEXT( GLsizei n, const GLuint *textures, d235 1 a235 1 void APIENTRY glCopyTexSubImage3DEXT( GLenum target, GLint level, GLint xoffset, d246 1 a246 1 void APIENTRY glTexImage3DEXT( GLenum target, GLint level, GLenum internalformat, d256 1 a256 1 void APIENTRY glTexSubImage3DEXT( GLenum target, GLint level, GLint xoffset, d272 1 a272 1 void APIENTRY glPointParameterfEXT( GLenum pname, GLfloat param ) d284 1 a284 1 void APIENTRY glPointParameterfvEXT( GLenum pname, const GLfloat *params ) d298 1 a298 1 void APIENTRY glWindowPos4fMESA( GLfloat x, GLfloat y, GLfloat z, GLfloat w ) d309 1 a309 1 void APIENTRY glWindowPos2iMESA( GLint x, GLint y ) d314 1 a314 1 void APIENTRY glWindowPos2sMESA( GLshort x, GLshort y ) d319 1 a319 1 void APIENTRY glWindowPos2fMESA( GLfloat x, GLfloat y ) d324 1 a324 1 void APIENTRY glWindowPos2dMESA( GLdouble x, GLdouble y ) d329 1 a329 1 void APIENTRY glWindowPos2ivMESA( const GLint *p ) d334 1 a334 1 void APIENTRY glWindowPos2svMESA( const GLshort *p ) d339 1 a339 1 void APIENTRY glWindowPos2fvMESA( const GLfloat *p ) d344 1 a344 1 void APIENTRY glWindowPos2dvMESA( const GLdouble *p ) d349 1 a349 1 void APIENTRY glWindowPos3iMESA( GLint x, GLint y, GLint z ) d354 1 a354 1 void APIENTRY glWindowPos3sMESA( GLshort x, GLshort y, GLshort z ) d359 1 a359 1 void APIENTRY glWindowPos3fMESA( GLfloat x, GLfloat y, GLfloat z ) d364 1 a364 1 void APIENTRY glWindowPos3dMESA( GLdouble x, GLdouble y, GLdouble z ) d369 1 a369 1 void APIENTRY glWindowPos3ivMESA( const GLint *p ) d374 1 a374 1 void APIENTRY glWindowPos3svMESA( const GLshort *p ) d379 1 a379 1 void APIENTRY glWindowPos3fvMESA( const GLfloat *p ) d384 1 a384 1 void APIENTRY glWindowPos3dvMESA( const GLdouble *p ) d389 1 a389 1 void APIENTRY glWindowPos4iMESA( GLint x, GLint y, GLint z, GLint w ) d394 1 a394 1 void APIENTRY glWindowPos4sMESA( GLshort x, GLshort y, GLshort z, GLshort w ) d399 1 a399 1 void APIENTRY glWindowPos4dMESA( GLdouble x, GLdouble y, GLdouble z, GLdouble w ) d405 1 a405 1 void APIENTRY glWindowPos4ivMESA( const GLint *p ) d411 1 a411 1 void APIENTRY glWindowPos4svMESA( const GLshort *p ) d417 1 a417 1 void APIENTRY glWindowPos4fvMESA( const GLfloat *p ) d422 1 a422 1 void APIENTRY glWindowPos4dvMESA( const GLdouble *p ) d438 1 a438 1 void APIENTRY glResizeBuffersMESA( void ) d451 1 a451 1 void APIENTRY glMultiTexCoord1dSGIS(GLenum target, GLdouble s) d457 1 a457 1 void APIENTRY glMultiTexCoord1dvSGIS(GLenum target, const GLdouble *v) d463 1 a463 1 void APIENTRY glMultiTexCoord1fSGIS(GLenum target, GLfloat s) d469 1 a469 1 void APIENTRY glMultiTexCoord1fvSGIS(GLenum target, const GLfloat *v) d475 1 a475 1 void APIENTRY glMultiTexCoord1iSGIS(GLenum target, GLint s) d481 1 a481 1 void APIENTRY glMultiTexCoord1ivSGIS(GLenum target, const GLint *v) d487 1 a487 1 void APIENTRY glMultiTexCoord1sSGIS(GLenum target, GLshort s) d493 1 a493 1 void APIENTRY glMultiTexCoord1svSGIS(GLenum target, const GLshort *v) d499 1 a499 1 void APIENTRY glMultiTexCoord2dSGIS(GLenum target, GLdouble s, GLdouble t) d505 1 a505 1 void APIENTRY glMultiTexCoord2dvSGIS(GLenum target, const GLdouble *v) d511 1 a511 1 void APIENTRY glMultiTexCoord2fSGIS(GLenum target, GLfloat s, GLfloat t) d517 1 a517 1 void APIENTRY glMultiTexCoord2fvSGIS(GLenum target, const GLfloat *v) d523 1 a523 1 void APIENTRY glMultiTexCoord2iSGIS(GLenum target, GLint s, GLint t) d529 1 a529 1 void APIENTRY glMultiTexCoord2ivSGIS(GLenum target, const GLint *v) d535 1 a535 1 void APIENTRY glMultiTexCoord2sSGIS(GLenum target, GLshort s, GLshort t) d541 1 a541 1 void APIENTRY glMultiTexCoord2svSGIS(GLenum target, const GLshort *v) d547 1 a547 1 void APIENTRY glMultiTexCoord3dSGIS(GLenum target, GLdouble s, GLdouble t, GLdouble r) d553 1 a553 1 void APIENTRY glMultiTexCoord3dvSGIS(GLenum target, const GLdouble *v) d559 1 a559 1 void APIENTRY glMultiTexCoord3fSGIS(GLenum target, GLfloat s, GLfloat t, GLfloat r) d565 1 a565 1 void APIENTRY glMultiTexCoord3fvSGIS(GLenum target, const GLfloat *v) d571 1 a571 1 void APIENTRY glMultiTexCoord3iSGIS(GLenum target, GLint s, GLint t, GLint r) d577 1 a577 1 void APIENTRY glMultiTexCoord3ivSGIS(GLenum target, const GLint *v) d583 1 a583 1 void APIENTRY glMultiTexCoord3sSGIS(GLenum target, GLshort s, GLshort t, GLshort r) d589 1 a589 1 void APIENTRY glMultiTexCoord3svSGIS(GLenum target, const GLshort *v) d595 1 a595 1 void APIENTRY glMultiTexCoord4dSGIS(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) d601 1 a601 1 void APIENTRY glMultiTexCoord4dvSGIS(GLenum target, const GLdouble *v) d607 1 a607 1 void APIENTRY glMultiTexCoord4fSGIS(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) d613 1 a613 1 void APIENTRY glMultiTexCoord4fvSGIS(GLenum target, const GLfloat *v) d619 1 a619 1 void APIENTRY glMultiTexCoord4iSGIS(GLenum target, GLint s, GLint t, GLint r, GLint q) d625 1 a625 1 void APIENTRY glMultiTexCoord4ivSGIS(GLenum target, const GLint *v) d631 1 a631 1 void APIENTRY glMultiTexCoord4sSGIS(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) d637 1 a637 1 void APIENTRY glMultiTexCoord4svSGIS(GLenum target, const GLshort *v) d645 1 a645 1 void APIENTRY glMultiTexCoordPointerSGIS(GLenum target, GLint size, GLenum type, d655 1 a655 1 void APIENTRY glSelectTextureSGIS(GLenum target) d664 1 a664 1 void APIENTRY glSelectTextureCoordSetSGIS(GLenum target) d677 1 a677 1 void APIENTRY glActiveTextureARB(GLenum texture) d684 1 a684 1 void APIENTRY glClientActiveTextureARB(GLenum texture) d691 1 a691 1 void APIENTRY glMultiTexCoord1dARB(GLenum target, GLdouble s) d697 1 a697 1 void APIENTRY glMultiTexCoord1dvARB(GLenum target, const GLdouble *v) d703 1 a703 1 void APIENTRY glMultiTexCoord1fARB(GLenum target, GLfloat s) d709 1 a709 1 void APIENTRY glMultiTexCoord1fvARB(GLenum target, const GLfloat *v) d715 1 a715 1 void APIENTRY glMultiTexCoord1iARB(GLenum target, GLint s) d721 1 a721 1 void APIENTRY glMultiTexCoord1ivARB(GLenum target, const GLint *v) d727 1 a727 1 void APIENTRY glMultiTexCoord1sARB(GLenum target, GLshort s) d733 1 a733 1 void APIENTRY glMultiTexCoord1svARB(GLenum target, const GLshort *v) d739 1 a739 1 void APIENTRY glMultiTexCoord2dARB(GLenum target, GLdouble s, GLdouble t) d745 1 a745 1 void APIENTRY glMultiTexCoord2dvARB(GLenum target, const GLdouble *v) d751 1 a751 1 void APIENTRY glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t) d757 1 a757 1 void APIENTRY glMultiTexCoord2fvARB(GLenum target, const GLfloat *v) d763 1 a763 1 void APIENTRY glMultiTexCoord2iARB(GLenum target, GLint s, GLint t) d769 1 a769 1 void APIENTRY glMultiTexCoord2ivARB(GLenum target, const GLint *v) d775 1 a775 1 void APIENTRY glMultiTexCoord2sARB(GLenum target, GLshort s, GLshort t) d781 1 a781 1 void APIENTRY glMultiTexCoord2svARB(GLenum target, const GLshort *v) d787 1 a787 1 void APIENTRY glMultiTexCoord3dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r) d793 1 a793 1 void APIENTRY glMultiTexCoord3dvARB(GLenum target, const GLdouble *v) d799 1 a799 1 void APIENTRY glMultiTexCoord3fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r) d805 1 a805 1 void APIENTRY glMultiTexCoord3fvARB(GLenum target, const GLfloat *v) d811 1 a811 1 void APIENTRY glMultiTexCoord3iARB(GLenum target, GLint s, GLint t, GLint r) d817 1 a817 1 void APIENTRY glMultiTexCoord3ivARB(GLenum target, const GLint *v) d823 1 a823 1 void APIENTRY glMultiTexCoord3sARB(GLenum target, GLshort s, GLshort t, GLshort r) d829 1 a829 1 void APIENTRY glMultiTexCoord3svARB(GLenum target, const GLshort *v) d835 1 a835 1 void APIENTRY glMultiTexCoord4dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) d841 1 a841 1 void APIENTRY glMultiTexCoord4dvARB(GLenum target, const GLdouble *v) d847 1 a847 1 void APIENTRY glMultiTexCoord4fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) d853 1 a853 1 void APIENTRY glMultiTexCoord4fvARB(GLenum target, const GLfloat *v) d859 1 a859 1 void APIENTRY glMultiTexCoord4iARB(GLenum target, GLint s, GLint t, GLint r, GLint q) d865 1 a865 1 void APIENTRY glMultiTexCoord4ivARB(GLenum target, const GLint *v) d871 1 a871 1 void APIENTRY glMultiTexCoord4sARB(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) d877 1 a877 1 void APIENTRY glMultiTexCoord4svARB(GLenum target, const GLshort *v) d889 1 a889 1 void APIENTRY glBlendFuncSeparateINGR( GLenum sfactorRGB, @ 3.5 log @added GL_ARB_multitexture extension @ text @d1 1 a1 1 /* $Id: apiext.c,v 3.4 1998/10/23 00:44:11 brianp Exp brianp $ */ d26 3 d678 1 a678 1 /* (*CC->API.ActiveTextureARB)(CC, texture);*/ d685 1 a685 1 /* (*CC->API.ClientActiveTextureARB)(CC, texture);*/ @ 3.4 log @removed GL_EXT_multitexture @ text @d1 1 a1 1 /* $Id: apiext.c,v 3.3 1998/10/05 00:40:15 brianp Exp brianp $ */ d26 3 d663 212 @ 3.3 log @added GL_INGR_blend_func_separate extension @ text @d1 1 a1 1 /* $Id: apiext.c,v 3.2 1998/06/07 22:18:52 brianp Exp brianp $ */ d26 3 a659 235 } /* * GL_EXT_multitexture */ void APIENTRY glMultiTexCoord1dEXT(GLenum target, GLdouble s) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, s, 0.0, 0.0, 1.0 ); } void APIENTRY glMultiTexCoord1dvEXT(GLenum target, const GLdouble *v) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, v[0], 0.0, 0.0, 1.0 ); } void APIENTRY glMultiTexCoord1fEXT(GLenum target, GLfloat s) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, s, 0.0, 0.0, 1.0 ); } void APIENTRY glMultiTexCoord1fvEXT(GLenum target, const GLfloat *v) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, v[0], 0.0, 0.0, 1.0 ); } void APIENTRY glMultiTexCoord1iEXT(GLenum target, GLint s) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, s, 0.0, 0.0, 1.0 ); } void APIENTRY glMultiTexCoord1ivEXT(GLenum target, const GLint *v) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, v[0], 0.0, 0.0, 1.0 ); } void APIENTRY glMultiTexCoord1sEXT(GLenum target, GLshort s) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, s, 0.0, 0.0, 1.0 ); } void APIENTRY glMultiTexCoord1svEXT(GLenum target, const GLshort *v) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, v[0], 0.0, 0.0, 1.0 ); } void APIENTRY glMultiTexCoord2dEXT(GLenum target, GLdouble s, GLdouble t) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, s, t, 0.0, 1.0 ); } void APIENTRY glMultiTexCoord2dvEXT(GLenum target, const GLdouble *v) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], 0.0, 1.0 ); } void APIENTRY glMultiTexCoord2fEXT(GLenum target, GLfloat s, GLfloat t) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, s, t, 0.0, 1.0 ); } void APIENTRY glMultiTexCoord2fvEXT(GLenum target, const GLfloat *v) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], 0.0, 1.0 ); } void APIENTRY glMultiTexCoord2iEXT(GLenum target, GLint s, GLint t) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, s, t, 0.0, 1.0 ); } void APIENTRY glMultiTexCoord2ivEXT(GLenum target, const GLint *v) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], 0.0, 1.0 ); } void APIENTRY glMultiTexCoord2sEXT(GLenum target, GLshort s, GLshort t) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, s, t, 0.0, 1.0 ); } void APIENTRY glMultiTexCoord2svEXT(GLenum target, const GLshort *v) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], 0.0, 1.0 ); } void APIENTRY glMultiTexCoord3dEXT(GLenum target, GLdouble s, GLdouble t, GLdouble r) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, s, t, r, 1.0 ); } void APIENTRY glMultiTexCoord3dvEXT(GLenum target, const GLdouble *v) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], v[2], 1.0 ); } void APIENTRY glMultiTexCoord3fEXT(GLenum target, GLfloat s, GLfloat t, GLfloat r) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, s, t, r, 1.0 ); } void APIENTRY glMultiTexCoord3fvEXT(GLenum target, const GLfloat *v) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], v[2], 1.0 ); } void APIENTRY glMultiTexCoord3iEXT(GLenum target, GLint s, GLint t, GLint r) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, s, t, r, 1.0 ); } void APIENTRY glMultiTexCoord3ivEXT(GLenum target, const GLint *v) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], v[2], 1.0 ); } void APIENTRY glMultiTexCoord3sEXT(GLenum target, GLshort s, GLshort t, GLshort r) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, s, t, r, 1.0 ); } void APIENTRY glMultiTexCoord3svEXT(GLenum target, const GLshort *v) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], v[2], 1.0 ); } void APIENTRY glMultiTexCoord4dEXT(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, s, t, r, q ); } void APIENTRY glMultiTexCoord4dvEXT(GLenum target, const GLdouble *v) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], v[2], v[3] ); } void APIENTRY glMultiTexCoord4fEXT(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, s, t, r, q ); } void APIENTRY glMultiTexCoord4fvEXT(GLenum target, const GLfloat *v) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], v[2], v[3] ); } void APIENTRY glMultiTexCoord4iEXT(GLenum target, GLint s, GLint t, GLint r, GLint q) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, s, t, r, q ); } void APIENTRY glMultiTexCoord4ivEXT(GLenum target, const GLint *v) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], v[2], v[3] ); } void APIENTRY glMultiTexCoord4sEXT(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, s, t, r, q ); } void APIENTRY glMultiTexCoord4svEXT(GLenum target, const GLshort *v) { GET_CONTEXT; (*CC->API.MultiTexCoord4f)( CC, target, v[0], v[1], v[2], v[3] ); } void APIENTRY glInterleavedTextureCoordSetsEXT( GLint factor ) { GET_CONTEXT; CHECK_CONTEXT; (*CC->API.InterleavedTextureCoordSets)( CC, factor ); } void APIENTRY glSelectTextureTransformEXT( GLenum target ) { GET_CONTEXT; CHECK_CONTEXT; (*CC->API.SelectTextureTransform)( CC, target ); } void APIENTRY glSelectTextureEXT( GLenum target ) { GET_CONTEXT; CHECK_CONTEXT; (*CC->API.SelectTexture)( CC, target ); } void APIENTRY glSelectTextureCoordSetEXT( GLenum target ) { GET_CONTEXT; CHECK_CONTEXT; (*CC->API.SelectTextureCoordSet)( CC, target ); @ 3.2 log @implemented GL_EXT_multitexture extension @ text @d1 1 a1 1 /* $Id: apiext.c,v 3.1 1998/03/27 03:30:36 brianp Exp brianp $ */ d5 1 a5 1 * Version: 3.0 d26 3 d894 16 @ 3.1 log @fixed G++ warnings @ text @d1 1 a1 1 /* $Id: apiext.c,v 3.0 1998/02/20 04:45:50 brianp Exp brianp $ */ d26 3 d644 1 a644 1 (*CC->API.SelectTexture)(CC, target); d655 236 @ 3.0 log @implemented GL_SGIS_multitexture @ text @d1 1 a1 1 /* $Id$ */ d25 4 a28 1 * $Log$ d89 1 d99 1 d109 1 d119 1 d129 1 d139 1 @