Lines Matching refs:pipe

152    return ureg_create_shader_and_destroy(shader, r->pipe);  in create_ref_vert_shader()
221 return ureg_create_shader_and_destroy(shader, r->pipe); in create_ref_frag_shader()
306 return ureg_create_shader_and_destroy(shader, r->pipe); in create_ycbcr_vert_shader()
368 return ureg_create_shader_and_destroy(shader, r->pipe); in create_ycbcr_frag_shader()
391 r->sampler_ref = r->pipe->create_sampler_state(r->pipe, &sampler); in init_pipe_state()
409 r->blend_clear[i] = r->pipe->create_blend_state(r->pipe, &blend); in init_pipe_state()
415 r->blend_add[i] = r->pipe->create_blend_state(r->pipe, &blend); in init_pipe_state()
421 r->blend_sub[i] = r->pipe->create_blend_state(r->pipe, &blend); in init_pipe_state()
433 r->rs_state = r->pipe->create_rasterizer_state(r->pipe, &rs_state); in init_pipe_state()
443 r->pipe->delete_blend_state(r->pipe, r->blend_sub[i]); in init_pipe_state()
446 r->pipe->delete_blend_state(r->pipe, r->blend_add[i]); in init_pipe_state()
449 r->pipe->delete_blend_state(r->pipe, r->blend_clear[i]); in init_pipe_state()
452 r->pipe->delete_sampler_state(r->pipe, r->sampler_ref); in init_pipe_state()
465 r->pipe->delete_sampler_state(r->pipe, r->sampler_ref); in cleanup_pipe_state()
467 r->pipe->delete_blend_state(r->pipe, r->blend_clear[i]); in cleanup_pipe_state()
468 r->pipe->delete_blend_state(r->pipe, r->blend_add[i]); in cleanup_pipe_state()
469 r->pipe->delete_blend_state(r->pipe, r->blend_sub[i]); in cleanup_pipe_state()
471 r->pipe->delete_rasterizer_state(r->pipe, r->rs_state); in cleanup_pipe_state()
475 vl_mc_init(struct vl_mc *renderer, struct pipe_context *pipe, in vl_mc_init() argument
483 assert(pipe); in vl_mc_init()
487 renderer->pipe = pipe; in vl_mc_init()
518 renderer->pipe->delete_fs_state(renderer->pipe, renderer->fs_ycbcr); in vl_mc_init()
521 renderer->pipe->delete_fs_state(renderer->pipe, renderer->fs_ref); in vl_mc_init()
524 renderer->pipe->delete_vs_state(renderer->pipe, renderer->vs_ycbcr); in vl_mc_init()
527 renderer->pipe->delete_vs_state(renderer->pipe, renderer->vs_ref); in vl_mc_init()
543 renderer->pipe->delete_vs_state(renderer->pipe, renderer->vs_ref); in vl_mc_cleanup()
544 renderer->pipe->delete_vs_state(renderer->pipe, renderer->vs_ycbcr); in vl_mc_cleanup()
545 renderer->pipe->delete_fs_state(renderer->pipe, renderer->fs_ref); in vl_mc_cleanup()
546 renderer->pipe->delete_fs_state(renderer->pipe, renderer->fs_ycbcr); in vl_mc_cleanup()
547 renderer->pipe->delete_fs_state(renderer->pipe, renderer->fs_ycbcr_sub); in vl_mc_cleanup()
594 renderer->pipe->bind_rasterizer_state(renderer->pipe, renderer->rs_state); in prepare_pipe_4_rendering()
597 renderer->pipe->bind_blend_state(renderer->pipe, renderer->blend_add[mask]); in prepare_pipe_4_rendering()
599 renderer->pipe->bind_blend_state(renderer->pipe, renderer->blend_clear[mask]); in prepare_pipe_4_rendering()
601 renderer->pipe->set_framebuffer_state(renderer->pipe, &buffer->fb_state); in prepare_pipe_4_rendering()
602 renderer->pipe->set_viewport_state(renderer->pipe, &buffer->viewport); in prepare_pipe_4_rendering()
612 renderer->pipe->bind_vs_state(renderer->pipe, renderer->vs_ref); in vl_mc_render_ref()
613 renderer->pipe->bind_fs_state(renderer->pipe, renderer->fs_ref); in vl_mc_render_ref()
615 renderer->pipe->set_fragment_sampler_views(renderer->pipe, 1, &ref); in vl_mc_render_ref()
616 renderer->pipe->bind_fragment_sampler_states(renderer->pipe, 1, &renderer->sampler_ref); in vl_mc_render_ref()
618 util_draw_arrays_instanced(renderer->pipe, PIPE_PRIM_QUADS, 0, 4, 0, in vl_mc_render_ref()
637 renderer->pipe->bind_vs_state(renderer->pipe, renderer->vs_ycbcr); in vl_mc_render_ycbcr()
638 renderer->pipe->bind_fs_state(renderer->pipe, renderer->fs_ycbcr); in vl_mc_render_ycbcr()
640 util_draw_arrays_instanced(renderer->pipe, PIPE_PRIM_QUADS, 0, 4, 0, num_instances); in vl_mc_render_ycbcr()
643 renderer->pipe->bind_blend_state(renderer->pipe, renderer->blend_sub[mask]); in vl_mc_render_ycbcr()
644 renderer->pipe->bind_fs_state(renderer->pipe, renderer->fs_ycbcr_sub); in vl_mc_render_ycbcr()
645 util_draw_arrays_instanced(renderer->pipe, PIPE_PRIM_QUADS, 0, 4, 0, num_instances); in vl_mc_render_ycbcr()