Lines Matching defs:pctx
48 zink_emit_stream_output_targets(struct pipe_context *pctx)
50 struct zink_context *ctx = zink_context(pctx);
378 hack_conditional_render(struct pipe_context *pctx,
385 struct zink_context *ctx = zink_context(pctx);
398 pctx->draw_vbo(pctx, dinfo, drawid_offset, dindirect, draws, num_draws);
407 zink_draw(struct pipe_context *pctx,
419 struct zink_context *ctx = zink_context(pctx);
420 struct zink_screen *screen = zink_screen(pctx->screen);
437 if (!hack_conditional_render(pctx, dinfo, drawid_offset, dindirect, draws, num_draws))
459 if (!util_upload_index_buffer(pctx, dinfo, &draws[0], &index_buffer, &index_offset, 4)) {
572 zink_emit_stream_output_targets(pctx);
878 pctx->flush(pctx, NULL, 0);
883 zink_draw_vbo(struct pipe_context *pctx,
890 zink_draw<HAS_MULTIDRAW, DYNAMIC_STATE, BATCH_CHANGED, false>(pctx, info, drawid_offset, indirect, draws, num_draws, NULL, 0);
895 zink_draw_vertex_state(struct pipe_context *pctx,
908 struct zink_context *ctx = zink_context(pctx);
916 zink_draw<HAS_MULTIDRAW, DYNAMIC_STATE, BATCH_CHANGED, true>(pctx, &dinfo, 0, NULL, draws, num_draws, vstate, partial_velem_mask);
925 zink_launch_grid(struct pipe_context *pctx, const struct pipe_grid_info *info)
927 struct zink_context *ctx = zink_context(pctx);
928 struct zink_screen *screen = zink_screen(pctx->screen);
1006 pctx->flush(pctx, NULL, 0);
1079 zink_invalid_launch_grid(struct pipe_context *pctx, const struct pipe_grid_info *info)