core | glapi | vbo | math | shader | swrast | swrast_setup | tnl | tnl_dd

api_noop.c File Reference


Detailed Description

Just update the ctx->Current vertex attributes.

These functions are used when outside glBegin/glEnd or outside display lists.

#include "glheader.h"
#include "api_noop.h"
#include "api_validate.h"
#include "api_arrayelt.h"
#include "context.h"
#include "light.h"
#include "macros.h"
#include "glapi/dispatch.h"

Functions

static void GLAPIENTRY _mesa_noop_EdgeFlag (GLboolean b)
static void GLAPIENTRY _mesa_noop_Indexf (GLfloat f)
static void GLAPIENTRY _mesa_noop_Indexfv (const GLfloat *v)
static void GLAPIENTRY _mesa_noop_FogCoordfEXT (GLfloat a)
static void GLAPIENTRY _mesa_noop_FogCoordfvEXT (const GLfloat *v)
static void GLAPIENTRY _mesa_noop_Normal3f (GLfloat a, GLfloat b, GLfloat c)
static void GLAPIENTRY _mesa_noop_Normal3fv (const GLfloat *v)
static void GLAPIENTRY _mesa_noop_Color4f (GLfloat a, GLfloat b, GLfloat c, GLfloat d)
static void GLAPIENTRY _mesa_noop_Color4fv (const GLfloat *v)
static void GLAPIENTRY _mesa_noop_Color3f (GLfloat a, GLfloat b, GLfloat c)
static void GLAPIENTRY _mesa_noop_Color3fv (const GLfloat *v)
static void GLAPIENTRY _mesa_noop_MultiTexCoord1fARB (GLenum target, GLfloat a)
static void GLAPIENTRY _mesa_noop_MultiTexCoord1fvARB (GLenum target, const GLfloat *v)
static void GLAPIENTRY _mesa_noop_MultiTexCoord2fARB (GLenum target, GLfloat a, GLfloat b)
static void GLAPIENTRY _mesa_noop_MultiTexCoord2fvARB (GLenum target, const GLfloat *v)
static void GLAPIENTRY _mesa_noop_MultiTexCoord3fARB (GLenum target, GLfloat a, GLfloat b, GLfloat c)
static void GLAPIENTRY _mesa_noop_MultiTexCoord3fvARB (GLenum target, const GLfloat *v)
static void GLAPIENTRY _mesa_noop_MultiTexCoord4fARB (GLenum target, GLfloat a, GLfloat b, GLfloat c, GLfloat d)
static void GLAPIENTRY _mesa_noop_MultiTexCoord4fvARB (GLenum target, const GLfloat *v)
static void GLAPIENTRY _mesa_noop_SecondaryColor3fEXT (GLfloat a, GLfloat b, GLfloat c)
static void GLAPIENTRY _mesa_noop_SecondaryColor3fvEXT (const GLfloat *v)
static void GLAPIENTRY _mesa_noop_TexCoord1f (GLfloat a)
static void GLAPIENTRY _mesa_noop_TexCoord1fv (const GLfloat *v)
static void GLAPIENTRY _mesa_noop_TexCoord2f (GLfloat a, GLfloat b)
static void GLAPIENTRY _mesa_noop_TexCoord2fv (const GLfloat *v)
static void GLAPIENTRY _mesa_noop_TexCoord3f (GLfloat a, GLfloat b, GLfloat c)
static void GLAPIENTRY _mesa_noop_TexCoord3fv (const GLfloat *v)
static void GLAPIENTRY _mesa_noop_TexCoord4f (GLfloat a, GLfloat b, GLfloat c, GLfloat d)
static void GLAPIENTRY _mesa_noop_TexCoord4fv (const GLfloat *v)
static void GLAPIENTRY _mesa_noop_VertexAttrib1fNV (GLuint index, GLfloat x)
 GL_NV_vertex_program attributes.
static void GLAPIENTRY _mesa_noop_VertexAttrib1fvNV (GLuint index, const GLfloat *v)
static void GLAPIENTRY _mesa_noop_VertexAttrib2fNV (GLuint index, GLfloat x, GLfloat y)
static void GLAPIENTRY _mesa_noop_VertexAttrib2fvNV (GLuint index, const GLfloat *v)
static void GLAPIENTRY _mesa_noop_VertexAttrib3fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z)
static void GLAPIENTRY _mesa_noop_VertexAttrib3fvNV (GLuint index, const GLfloat *v)
static void GLAPIENTRY _mesa_noop_VertexAttrib4fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
static void GLAPIENTRY _mesa_noop_VertexAttrib4fvNV (GLuint index, const GLfloat *v)
static void GLAPIENTRY _mesa_noop_VertexAttrib1fARB (GLuint index, GLfloat x)
 GL_ARB_vertex_program attributes.
static void GLAPIENTRY _mesa_noop_VertexAttrib1fvARB (GLuint index, const GLfloat *v)
static void GLAPIENTRY _mesa_noop_VertexAttrib2fARB (GLuint index, GLfloat x, GLfloat y)
static void GLAPIENTRY _mesa_noop_VertexAttrib2fvARB (GLuint index, const GLfloat *v)
static void GLAPIENTRY _mesa_noop_VertexAttrib3fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z)
static void GLAPIENTRY _mesa_noop_VertexAttrib3fvARB (GLuint index, const GLfloat *v)
static void GLAPIENTRY _mesa_noop_VertexAttrib4fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
static void GLAPIENTRY _mesa_noop_VertexAttrib4fvARB (GLuint index, const GLfloat *v)
void GLAPIENTRY _mesa_noop_Materialfv (GLenum face, GLenum pname, const GLfloat *params)
 Called by glMaterial*().
static void GLAPIENTRY _mesa_noop_Vertex2fv (const GLfloat *v)
 These really are noops outside begin/end:.
static void GLAPIENTRY _mesa_noop_Vertex3fv (const GLfloat *v)
static void GLAPIENTRY _mesa_noop_Vertex4fv (const GLfloat *v)
static void GLAPIENTRY _mesa_noop_Vertex2f (GLfloat a, GLfloat b)
static void GLAPIENTRY _mesa_noop_Vertex3f (GLfloat a, GLfloat b, GLfloat c)
static void GLAPIENTRY _mesa_noop_Vertex4f (GLfloat a, GLfloat b, GLfloat c, GLfloat d)
static void GLAPIENTRY _mesa_noop_Begin (GLenum mode)
static void GLAPIENTRY _mesa_noop_End (void)
void GLAPIENTRY _mesa_noop_Rectf (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2)
 Execute a glRectf() function.
static void GLAPIENTRY _mesa_noop_DrawArrays (GLenum mode, GLint start, GLsizei count)
 Some very basic support for arrays.
static void GLAPIENTRY _mesa_noop_DrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)
static void GLAPIENTRY _mesa_noop_DrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex)
static void GLAPIENTRY _mesa_noop_DrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices)
void GLAPIENTRY _mesa_noop_MultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount)
static void GLAPIENTRY _mesa_noop_DrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex)
void GLAPIENTRY _mesa_noop_MultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount, const GLint *basevertex)
void GLAPIENTRY _mesa_noop_EvalMesh1 (GLenum mode, GLint i1, GLint i2)
 KW: If are compiling, we don't know whether eval will produce a vertex when it is run in the future.
void GLAPIENTRY _mesa_noop_EvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2)
void _mesa_noop_vtxfmt_init (GLvertexformat *vfmt)
 Build a vertexformat of functions to use outside begin/end pairs.


Function Documentation

static void GLAPIENTRY _mesa_noop_Begin ( GLenum  mode  )  [static]

static void GLAPIENTRY _mesa_noop_Color3f ( GLfloat  a,
GLfloat  b,
GLfloat  c 
) [static]

static void GLAPIENTRY _mesa_noop_Color3fv ( const GLfloat *  v  )  [static]

static void GLAPIENTRY _mesa_noop_Color4f ( GLfloat  a,
GLfloat  b,
GLfloat  c,
GLfloat  d 
) [static]

static void GLAPIENTRY _mesa_noop_Color4fv ( const GLfloat *  v  )  [static]

static void GLAPIENTRY _mesa_noop_DrawArrays ( GLenum  mode,
GLint  start,
GLsizei  count 
) [static]

Some very basic support for arrays.

Drivers without explicit array support can hook these in, but still need to supply an array-elt implementation.

static void GLAPIENTRY _mesa_noop_DrawElements ( GLenum  mode,
GLsizei  count,
GLenum  type,
const GLvoid *  indices 
) [static]

static void GLAPIENTRY _mesa_noop_DrawElementsBaseVertex ( GLenum  mode,
GLsizei  count,
GLenum  type,
const GLvoid *  indices,
GLint  basevertex 
) [static]

static void GLAPIENTRY _mesa_noop_DrawRangeElements ( GLenum  mode,
GLuint  start,
GLuint  end,
GLsizei  count,
GLenum  type,
const GLvoid *  indices 
) [static]

static void GLAPIENTRY _mesa_noop_DrawRangeElementsBaseVertex ( GLenum  mode,
GLuint  start,
GLuint  end,
GLsizei  count,
GLenum  type,
const GLvoid *  indices,
GLint  basevertex 
) [static]

static void GLAPIENTRY _mesa_noop_EdgeFlag ( GLboolean  b  )  [static]

static void GLAPIENTRY _mesa_noop_End ( void   )  [static]

void GLAPIENTRY _mesa_noop_EvalMesh1 ( GLenum  mode,
GLint  i1,
GLint  i2 
)

KW: If are compiling, we don't know whether eval will produce a vertex when it is run in the future.

If this is pure immediate mode, eval is a noop if neither vertex map is enabled.

Thus we need to have a check in the display list code or elsewhere for eval(1,2) vertices in the case where map(1,2)_vertex is disabled, and to purge those vertices from the vb.

void GLAPIENTRY _mesa_noop_EvalMesh2 ( GLenum  mode,
GLint  i1,
GLint  i2,
GLint  j1,
GLint  j2 
)

static void GLAPIENTRY _mesa_noop_FogCoordfEXT ( GLfloat  a  )  [static]

static void GLAPIENTRY _mesa_noop_FogCoordfvEXT ( const GLfloat *  v  )  [static]

static void GLAPIENTRY _mesa_noop_Indexf ( GLfloat  f  )  [static]

static void GLAPIENTRY _mesa_noop_Indexfv ( const GLfloat *  v  )  [static]

void GLAPIENTRY _mesa_noop_Materialfv ( GLenum  face,
GLenum  pname,
const GLfloat *  params 
)

Called by glMaterial*().

void GLAPIENTRY _mesa_noop_MultiDrawElements ( GLenum  mode,
const GLsizei *  count,
GLenum  type,
const GLvoid **  indices,
GLsizei  primcount 
)

void GLAPIENTRY _mesa_noop_MultiDrawElementsBaseVertex ( GLenum  mode,
const GLsizei *  count,
GLenum  type,
const GLvoid **  indices,
GLsizei  primcount,
const GLint *  basevertex 
)

static void GLAPIENTRY _mesa_noop_MultiTexCoord1fARB ( GLenum  target,
GLfloat  a 
) [static]

static void GLAPIENTRY _mesa_noop_MultiTexCoord1fvARB ( GLenum  target,
const GLfloat *  v 
) [static]

static void GLAPIENTRY _mesa_noop_MultiTexCoord2fARB ( GLenum  target,
GLfloat  a,
GLfloat  b 
) [static]

static void GLAPIENTRY _mesa_noop_MultiTexCoord2fvARB ( GLenum  target,
const GLfloat *  v 
) [static]

static void GLAPIENTRY _mesa_noop_MultiTexCoord3fARB ( GLenum  target,
GLfloat  a,
GLfloat  b,
GLfloat  c 
) [static]

static void GLAPIENTRY _mesa_noop_MultiTexCoord3fvARB ( GLenum  target,
const GLfloat *  v 
) [static]

static void GLAPIENTRY _mesa_noop_MultiTexCoord4fARB ( GLenum  target,
GLfloat  a,
GLfloat  b,
GLfloat  c,
GLfloat  d 
) [static]

static void GLAPIENTRY _mesa_noop_MultiTexCoord4fvARB ( GLenum  target,
const GLfloat *  v 
) [static]

static void GLAPIENTRY _mesa_noop_Normal3f ( GLfloat  a,
GLfloat  b,
GLfloat  c 
) [static]

static void GLAPIENTRY _mesa_noop_Normal3fv ( const GLfloat *  v  )  [static]

void GLAPIENTRY _mesa_noop_Rectf ( GLfloat  x1,
GLfloat  y1,
GLfloat  x2,
GLfloat  y2 
)

Execute a glRectf() function.

This is not suitable for GL_COMPILE modes (as the test for outside begin/end is not compiled), but may be useful for drivers in circumstances which exclude display list interactions.

(None of the functions in this file are suitable for GL_COMPILE modes).

static void GLAPIENTRY _mesa_noop_SecondaryColor3fEXT ( GLfloat  a,
GLfloat  b,
GLfloat  c 
) [static]

static void GLAPIENTRY _mesa_noop_SecondaryColor3fvEXT ( const GLfloat *  v  )  [static]

static void GLAPIENTRY _mesa_noop_TexCoord1f ( GLfloat  a  )  [static]

static void GLAPIENTRY _mesa_noop_TexCoord1fv ( const GLfloat *  v  )  [static]

static void GLAPIENTRY _mesa_noop_TexCoord2f ( GLfloat  a,
GLfloat  b 
) [static]

static void GLAPIENTRY _mesa_noop_TexCoord2fv ( const GLfloat *  v  )  [static]

static void GLAPIENTRY _mesa_noop_TexCoord3f ( GLfloat  a,
GLfloat  b,
GLfloat  c 
) [static]

static void GLAPIENTRY _mesa_noop_TexCoord3fv ( const GLfloat *  v  )  [static]

static void GLAPIENTRY _mesa_noop_TexCoord4f ( GLfloat  a,
GLfloat  b,
GLfloat  c,
GLfloat  d 
) [static]

static void GLAPIENTRY _mesa_noop_TexCoord4fv ( const GLfloat *  v  )  [static]

static void GLAPIENTRY _mesa_noop_Vertex2f ( GLfloat  a,
GLfloat  b 
) [static]

static void GLAPIENTRY _mesa_noop_Vertex2fv ( const GLfloat *  v  )  [static]

These really are noops outside begin/end:.

static void GLAPIENTRY _mesa_noop_Vertex3f ( GLfloat  a,
GLfloat  b,
GLfloat  c 
) [static]

static void GLAPIENTRY _mesa_noop_Vertex3fv ( const GLfloat *  v  )  [static]

static void GLAPIENTRY _mesa_noop_Vertex4f ( GLfloat  a,
GLfloat  b,
GLfloat  c,
GLfloat  d 
) [static]

static void GLAPIENTRY _mesa_noop_Vertex4fv ( const GLfloat *  v  )  [static]

static void GLAPIENTRY _mesa_noop_VertexAttrib1fARB ( GLuint  index,
GLfloat  x 
) [static]

GL_ARB_vertex_program attributes.

Note that these attributes DO NOT alias the conventional vertex attributes.

static void GLAPIENTRY _mesa_noop_VertexAttrib1fNV ( GLuint  index,
GLfloat  x 
) [static]

GL_NV_vertex_program attributes.

Note that these attributes alias the conventional vertex attributes.

static void GLAPIENTRY _mesa_noop_VertexAttrib1fvARB ( GLuint  index,
const GLfloat *  v 
) [static]

static void GLAPIENTRY _mesa_noop_VertexAttrib1fvNV ( GLuint  index,
const GLfloat *  v 
) [static]

static void GLAPIENTRY _mesa_noop_VertexAttrib2fARB ( GLuint  index,
GLfloat  x,
GLfloat  y 
) [static]

static void GLAPIENTRY _mesa_noop_VertexAttrib2fNV ( GLuint  index,
GLfloat  x,
GLfloat  y 
) [static]

static void GLAPIENTRY _mesa_noop_VertexAttrib2fvARB ( GLuint  index,
const GLfloat *  v 
) [static]

static void GLAPIENTRY _mesa_noop_VertexAttrib2fvNV ( GLuint  index,
const GLfloat *  v 
) [static]

static void GLAPIENTRY _mesa_noop_VertexAttrib3fARB ( GLuint  index,
GLfloat  x,
GLfloat  y,
GLfloat  z 
) [static]

static void GLAPIENTRY _mesa_noop_VertexAttrib3fNV ( GLuint  index,
GLfloat  x,
GLfloat  y,
GLfloat  z 
) [static]

static void GLAPIENTRY _mesa_noop_VertexAttrib3fvARB ( GLuint  index,
const GLfloat *  v 
) [static]

static void GLAPIENTRY _mesa_noop_VertexAttrib3fvNV ( GLuint  index,
const GLfloat *  v 
) [static]

static void GLAPIENTRY _mesa_noop_VertexAttrib4fARB ( GLuint  index,
GLfloat  x,
GLfloat  y,
GLfloat  z,
GLfloat  w 
) [static]

static void GLAPIENTRY _mesa_noop_VertexAttrib4fNV ( GLuint  index,
GLfloat  x,
GLfloat  y,
GLfloat  z,
GLfloat  w 
) [static]

static void GLAPIENTRY _mesa_noop_VertexAttrib4fvARB ( GLuint  index,
const GLfloat *  v 
) [static]

static void GLAPIENTRY _mesa_noop_VertexAttrib4fvNV ( GLuint  index,
const GLfloat *  v 
) [static]

void _mesa_noop_vtxfmt_init ( GLvertexformat vfmt  ) 

Build a vertexformat of functions to use outside begin/end pairs.

TODO -- build a whole dispatch table for this purpose, and likewise for inside begin/end.


Generated on Sun Sep 27 06:47:45 2009 for Mesa Main by  doxygen 1.5.4