XA_EXPORT void xa_copy_done(struct xa_context *ctx) { if (!ctx->simple_copy) { renderer_draw_flush(ctx); } }
XA_EXPORT void xa_solid_done(struct xa_context *ctx) { renderer_draw_flush(ctx); ctx->comp = NULL; ctx->has_solid_color = FALSE; ctx->num_bound_samplers = 0; }
XA_EXPORT void xa_copy_done(struct xa_context *ctx) { if (!ctx->simple_copy) { renderer_draw_flush(ctx); ctx->pipe->flush(ctx->pipe, &ctx->last_fence); } else ctx->pipe->flush(ctx->pipe, &ctx->last_fence); }
XA_EXPORT void xa_composite_done(struct xa_context *ctx) { renderer_draw_flush(ctx); ctx->comp = NULL; ctx->has_solid_color = FALSE; xa_ctx_sampler_views_destroy(ctx); }
void xorg_composite_done(struct exa_context *exa) { renderer_draw_flush(exa->renderer); exa->transform.has_src = FALSE; exa->transform.has_mask = FALSE; exa->has_solid_color = FALSE; exa->num_bound_samplers = 0; }
void xa_solid_done(struct xa_context *ctx) { renderer_draw_flush(ctx); ctx->pipe->flush(ctx->pipe, &ctx->last_fence); ctx->comp = NULL; ctx->has_solid_color = FALSE; ctx->num_bound_samplers = 0; }
void xa_copy_done(struct xa_context *ctx) { if (!ctx->simple_copy) { renderer_draw_flush(ctx); ctx->pipe->flush(ctx->pipe, &ctx->last_fence); xa_surface_psurf_destroy(ctx->dst); } else ctx->pipe->flush(ctx->pipe, &ctx->last_fence); }
static void ExaDoneCopy(PixmapPtr pPixmap) { ScrnInfoPtr pScrn = xf86Screens[pPixmap->drawable.pScreen->myNum]; modesettingPtr ms = modesettingPTR(pScrn); struct exa_pixmap_priv *priv = exaGetPixmapDriverPrivate(pPixmap); struct exa_context *exa = ms->exa; if (!priv) return; renderer_draw_flush(exa->renderer); exa->copy.src = NULL; exa->copy.dst = NULL; pipe_surface_reference(&exa->copy.src_surface, NULL); pipe_surface_reference(&exa->copy.dst_surface, NULL); pipe_texture_reference(&exa->copy.src_texture, NULL); }