Lines Matching refs:VAO
317 GLuint *VAO, struct gl_buffer_object **buf_obj, in _mesa_meta_setup_vertex_objects() argument
322 if (*VAO == 0) { in _mesa_meta_setup_vertex_objects()
327 _mesa_GenVertexArrays(1, VAO); in _mesa_meta_setup_vertex_objects()
328 _mesa_BindVertexArray(*VAO); in _mesa_meta_setup_vertex_objects()
330 array_obj = _mesa_lookup_vao(ctx, *VAO); in _mesa_meta_setup_vertex_objects()
394 _mesa_BindVertexArray(*VAO); in _mesa_meta_setup_vertex_objects()
717 _mesa_reference_vao(ctx, &save->VAO, in _mesa_meta_begin()
718 ctx->Array.VAO); in _mesa_meta_begin()
1111 _mesa_BindVertexArray(save->VAO->Name); in _mesa_meta_end()
1112 _mesa_reference_vao(ctx, &save->VAO, NULL); in _mesa_meta_end()
1472 GLuint *VAO, struct gl_buffer_object **buf_obj, in _mesa_meta_setup_ff_tnl_for_blit() argument
1475 _mesa_meta_setup_vertex_objects(ctx, VAO, buf_obj, false, 2, texcoord_size, in _mesa_meta_setup_ff_tnl_for_blit()
1523 _mesa_meta_setup_vertex_objects(ctx, &clear->VAO, &clear->buf_obj, true, in meta_glsl_clear_init()
1579 if (clear->VAO == 0) in meta_glsl_clear_cleanup()
1581 _mesa_DeleteVertexArrays(1, &clear->VAO); in meta_glsl_clear_cleanup()
1582 clear->VAO = 0; in meta_glsl_clear_cleanup()
1758 _mesa_meta_setup_vertex_objects(ctx, &clear->VAO, &clear->buf_obj, false, in meta_clear()
1886 _mesa_meta_setup_vertex_objects(ctx, ©pix->VAO, ©pix->buf_obj, false, in _mesa_meta_CopyPixels()
1942 if (drawpix->VAO != 0) { in meta_drawpix_cleanup()
1943 _mesa_DeleteVertexArrays(1, &drawpix->VAO); in meta_drawpix_cleanup()
1944 drawpix->VAO = 0; in meta_drawpix_cleanup()
2206 _mesa_meta_setup_vertex_objects(ctx, &drawpix->VAO, &drawpix->buf_obj, false, in _mesa_meta_DrawPixels()
2399 _mesa_meta_setup_vertex_objects(ctx, &bitmap->VAO, &bitmap->buf_obj, false, in _mesa_meta_Bitmap()
2977 if (decompress->VAO != 0) { in meta_decompress_cleanup()
2978 _mesa_DeleteVertexArrays(1, &decompress->VAO); in meta_decompress_cleanup()
3106 _mesa_meta_setup_vertex_objects(ctx, &decompress->VAO, in decompress_texture_image()
3112 _mesa_meta_setup_ff_tnl_for_blit(ctx, &decompress->VAO, in decompress_texture_image()
3328 if (drawtex->VAO == 0) { in _mesa_meta_DrawTex()
3333 _mesa_GenVertexArrays(1, &drawtex->VAO); in _mesa_meta_DrawTex()
3334 _mesa_BindVertexArray(drawtex->VAO); in _mesa_meta_DrawTex()
3336 array_obj = _mesa_lookup_vao(ctx, drawtex->VAO); in _mesa_meta_DrawTex()
3370 _mesa_BindVertexArray(drawtex->VAO); in _mesa_meta_DrawTex()