/* Flush if there's not enough space. */
if (num_dw > RADEON_MAX_CMDBUF_DWORDS) {
- ctx->flush(ctx->pipe, RADEON_FLUSH_ASYNC);
+ r600_flush(&ctx->context, NULL, RADEON_FLUSH_ASYNC);
}
}
return NULL;
}
- rctx->pipe = &rctx->context;
- rctx->flush = r600_flush_from_winsys;
rctx->ws->cs_set_flush_callback(rctx->cs, r600_flush_from_winsys, rctx);
util_slab_create(&rctx->pool_transfers,
/* Below are variables from the old r600_context.
*/
struct radeon_winsys_cs *cs;
- struct pipe_context *pipe;
-
- void (*flush)(void *pipe, unsigned flags);
struct r600_range *range;
unsigned nblocks;