Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/vbo/
Dvbo_save_draw.c74 data += node->attrsz[0]; /* skip vertex position */ in playback_copy_to_current()
82 assert(node->attrsz[i]); in playback_copy_to_current()
85 node->attrsz[i], in playback_copy_to_current()
93 vbo->currval[i].Size = node->attrsz[i]; in playback_copy_to_current()
106 data += node->attrsz[i]; in playback_copy_to_current()
146 memcpy(node_attrsz, node->attrsz, sizeof(node->attrsz)); in bind_vertex_list()
248 list->attrsz, in loopback_vertex_list()
Dvbo_save_loopback.c173 const GLubyte *attrsz, in vbo_loopback_vertex_list() argument
186 if (attrsz[i]) { in vbo_loopback_vertex_list()
188 la[nr].sz = attrsz[i]; in vbo_loopback_vertex_list()
189 la[nr].func = vert_attrfunc[attrsz[i]-1]; in vbo_loopback_vertex_list()
Dvbo_exec_draw.c216 exec->vtx.attrsz[VERT_ATTRIB_GENERIC0] = exec->vtx.attrsz[0]; in vbo_exec_bind_arrays()
219 exec->vtx.attrsz[0] = 0; in vbo_exec_bind_arrays()
229 if (exec->vtx.attrsz[src]) { in vbo_exec_bind_arrays()
249 arrays[attr].Size = exec->vtx.attrsz[src]; in vbo_exec_bind_arrays()
270 exec->vtx.attrsz[0] = exec->vtx.attrsz[VERT_ATTRIB_GENERIC0]; in vbo_exec_bind_arrays()
271 exec->vtx.attrsz[VERT_ATTRIB_GENERIC0] = 0; in vbo_exec_bind_arrays()
Dvbo_save_api.c434 memcpy(node->attrsz, save->attrsz, sizeof(node->attrsz)); in compile_vertex_list()
455 node->current_size = node->vertex_size - node->attrsz[0]; in compile_vertex_list()
465 unsigned attr_offset = node->attrsz[0] * sizeof(GLfloat); in compile_vertex_list()
479 assert(node->attrsz[VBO_ATTRIB_POS] != 0 || node->vertex_count == 0); in compile_vertex_list()
509 node->attrsz, node->prims, node->prim_count, in compile_vertex_list()
652 assert(save->attrsz[i]); in copy_to_current()
654 save->currentsz[i][0] = save->attrsz[i]; in copy_to_current()
655 COPY_CLEAN_4V_TYPE_AS_UNION(save->current[i], save->attrsz[i], in copy_to_current()
670 switch (save->attrsz[i]) { in copy_from_current()
718 oldsz = save->attrsz[attr]; in upgrade_vertex()
[all …]
Dvbo_save.h65 GLubyte attrsz[VBO_ATTRIB_MAX]; member
146 GLubyte attrsz[VBO_ATTRIB_MAX]; /**< 1, 2, 3 or 4 */ member
186 const GLubyte *attrsz,
Dvbo_exec_api.c185 assert(exec->vtx.attrsz[i]); in vbo_exec_copy_to_current()
190 memcpy(tmp, exec->vtx.attrptr[i], exec->vtx.attrsz[i] * sizeof(GLfloat)); in vbo_exec_copy_to_current()
193 exec->vtx.attrsz[i], in vbo_exec_copy_to_current()
208 vbo->currval[i].Size = exec->vtx.attrsz[i] / dmul; in vbo_exec_copy_to_current()
231 exec->vtx.attrsz[VBO_ATTRIB_COLOR0]) { in vbo_exec_copy_to_current()
252 exec->vtx.attrsz[i] * sizeof(GLfloat)); in vbo_exec_copy_from_current()
255 switch (exec->vtx.attrsz[i]) { in vbo_exec_copy_from_current()
284 const GLuint oldSize = exec->vtx.attrsz[attr]; in vbo_exec_wrap_upgrade_vertex()
321 exec->vtx.attrsz[attr] = newSize; in vbo_exec_wrap_upgrade_vertex()
334 if (exec->vtx.attrsz[i]) { in vbo_exec_wrap_upgrade_vertex()
[all …]
Dvbo_exec_eval.c143 exec->vtx.attrsz[attr], in vbo_exec_do_EvalCoord1f()
192 exec->vtx.attrsz[attr], in vbo_exec_do_EvalCoord2f()
231 exec->vtx.attrsz[VBO_ATTRIB_NORMAL], in vbo_exec_do_EvalCoord2f()
241 if (exec->vtx.attrsz[0] == 4) in vbo_exec_do_EvalCoord2f()
Dvbo_exec.h105 GLubyte attrsz[VBO_ATTRIB_MAX]; /**< nr. of attrib components (1..4) */ member
/external/strace/tests/
Dnlattr_ifla_linkinfo.c198 size_t attrsz = 0; \
201 attrsz += NLA_HDRLEN + NLA_ALIGN(attrs[i].sz); \
203 buflen += attrsz; \
209 .nla_len = NLA_HDRLEN + attrsz, \
245 attrsz + NLA_HDRLEN, \
/external/strace/tests-m32/
Dnlattr_ifla_linkinfo.c198 size_t attrsz = 0; \
201 attrsz += NLA_HDRLEN + NLA_ALIGN(attrs[i].sz); \
203 buflen += attrsz; \
209 .nla_len = NLA_HDRLEN + attrsz, \
245 attrsz + NLA_HDRLEN, \
/external/strace/tests-mx32/
Dnlattr_ifla_linkinfo.c198 size_t attrsz = 0; \
201 attrsz += NLA_HDRLEN + NLA_ALIGN(attrs[i].sz); \
203 buflen += attrsz; \
209 .nla_len = NLA_HDRLEN + attrsz, \
245 attrsz + NLA_HDRLEN, \