Lines Matching defs:pctx
114 vc4_predraw_check_textures(struct pipe_context *pctx,
117 struct vc4_context *vc4 = vc4_context(pctx);
126 vc4_update_shadow_baselevel_texture(pctx, &view->base);
278 vc4_hw_2116_workaround(struct pipe_context *pctx, int vert_count)
280 struct vc4_context *vc4 = vc4_context(pctx);
292 vc4_draw_workaround_line_loop_2(struct pipe_context *pctx, const struct pipe_draw_info *info,
307 pctx->draw_vbo(pctx, &local_info, drawid_offset, indirect, draw, 1);
313 vc4_draw_vbo(struct pipe_context *pctx, const struct pipe_draw_info *info,
320 util_draw_multi(pctx, info, drawid_offset, indirect, draws, num_draws);
327 struct vc4_context *vc4 = vc4_context(pctx);
334 if (vc4_draw_workaround_line_loop_2(pctx, info, drawid_offset, indirect, draws))
338 vc4_predraw_check_textures(pctx, &vc4->verttex);
339 vc4_predraw_check_textures(pctx, &vc4->fragtex);
341 vc4_hw_2116_workaround(pctx, draws[0].count);
366 vc4_emit_state(pctx);
398 prsc = vc4_get_shadow_index_buffer(pctx, info,
526 vc4_flush(pctx);
529 vc4_flush(pctx);
544 vc4_clear(struct pipe_context *pctx, unsigned buffers, const struct pipe_scissor_state *scissor_state,
547 struct vc4_context *vc4 = vc4_context(pctx);
644 vc4_clear_render_target(struct pipe_context *pctx, struct pipe_surface *ps,
653 vc4_clear_depth_stencil(struct pipe_context *pctx, struct pipe_surface *ps,
662 vc4_draw_init(struct pipe_context *pctx)
664 pctx->draw_vbo = vc4_draw_vbo;
665 pctx->clear = vc4_clear;
666 pctx->clear_render_target = vc4_clear_render_target;
667 pctx->clear_depth_stencil = vc4_clear_depth_stencil;