#include "main/mtypes.h"
Data Structures | |
struct | _mesa_prim |
struct | _mesa_index_buffer |
struct | split_limits |
Typedefs | |
typedef void(* | vbo_draw_func )(GLcontext *ctx, const struct gl_client_array **arrays, const struct _mesa_prim *prims, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLboolean index_bounds_valid, GLuint min_index, GLuint max_index) |
Functions | |
GLboolean | _vbo_CreateContext (GLcontext *ctx) |
void | _vbo_DestroyContext (GLcontext *ctx) |
void | _vbo_InvalidateState (GLcontext *ctx, GLuint new_state) |
void | vbo_split_prims (GLcontext *ctx, const struct gl_client_array *arrays[], const struct _mesa_prim *prim, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLuint min_index, GLuint max_index, vbo_draw_func draw, const struct split_limits *limits) |
GLboolean | vbo_all_varyings_in_vbos (const struct gl_client_array *arrays[]) |
void | vbo_rebase_prims (GLcontext *ctx, const struct gl_client_array *arrays[], const struct _mesa_prim *prim, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLuint min_index, GLuint max_index, vbo_draw_func draw) |
void | vbo_get_minmax_index (GLcontext *ctx, const struct _mesa_prim *prim, const struct _mesa_index_buffer *ib, GLuint *min_index, GLuint *max_index) |
Compute min and max elements for glDraw[Range]Elements() calls. | |
void | vbo_use_buffer_objects (GLcontext *ctx) |
Tell the VBO module to use a real OpenGL vertex buffer object to store accumulated immediate-mode vertex data. | |
void | vbo_set_draw_func (GLcontext *ctx, vbo_draw_func func) |
void GLAPIENTRY | _vbo_Color4f (GLfloat r, GLfloat g, GLfloat b, GLfloat a) |
void GLAPIENTRY | _vbo_Normal3f (GLfloat x, GLfloat y, GLfloat z) |
void GLAPIENTRY | _vbo_MultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) |
void GLAPIENTRY | _vbo_Materialfv (GLenum face, GLenum pname, const GLfloat *params) |
void GLAPIENTRY | _vbo_VertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
typedef void(* vbo_draw_func)(GLcontext *ctx, const struct gl_client_array **arrays, const struct _mesa_prim *prims, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLboolean index_bounds_valid, GLuint min_index, GLuint max_index) |
void GLAPIENTRY _vbo_Color4f | ( | GLfloat | r, | |
GLfloat | g, | |||
GLfloat | b, | |||
GLfloat | a | |||
) |
GLboolean _vbo_CreateContext | ( | GLcontext * | ctx | ) |
void _vbo_DestroyContext | ( | GLcontext * | ctx | ) |
void _vbo_InvalidateState | ( | GLcontext * | ctx, | |
GLuint | new_state | |||
) |
void GLAPIENTRY _vbo_Materialfv | ( | GLenum | face, | |
GLenum | pname, | |||
const GLfloat * | params | |||
) |
void GLAPIENTRY _vbo_MultiTexCoord4f | ( | GLenum | target, | |
GLfloat | s, | |||
GLfloat | t, | |||
GLfloat | r, | |||
GLfloat | q | |||
) |
void GLAPIENTRY _vbo_Normal3f | ( | GLfloat | x, | |
GLfloat | y, | |||
GLfloat | z | |||
) |
void GLAPIENTRY _vbo_VertexAttrib4f | ( | GLuint | index, | |
GLfloat | x, | |||
GLfloat | y, | |||
GLfloat | z, | |||
GLfloat | w | |||
) |
GLboolean vbo_all_varyings_in_vbos | ( | const struct gl_client_array * | arrays[] | ) |
void vbo_get_minmax_index | ( | GLcontext * | ctx, | |
const struct _mesa_prim * | prim, | |||
const struct _mesa_index_buffer * | ib, | |||
GLuint * | min_index, | |||
GLuint * | max_index | |||
) |
Compute min and max elements for glDraw[Range]Elements() calls.
void vbo_rebase_prims | ( | GLcontext * | ctx, | |
const struct gl_client_array * | arrays[], | |||
const struct _mesa_prim * | prim, | |||
GLuint | nr_prims, | |||
const struct _mesa_index_buffer * | ib, | |||
GLuint | min_index, | |||
GLuint | max_index, | |||
vbo_draw_func | draw | |||
) |
void vbo_set_draw_func | ( | GLcontext * | ctx, | |
vbo_draw_func | func | |||
) |
void vbo_split_prims | ( | GLcontext * | ctx, | |
const struct gl_client_array * | arrays[], | |||
const struct _mesa_prim * | prim, | |||
GLuint | nr_prims, | |||
const struct _mesa_index_buffer * | ib, | |||
GLuint | min_index, | |||
GLuint | max_index, | |||
vbo_draw_func | draw, | |||
const struct split_limits * | limits | |||
) |
void vbo_use_buffer_objects | ( | GLcontext * | ctx | ) |
Tell the VBO module to use a real OpenGL vertex buffer object to store accumulated immediate-mode vertex data.
This replaces the malloced buffer which was created in vb_exec_vtx_init() below.