Lines Matching defs:pctx
170 v3d_predraw_check_stage_inputs(struct pipe_context *pctx,
173 struct v3d_context *v3d = v3d_context(pctx);
184 v3d_update_shadow_texture(pctx, &view->base);
233 v3d_predraw_check_outputs(struct pipe_context *pctx)
235 struct v3d_context *v3d = v3d_context(pctx);
967 v3d_draw_vbo(struct pipe_context *pctx, const struct pipe_draw_info *info,
974 util_draw_multi(pctx, info, drawid_offset, indirect, draws, num_draws);
981 struct v3d_context *v3d = v3d_context(pctx);
993 util_draw_vbo_without_prim_restart(pctx, info, drawid_offset, indirect, &draws[0]);
1002 v3d_predraw_check_stage_inputs(pctx, s);
1009 v3d_predraw_check_outputs(pctx);
1090 v3d41_emit_state(pctx);
1092 v3d33_emit_state(pctx);
1308 v3d_flush(pctx);
1312 v3d_flush(pctx);
1333 v3d_launch_grid(struct pipe_context *pctx, const struct pipe_grid_info *info)
1335 struct v3d_context *v3d = v3d_context(pctx);
1338 v3d_predraw_check_stage_inputs(pctx, PIPE_SHADER_COMPUTE);
1374 uint32_t *map = pipe_buffer_map_range(pctx, info->indirect,
1380 pipe_buffer_unmap(pctx, transfer);
1652 v3d_clear(struct pipe_context *pctx, unsigned buffers, const struct pipe_scissor_state *scissor_state,
1655 struct v3d_context *v3d = v3d_context(pctx);
1665 v3d_clear_render_target(struct pipe_context *pctx, struct pipe_surface *ps,
1674 v3d_clear_depth_stencil(struct pipe_context *pctx, struct pipe_surface *ps,
1683 v3dX(draw_init)(struct pipe_context *pctx)
1685 pctx->draw_vbo = v3d_draw_vbo;
1686 pctx->clear = v3d_clear;
1687 pctx->clear_render_target = v3d_clear_render_target;
1688 pctx->clear_depth_stencil = v3d_clear_depth_stencil;
1690 if (v3d_context(pctx)->screen->has_csd)
1691 pctx->launch_grid = v3d_launch_grid;