Lines Matching refs:VAO
1521 copy_array_object(ctx, dest->VAO, src->VAO); in copy_array_attrib()
1541 dest->VAO->Name = src->VAO->Name; in save_array_attrib()
1548 _mesa_reference_buffer_object(ctx, &dest->VAO->IndexBufferObj, in save_array_attrib()
1549 src->VAO->IndexBufferObj); in save_array_attrib()
1572 const bool arb_vao = (src->VAO->Name != 0 in restore_array_attrib()
1573 && src->VAO->ARBsemantics); in restore_array_attrib()
1575 if (arb_vao && !_mesa_IsVertexArray(src->VAO->Name)) in restore_array_attrib()
1578 _mesa_BindVertexArrayAPPLE(src->VAO->Name); in restore_array_attrib()
1594 || src->VAO->IndexBufferObj->Name == 0 in restore_array_attrib()
1595 || _mesa_IsBuffer(src->VAO->IndexBufferObj->Name)) in restore_array_attrib()
1597 src->VAO->IndexBufferObj->Name); in restore_array_attrib()
1609 attrib->VAO = CALLOC_STRUCT( gl_vertex_array_object ); in init_array_attrib_data()
1611 if (attrib->VAO == NULL) { in init_array_attrib_data()
1616 _mesa_initialize_vao(ctx, attrib->VAO, 0); in init_array_attrib_data()
1631 _mesa_delete_vao(ctx, attrib->VAO); in free_array_attrib_data()
1632 attrib->VAO = 0; in free_array_attrib_data()