Lines Matching refs:pctx
44 vc4_generic_cso_state_delete(struct pipe_context *pctx, void *hwcso) in vc4_generic_cso_state_delete() argument
50 vc4_set_blend_color(struct pipe_context *pctx, in vc4_set_blend_color() argument
53 struct vc4_context *vc4 = vc4_context(pctx); in vc4_set_blend_color()
61 vc4_set_stencil_ref(struct pipe_context *pctx, in vc4_set_stencil_ref() argument
64 struct vc4_context *vc4 = vc4_context(pctx); in vc4_set_stencil_ref()
70 vc4_set_clip_state(struct pipe_context *pctx, in vc4_set_clip_state() argument
73 struct vc4_context *vc4 = vc4_context(pctx); in vc4_set_clip_state()
79 vc4_set_sample_mask(struct pipe_context *pctx, unsigned sample_mask) in vc4_set_sample_mask() argument
81 struct vc4_context *vc4 = vc4_context(pctx); in vc4_set_sample_mask()
93 vc4_create_rasterizer_state(struct pipe_context *pctx, in vc4_create_rasterizer_state() argument
155 vc4_create_blend_state(struct pipe_context *pctx, in vc4_create_blend_state() argument
206 vc4_create_depth_stencil_alpha_state(struct pipe_context *pctx, in vc4_create_depth_stencil_alpha_state() argument
281 vc4_set_polygon_stipple(struct pipe_context *pctx, in vc4_set_polygon_stipple() argument
284 struct vc4_context *vc4 = vc4_context(pctx); in vc4_set_polygon_stipple()
290 vc4_set_scissor_states(struct pipe_context *pctx, in vc4_set_scissor_states() argument
295 struct vc4_context *vc4 = vc4_context(pctx); in vc4_set_scissor_states()
302 vc4_set_viewport_states(struct pipe_context *pctx, in vc4_set_viewport_states() argument
307 struct vc4_context *vc4 = vc4_context(pctx); in vc4_set_viewport_states()
313 vc4_set_vertex_buffers(struct pipe_context *pctx, in vc4_set_vertex_buffers() argument
317 struct vc4_context *vc4 = vc4_context(pctx); in vc4_set_vertex_buffers()
328 vc4_blend_state_bind(struct pipe_context *pctx, void *hwcso) in vc4_blend_state_bind() argument
330 struct vc4_context *vc4 = vc4_context(pctx); in vc4_blend_state_bind()
336 vc4_rasterizer_state_bind(struct pipe_context *pctx, void *hwcso) in vc4_rasterizer_state_bind() argument
338 struct vc4_context *vc4 = vc4_context(pctx); in vc4_rasterizer_state_bind()
351 vc4_zsa_state_bind(struct pipe_context *pctx, void *hwcso) in vc4_zsa_state_bind() argument
353 struct vc4_context *vc4 = vc4_context(pctx); in vc4_zsa_state_bind()
359 vc4_vertex_state_create(struct pipe_context *pctx, unsigned num_elements, in vc4_vertex_state_create() argument
374 vc4_vertex_state_bind(struct pipe_context *pctx, void *hwcso) in vc4_vertex_state_bind() argument
376 struct vc4_context *vc4 = vc4_context(pctx); in vc4_vertex_state_bind()
382 vc4_set_constant_buffer(struct pipe_context *pctx, in vc4_set_constant_buffer() argument
386 struct vc4_context *vc4 = vc4_context(pctx); in vc4_set_constant_buffer()
411 vc4_set_framebuffer_state(struct pipe_context *pctx, in vc4_set_framebuffer_state() argument
414 struct vc4_context *vc4 = vc4_context(pctx); in vc4_set_framebuffer_state()
494 vc4_create_sampler_state(struct pipe_context *pctx, in vc4_create_sampler_state() argument
534 vc4_sampler_states_bind(struct pipe_context *pctx, in vc4_sampler_states_bind() argument
538 struct vc4_context *vc4 = vc4_context(pctx); in vc4_sampler_states_bind()
559 vc4_create_sampler_view(struct pipe_context *pctx, struct pipe_resource *prsc, in vc4_create_sampler_view() argument
573 so->base.context = pctx; in vc4_create_sampler_view()
596 prsc = vc4_resource_create(pctx->screen, &tmpl); in vc4_create_sampler_view()
602 vc4_bo_label(vc4_screen(pctx->screen), rsc->bo, in vc4_create_sampler_view()
640 vc4_sampler_view_destroy(struct pipe_context *pctx, in vc4_sampler_view_destroy() argument
650 vc4_set_sampler_views(struct pipe_context *pctx, in vc4_set_sampler_views() argument
655 struct vc4_context *vc4 = vc4_context(pctx); in vc4_set_sampler_views()
676 vc4_state_init(struct pipe_context *pctx) in vc4_state_init() argument
678 pctx->set_blend_color = vc4_set_blend_color; in vc4_state_init()
679 pctx->set_stencil_ref = vc4_set_stencil_ref; in vc4_state_init()
680 pctx->set_clip_state = vc4_set_clip_state; in vc4_state_init()
681 pctx->set_sample_mask = vc4_set_sample_mask; in vc4_state_init()
682 pctx->set_constant_buffer = vc4_set_constant_buffer; in vc4_state_init()
683 pctx->set_framebuffer_state = vc4_set_framebuffer_state; in vc4_state_init()
684 pctx->set_polygon_stipple = vc4_set_polygon_stipple; in vc4_state_init()
685 pctx->set_scissor_states = vc4_set_scissor_states; in vc4_state_init()
686 pctx->set_viewport_states = vc4_set_viewport_states; in vc4_state_init()
688 pctx->set_vertex_buffers = vc4_set_vertex_buffers; in vc4_state_init()
690 pctx->create_blend_state = vc4_create_blend_state; in vc4_state_init()
691 pctx->bind_blend_state = vc4_blend_state_bind; in vc4_state_init()
692 pctx->delete_blend_state = vc4_generic_cso_state_delete; in vc4_state_init()
694 pctx->create_rasterizer_state = vc4_create_rasterizer_state; in vc4_state_init()
695 pctx->bind_rasterizer_state = vc4_rasterizer_state_bind; in vc4_state_init()
696 pctx->delete_rasterizer_state = vc4_generic_cso_state_delete; in vc4_state_init()
698 pctx->create_depth_stencil_alpha_state = vc4_create_depth_stencil_alpha_state; in vc4_state_init()
699 pctx->bind_depth_stencil_alpha_state = vc4_zsa_state_bind; in vc4_state_init()
700 pctx->delete_depth_stencil_alpha_state = vc4_generic_cso_state_delete; in vc4_state_init()
702 pctx->create_vertex_elements_state = vc4_vertex_state_create; in vc4_state_init()
703 pctx->delete_vertex_elements_state = vc4_generic_cso_state_delete; in vc4_state_init()
704 pctx->bind_vertex_elements_state = vc4_vertex_state_bind; in vc4_state_init()
706 pctx->create_sampler_state = vc4_create_sampler_state; in vc4_state_init()
707 pctx->delete_sampler_state = vc4_generic_cso_state_delete; in vc4_state_init()
708 pctx->bind_sampler_states = vc4_sampler_states_bind; in vc4_state_init()
710 pctx->create_sampler_view = vc4_create_sampler_view; in vc4_state_init()
711 pctx->sampler_view_destroy = vc4_sampler_view_destroy; in vc4_state_init()
712 pctx->set_sampler_views = vc4_set_sampler_views; in vc4_state_init()