diff options
author | Jerome Glisse <[email protected]> | 2013-03-06 17:39:29 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2013-07-25 13:59:55 -0400 |
commit | d156c032c97d2c7a6ef2ec87212a4ef74dd9cb6e (patch) | |
tree | 02e0a2a30534f261a2ca456cd070c914a90fc811 /src/gallium/state_trackers/xa | |
parent | 6e8c9589dbd714ac5fdff0c14f2b0abdf1fdcdf7 (diff) |
xa: let ddx handle flush
Signed-off-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/xa')
-rw-r--r-- | src/gallium/state_trackers/xa/xa_composite.c | 1 | ||||
-rw-r--r-- | src/gallium/state_trackers/xa/xa_context.c | 10 |
2 files changed, 2 insertions, 9 deletions
diff --git a/src/gallium/state_trackers/xa/xa_composite.c b/src/gallium/state_trackers/xa/xa_composite.c index a6bfa11a2f1..abe5be241f1 100644 --- a/src/gallium/state_trackers/xa/xa_composite.c +++ b/src/gallium/state_trackers/xa/xa_composite.c @@ -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; diff --git a/src/gallium/state_trackers/xa/xa_context.c b/src/gallium/state_trackers/xa/xa_context.c index badd47cd3fc..50ef469ed6d 100644 --- a/src/gallium/state_trackers/xa/xa_context.c +++ b/src/gallium/state_trackers/xa/xa_context.c @@ -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; |