Lines Matching defs:VAO
297 * Regardless of whether a new VAO is created, the object referenced by \c VAO
301 * \param VAO Storage for vertex array object handle. If 0, a new VAO
321 GLuint *VAO, struct gl_buffer_object **buf_obj,
326 if (*VAO == 0) {
331 _mesa_GenVertexArrays(1, VAO);
332 _mesa_BindVertexArray(*VAO);
334 array_obj = _mesa_lookup_vao(ctx, *VAO);
400 _mesa_BindVertexArray(*VAO);
722 _mesa_reference_vao(ctx, &save->VAO,
723 ctx->Array.VAO);
1121 _mesa_BindVertexArray(save->VAO->Name);
1122 _mesa_reference_vao(ctx, &save->VAO, NULL);
1484 GLuint *VAO, struct gl_buffer_object **buf_obj,
1487 _mesa_meta_setup_vertex_objects(ctx, VAO, buf_obj, false, 2, texcoord_size,
1535 _mesa_meta_setup_vertex_objects(ctx, &clear->VAO, &clear->buf_obj, true,
1591 if (clear->VAO == 0)
1593 _mesa_DeleteVertexArrays(1, &clear->VAO);
1594 clear->VAO = 0;
1606 if (copypix->VAO == 0)
1608 _mesa_DeleteVertexArrays(1, ©pix->VAO);
1609 copypix->VAO = 0;
1771 _mesa_meta_setup_vertex_objects(ctx, &clear->VAO, &clear->buf_obj, false,
1899 _mesa_meta_setup_vertex_objects(ctx, ©pix->VAO, ©pix->buf_obj, false,
1955 if (drawpix->VAO != 0) {
1956 _mesa_DeleteVertexArrays(1, &drawpix->VAO);
1957 drawpix->VAO = 0;
2219 _mesa_meta_setup_vertex_objects(ctx, &drawpix->VAO, &drawpix->buf_obj, false,
2412 _mesa_meta_setup_vertex_objects(ctx, &bitmap->VAO, &bitmap->buf_obj, false,
2990 if (decompress->VAO != 0) {
2991 _mesa_DeleteVertexArrays(1, &decompress->VAO);
3119 _mesa_meta_setup_vertex_objects(ctx, &decompress->VAO,
3125 _mesa_meta_setup_ff_tnl_for_blit(ctx, &decompress->VAO,
3341 if (drawtex->VAO == 0) {
3346 _mesa_GenVertexArrays(1, &drawtex->VAO);
3347 _mesa_BindVertexArray(drawtex->VAO);
3349 array_obj = _mesa_lookup_vao(ctx, drawtex->VAO);
3383 _mesa_BindVertexArray(drawtex->VAO);