* or a gl_vertex_buffer_binding has changed.
*/
void
-_mesa_update_vao_client_arrays(struct gl_context *ctx,
- struct gl_vertex_array_object *vao)
+_mesa_update_vao_derived_arrays(struct gl_context *ctx,
+ struct gl_vertex_array_object *vao)
{
GLbitfield arrays = vao->NewArrays;
const struct gl_vertex_buffer_binding *buffer_binding =
&vao->BufferBinding[attrib_array->BufferBindingIndex];
- _mesa_update_client_array(ctx, client_array, attrib_array,
+ _mesa_update_vertex_array(ctx, client_array, attrib_array,
buffer_binding);
}
}
extern void
-_mesa_update_vao_client_arrays(struct gl_context *ctx,
- struct gl_vertex_array_object *vao);
+_mesa_update_vao_derived_arrays(struct gl_context *ctx,
+ struct gl_vertex_array_object *vao);
/* Returns true if all varying arrays reside in vbos */
extern bool
/* skip RefCount */
for (i = 0; i < ARRAY_SIZE(src->VertexAttrib); i++) {
- _mesa_copy_client_array(ctx, &dest->_VertexAttrib[i], &src->_VertexAttrib[i]);
+ _mesa_copy_vertex_array(ctx, &dest->_VertexAttrib[i], &src->_VertexAttrib[i]);
_mesa_copy_vertex_attrib_array(ctx, &dest->VertexAttrib[i], &src->VertexAttrib[i]);
_mesa_copy_vertex_buffer_binding(ctx, &dest->BufferBinding[i], &src->BufferBinding[i]);
}
}
if (new_state & _NEW_ARRAY)
- _mesa_update_vao_client_arrays(ctx, ctx->Array.VAO);
+ _mesa_update_vao_derived_arrays(ctx, ctx->Array.VAO);
out:
new_prog_state |= update_program_constants(ctx);
/**
- * Copy one client vertex array to another.
+ * Copy one vertex array to another.
*/
void
-_mesa_copy_client_array(struct gl_context *ctx,
+_mesa_copy_vertex_array(struct gl_context *ctx,
struct gl_vertex_array *dst,
struct gl_vertex_array *src)
{
* gl_array_attributes and a gl_vertex_buffer_binding.
*/
static inline void
-_mesa_update_client_array(struct gl_context *ctx,
+_mesa_update_vertex_array(struct gl_context *ctx,
struct gl_vertex_array *dst,
const struct gl_array_attributes *attribs,
const struct gl_vertex_buffer_binding *binding)
GLuint divisor);
extern void
-_mesa_copy_client_array(struct gl_context *ctx,
+_mesa_copy_vertex_array(struct gl_context *ctx,
struct gl_vertex_array *dst,
struct gl_vertex_array *src);