Note that non-indexed primitives may be converted to indexed in some cases (eg loops, fans) in order to use this splitting path.
Data Fields | |
GLcontext * | ctx |
struct gl_client_array ** | array |
struct _mesa_prim * | prim |
GLuint | nr_prims |
struct _mesa_index_buffer * | ib |
vbo_draw_func | draw |
struct split_limits * | limits |
struct { | |
GLuint attr | |
GLuint size | |
struct gl_client_array * array | |
const GLubyte * src_ptr | |
struct gl_client_array dstarray | |
} | varying [VERT_ATTRIB_MAX] |
GLuint | nr_varying |
struct gl_client_array * | dstarray_ptr [VERT_ATTRIB_MAX] |
struct _mesa_index_buffer | dstib |
GLuint * | translated_elt_buf |
const GLuint * | srcelt |
struct { | |
GLuint in | |
GLuint out | |
} | vert_cache [ELT_TABLE_SIZE] |
GLuint | vertex_size |
GLubyte * | dstbuf |
GLubyte * | dstptr |
dstptr == dstbuf + dstelt_max * vertsize | |
GLuint | dstbuf_size |
in vertices | |
GLuint | dstbuf_nr |
count of emitted vertices, also the largest value in dstelt. | |
GLuint * | dstelt |
GLuint | dstelt_nr |
GLuint | dstelt_size |
struct _mesa_prim | dstprim [MAX_PRIM] |
GLuint | dstprim_nr |
struct gl_client_array** copy_context::array [read] |
struct _mesa_prim* copy_context::prim [read] |
GLuint copy_context::nr_prims |
struct _mesa_index_buffer* copy_context::ib [read] |
struct split_limits* copy_context::limits [read] |
GLuint copy_context::attr |
GLuint copy_context::size |
struct gl_client_array* copy_context::array [read] |
const GLubyte* copy_context::src_ptr |
struct gl_client_array copy_context::dstarray [read] |
struct { ... } copy_context::varying[VERT_ATTRIB_MAX] |
GLuint copy_context::nr_varying |
struct gl_client_array* copy_context::dstarray_ptr[VERT_ATTRIB_MAX] [read] |
struct _mesa_index_buffer copy_context::dstib [read] |
GLuint* copy_context::translated_elt_buf |
const GLuint* copy_context::srcelt |
GLuint copy_context::in |
GLuint copy_context::out |
struct { ... } copy_context::vert_cache[ELT_TABLE_SIZE] |
GLuint copy_context::vertex_size |
GLubyte* copy_context::dstbuf |
GLubyte* copy_context::dstptr |
dstptr == dstbuf + dstelt_max * vertsize
GLuint copy_context::dstbuf_size |
in vertices
GLuint copy_context::dstbuf_nr |
count of emitted vertices, also the largest value in dstelt.
Our MaxIndex.
GLuint* copy_context::dstelt |
GLuint copy_context::dstelt_nr |
GLuint copy_context::dstelt_size |
struct _mesa_prim copy_context::dstprim[MAX_PRIM] [read] |
GLuint copy_context::dstprim_nr |