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

api_noop.h File Reference

#include "mtypes.h"
#include "context.h"

Functions

void GLAPIENTRY _mesa_noop_Rectf (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2)
 Execute a glRectf() function.
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 GLAPIENTRY _mesa_noop_Materialfv (GLenum face, GLenum pname, const GLfloat *param)
 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)
void _mesa_noop_vtxfmt_init (GLvertexformat *vfmt)
 Build a vertexformat of functions to use outside begin/end pairs.


Function Documentation

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 
)

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

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 
)

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).

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