Lines Matching refs:VAO
1620 copy_array_object(ctx, dest->VAO, src->VAO); in copy_array_attrib()
1639 dest->VAO->Name = src->VAO->Name; in save_array_attrib()
1646 _mesa_reference_buffer_object(ctx, &dest->VAO->IndexBufferObj, in save_array_attrib()
1647 src->VAO->IndexBufferObj); in save_array_attrib()
1658 bool is_vao_name_zero = src->VAO->Name == 0; in restore_array_attrib()
1669 if (!is_vao_name_zero && !_mesa_IsVertexArray(src->VAO->Name)) in restore_array_attrib()
1672 _mesa_BindVertexArray(src->VAO->Name); in restore_array_attrib()
1687 if (is_vao_name_zero || !src->VAO->IndexBufferObj || in restore_array_attrib()
1688 _mesa_IsBuffer(src->VAO->IndexBufferObj->Name)) { in restore_array_attrib()
1690 src->VAO->IndexBufferObj ? in restore_array_attrib()
1691 src->VAO->IndexBufferObj->Name : 0); in restore_array_attrib()
1717 _mesa_initialize_vao(ctx, &head->VAO, 0); in _mesa_PushClientAttrib()
1719 head->Array.VAO = &head->VAO; in _mesa_PushClientAttrib()
1753 _mesa_unbind_array_object_vbos(ctx, &head->VAO); in _mesa_PopClientAttrib()
1754 _mesa_reference_buffer_object(ctx, &head->VAO.IndexBufferObj, NULL); in _mesa_PopClientAttrib()