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

GLvertexformat Struct Reference

#include <dd.h>


Detailed Description

Transform/Clip/Lighting interface.

Drivers present a reduced set of the functions possible in glBegin()/glEnd() objects. Core mesa provides translation stubs for the remaining functions to map down to these entry points.

These are the initial values to be installed into dispatch by mesa. If the T&L driver wants to modify the dispatch table while installed, it must do so itself. It would be possible for the vertexformat to install it's own initial values for these functions, but this way there is an obvious list of what is expected of the driver.

If the driver wants to hook in entry points other than those listed, it must restore them to their original values in the disable() callback, below.

Vertex

 GLfloat
 GLint
GLenum pname
GLenum const GLfloatGLfloat
const GLfloatGLfloat
const GLfloat GLfloat
const GLfloatGLfloat
const GLfloatGLfloat
const GLfloatGLfloat
 GLenum
GLfloat x
const GLfloatv
GLfloat GLfloat y
const GLfloatv
GLfloat GLfloat GLfloat z
const GLfloatv
GLfloat GLfloat GLfloat GLfloat w
const GLfloatv
 void (GLAPIENTRYP ArrayElement)(GLint)
 void (GLAPIENTRYP Color3f)(GLfloat
 void (GLAPIENTRYP Color3fv)(const GLfloat *)
 void (GLAPIENTRYP Color4f)(GLfloat
 void (GLAPIENTRYP Color4fv)(const GLfloat *)
 void (GLAPIENTRYP EdgeFlag)(GLboolean)
 void (GLAPIENTRYP EvalCoord1f)(GLfloat)
 void (GLAPIENTRYP EvalCoord1fv)(const GLfloat *)
 void (GLAPIENTRYP EvalCoord2f)(GLfloat
 void (GLAPIENTRYP EvalCoord2fv)(const GLfloat *)
 void (GLAPIENTRYP EvalPoint1)(GLint)
 void (GLAPIENTRYP EvalPoint2)(GLint
 void (GLAPIENTRYP FogCoordfEXT)(GLfloat)
 void (GLAPIENTRYP FogCoordfvEXT)(const GLfloat *)
 void (GLAPIENTRYP Indexf)(GLfloat)
 void (GLAPIENTRYP Indexfv)(const GLfloat *)
 void (GLAPIENTRYP Materialfv)(GLenum face
GLenum const GLfloatvoid (GLAPIENTRYP MultiTexCoord1fARB)(GLenum
 void (GLAPIENTRYP MultiTexCoord1fvARB)(GLenum
const GLfloatvoid (GLAPIENTRYP MultiTexCoord2fARB)(GLenum
 void (GLAPIENTRYP MultiTexCoord2fvARB)(GLenum
const GLfloatvoid (GLAPIENTRYP MultiTexCoord3fARB)(GLenum
 void (GLAPIENTRYP MultiTexCoord3fvARB)(GLenum
const GLfloatvoid (GLAPIENTRYP MultiTexCoord4fARB)(GLenum
 void (GLAPIENTRYP MultiTexCoord4fvARB)(GLenum
const GLfloatvoid (GLAPIENTRYP Normal3f)(GLfloat
 void (GLAPIENTRYP Normal3fv)(const GLfloat *)
 void (GLAPIENTRYP SecondaryColor3fEXT)(GLfloat
 void (GLAPIENTRYP SecondaryColor3fvEXT)(const GLfloat *)
 void (GLAPIENTRYP TexCoord1f)(GLfloat)
 void (GLAPIENTRYP TexCoord1fv)(const GLfloat *)
 void (GLAPIENTRYP TexCoord2f)(GLfloat
 void (GLAPIENTRYP TexCoord2fv)(const GLfloat *)
 void (GLAPIENTRYP TexCoord3f)(GLfloat
 void (GLAPIENTRYP TexCoord3fv)(const GLfloat *)
 void (GLAPIENTRYP TexCoord4f)(GLfloat
 void (GLAPIENTRYP TexCoord4fv)(const GLfloat *)
 void (GLAPIENTRYP Vertex2f)(GLfloat
 void (GLAPIENTRYP Vertex2fv)(const GLfloat *)
 void (GLAPIENTRYP Vertex3f)(GLfloat
 void (GLAPIENTRYP Vertex3fv)(const GLfloat *)
 void (GLAPIENTRYP Vertex4f)(GLfloat
 void (GLAPIENTRYP Vertex4fv)(const GLfloat *)
 void (GLAPIENTRYP CallList)(GLuint)
 void (GLAPIENTRYP CallLists)(GLsizei
const GLvoid * void (GLAPIENTRYP Begin)(GLenum)
 void (GLAPIENTRYP End)(void)
 void (GLAPIENTRYP VertexAttrib1fNV)(GLuint index
 void (GLAPIENTRYP VertexAttrib1fvNV)(GLuint index
 void (GLAPIENTRYP VertexAttrib2fNV)(GLuint index
 void (GLAPIENTRYP VertexAttrib2fvNV)(GLuint index
 void (GLAPIENTRYP VertexAttrib3fNV)(GLuint index
 void (GLAPIENTRYP VertexAttrib3fvNV)(GLuint index
 void (GLAPIENTRYP VertexAttrib4fNV)(GLuint index
 void (GLAPIENTRYP VertexAttrib4fvNV)(GLuint index

Array

GLint start
GLint GLsizei count
GLsizei count
GLsizei GLenum type
GLsizei GLenum const GLvoid * indices
GLuint start
GLuint GLuint end
GLuint GLuint GLsizei count
GLuint GLuint GLsizei GLenum type
GLuint GLuint GLsizei GLenum
const GLvoid * 
indices
const GLsizei * count
const GLsizei GLenum type
const GLsizei GLenum const
GLvoid ** 
indices
const GLsizei GLenum const
GLvoid GLsizei 
primcount
GLsizei GLenum const GLvoid * indices
GLsizei GLenum const GLvoid GLint basevertex
GLuint GLuint GLsizei GLenum
const GLvoid * 
indices
GLuint GLuint GLsizei GLenum
const GLvoid GLint 
basevertex
const GLsizei * count
const GLsizei GLenum const
GLvoid ** 
indices
const GLsizei GLenum const
GLvoid GLsizei const GLint
basevertex
 void (GLAPIENTRYP DrawArrays)(GLenum mode
 void (GLAPIENTRYP DrawElements)(GLenum mode
 void (GLAPIENTRYP DrawRangeElements)(GLenum mode
 void (GLAPIENTRYP MultiDrawElementsEXT)(GLenum mode
 void (GLAPIENTRYP DrawElementsBaseVertex)(GLenum mode
 void (GLAPIENTRYP DrawRangeElementsBaseVertex)(GLenum mode
 void (GLAPIENTRYP MultiDrawElementsBaseVertex)(GLenum mode

Eval

If you don't support eval, fallback to the default vertex format on receiving an eval call and use the pipeline mechanism to provide partial T&L acceleration.

Mesa will provide a set of helper functions to do eval within accelerated vertex formats, eventually...

GLint i1
GLint GLint i2
GLint GLint GLint j1
GLint GLint GLint GLint j2
 void (GLAPIENTRYP EvalMesh1)(GLenum mode
 void (GLAPIENTRYP EvalMesh2)(GLenum mode

Public Member Functions

 void (GLAPIENTRYP Rectf)(GLfloat


Member Function Documentation

GLvertexformat::void ( GLAPIENTRYP  ArrayElement  ) 

GLvertexformat::void ( GLAPIENTRYP  Color3f  ) 

GLvertexformat::void ( GLAPIENTRYP  Color3fv  )  const

GLvertexformat::void ( GLAPIENTRYP  Color4f  ) 

GLvertexformat::void ( GLAPIENTRYP  Color4fv  )  const

GLvertexformat::void ( GLAPIENTRYP  EdgeFlag  ) 

GLvertexformat::void ( GLAPIENTRYP  EvalCoord1f  ) 

GLvertexformat::void ( GLAPIENTRYP  EvalCoord1fv  )  const

GLvertexformat::void ( GLAPIENTRYP  EvalCoord2f  ) 

GLvertexformat::void ( GLAPIENTRYP  EvalCoord2fv  )  const

GLvertexformat::void ( GLAPIENTRYP  EvalPoint1  ) 

GLvertexformat::void ( GLAPIENTRYP  EvalPoint2  ) 

GLvertexformat::void ( GLAPIENTRYP  FogCoordfEXT  ) 

GLvertexformat::void ( GLAPIENTRYP  FogCoordfvEXT  )  const

GLvertexformat::void ( GLAPIENTRYP  Indexf  ) 

GLvertexformat::void ( GLAPIENTRYP  Indexfv  )  const

GLvertexformat::void ( GLAPIENTRYP  Materialfv  ) 

GLenum const GLfloat* GLvertexformat::void ( GLAPIENTRYP  MultiTexCoord1fARB  ) 

Type constraints

GLvertexformat::void ( GLAPIENTRYP  MultiTexCoord1fvARB  ) 

const GLfloat* GLvertexformat::void ( GLAPIENTRYP  MultiTexCoord2fARB  ) 

GLvertexformat::void ( GLAPIENTRYP  MultiTexCoord2fvARB  ) 

const GLfloat* GLvertexformat::void ( GLAPIENTRYP  MultiTexCoord3fARB  ) 

GLvertexformat::void ( GLAPIENTRYP  MultiTexCoord3fvARB  ) 

const GLfloat* GLvertexformat::void ( GLAPIENTRYP  MultiTexCoord4fARB  ) 

GLvertexformat::void ( GLAPIENTRYP  MultiTexCoord4fvARB  ) 

const GLfloat* GLvertexformat::void ( GLAPIENTRYP  Normal3f  ) 

GLvertexformat::void ( GLAPIENTRYP  Normal3fv  )  const

GLvertexformat::void ( GLAPIENTRYP  SecondaryColor3fEXT  ) 

GLvertexformat::void ( GLAPIENTRYP  SecondaryColor3fvEXT  )  const

GLvertexformat::void ( GLAPIENTRYP  TexCoord1f  ) 

GLvertexformat::void ( GLAPIENTRYP  TexCoord1fv  )  const

GLvertexformat::void ( GLAPIENTRYP  TexCoord2f  ) 

GLvertexformat::void ( GLAPIENTRYP  TexCoord2fv  )  const

GLvertexformat::void ( GLAPIENTRYP  TexCoord3f  ) 

GLvertexformat::void ( GLAPIENTRYP  TexCoord3fv  )  const

GLvertexformat::void ( GLAPIENTRYP  TexCoord4f  ) 

GLvertexformat::void ( GLAPIENTRYP  TexCoord4fv  )  const

GLvertexformat::void ( GLAPIENTRYP  Vertex2f  ) 

GLvertexformat::void ( GLAPIENTRYP  Vertex2fv  )  const

GLvertexformat::void ( GLAPIENTRYP  Vertex3f  ) 

GLvertexformat::void ( GLAPIENTRYP  Vertex3fv  )  const

GLvertexformat::void ( GLAPIENTRYP  Vertex4f  ) 

GLvertexformat::void ( GLAPIENTRYP  Vertex4fv  )  const

GLvertexformat::void ( GLAPIENTRYP  CallList  ) 

GLvertexformat::void ( GLAPIENTRYP  CallLists  ) 

const GLvoid* GLvertexformat::void ( GLAPIENTRYP  Begin  ) 

Type constraints

GLvertexformat::void ( GLAPIENTRYP  End  ) 

GLvertexformat::void ( GLAPIENTRYP  VertexAttrib1fNV  ) 

GLvertexformat::void ( GLAPIENTRYP  VertexAttrib1fvNV  ) 

GLvertexformat::void ( GLAPIENTRYP  VertexAttrib2fNV  ) 

GLvertexformat::void ( GLAPIENTRYP  VertexAttrib2fvNV  ) 

GLvertexformat::void ( GLAPIENTRYP  VertexAttrib3fNV  ) 

GLvertexformat::void ( GLAPIENTRYP  VertexAttrib3fvNV  ) 

GLvertexformat::void ( GLAPIENTRYP  VertexAttrib4fNV  ) 

GLvertexformat::void ( GLAPIENTRYP  VertexAttrib4fvNV  ) 

GLvertexformat::void ( GLAPIENTRYP  Rectf  ) 

GLvertexformat::void ( GLAPIENTRYP  DrawArrays  ) 

GLvertexformat::void ( GLAPIENTRYP  DrawElements  ) 

GLvertexformat::void ( GLAPIENTRYP  DrawRangeElements  ) 

GLvertexformat::void ( GLAPIENTRYP  MultiDrawElementsEXT  ) 

GLvertexformat::void ( GLAPIENTRYP  DrawElementsBaseVertex  ) 

GLvertexformat::void ( GLAPIENTRYP  DrawRangeElementsBaseVertex  ) 

GLvertexformat::void ( GLAPIENTRYP  MultiDrawElementsBaseVertex  ) 

GLvertexformat::void ( GLAPIENTRYP  EvalMesh1  ) 

GLvertexformat::void ( GLAPIENTRYP  EvalMesh2  ) 


Field Documentation

const GLfloat GLvertexformat::GLfloat

GLvertexformat::GLint

GLenum GLvertexformat::pname

GLenum const GLfloat* GLvertexformat::GLfloat

const GLfloat* GLvertexformat::GLfloat

const GLfloat GLvertexformat::GLfloat

const GLfloat* GLvertexformat::GLfloat

const GLfloat* GLvertexformat::GLfloat

const GLfloat* GLvertexformat::GLfloat

GLvertexformat::GLenum

GLfloat GLvertexformat::x

const GLfloat* GLvertexformat::v

GLfloat GLfloat GLvertexformat::y

const GLfloat* GLvertexformat::v

GLfloat GLfloat GLfloat GLvertexformat::z

const GLfloat* GLvertexformat::v

GLfloat GLfloat GLfloat GLfloat GLvertexformat::w

const GLfloat* GLvertexformat::v

GLuint GLvertexformat::start

GLuint GLuint GLsizei GLvertexformat::count

GLsizei GLvertexformat::count

const GLsizei GLenum GLvertexformat::type

GLsizei GLenum const GLvoid* GLvertexformat::indices

GLuint GLvertexformat::start

GLuint GLuint GLvertexformat::end

GLuint GLuint GLsizei GLvertexformat::count

GLuint GLuint GLsizei GLenum GLvertexformat::type

GLuint GLuint GLsizei GLenum const GLvoid* GLvertexformat::indices

const GLsizei* GLvertexformat::count

const GLsizei GLenum GLvertexformat::type

const GLsizei GLenum const GLvoid** GLvertexformat::indices

const GLsizei GLenum const GLvoid GLsizei GLvertexformat::primcount

GLsizei GLenum const GLvoid* GLvertexformat::indices

GLsizei GLenum const GLvoid GLint GLvertexformat::basevertex

GLuint GLuint GLsizei GLenum const GLvoid* GLvertexformat::indices

GLuint GLuint GLsizei GLenum const GLvoid GLint GLvertexformat::basevertex

const GLsizei* GLvertexformat::count

const GLsizei GLenum const GLvoid** GLvertexformat::indices

const GLsizei GLenum const GLvoid GLsizei const GLint* GLvertexformat::basevertex

GLint GLvertexformat::i1

GLint GLint GLvertexformat::i2

GLint GLint GLint GLvertexformat::j1

GLint GLint GLint GLint GLvertexformat::j2


The documentation for this struct was generated from the following file:
Generated on Sun Sep 27 06:47:47 2009 for Mesa Main by  doxygen 1.5.4