Lines Matching refs:attrsz
526 offset += save->attrsz[i] * sizeof(GLfloat); in compile_vertex_list()
541 save->enabled, save->attrsz, save->attrtype, offsets); in compile_vertex_list()
553 GLuint current_size = save->vertex_size - save->attrsz[0]; in compile_vertex_list()
560 unsigned attr_offset = save->attrsz[0] * sizeof(GLfloat); in compile_vertex_list()
574 assert(save->attrsz[VBO_ATTRIB_POS] != 0 || node->vertex_count == 0); in compile_vertex_list()
726 assert(save->attrsz[i]); in copy_to_current()
730 memcpy(save->current[i], save->attrptr[i], save->attrsz[i] * sizeof(GLfloat)); in copy_to_current()
732 COPY_CLEAN_4V_TYPE_AS_UNION(save->current[i], save->attrsz[i], in copy_to_current()
747 switch (save->attrsz[i]) { in copy_from_current()
797 oldsz = save->attrsz[attr]; in upgrade_vertex()
798 save->attrsz[attr] = newsz; in upgrade_vertex()
810 if (save->attrsz[i]) { in upgrade_vertex()
812 tmp += save->attrsz[i]; in upgrade_vertex()
844 assert(save->attrsz[j]); in upgrade_vertex()
858 GLint sz = save->attrsz[j]; in upgrade_vertex()
883 if (sz > save->attrsz[attr] || in fixup_vertex()
897 for (i = sz; i <= save->attrsz[attr]; i++) in fixup_vertex()
917 assert(save->attrsz[i]); in reset_vertex()
918 save->attrsz[i] = 0; in reset_vertex()