Home
last modified time | relevance | path

Searched refs:currval (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/mesa/vbo/
Dvbo_save_draw.c82 GLfloat *current = (GLfloat *)vbo->currval[i].Ptr; in _playback_copy_to_current()
90 if (node->attrtype[i] != vbo->currval[i].Type || in _playback_copy_to_current()
94 vbo->currval[i].Size = node->attrsz[i]; in _playback_copy_to_current()
95 vbo->currval[i]._ElementSize = vbo->currval[i].Size * sizeof(GLfloat); in _playback_copy_to_current()
96 vbo->currval[i].Type = node->attrtype[i]; in _playback_copy_to_current()
97 vbo->currval[i].Integer = in _playback_copy_to_current()
156 save->inputs[attr] = &vbo->currval[VBO_ATTRIB_POS+attr]; in vbo_bind_vertex_list()
160 &vbo->currval[VBO_ATTRIB_MAT_FRONT_AMBIENT+attr]; in vbo_bind_vertex_list()
171 save->inputs[attr] = &vbo->currval[VBO_ATTRIB_POS+attr]; in vbo_bind_vertex_list()
175 &vbo->currval[VBO_ATTRIB_GENERIC0+attr]; in vbo_bind_vertex_list()
Dvbo_save.c69 memcpy(arrays, &vbo->currval[VBO_ATTRIB_POS], in vbo_save_init()
76 vbo->currval[VBO_ATTRIB_POS+i].BufferObj); in vbo_save_init()
80 &vbo->currval[VBO_ATTRIB_GENERIC0], in vbo_save_init()
88 vbo->currval[VBO_ATTRIB_GENERIC0+i].BufferObj); in vbo_save_init()
Dvbo_context.c50 struct gl_client_array *arrays = &vbo->currval[VBO_ATTRIB_POS]; in init_legacy_currval()
80 struct gl_client_array *arrays = &vbo->currval[VBO_ATTRIB_GENERIC0]; in init_generic_currval()
108 &vbo->currval[VBO_ATTRIB_MAT_FRONT_AMBIENT]; in init_mat_currval()
220 _mesa_reference_buffer_object(ctx, &vbo->currval[i].BufferObj, NULL); in _vbo_DestroyContext()
Dvbo_exec_api.c162 GLfloat *current = (GLfloat *)vbo->currval[i].Ptr; in vbo_exec_copy_to_current()
170 if (exec->vtx.attrtype[i] != vbo->currval[i].Type || in vbo_exec_copy_to_current()
179 vbo->currval[i].Size = exec->vtx.attrsz[i]; in vbo_exec_copy_to_current()
180 vbo->currval[i]._ElementSize = vbo->currval[i].Size * sizeof(GLfloat); in vbo_exec_copy_to_current()
181 vbo->currval[i].Type = exec->vtx.attrtype[i]; in vbo_exec_copy_to_current()
182 vbo->currval[i].Integer = in vbo_exec_copy_to_current()
218 const GLfloat *current = (GLfloat *) vbo->currval[i].Ptr; in vbo_exec_copy_from_current()
341 GLfloat *current = (GLfloat *)vbo->currval[j].Ptr; in vbo_exec_wrap_upgrade_vertex()
1223 memcpy(arrays, &vbo->currval[VBO_ATTRIB_POS], in vbo_exec_vtx_init()
1230 vbo->currval[VBO_ATTRIB_POS+i].BufferObj); in vbo_exec_vtx_init()
[all …]
Dvbo_exec_draw.c177 exec->vtx.inputs[attr] = &vbo->currval[VBO_ATTRIB_POS+attr]; in vbo_exec_bind_arrays()
182 &vbo->currval[VBO_ATTRIB_MAT_FRONT_AMBIENT+attr]; in vbo_exec_bind_arrays()
193 exec->vtx.inputs[attr] = &vbo->currval[VBO_ATTRIB_POS+attr]; in vbo_exec_bind_arrays()
198 &vbo->currval[VBO_ATTRIB_GENERIC0+attr]; in vbo_exec_bind_arrays()
Dvbo_exec_array.c423 inputs[i] = &vbo->currval[VBO_ATTRIB_POS+i]; in recalculate_input_bindings()
430 &vbo->currval[VBO_ATTRIB_MAT_FRONT_AMBIENT+i]; in recalculate_input_bindings()
438 inputs[VERT_ATTRIB_GENERIC(i)] = &vbo->currval[VBO_ATTRIB_GENERIC0+i]; in recalculate_input_bindings()
455 inputs[i] = &vbo->currval[VBO_ATTRIB_POS+i]; in recalculate_input_bindings()
464 inputs[VERT_ATTRIB_GENERIC(i)] = &vbo->currval[VBO_ATTRIB_GENERIC0+i]; in recalculate_input_bindings()
482 inputs[0] = &vbo->currval[VBO_ATTRIB_POS]; in recalculate_input_bindings()
490 inputs[i] = &vbo->currval[VBO_ATTRIB_POS+i]; in recalculate_input_bindings()
499 inputs[VERT_ATTRIB_GENERIC(i)] = &vbo->currval[VBO_ATTRIB_GENERIC0+i]; in recalculate_input_bindings()
Dvbo_context.h74 struct gl_client_array currval[VBO_ATTRIB_MAX]; member