• Home
  • Raw
  • Download

Lines Matching refs:pipe

156    return ureg_create_shader_and_destroy(shader, r->pipe);  in create_ref_vert_shader()
184 field = calc_line(r->pipe->screen, shader); in create_ref_frag_shader()
225 return ureg_create_shader_and_destroy(shader, r->pipe); in create_ref_frag_shader()
310 return ureg_create_shader_and_destroy(shader, r->pipe); in create_ycbcr_vert_shader()
331 tmp = calc_line(r->pipe->screen, shader); in create_ycbcr_frag_shader()
372 return ureg_create_shader_and_destroy(shader, r->pipe); in create_ycbcr_frag_shader()
395 r->sampler_ref = r->pipe->create_sampler_state(r->pipe, &sampler); in init_pipe_state()
413 r->blend_clear[i] = r->pipe->create_blend_state(r->pipe, &blend); in init_pipe_state()
419 r->blend_add[i] = r->pipe->create_blend_state(r->pipe, &blend); in init_pipe_state()
425 r->blend_sub[i] = r->pipe->create_blend_state(r->pipe, &blend); in init_pipe_state()
438 r->rs_state = r->pipe->create_rasterizer_state(r->pipe, &rs_state); in init_pipe_state()
448 r->pipe->delete_blend_state(r->pipe, r->blend_sub[i]); in init_pipe_state()
451 r->pipe->delete_blend_state(r->pipe, r->blend_add[i]); in init_pipe_state()
454 r->pipe->delete_blend_state(r->pipe, r->blend_clear[i]); in init_pipe_state()
457 r->pipe->delete_sampler_state(r->pipe, r->sampler_ref); in init_pipe_state()
470 r->pipe->delete_sampler_state(r->pipe, r->sampler_ref); in cleanup_pipe_state()
472 r->pipe->delete_blend_state(r->pipe, r->blend_clear[i]); in cleanup_pipe_state()
473 r->pipe->delete_blend_state(r->pipe, r->blend_add[i]); in cleanup_pipe_state()
474 r->pipe->delete_blend_state(r->pipe, r->blend_sub[i]); in cleanup_pipe_state()
476 r->pipe->delete_rasterizer_state(r->pipe, r->rs_state); in cleanup_pipe_state()
480 vl_mc_init(struct vl_mc *renderer, struct pipe_context *pipe, in vl_mc_init() argument
488 assert(pipe); in vl_mc_init()
492 renderer->pipe = pipe; in vl_mc_init()
523 renderer->pipe->delete_fs_state(renderer->pipe, renderer->fs_ycbcr); in vl_mc_init()
526 renderer->pipe->delete_fs_state(renderer->pipe, renderer->fs_ref); in vl_mc_init()
529 renderer->pipe->delete_vs_state(renderer->pipe, renderer->vs_ycbcr); in vl_mc_init()
532 renderer->pipe->delete_vs_state(renderer->pipe, renderer->vs_ref); in vl_mc_init()
548 renderer->pipe->delete_vs_state(renderer->pipe, renderer->vs_ref); in vl_mc_cleanup()
549 renderer->pipe->delete_vs_state(renderer->pipe, renderer->vs_ycbcr); in vl_mc_cleanup()
550 renderer->pipe->delete_fs_state(renderer->pipe, renderer->fs_ref); in vl_mc_cleanup()
551 renderer->pipe->delete_fs_state(renderer->pipe, renderer->fs_ycbcr); in vl_mc_cleanup()
552 renderer->pipe->delete_fs_state(renderer->pipe, renderer->fs_ycbcr_sub); in vl_mc_cleanup()
597 renderer->pipe->bind_rasterizer_state(renderer->pipe, renderer->rs_state); in prepare_pipe_4_rendering()
600 renderer->pipe->bind_blend_state(renderer->pipe, renderer->blend_add[mask]); in prepare_pipe_4_rendering()
602 renderer->pipe->bind_blend_state(renderer->pipe, renderer->blend_clear[mask]); in prepare_pipe_4_rendering()
604 renderer->pipe->set_framebuffer_state(renderer->pipe, &buffer->fb_state); in prepare_pipe_4_rendering()
605 renderer->pipe->set_viewport_states(renderer->pipe, 0, 1, &buffer->viewport); in prepare_pipe_4_rendering()
615 renderer->pipe->bind_vs_state(renderer->pipe, renderer->vs_ref); in vl_mc_render_ref()
616 renderer->pipe->bind_fs_state(renderer->pipe, renderer->fs_ref); in vl_mc_render_ref()
618 renderer->pipe->set_sampler_views(renderer->pipe, PIPE_SHADER_FRAGMENT, in vl_mc_render_ref()
620 renderer->pipe->bind_sampler_states(renderer->pipe, PIPE_SHADER_FRAGMENT, in vl_mc_render_ref()
623 util_draw_arrays_instanced(renderer->pipe, PIPE_PRIM_QUADS, 0, 4, 0, in vl_mc_render_ref()
642 renderer->pipe->bind_vs_state(renderer->pipe, renderer->vs_ycbcr); in vl_mc_render_ycbcr()
643 renderer->pipe->bind_fs_state(renderer->pipe, renderer->fs_ycbcr); 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()
648 renderer->pipe->bind_blend_state(renderer->pipe, renderer->blend_sub[mask]); in vl_mc_render_ycbcr()
649 renderer->pipe->bind_fs_state(renderer->pipe, renderer->fs_ycbcr_sub); in vl_mc_render_ycbcr()
650 util_draw_arrays_instanced(renderer->pipe, PIPE_PRIM_QUADS, 0, 4, 0, num_instances); in vl_mc_render_ycbcr()