Lines Matching refs:ctx
1102 static void si_clear(struct pipe_context *ctx, unsigned buffers,
1106 struct si_context *sctx = (struct si_context *)ctx;
1231 struct pipe_context *ctx = &sctx->b;
1246 ctx->set_framebuffer_state(ctx, &fb);
1247 ctx->clear(ctx, buffers, NULL, color, depth, stencil);
1248 ctx->set_framebuffer_state(ctx, &saved_fb);
1258 static void si_clear_render_target(struct pipe_context *ctx, struct pipe_surface *dst,
1263 struct si_context *sctx = (struct si_context *)ctx;
1273 si_compute_clear_render_target(ctx, dst, color, dstx, dsty, width, height,
1284 static void si_clear_depth_stencil(struct pipe_context *ctx, struct pipe_surface *dst,
1289 struct si_context *sctx = (struct si_context *)ctx;