Lines Matching refs:attrsz
434 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()
719 save->attrsz[attr] = newsz; in upgrade_vertex()
731 if (save->attrsz[i]) { in upgrade_vertex()
733 tmp += save->attrsz[i]; in upgrade_vertex()
765 assert(save->attrsz[j]); in upgrade_vertex()
779 GLint sz = save->attrsz[j]; in upgrade_vertex()
803 if (sz > save->attrsz[attr]) { in fixup_vertex()
816 for (i = sz; i <= save->attrsz[attr]; i++) in fixup_vertex()
836 assert(save->attrsz[i]); in reset_vertex()
837 save->attrsz[i] = 0; in reset_vertex()