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

vbo_split_inplace.c File Reference

#include "main/mtypes.h"
#include "main/macros.h"
#include "main/enums.h"
#include "vbo_split.h"

Data Structures

struct  split_context

Defines

#define MAX_PRIM   32

Functions

static void flush_vertex (struct split_context *split)
static struct _mesa_primnext_outprim (struct split_context *split)
static int align (int value, int alignment)
static void split_prims (struct split_context *split)
void vbo_split_inplace (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)


Define Documentation

#define MAX_PRIM   32


Function Documentation

static int align ( int  value,
int  alignment 
) [static]

static void flush_vertex ( struct split_context split  )  [static]

static struct _mesa_prim* next_outprim ( struct split_context split  )  [static, read]

static void split_prims ( struct split_context split  )  [static]

void vbo_split_inplace ( 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 
)


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