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

vbo_save.h File Reference

#include "main/mtypes.h"
#include "vbo.h"
#include "vbo_attrib.h"

Data Structures

struct  vbo_save_copied_vtx
struct  vbo_save_vertex_list
struct  vbo_save_vertex_store
struct  vbo_save_primitive_store
struct  vbo_save_context

Defines

#define VBO_SAVE_BUFFER_SIZE   (8*1024)
#define VBO_SAVE_PRIM_SIZE   128
#define VBO_SAVE_PRIM_WEAK   0x40
#define VBO_SAVE_FALLBACK   0x10000000

Functions

void vbo_save_init (GLcontext *ctx)
void vbo_save_destroy (GLcontext *ctx)
void vbo_save_fallback (GLcontext *ctx, GLboolean fallback)
void vbo_loopback_vertex_list (GLcontext *ctx, const GLfloat *buffer, const GLubyte *attrsz, const struct _mesa_prim *prim, GLuint prim_count, GLuint wrap_count, GLuint vertex_size)
void vbo_save_EndList (GLcontext *ctx)
void vbo_save_NewList (GLcontext *ctx, GLuint list, GLenum mode)
void vbo_save_EndCallList (GLcontext *ctx)
void vbo_save_BeginCallList (GLcontext *ctx, struct gl_display_list *list)
void vbo_save_SaveFlushVertices (GLcontext *ctx)
GLboolean vbo_save_NotifyBegin (GLcontext *ctx, GLenum mode)
void vbo_save_playback_vertex_list (GLcontext *ctx, void *data)
 Execute the buffer and save copied verts.
void vbo_save_api_init (struct vbo_save_context *save)
 Initialize the display list compiler.


Define Documentation

#define VBO_SAVE_BUFFER_SIZE   (8*1024)

#define VBO_SAVE_FALLBACK   0x10000000

#define VBO_SAVE_PRIM_SIZE   128

#define VBO_SAVE_PRIM_WEAK   0x40


Function Documentation

void vbo_loopback_vertex_list ( GLcontext ctx,
const GLfloat *  buffer,
const GLubyte *  attrsz,
const struct _mesa_prim prim,
GLuint  prim_count,
GLuint  wrap_count,
GLuint  vertex_size 
)

void vbo_save_api_init ( struct vbo_save_context save  ) 

Initialize the display list compiler.

void vbo_save_BeginCallList ( GLcontext ctx,
struct gl_display_list list 
)

void vbo_save_destroy ( GLcontext ctx  ) 

void vbo_save_EndCallList ( GLcontext ctx  ) 

void vbo_save_EndList ( GLcontext ctx  ) 

void vbo_save_fallback ( GLcontext ctx,
GLboolean  fallback 
)

void vbo_save_init ( GLcontext ctx  ) 

void vbo_save_NewList ( GLcontext ctx,
GLuint  list,
GLenum  mode 
)

GLboolean vbo_save_NotifyBegin ( GLcontext ctx,
GLenum  mode 
)

void vbo_save_playback_vertex_list ( GLcontext ctx,
void *  data 
)

Execute the buffer and save copied verts.

void vbo_save_SaveFlushVertices ( GLcontext ctx  ) 


Generated on Sun Sep 27 06:47:52 2009 for Mesa vbo by  doxygen 1.5.4