#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_prim * | next_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 MAX_PRIM 32 |
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 | |||
) |