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.c81 fi_type *current = (fi_type *)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()
155 save->inputs[attr] = &vbo->currval[VBO_ATTRIB_POS+attr]; in vbo_bind_vertex_list()
159 &vbo->currval[VBO_ATTRIB_MAT_FRONT_AMBIENT+attr]; in vbo_bind_vertex_list()
165 save->inputs[attr] = &vbo->currval[VBO_ATTRIB_POS+attr]; in vbo_bind_vertex_list()
169 &vbo->currval[VBO_ATTRIB_GENERIC0+attr]; in vbo_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.c80 struct gl_vertex_array *cl = &vbo->currval[VERT_ATTRIB_FF(i)]; in init_legacy_currval()
95 struct gl_vertex_array *cl = &vbo->currval[VBO_ATTRIB_GENERIC0 + i]; in init_generic_currval()
112 &vbo->currval[VBO_ATTRIB_MAT_FRONT_AMBIENT + i]; in init_mat_currval()
249 _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()
193 if (exec->vtx.attrtype[i] != vbo->currval[i].Type || in vbo_exec_copy_to_current()
203 vbo->currval[i].Size = exec->vtx.attrsz[i] / dmul; in vbo_exec_copy_to_current()
204 vbo->currval[i]._ElementSize = in vbo_exec_copy_to_current()
205 vbo->currval[i].Size * sizeof(GLfloat) * dmul; in vbo_exec_copy_to_current()
206 vbo->currval[i].Type = exec->vtx.attrtype[i]; in vbo_exec_copy_to_current()
207 vbo->currval[i].Integer = in vbo_exec_copy_to_current()
209 vbo->currval[i].Doubles = in vbo_exec_copy_to_current()
245 memcpy(exec->vtx.attrptr[i], vbo->currval[i].Ptr, in vbo_exec_copy_from_current()
248 const fi_type *current = (fi_type *) vbo->currval[i].Ptr; in vbo_exec_copy_from_current()
[all …]
Dvbo_exec_draw.c189 exec->vtx.inputs[attr] = &vbo->currval[VBO_ATTRIB_POS+attr]; in vbo_exec_bind_arrays()
194 &vbo->currval[VBO_ATTRIB_MAT_FRONT_AMBIENT+attr]; in vbo_exec_bind_arrays()
200 exec->vtx.inputs[attr] = &vbo->currval[VBO_ATTRIB_POS+attr]; in vbo_exec_bind_arrays()
205 &vbo->currval[VBO_ATTRIB_GENERIC0+attr]; in vbo_exec_bind_arrays()
Dvbo_exec_array.c262 inputs[i] = &vbo->currval[VBO_ATTRIB_POS + i]; in recalculate_input_bindings()
269 &vbo->currval[VBO_ATTRIB_MAT_FRONT_AMBIENT + i]; in recalculate_input_bindings()
278 &vbo->currval[VBO_ATTRIB_GENERIC0 + i]; in recalculate_input_bindings()
305 inputs[0] = &vbo->currval[VBO_ATTRIB_POS]; in recalculate_input_bindings()
313 inputs[i] = &vbo->currval[VBO_ATTRIB_POS + i]; in recalculate_input_bindings()
324 &vbo->currval[VBO_ATTRIB_GENERIC0 + i]; in recalculate_input_bindings()
339 inputs[i] = &vbo->currval[VBO_ATTRIB_POS + i]; in recalculate_input_bindings()
349 &vbo->currval[VBO_ATTRIB_GENERIC0 + i]; in recalculate_input_bindings()
Dvbo_context.h66 struct gl_vertex_array currval[VBO_ATTRIB_MAX]; member
/external/python/cpython3/Lib/tkinter/test/test_ttk/
Dtest_widgets.py475 def check_get_current(getval, currval): argument
477 self.assertEqual(self.combo.current(), currval)
/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)