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

copy_context Struct Reference


Detailed Description

Used for vertex-level splitting of indexed buffers.

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

GLcontextctx
struct gl_client_array ** array
struct _mesa_primprim
GLuint nr_prims
struct _mesa_index_bufferib
vbo_draw_func draw
struct split_limitslimits
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_arraydstarray_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


Field Documentation

GLcontext* copy_context::ctx

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]

vbo_draw_func copy_context::draw

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


The documentation for this struct was generated from the following file:
Generated on Sun Sep 27 06:47:52 2009 for Mesa vbo by  doxygen 1.5.4