Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/vbo/
Dvbo_save_draw.c80 fi_type *current = (fi_type *)vbo->currval[i].Ptr; in playback_copy_to_current()
89 if (node->attrtype[i] != vbo->currval[i].Type || in playback_copy_to_current()
93 vbo->currval[i].Size = node->attrsz[i]; in playback_copy_to_current()
94 vbo->currval[i]._ElementSize = vbo->currval[i].Size * sizeof(GLfloat); in playback_copy_to_current()
95 vbo->currval[i].Type = node->attrtype[i]; in playback_copy_to_current()
96 vbo->currval[i].Integer = in playback_copy_to_current()
163 save->inputs[attr] = &vbo->currval[VBO_ATTRIB_POS + attr]; in bind_vertex_list()
171 &vbo->currval[VBO_ATTRIB_MAT_FRONT_AMBIENT+attr]; in bind_vertex_list()
178 &vbo->currval[VBO_ATTRIB_GENERIC0+attr]; in bind_vertex_list()
Dvbo_save.c52 memcpy(arrays, &vbo->currval[VBO_ATTRIB_POS], in vbo_save_init()
59 vbo->currval[VBO_ATTRIB_POS+i].BufferObj); in vbo_save_init()
63 &vbo->currval[VBO_ATTRIB_GENERIC0], in vbo_save_init()
71 vbo->currval[VBO_ATTRIB_GENERIC0+i].BufferObj); in vbo_save_init()
Dvbo_context.c83 struct gl_vertex_array *cl = &vbo->currval[VERT_ATTRIB_FF(i)]; in init_legacy_currval()
99 struct gl_vertex_array *cl = &vbo->currval[VBO_ATTRIB_GENERIC0 + i]; in init_generic_currval()
117 &vbo->currval[VBO_ATTRIB_MAT_FRONT_AMBIENT + i]; in init_mat_currval()
253 _mesa_reference_buffer_object(ctx, &vbo->currval[i].BufferObj, NULL); in _vbo_DestroyContext()
Dvbo_exec_api.c177 GLfloat *current = (GLfloat *)vbo->currval[i].Ptr; in vbo_exec_copy_to_current()
198 if (exec->vtx.attrtype[i] != vbo->currval[i].Type || in vbo_exec_copy_to_current()
208 vbo->currval[i].Size = exec->vtx.attrsz[i] / dmul; in vbo_exec_copy_to_current()
209 vbo->currval[i]._ElementSize = in vbo_exec_copy_to_current()
210 vbo->currval[i].Size * sizeof(GLfloat) * dmul; in vbo_exec_copy_to_current()
211 vbo->currval[i].Type = exec->vtx.attrtype[i]; in vbo_exec_copy_to_current()
212 vbo->currval[i].Integer = in vbo_exec_copy_to_current()
214 vbo->currval[i].Doubles = in vbo_exec_copy_to_current()
251 memcpy(exec->vtx.attrptr[i], vbo->currval[i].Ptr, in vbo_exec_copy_from_current()
254 const fi_type *current = (fi_type *) vbo->currval[i].Ptr; in vbo_exec_copy_from_current()
[all …]
Dvbo_exec_draw.c184 exec->vtx.inputs[attr] = &vbo->currval[VBO_ATTRIB_POS+attr]; in vbo_exec_bind_arrays()
193 &vbo->currval[VBO_ATTRIB_MAT_FRONT_AMBIENT+attr]; in vbo_exec_bind_arrays()
201 &vbo->currval[VBO_ATTRIB_GENERIC0+attr]; in vbo_exec_bind_arrays()
Dvbo_exec_array.c316 inputs[i] = &vbo->currval[VBO_ATTRIB_POS + i]; in recalculate_input_bindings()
323 &vbo->currval[VBO_ATTRIB_MAT_FRONT_AMBIENT + i]; in recalculate_input_bindings()
332 &vbo->currval[VBO_ATTRIB_GENERIC0 + i]; in recalculate_input_bindings()
359 inputs[0] = &vbo->currval[VBO_ATTRIB_GENERIC0]; in recalculate_input_bindings()
367 inputs[i] = &vbo->currval[VBO_ATTRIB_POS + i]; in recalculate_input_bindings()
378 &vbo->currval[VBO_ATTRIB_GENERIC0 + i]; in recalculate_input_bindings()
393 inputs[i] = &vbo->currval[VBO_ATTRIB_POS + i]; in recalculate_input_bindings()
403 &vbo->currval[VBO_ATTRIB_GENERIC0 + i]; in recalculate_input_bindings()
Dvbo_context.h67 struct gl_vertex_array currval[VBO_ATTRIB_MAX]; member
/external/python/cpython2/Lib/lib-tk/test/test_ttk/
Dtest_widgets.py477 def check_get_current(getval, currval): argument
479 self.assertEqual(self.combo.current(), currval)
/external/python/cpython3/Lib/tkinter/test/test_ttk/
Dtest_widgets.py480 def check_get_current(getval, currval): argument
482 self.assertEqual(self.combo.current(), currval)