Lines Matching refs:pctx

45 vc4_generic_cso_state_delete(struct pipe_context *pctx, void *hwcso)
51 vc4_set_blend_color(struct pipe_context *pctx,
54 struct vc4_context *vc4 = vc4_context(pctx);
62 vc4_set_stencil_ref(struct pipe_context *pctx,
65 struct vc4_context *vc4 = vc4_context(pctx);
71 vc4_set_clip_state(struct pipe_context *pctx,
74 struct vc4_context *vc4 = vc4_context(pctx);
80 vc4_set_sample_mask(struct pipe_context *pctx, unsigned sample_mask)
82 struct vc4_context *vc4 = vc4_context(pctx);
94 vc4_create_rasterizer_state(struct pipe_context *pctx,
156 vc4_create_blend_state(struct pipe_context *pctx,
207 vc4_create_depth_stencil_alpha_state(struct pipe_context *pctx,
282 vc4_set_polygon_stipple(struct pipe_context *pctx,
285 struct vc4_context *vc4 = vc4_context(pctx);
291 vc4_set_scissor_states(struct pipe_context *pctx,
296 struct vc4_context *vc4 = vc4_context(pctx);
303 vc4_set_viewport_states(struct pipe_context *pctx,
308 struct vc4_context *vc4 = vc4_context(pctx);
314 vc4_set_vertex_buffers(struct pipe_context *pctx,
320 struct vc4_context *vc4 = vc4_context(pctx);
333 vc4_blend_state_bind(struct pipe_context *pctx, void *hwcso)
335 struct vc4_context *vc4 = vc4_context(pctx);
341 vc4_rasterizer_state_bind(struct pipe_context *pctx, void *hwcso)
343 struct vc4_context *vc4 = vc4_context(pctx);
356 vc4_zsa_state_bind(struct pipe_context *pctx, void *hwcso)
358 struct vc4_context *vc4 = vc4_context(pctx);
364 vc4_vertex_state_create(struct pipe_context *pctx, unsigned num_elements,
379 vc4_vertex_state_bind(struct pipe_context *pctx, void *hwcso)
381 struct vc4_context *vc4 = vc4_context(pctx);
387 vc4_set_constant_buffer(struct pipe_context *pctx,
392 struct vc4_context *vc4 = vc4_context(pctx);
415 vc4_set_framebuffer_state(struct pipe_context *pctx,
418 struct vc4_context *vc4 = vc4_context(pctx);
487 vc4_create_sampler_state(struct pipe_context *pctx,
527 vc4_sampler_states_bind(struct pipe_context *pctx,
531 struct vc4_context *vc4 = vc4_context(pctx);
552 vc4_create_sampler_view(struct pipe_context *pctx, struct pipe_resource *prsc,
566 so->base.context = pctx;
595 prsc = vc4_resource_create(pctx->screen, &tmpl);
601 vc4_bo_label(vc4_screen(pctx->screen), rsc->bo,
641 vc4_sampler_view_destroy(struct pipe_context *pctx,
651 vc4_set_sampler_views(struct pipe_context *pctx,
658 struct vc4_context *vc4 = vc4_context(pctx);
684 vc4_state_init(struct pipe_context *pctx)
686 pctx->set_blend_color = vc4_set_blend_color;
687 pctx->set_stencil_ref = vc4_set_stencil_ref;
688 pctx->set_clip_state = vc4_set_clip_state;
689 pctx->set_sample_mask = vc4_set_sample_mask;
690 pctx->set_constant_buffer = vc4_set_constant_buffer;
691 pctx->set_framebuffer_state = vc4_set_framebuffer_state;
692 pctx->set_polygon_stipple = vc4_set_polygon_stipple;
693 pctx->set_scissor_states = vc4_set_scissor_states;
694 pctx->set_viewport_states = vc4_set_viewport_states;
696 pctx->set_vertex_buffers = vc4_set_vertex_buffers;
698 pctx->create_blend_state = vc4_create_blend_state;
699 pctx->bind_blend_state = vc4_blend_state_bind;
700 pctx->delete_blend_state = vc4_generic_cso_state_delete;
702 pctx->create_rasterizer_state = vc4_create_rasterizer_state;
703 pctx->bind_rasterizer_state = vc4_rasterizer_state_bind;
704 pctx->delete_rasterizer_state = vc4_generic_cso_state_delete;
706 pctx->create_depth_stencil_alpha_state = vc4_create_depth_stencil_alpha_state;
707 pctx->bind_depth_stencil_alpha_state = vc4_zsa_state_bind;
708 pctx->delete_depth_stencil_alpha_state = vc4_generic_cso_state_delete;
710 pctx->create_vertex_elements_state = vc4_vertex_state_create;
711 pctx->delete_vertex_elements_state = vc4_generic_cso_state_delete;
712 pctx->bind_vertex_elements_state = vc4_vertex_state_bind;
714 pctx->create_sampler_state = vc4_create_sampler_state;
715 pctx->delete_sampler_state = vc4_generic_cso_state_delete;
716 pctx->bind_sampler_states = vc4_sampler_states_bind;
718 pctx->create_sampler_view = vc4_create_sampler_view;
719 pctx->sampler_view_destroy = vc4_sampler_view_destroy;
720 pctx->set_sampler_views = vc4_set_sampler_views;