Lines Matching refs:attrsz
329 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()
574 save->attrsz[attr] = newsz; in _save_upgrade_vertex()
584 if (save->attrsz[i]) { in _save_upgrade_vertex()
586 tmp += save->attrsz[i]; in _save_upgrade_vertex()
617 if (save->attrsz[j]) { in _save_upgrade_vertex()
631 GLint sz = save->attrsz[j]; in _save_upgrade_vertex()
651 if (sz > save->attrsz[attr]) { in save_fixup_vertex()
664 for (i = sz; i <= save->attrsz[attr]; i++) in save_fixup_vertex()
679 save->attrsz[i] = 0; in _save_reset_vertex()