Lines Matching defs:VAO
302 * Regardless of whether a new VAO is created, the object referenced by \c VAO
306 * \param VAO Storage for vertex array object handle. If 0, a new VAO
326 GLuint *VAO, struct gl_buffer_object **buf_obj,
331 if (*VAO == 0) {
336 _mesa_GenVertexArrays(1, VAO);
337 _mesa_BindVertexArray(*VAO);
339 array_obj = _mesa_lookup_vao(ctx, *VAO);
410 _mesa_BindVertexArray(*VAO);
735 _mesa_reference_vao(ctx, &save->VAO,
736 ctx->Array.VAO);
1125 _mesa_BindVertexArray(save->VAO->Name);
1126 _mesa_reference_vao(ctx, &save->VAO, NULL);
1488 GLuint *VAO, struct gl_buffer_object **buf_obj,
1491 _mesa_meta_setup_vertex_objects(ctx, VAO, buf_obj, false, 2, texcoord_size,
1537 _mesa_meta_setup_vertex_objects(ctx, &clear->VAO, &clear->buf_obj, true,
1550 if (clear->VAO == 0)
1552 _mesa_DeleteVertexArrays(1, &clear->VAO);
1553 clear->VAO = 0;
1561 if (copypix->VAO == 0)
1563 _mesa_DeleteVertexArrays(1, ©pix->VAO);
1564 copypix->VAO = 0;
1722 _mesa_meta_setup_vertex_objects(ctx, &clear->VAO, &clear->buf_obj, false,
1842 _mesa_meta_setup_vertex_objects(ctx, ©pix->VAO, ©pix->buf_obj, false,
1898 if (drawpix->VAO != 0) {
1899 _mesa_DeleteVertexArrays(1, &drawpix->VAO);
1900 drawpix->VAO = 0;
1919 if (drawtex->VAO != 0) {
1920 _mesa_DeleteVertexArrays(1, &drawtex->VAO);
1921 drawtex->VAO = 0;
1930 if (bitmap->VAO != 0) {
1931 _mesa_DeleteVertexArrays(1, &bitmap->VAO);
1932 bitmap->VAO = 0;
2186 _mesa_meta_setup_vertex_objects(ctx, &drawpix->VAO, &drawpix->buf_obj, false,
2379 _mesa_meta_setup_vertex_objects(ctx, &bitmap->VAO, &bitmap->buf_obj, false,
2957 if (decompress->VAO != 0) {
2958 _mesa_DeleteVertexArrays(1, &decompress->VAO);
3087 _mesa_meta_setup_vertex_objects(ctx, &decompress->VAO,
3093 _mesa_meta_setup_ff_tnl_for_blit(ctx, &decompress->VAO,
3309 if (drawtex->VAO == 0) {
3314 _mesa_GenVertexArrays(1, &drawtex->VAO);
3315 _mesa_BindVertexArray(drawtex->VAO);
3317 array_obj = _mesa_lookup_vao(ctx, drawtex->VAO);
3353 _mesa_BindVertexArray(drawtex->VAO);