mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 23:00:11 +01:00
gallium: fold st_gl_flush() into st_glFlush()
This commit is contained in:
parent
9c86c0e88b
commit
574f964667
1 changed files with 5 additions and 12 deletions
|
|
@ -102,23 +102,16 @@ void st_flush( struct st_context *st, uint pipeFlushFlags,
|
|||
}
|
||||
|
||||
|
||||
static void st_gl_flush( struct st_context *st, uint pipeFlushFlags,
|
||||
struct pipe_fence_handle **fence )
|
||||
{
|
||||
st_flush_bitmap_cache(st);
|
||||
|
||||
FLUSH_VERTICES(st->ctx, 0);
|
||||
|
||||
flush_front_buffer(st, pipeFlushFlags, fence);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Called via ctx->Driver.Flush()
|
||||
*/
|
||||
static void st_glFlush(GLcontext *ctx)
|
||||
{
|
||||
st_gl_flush(ctx->st, PIPE_FLUSH_RENDER_CACHE, NULL);
|
||||
st_flush_bitmap_cache(ctx->st);
|
||||
|
||||
FLUSH_VERTICES(ctx, 0);
|
||||
|
||||
flush_front_buffer(ctx->st, PIPE_FLUSH_RENDER_CACHE, NULL);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue