Lines Matching refs:sp
37 struct softpipe_context *sp = softpipe_context(pipe); in sp_blit() local
39 if (info->render_condition_enable && !softpipe_check_render_cond(sp)) in sp_blit()
54 if (!util_blitter_is_blit_supported(sp->blitter, info)) { in sp_blit()
63 util_blitter_save_vertex_buffer_slot(sp->blitter, sp->vertex_buffer); in sp_blit()
64 util_blitter_save_vertex_elements(sp->blitter, sp->velems); in sp_blit()
65 util_blitter_save_vertex_shader(sp->blitter, sp->vs); in sp_blit()
66 util_blitter_save_geometry_shader(sp->blitter, sp->gs); in sp_blit()
67 util_blitter_save_so_targets(sp->blitter, sp->num_so_targets, in sp_blit()
68 (struct pipe_stream_output_target**)sp->so_targets); in sp_blit()
69 util_blitter_save_rasterizer(sp->blitter, sp->rasterizer); in sp_blit()
70 util_blitter_save_viewport(sp->blitter, &sp->viewports[0]); in sp_blit()
71 util_blitter_save_scissor(sp->blitter, &sp->scissors[0]); in sp_blit()
72 util_blitter_save_fragment_shader(sp->blitter, sp->fs); in sp_blit()
73 util_blitter_save_blend(sp->blitter, sp->blend); in sp_blit()
74 util_blitter_save_depth_stencil_alpha(sp->blitter, sp->depth_stencil); in sp_blit()
75 util_blitter_save_stencil_ref(sp->blitter, &sp->stencil_ref); in sp_blit()
77 util_blitter_save_framebuffer(sp->blitter, &sp->framebuffer); in sp_blit()
78 util_blitter_save_fragment_sampler_states(sp->blitter, in sp_blit()
79 sp->num_samplers[PIPE_SHADER_FRAGMENT], in sp_blit()
80 (void**)sp->samplers[PIPE_SHADER_FRAGMENT]); in sp_blit()
81 util_blitter_save_fragment_sampler_views(sp->blitter, in sp_blit()
82 sp->num_sampler_views[PIPE_SHADER_FRAGMENT], in sp_blit()
83 sp->sampler_views[PIPE_SHADER_FRAGMENT]); in sp_blit()
84 util_blitter_save_render_condition(sp->blitter, sp->render_cond_query, in sp_blit()
85 sp->render_cond_cond, sp->render_cond_mode); in sp_blit()
86 util_blitter_blit(sp->blitter, info); in sp_blit()
135 sp_init_surface_functions(struct softpipe_context *sp) in sp_init_surface_functions() argument
137 sp->pipe.resource_copy_region = util_resource_copy_region; in sp_init_surface_functions()
138 sp->pipe.clear_render_target = softpipe_clear_render_target; in sp_init_surface_functions()
139 sp->pipe.clear_depth_stencil = softpipe_clear_depth_stencil; in sp_init_surface_functions()
140 sp->pipe.blit = sp_blit; in sp_init_surface_functions()
141 sp->pipe.flush_resource = sp_flush_resource; in sp_init_surface_functions()