| 1 |
|
| 2 |
/* |
| 3 |
* Mesa 3-D graphics library |
| 4 |
* Version: 4.1 |
| 5 |
* |
| 6 |
* Copyright (C) 1999-2001 Brian Paul All Rights Reserved. |
| 7 |
* |
| 8 |
* Permission is hereby granted, free of charge, to any person obtaining a |
| 9 |
* copy of this software and associated documentation files (the "Software"), |
| 10 |
* to deal in the Software without restriction, including without limitation |
| 11 |
* the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| 12 |
* and/or sell copies of the Software, and to permit persons to whom the |
| 13 |
* Software is furnished to do so, subject to the following conditions: |
| 14 |
* |
| 15 |
* The above copyright notice and this permission notice shall be included |
| 16 |
* in all copies or substantial portions of the Software. |
| 17 |
* |
| 18 |
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 19 |
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 20 |
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
| 21 |
* BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN |
| 22 |
* AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| 23 |
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 24 |
*/ |
| 25 |
|
| 26 |
#ifndef _API_NOOP_H |
| 27 |
#define _API_NOOP_H |
| 28 |
|
| 29 |
|
| 30 |
#include "glheader.h" |
| 31 |
#include "mtypes.h" |
| 32 |
#include "context.h" |
| 33 |
|
| 34 |
/* In states where certain vertex components are required for t&l or |
| 35 |
* rasterization, we still need to keep track of the current values. |
| 36 |
* These functions provide this service by keeping uptodate the |
| 37 |
* 'ctx->Current' struct for all data elements not included in the |
| 38 |
* currently enabled hardware vertex. |
| 39 |
* |
| 40 |
*/ |
| 41 |
extern void GLAPIENTRY _mesa_noop_EdgeFlag( GLboolean b ); |
| 42 |
extern void GLAPIENTRY _mesa_noop_EdgeFlagv( const GLboolean *b ); |
| 43 |
|
| 44 |
extern void GLAPIENTRY _mesa_noop_FogCoordfEXT( GLfloat a ); |
| 45 |
extern void GLAPIENTRY _mesa_noop_FogCoordfvEXT( const GLfloat *v ); |
| 46 |
|
| 47 |
extern void GLAPIENTRY _mesa_noop_Indexf( GLfloat i ); |
| 48 |
extern void GLAPIENTRY _mesa_noop_Indexfv( const GLfloat *v ); |
| 49 |
|
| 50 |
extern void GLAPIENTRY _mesa_noop_Normal3f( GLfloat a, GLfloat b, GLfloat c ); |
| 51 |
extern void GLAPIENTRY _mesa_noop_Normal3fv( const GLfloat *v ); |
| 52 |
|
| 53 |
extern void GLAPIENTRY _mesa_noop_Materialfv( GLenum face, GLenum pname, const GLfloat *param ); |
| 54 |
|
| 55 |
extern void _mesa_noop_Color4ub( GLubyte a, GLubyte b, GLubyte c, GLubyte d ); |
| 56 |
extern void _mesa_noop_Color4ubv( const GLubyte *v ); |
| 57 |
extern void GLAPIENTRY _mesa_noop_Color4f( GLfloat a, GLfloat b, GLfloat c, GLfloat d ); |
| 58 |
extern void GLAPIENTRY _mesa_noop_Color4fv( const GLfloat *v ); |
| 59 |
extern void _mesa_noop_Color3ub( GLubyte a, GLubyte b, GLubyte c ); |
| 60 |
extern void _mesa_noop_Color3ubv( const GLubyte *v ); |
| 61 |
extern void GLAPIENTRY _mesa_noop_Color3f( GLfloat a, GLfloat b, GLfloat c ); |
| 62 |
extern void GLAPIENTRY _mesa_noop_Color3fv( const GLfloat *v ); |
| 63 |
|
| 64 |
extern void GLAPIENTRY _mesa_noop_MultiTexCoord1fARB( GLenum target, GLfloat a ); |
| 65 |
extern void GLAPIENTRY _mesa_noop_MultiTexCoord1fvARB( GLenum target, const GLfloat *v ); |
| 66 |
extern void GLAPIENTRY _mesa_noop_MultiTexCoord2fARB( GLenum target, GLfloat a, GLfloat b ); |
| 67 |
extern void GLAPIENTRY _mesa_noop_MultiTexCoord2fvARB( GLenum target, const GLfloat *v ); |
| 68 |
extern void GLAPIENTRY _mesa_noop_MultiTexCoord3fARB( GLenum target, GLfloat a, GLfloat b, GLfloat c); |
| 69 |
extern void GLAPIENTRY _mesa_noop_MultiTexCoord3fvARB( GLenum target, const GLfloat *v ); |
| 70 |
extern void GLAPIENTRY _mesa_noop_MultiTexCoord4fARB( GLenum target, GLfloat a, GLfloat b, GLfloat c, GLfloat d ); |
| 71 |
extern void GLAPIENTRY _mesa_noop_MultiTexCoord4fvARB( GLenum target, const GLfloat *v ); |
| 72 |
|
| 73 |
extern void GLAPIENTRY _mesa_noop_SecondaryColor3ubEXT( GLubyte a, GLubyte b, GLubyte c ); |
| 74 |
extern void GLAPIENTRY _mesa_noop_SecondaryColor3ubvEXT( const GLubyte *v ); |
| 75 |
extern void GLAPIENTRY _mesa_noop_SecondaryColor3fEXT( GLfloat a, GLfloat b, GLfloat c ); |
| 76 |
extern void GLAPIENTRY _mesa_noop_SecondaryColor3fvEXT( const GLfloat *v ); |
| 77 |
|
| 78 |
extern void GLAPIENTRY _mesa_noop_TexCoord1f( GLfloat a ); |
| 79 |
extern void GLAPIENTRY _mesa_noop_TexCoord1fv( const GLfloat *v ); |
| 80 |
extern void GLAPIENTRY _mesa_noop_TexCoord2f( GLfloat a, GLfloat b ); |
| 81 |
extern void GLAPIENTRY _mesa_noop_TexCoord2fv( const GLfloat *v ); |
| 82 |
extern void GLAPIENTRY _mesa_noop_TexCoord3f( GLfloat a, GLfloat b, GLfloat c ); |
| 83 |
extern void GLAPIENTRY _mesa_noop_TexCoord3fv( const GLfloat *v ); |
| 84 |
extern void GLAPIENTRY _mesa_noop_TexCoord4f( GLfloat a, GLfloat b, GLfloat c, GLfloat d ); |
| 85 |
extern void GLAPIENTRY _mesa_noop_TexCoord4fv( const GLfloat *v ); |
| 86 |
|
| 87 |
extern void GLAPIENTRY _mesa_noop_Vertex2f( GLfloat a, GLfloat b ); |
| 88 |
extern void GLAPIENTRY _mesa_noop_Vertex2fv( const GLfloat *v ); |
| 89 |
extern void GLAPIENTRY _mesa_noop_Vertex3f( GLfloat a, GLfloat b, GLfloat c ); |
| 90 |
extern void GLAPIENTRY _mesa_noop_Vertex3fv( const GLfloat *v ); |
| 91 |
extern void GLAPIENTRY _mesa_noop_Vertex4f( GLfloat a, GLfloat b, GLfloat c, GLfloat d ); |
| 92 |
extern void GLAPIENTRY _mesa_noop_Vertex4fv( const GLfloat *v ); |
| 93 |
|
| 94 |
extern void GLAPIENTRY _mesa_noop_VertexAttrib1fNV( GLuint index, GLfloat x ); |
| 95 |
extern void GLAPIENTRY _mesa_noop_VertexAttrib1fvNV( GLuint index, const GLfloat *v ); |
| 96 |
extern void GLAPIENTRY _mesa_noop_VertexAttrib2fNV( GLuint index, GLfloat x, GLfloat y ); |
| 97 |
extern void GLAPIENTRY _mesa_noop_VertexAttrib2fvNV( GLuint index, const GLfloat *v ); |
| 98 |
extern void GLAPIENTRY _mesa_noop_VertexAttrib3fNV( GLuint index, GLfloat x, GLfloat y, GLfloat z ); |
| 99 |
extern void GLAPIENTRY _mesa_noop_VertexAttrib3fvNV( GLuint index, const GLfloat *v ); |
| 100 |
extern void GLAPIENTRY _mesa_noop_VertexAttrib4fNV( GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w ); |
| 101 |
|
| 102 |
extern void GLAPIENTRY _mesa_noop_VertexAttrib4fvNV( GLuint index, const GLfloat *v ); |
| 103 |
extern void GLAPIENTRY _mesa_noop_VertexAttrib1fARB( GLuint index, GLfloat x ); |
| 104 |
extern void GLAPIENTRY _mesa_noop_VertexAttrib1fvARB( GLuint index, const GLfloat *v ); |
| 105 |
extern void GLAPIENTRY _mesa_noop_VertexAttrib2fARB( GLuint index, GLfloat x, GLfloat y ); |
| 106 |
extern void GLAPIENTRY _mesa_noop_VertexAttrib2fvARB( GLuint index, const GLfloat *v ); |
| 107 |
extern void GLAPIENTRY _mesa_noop_VertexAttrib3fARB( GLuint index, GLfloat x, GLfloat y, GLfloat z ); |
| 108 |
extern void GLAPIENTRY _mesa_noop_VertexAttrib3fvARB( GLuint index, const GLfloat *v ); |
| 109 |
extern void GLAPIENTRY _mesa_noop_VertexAttrib4fARB( GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w ); |
| 110 |
extern void GLAPIENTRY _mesa_noop_VertexAttrib4fvARB( GLuint index, const GLfloat *v ); |
| 111 |
|
| 112 |
|
| 113 |
extern void GLAPIENTRY _mesa_noop_End( void ); |
| 114 |
extern void GLAPIENTRY _mesa_noop_Begin( GLenum mode ); |
| 115 |
extern void GLAPIENTRY _mesa_noop_EvalPoint2( GLint a, GLint b ); |
| 116 |
extern void GLAPIENTRY _mesa_noop_EvalPoint1( GLint a ); |
| 117 |
extern void GLAPIENTRY _mesa_noop_EvalCoord2fv( const GLfloat *v ); |
| 118 |
extern void GLAPIENTRY _mesa_noop_EvalCoord2f( GLfloat a, GLfloat b ); |
| 119 |
extern void GLAPIENTRY _mesa_noop_EvalCoord1fv( const GLfloat *v ); |
| 120 |
extern void GLAPIENTRY _mesa_noop_EvalCoord1f( GLfloat a ); |
| 121 |
|
| 122 |
extern void _mesa_noop_vtxfmt_init( GLvertexformat *vfmt ); |
| 123 |
|
| 124 |
extern void GLAPIENTRY _mesa_noop_EvalMesh2( GLenum mode, GLint i1, GLint i2, |
| 125 |
GLint j1, GLint j2 ); |
| 126 |
|
| 127 |
extern void GLAPIENTRY _mesa_noop_EvalMesh1( GLenum mode, GLint i1, GLint i2 ); |
| 128 |
|
| 129 |
|
| 130 |
/* Not strictly a noop -- translate Rectf down to Begin/End and |
| 131 |
* vertices. Closer to the loopback operations, but doesn't meet the |
| 132 |
* criteria for inclusion there (cannot be used in the Save table). |
| 133 |
*/ |
| 134 |
extern void GLAPIENTRY _mesa_noop_Rectf( GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2 ); |
| 135 |
|
| 136 |
|
| 137 |
extern void GLAPIENTRY _mesa_noop_DrawArrays(GLenum mode, GLint start, GLsizei count); |
| 138 |
extern void GLAPIENTRY _mesa_noop_DrawElements(GLenum mode, GLsizei count, GLenum type, |
| 139 |
const GLvoid *indices); |
| 140 |
extern void GLAPIENTRY _mesa_noop_DrawRangeElements(GLenum mode, |
| 141 |
GLuint start, GLuint end, |
| 142 |
GLsizei count, GLenum type, |
| 143 |
const GLvoid *indices); |
| 144 |
|
| 145 |
|
| 146 |
|
| 147 |
#endif |