Lines Matching refs:drawtex
3315 struct drawtex_state *drawtex = &ctx->Meta->DrawTex; in _mesa_meta_DrawTex() local
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()
3340 drawtex->buf_obj = ctx->Driver.NewBufferObject(ctx, 0xDEADBEEF); in _mesa_meta_DrawTex()
3341 if (drawtex->buf_obj == NULL) in _mesa_meta_DrawTex()
3344 _mesa_buffer_data(ctx, drawtex->buf_obj, GL_NONE, sizeof(verts), verts, in _mesa_meta_DrawTex()
3354 drawtex->buf_obj, 0, sizeof(struct vertex)); in _mesa_meta_DrawTex()
3365 drawtex->buf_obj, 0, sizeof(struct vertex)); in _mesa_meta_DrawTex()
3370 _mesa_BindVertexArray(drawtex->VAO); in _mesa_meta_DrawTex()
3435 _mesa_buffer_sub_data(ctx, drawtex->buf_obj, 0, sizeof(verts), verts); in _mesa_meta_DrawTex()