Home
last modified time | relevance | path

Searched refs:attrsz (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/mesa/vbo/
Dvbo_save_draw.c77 data += node->attrsz[0]; /* skip vertex position */ in _playback_copy_to_current()
81 if (node->attrsz[i]) { in _playback_copy_to_current()
86 node->attrsz[i], in _playback_copy_to_current()
94 vbo->currval[i].Size = node->attrsz[i]; in _playback_copy_to_current()
107 data += node->attrsz[i]; in _playback_copy_to_current()
147 memcpy(node_attrsz, node->attrsz, sizeof(node->attrsz)); in vbo_bind_vertex_list()
241 list->attrsz, in vbo_save_loopback_vertex_list()
Dvbo_save_loopback.c161 const GLubyte *attrsz, in vbo_loopback_vertex_list() argument
174 if (attrsz[i]) { in vbo_loopback_vertex_list()
176 la[nr].sz = attrsz[i]; in vbo_loopback_vertex_list()
177 la[nr].func = vert_attrfunc[attrsz[i]-1]; in vbo_loopback_vertex_list()
Dvbo_save_api.c329 memcpy(node->attrsz, save->attrsz, sizeof(node->attrsz)); in _save_compile_vertex_list()
350 node->current_size = node->vertex_size - node->attrsz[0]; in _save_compile_vertex_list()
360 unsigned attr_offset = node->attrsz[0] * sizeof(GLfloat); in _save_compile_vertex_list()
374 assert(node->attrsz[VBO_ATTRIB_POS] != 0 || node->count == 0); in _save_compile_vertex_list()
397 node->attrsz, node->prim, node->prim_count, in _save_compile_vertex_list()
515 if (save->attrsz[i]) { in _save_copy_to_current()
516 save->currentsz[i][0] = save->attrsz[i]; in _save_copy_to_current()
517 COPY_CLEAN_4V_TYPE_AS_FLOAT(save->current[i], save->attrsz[i], in _save_copy_to_current()
531 switch (save->attrsz[i]) { in _save_copy_from_current()
573 oldsz = save->attrsz[attr]; in _save_upgrade_vertex()
[all …]
Dvbo_save.h65 GLubyte attrsz[VBO_ATTRIB_MAX]; member
130 GLubyte attrsz[VBO_ATTRIB_MAX]; member
173 const GLubyte *attrsz,
Dvbo_exec_api.c158 if (exec->vtx.attrsz[i]) { in vbo_exec_copy_to_current()
166 exec->vtx.attrsz[i], in vbo_exec_copy_to_current()
179 vbo->currval[i].Size = exec->vtx.attrsz[i]; in vbo_exec_copy_to_current()
200 exec->vtx.attrsz[VBO_ATTRIB_COLOR0]) { in vbo_exec_copy_to_current()
219 switch (exec->vtx.attrsz[i]) { in vbo_exec_copy_from_current()
246 const GLuint oldSize = exec->vtx.attrsz[attr]; in vbo_exec_wrap_upgrade_vertex()
281 exec->vtx.attrsz[attr] = newSize; in vbo_exec_wrap_upgrade_vertex()
294 if (exec->vtx.attrsz[i]) { in vbo_exec_wrap_upgrade_vertex()
296 tmp += exec->vtx.attrsz[i]; in vbo_exec_wrap_upgrade_vertex()
327 GLuint sz = exec->vtx.attrsz[j]; in vbo_exec_wrap_upgrade_vertex()
[all …]
Dvbo_exec_eval.c159 exec->vtx.attrsz[attr], in vbo_exec_do_EvalCoord1f()
207 exec->vtx.attrsz[attr], in vbo_exec_do_EvalCoord2f()
246 exec->vtx.attrsz[VBO_ATTRIB_NORMAL], in vbo_exec_do_EvalCoord2f()
256 if (exec->vtx.attrsz[0] == 4) in vbo_exec_do_EvalCoord2f()
Dvbo_exec_draw.c209 exec->vtx.attrsz[VERT_ATTRIB_GENERIC0] = exec->vtx.attrsz[0]; in vbo_exec_bind_arrays()
211 exec->vtx.attrsz[0] = 0; in vbo_exec_bind_arrays()
221 if (exec->vtx.attrsz[src]) { in vbo_exec_bind_arrays()
240 arrays[attr].Size = exec->vtx.attrsz[src]; in vbo_exec_bind_arrays()
Dvbo_exec.h104 GLubyte attrsz[VBO_ATTRIB_MAX]; member