diff options
author | Brian Paul <[email protected]> | 2016-10-26 09:33:49 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-10-28 09:25:30 -0700 |
commit | c538846e313c43858fb118db012b592513c0ed29 (patch) | |
tree | 6135053f2f97c58a680462a523471db4b3095802 /src/mesa/vbo/vbo_exec.h | |
parent | 161db1335b8dd1f3e2a9abbe82d3b8921d2da314 (diff) |
mesa: rename gl_client_array -> gl_vertex_array
The term "client array" is a legacy thing dating back to the pre-VBO
era when _all_ vertex arrays lived in client memory.
Nowadays, it only contains vertex array state which is derived from
gl_array_attributes and gl_vertex_buffer_binding. It's used by the
VBO module and some drivers.
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo_exec.h')
-rw-r--r-- | src/mesa/vbo/vbo_exec.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/vbo/vbo_exec.h b/src/mesa/vbo/vbo_exec.h index b1508839450..9358ca2acf1 100644 --- a/src/mesa/vbo/vbo_exec.h +++ b/src/mesa/vbo/vbo_exec.h @@ -109,13 +109,13 @@ struct vbo_exec_context /** pointers into the current 'vertex' array, declared above */ fi_type *attrptr[VBO_ATTRIB_MAX]; - struct gl_client_array arrays[VERT_ATTRIB_MAX]; + struct gl_vertex_array arrays[VERT_ATTRIB_MAX]; /* According to program mode, the values above plus current * values are squashed down to the 32 attributes passed to the * vertex program below: */ - const struct gl_client_array *inputs[VERT_ATTRIB_MAX]; + const struct gl_vertex_array *inputs[VERT_ATTRIB_MAX]; } vtx; struct { @@ -129,7 +129,7 @@ struct vbo_exec_context * mode, etc. These are the attributes as seen by vertex * programs: */ - const struct gl_client_array *inputs[VERT_ATTRIB_MAX]; + const struct gl_vertex_array *inputs[VERT_ATTRIB_MAX]; GLboolean recalculate_inputs; } array; |