Lines Matching refs:i915
53 struct i915_context *i915 = i915_context(pipe); in i915_surface_copy_render() local
62 if (!util_blitter_is_copy_supported(i915->blitter, dst, src, in i915_surface_copy_render()
69 util_blitter_save_blend(i915->blitter, (void *)i915->blend); in i915_surface_copy_render()
70 util_blitter_save_depth_stencil_alpha(i915->blitter, (void *)i915->depth_stencil); in i915_surface_copy_render()
71 util_blitter_save_stencil_ref(i915->blitter, &i915->stencil_ref); in i915_surface_copy_render()
72 util_blitter_save_rasterizer(i915->blitter, (void *)i915->rasterizer); in i915_surface_copy_render()
73 util_blitter_save_fragment_shader(i915->blitter, i915->saved_fs); in i915_surface_copy_render()
74 util_blitter_save_vertex_shader(i915->blitter, i915->saved_vs); in i915_surface_copy_render()
75 util_blitter_save_viewport(i915->blitter, &i915->viewport); in i915_surface_copy_render()
76 util_blitter_save_vertex_elements(i915->blitter, i915->saved_velems); in i915_surface_copy_render()
77 util_blitter_save_vertex_buffers(i915->blitter, i915->saved_nr_vertex_buffers, in i915_surface_copy_render()
78 i915->saved_vertex_buffers); in i915_surface_copy_render()
80 util_blitter_save_framebuffer(i915->blitter, &i915->framebuffer); in i915_surface_copy_render()
82 util_blitter_save_fragment_sampler_states(i915->blitter, in i915_surface_copy_render()
83 i915->saved_nr_samplers, in i915_surface_copy_render()
84 i915->saved_samplers); in i915_surface_copy_render()
85 util_blitter_save_fragment_sampler_views(i915->blitter, in i915_surface_copy_render()
86 i915->saved_nr_sampler_views, in i915_surface_copy_render()
87 i915->saved_sampler_views); in i915_surface_copy_render()
89 util_blitter_copy_texture(i915->blitter, dst, dst_level, ~0, dstx, dsty, dstz, in i915_surface_copy_render()
100 struct i915_context *i915 = i915_context(pipe); in i915_clear_render_target_render() local
103 util_blitter_save_framebuffer(i915->blitter, &i915->framebuffer); in i915_clear_render_target_render()
112 if (i915->dirty) in i915_clear_render_target_render()
113 i915_update_derived(i915); in i915_clear_render_target_render()
118 pipe->set_framebuffer_state(pipe, &i915->blitter->saved_fb_state); in i915_clear_render_target_render()
119 util_unreference_framebuffer_state(&i915->blitter->saved_fb_state); in i915_clear_render_target_render()
120 i915->blitter->saved_fb_state.nr_cbufs = ~0; in i915_clear_render_target_render()
132 struct i915_context *i915 = i915_context(pipe); in i915_clear_depth_stencil_render() local
135 util_blitter_save_framebuffer(i915->blitter, &i915->framebuffer); in i915_clear_depth_stencil_render()
143 if (i915->dirty) in i915_clear_depth_stencil_render()
144 i915_update_derived(i915); in i915_clear_depth_stencil_render()
150 pipe->set_framebuffer_state(pipe, &i915->blitter->saved_fb_state); in i915_clear_depth_stencil_render()
151 util_unreference_framebuffer_state(&i915->blitter->saved_fb_state); in i915_clear_depth_stencil_render()
152 i915->blitter->saved_fb_state.nr_cbufs = ~0; in i915_clear_depth_stencil_render()
317 i915_init_surface_functions(struct i915_context *i915) in i915_init_surface_functions() argument
319 if (i915_screen(i915->base.screen)->debug.use_blitter) { in i915_init_surface_functions()
320 i915->base.resource_copy_region = i915_surface_copy_blitter; in i915_init_surface_functions()
321 i915->base.clear_render_target = i915_clear_render_target_blitter; in i915_init_surface_functions()
322 i915->base.clear_depth_stencil = i915_clear_depth_stencil_blitter; in i915_init_surface_functions()
324 i915->base.resource_copy_region = i915_surface_copy_render; in i915_init_surface_functions()
325 i915->base.clear_render_target = i915_clear_render_target_render; in i915_init_surface_functions()
326 i915->base.clear_depth_stencil = i915_clear_depth_stencil_render; in i915_init_surface_functions()
328 i915->base.create_surface = i915_create_surface; in i915_init_surface_functions()
329 i915->base.surface_destroy = i915_surface_destroy; in i915_init_surface_functions()