Lines Matching refs:pctx
49 fd_set_blend_color(struct pipe_context *pctx, in fd_set_blend_color() argument
52 struct fd_context *ctx = fd_context(pctx); in fd_set_blend_color()
58 fd_set_stencil_ref(struct pipe_context *pctx, in fd_set_stencil_ref() argument
61 struct fd_context *ctx = fd_context(pctx); in fd_set_stencil_ref()
67 fd_set_clip_state(struct pipe_context *pctx, in fd_set_clip_state() argument
70 struct fd_context *ctx = fd_context(pctx); in fd_set_clip_state()
76 fd_set_sample_mask(struct pipe_context *pctx, unsigned sample_mask) in fd_set_sample_mask() argument
78 struct fd_context *ctx = fd_context(pctx); in fd_set_sample_mask()
92 fd_set_constant_buffer(struct pipe_context *pctx, in fd_set_constant_buffer() argument
96 struct fd_context *ctx = fd_context(pctx); in fd_set_constant_buffer()
117 fd_set_shader_buffers(struct pipe_context *pctx, in fd_set_shader_buffers() argument
122 struct fd_context *ctx = fd_context(pctx); in fd_set_shader_buffers()
165 fd_set_shader_images(struct pipe_context *pctx, in fd_set_shader_images() argument
170 struct fd_context *ctx = fd_context(pctx); in fd_set_shader_images()
212 fd_set_framebuffer_state(struct pipe_context *pctx, in fd_set_framebuffer_state() argument
215 struct fd_context *ctx = fd_context(pctx); in fd_set_framebuffer_state()
263 fd_set_polygon_stipple(struct pipe_context *pctx, in fd_set_polygon_stipple() argument
266 struct fd_context *ctx = fd_context(pctx); in fd_set_polygon_stipple()
272 fd_set_scissor_states(struct pipe_context *pctx, in fd_set_scissor_states() argument
277 struct fd_context *ctx = fd_context(pctx); in fd_set_scissor_states()
284 fd_set_viewport_states(struct pipe_context *pctx, in fd_set_viewport_states() argument
289 struct fd_context *ctx = fd_context(pctx); in fd_set_viewport_states()
295 fd_set_vertex_buffers(struct pipe_context *pctx, in fd_set_vertex_buffers() argument
299 struct fd_context *ctx = fd_context(pctx); in fd_set_vertex_buffers()
327 fd_blend_state_bind(struct pipe_context *pctx, void *hwcso) in fd_blend_state_bind() argument
329 struct fd_context *ctx = fd_context(pctx); in fd_blend_state_bind()
344 fd_blend_state_delete(struct pipe_context *pctx, void *hwcso) in fd_blend_state_delete() argument
350 fd_rasterizer_state_bind(struct pipe_context *pctx, void *hwcso) in fd_rasterizer_state_bind() argument
352 struct fd_context *ctx = fd_context(pctx); in fd_rasterizer_state_bind()
368 fd_rasterizer_state_delete(struct pipe_context *pctx, void *hwcso) in fd_rasterizer_state_delete() argument
374 fd_zsa_state_bind(struct pipe_context *pctx, void *hwcso) in fd_zsa_state_bind() argument
376 struct fd_context *ctx = fd_context(pctx); in fd_zsa_state_bind()
382 fd_zsa_state_delete(struct pipe_context *pctx, void *hwcso) in fd_zsa_state_delete() argument
388 fd_vertex_state_create(struct pipe_context *pctx, unsigned num_elements, in fd_vertex_state_create() argument
403 fd_vertex_state_delete(struct pipe_context *pctx, void *hwcso) in fd_vertex_state_delete() argument
409 fd_vertex_state_bind(struct pipe_context *pctx, void *hwcso) in fd_vertex_state_bind() argument
411 struct fd_context *ctx = fd_context(pctx); in fd_vertex_state_bind()
417 fd_create_stream_output_target(struct pipe_context *pctx, in fd_create_stream_output_target() argument
431 target->context = pctx; in fd_create_stream_output_target()
443 fd_stream_output_target_destroy(struct pipe_context *pctx, in fd_stream_output_target_destroy() argument
451 fd_set_stream_output_targets(struct pipe_context *pctx, in fd_set_stream_output_targets() argument
455 struct fd_context *ctx = fd_context(pctx); in fd_set_stream_output_targets()
484 fd_bind_compute_state(struct pipe_context *pctx, void *state) in fd_bind_compute_state() argument
486 struct fd_context *ctx = fd_context(pctx); in fd_bind_compute_state()
492 fd_set_compute_resources(struct pipe_context *pctx, in fd_set_compute_resources() argument
499 fd_set_global_binding(struct pipe_context *pctx, in fd_set_global_binding() argument
510 fd_state_init(struct pipe_context *pctx) in fd_state_init() argument
512 pctx->set_blend_color = fd_set_blend_color; in fd_state_init()
513 pctx->set_stencil_ref = fd_set_stencil_ref; in fd_state_init()
514 pctx->set_clip_state = fd_set_clip_state; in fd_state_init()
515 pctx->set_sample_mask = fd_set_sample_mask; in fd_state_init()
516 pctx->set_constant_buffer = fd_set_constant_buffer; in fd_state_init()
517 pctx->set_shader_buffers = fd_set_shader_buffers; in fd_state_init()
518 pctx->set_shader_images = fd_set_shader_images; in fd_state_init()
519 pctx->set_framebuffer_state = fd_set_framebuffer_state; in fd_state_init()
520 pctx->set_polygon_stipple = fd_set_polygon_stipple; in fd_state_init()
521 pctx->set_scissor_states = fd_set_scissor_states; in fd_state_init()
522 pctx->set_viewport_states = fd_set_viewport_states; in fd_state_init()
524 pctx->set_vertex_buffers = fd_set_vertex_buffers; in fd_state_init()
526 pctx->bind_blend_state = fd_blend_state_bind; in fd_state_init()
527 pctx->delete_blend_state = fd_blend_state_delete; in fd_state_init()
529 pctx->bind_rasterizer_state = fd_rasterizer_state_bind; in fd_state_init()
530 pctx->delete_rasterizer_state = fd_rasterizer_state_delete; in fd_state_init()
532 pctx->bind_depth_stencil_alpha_state = fd_zsa_state_bind; in fd_state_init()
533 pctx->delete_depth_stencil_alpha_state = fd_zsa_state_delete; in fd_state_init()
535 pctx->create_vertex_elements_state = fd_vertex_state_create; in fd_state_init()
536 pctx->delete_vertex_elements_state = fd_vertex_state_delete; in fd_state_init()
537 pctx->bind_vertex_elements_state = fd_vertex_state_bind; in fd_state_init()
539 pctx->create_stream_output_target = fd_create_stream_output_target; in fd_state_init()
540 pctx->stream_output_target_destroy = fd_stream_output_target_destroy; in fd_state_init()
541 pctx->set_stream_output_targets = fd_set_stream_output_targets; in fd_state_init()
543 if (has_compute(fd_screen(pctx->screen))) { in fd_state_init()
544 pctx->bind_compute_state = fd_bind_compute_state; in fd_state_init()
545 pctx->set_compute_resources = fd_set_compute_resources; in fd_state_init()
546 pctx->set_global_binding = fd_set_global_binding; in fd_state_init()