mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 10:50:10 +01:00
xa: let ddx handle flush
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
This commit is contained in:
parent
6e8c9589db
commit
d156c032c9
2 changed files with 2 additions and 9 deletions
|
|
@ -527,7 +527,6 @@ XA_EXPORT void
|
|||
xa_composite_done(struct xa_context *ctx)
|
||||
{
|
||||
renderer_draw_flush(ctx);
|
||||
xa_context_flush(ctx);
|
||||
|
||||
ctx->comp = NULL;
|
||||
ctx->has_solid_color = FALSE;
|
||||
|
|
|
|||
|
|
@ -123,8 +123,6 @@ xa_surface_dma(struct xa_context *ctx,
|
|||
0);
|
||||
}
|
||||
pipe->transfer_unmap(pipe, transfer);
|
||||
if (to_surface)
|
||||
xa_context_flush(ctx);
|
||||
}
|
||||
return XA_ERR_NONE;
|
||||
}
|
||||
|
|
@ -248,10 +246,8 @@ XA_EXPORT void
|
|||
xa_copy_done(struct xa_context *ctx)
|
||||
{
|
||||
if (!ctx->simple_copy) {
|
||||
renderer_draw_flush(ctx);
|
||||
xa_context_flush(ctx);
|
||||
} else
|
||||
xa_context_flush(ctx);
|
||||
renderer_draw_flush(ctx);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
@ -330,8 +326,6 @@ XA_EXPORT void
|
|||
xa_solid_done(struct xa_context *ctx)
|
||||
{
|
||||
renderer_draw_flush(ctx);
|
||||
xa_context_flush(ctx);
|
||||
|
||||
ctx->comp = NULL;
|
||||
ctx->has_solid_color = FALSE;
|
||||
ctx->num_bound_samplers = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue