mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
vbo: document vbo_exec_context fields
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
d65b029dc2
commit
84719ad9df
1 changed files with 8 additions and 7 deletions
|
|
@ -79,7 +79,7 @@ struct vbo_exec_copied_vtx {
|
|||
|
||||
struct vbo_exec_context
|
||||
{
|
||||
struct gl_context *ctx;
|
||||
struct gl_context *ctx;
|
||||
GLvertexformat vtxfmt;
|
||||
GLvertexformat vtxfmt_noop;
|
||||
GLboolean validating; /**< if we're in the middle of state validation */
|
||||
|
|
@ -97,15 +97,17 @@ struct vbo_exec_context
|
|||
GLuint buffer_used; /* in bytes */
|
||||
fi_type vertex[VBO_ATTRIB_MAX*4]; /* current vertex */
|
||||
|
||||
GLuint vert_count;
|
||||
GLuint max_vert;
|
||||
GLuint vert_count; /**< Number of vertices currently in buffer */
|
||||
GLuint max_vert; /**< Max number of vertices allowed in buffer */
|
||||
struct vbo_exec_copied_vtx copied;
|
||||
|
||||
GLubyte attrsz[VBO_ATTRIB_MAX];
|
||||
GLenum attrtype[VBO_ATTRIB_MAX];
|
||||
GLubyte active_sz[VBO_ATTRIB_MAX];
|
||||
GLubyte attrsz[VBO_ATTRIB_MAX]; /**< nr. of attrib components (1..4) */
|
||||
GLenum attrtype[VBO_ATTRIB_MAX]; /**< GL_FLOAT, GL_DOUBLE, GL_INT, etc */
|
||||
GLubyte active_sz[VBO_ATTRIB_MAX]; /**< attrib size (nr. 32-bit words) */
|
||||
|
||||
/** pointers into the current 'vertex' array, declared above */
|
||||
fi_type *attrptr[VBO_ATTRIB_MAX];
|
||||
|
||||
struct gl_client_array arrays[VERT_ATTRIB_MAX];
|
||||
|
||||
/* According to program mode, the values above plus current
|
||||
|
|
@ -115,7 +117,6 @@ struct vbo_exec_context
|
|||
const struct gl_client_array *inputs[VERT_ATTRIB_MAX];
|
||||
} vtx;
|
||||
|
||||
|
||||
struct {
|
||||
GLboolean recalculate_maps;
|
||||
struct vbo_exec_eval1_map map1[VERT_ATTRIB_MAX];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue