Home
last modified time | relevance | path

Searched refs:fb_state (Results 1 – 19 of 19) sorted by relevance

/external/mesa3d/src/gallium/drivers/i915/
Di915_surface.c101 struct pipe_framebuffer_state fb_state; in i915_clear_render_target_render() local
105 fb_state.width = dst->width; in i915_clear_render_target_render()
106 fb_state.height = dst->height; in i915_clear_render_target_render()
107 fb_state.nr_cbufs = 1; in i915_clear_render_target_render()
108 fb_state.cbufs[0] = dst; in i915_clear_render_target_render()
109 fb_state.zsbuf = NULL; in i915_clear_render_target_render()
110 pipe->set_framebuffer_state(pipe, &fb_state); in i915_clear_render_target_render()
133 struct pipe_framebuffer_state fb_state; in i915_clear_depth_stencil_render() local
137 fb_state.width = dst->width; in i915_clear_depth_stencil_render()
138 fb_state.height = dst->height; in i915_clear_depth_stencil_render()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_blitter.c1127 struct pipe_framebuffer_state fb_state; in util_blitter_copy_texture_view() local
1163 fb_state.width = dst->width; in util_blitter_copy_texture_view()
1164 fb_state.height = dst->height; in util_blitter_copy_texture_view()
1186 fb_state.nr_cbufs = 0; in util_blitter_copy_texture_view()
1187 fb_state.zsbuf = dst; in util_blitter_copy_texture_view()
1194 fb_state.nr_cbufs = 1; in util_blitter_copy_texture_view()
1195 fb_state.cbufs[0] = dst; in util_blitter_copy_texture_view()
1196 fb_state.zsbuf = 0; in util_blitter_copy_texture_view()
1237 pipe->set_framebuffer_state(pipe, &fb_state); in util_blitter_copy_texture_view()
1286 struct pipe_framebuffer_state fb_state; in util_blitter_clear_render_target() local
[all …]
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_matrix_filter.c290 struct pipe_framebuffer_state fb_state; in vl_matrix_filter_render() local
300 memset(&fb_state, 0, sizeof(fb_state)); in vl_matrix_filter_render()
301 fb_state.width = dst->width; in vl_matrix_filter_render()
302 fb_state.height = dst->height; in vl_matrix_filter_render()
303 fb_state.nr_cbufs = 1; in vl_matrix_filter_render()
304 fb_state.cbufs[0] = dst; in vl_matrix_filter_render()
312 filter->pipe->set_framebuffer_state(filter->pipe, &fb_state); in vl_matrix_filter_render()
Dvl_median_filter.c369 struct pipe_framebuffer_state fb_state; in vl_median_filter_render() local
379 memset(&fb_state, 0, sizeof(fb_state)); in vl_median_filter_render()
380 fb_state.width = dst->width; in vl_median_filter_render()
381 fb_state.height = dst->height; in vl_median_filter_render()
382 fb_state.nr_cbufs = 1; in vl_median_filter_render()
383 fb_state.cbufs[0] = dst; in vl_median_filter_render()
391 filter->pipe->set_framebuffer_state(filter->pipe, &fb_state); in vl_median_filter_render()
Dvl_zscan.c489 buffer->fb_state.width = dst->width; in vl_zscan_init_buffer()
490 buffer->fb_state.height = dst->height; in vl_zscan_init_buffer()
491 buffer->fb_state.nr_cbufs = 1; in vl_zscan_init_buffer()
492 pipe_surface_reference(&buffer->fb_state.cbufs[0], dst); in vl_zscan_init_buffer()
527 pipe_surface_reference(&buffer->fb_state.cbufs[0], NULL); in vl_zscan_cleanup_buffer()
600 zscan->pipe->set_framebuffer_state(zscan->pipe, &buffer->fb_state); in vl_zscan_render()
Dvl_idct.c638 buffer->fb_state.width = tex->width0; in init_intermediate()
639 buffer->fb_state.height = tex->height0; in init_intermediate()
640 buffer->fb_state.nr_cbufs = idct->nr_of_render_targets; in init_intermediate()
647 buffer->fb_state.cbufs[i] = idct->pipe->create_surface( in init_intermediate()
650 if (!buffer->fb_state.cbufs[i]) in init_intermediate()
663 pipe_surface_reference(&buffer->fb_state.cbufs[i], NULL); in init_intermediate()
676 pipe_surface_reference(&buffer->fb_state.cbufs[i], NULL); in cleanup_intermediate()
850 idct->pipe->set_framebuffer_state(idct->pipe, &buffer->fb_state); in vl_idct_flush()
Dvl_mc.c562 buffer->fb_state.nr_cbufs = 1; in vl_mc_init_buffer()
563 buffer->fb_state.zsbuf = NULL; in vl_mc_init_buffer()
584 buffer->fb_state.width = surface->width; in vl_mc_set_surface()
585 buffer->fb_state.height = surface->height; in vl_mc_set_surface()
586 buffer->fb_state.cbufs[0] = surface; in vl_mc_set_surface()
601 renderer->pipe->set_framebuffer_state(renderer->pipe, &buffer->fb_state); in prepare_pipe_4_rendering()
Dvl_zscan.h61 struct pipe_framebuffer_state fb_state; member
Dvl_mc.h65 struct pipe_framebuffer_state fb_state; member
Dvl_idct.h65 struct pipe_framebuffer_state fb_state; member
Dvl_compositor.c405 c->fb_state.nr_cbufs = 1; in init_pipe_state()
406 c->fb_state.zsbuf = NULL; in init_pipe_state()
683 layer->viewport.scale[0] = c->fb_state.width; in gen_vertex_data()
684 layer->viewport.scale[1] = c->fb_state.height; in gen_vertex_data()
991 c->fb_state.width = dst_surface->width; in vl_compositor_render()
992 c->fb_state.height = dst_surface->height; in vl_compositor_render()
993 c->fb_state.cbufs[0] = dst_surface; in vl_compositor_render()
1014 c->pipe->set_framebuffer_state(c->pipe, &c->fb_state); in vl_compositor_render()
Dvl_compositor.h93 struct pipe_framebuffer_state fb_state; member
/external/mesa3d/src/gallium/drivers/r300/
Dr300_blit.c70 util_blitter_save_framebuffer(r300->blitter, r300->fb_state.state); in r300_blitter_begin()
124 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_cbzb_clear_allowed()
136 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_fast_zclear_allowed()
144 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_hiz_clear_allowed()
226 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_clear()
374 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_clear_depth_stencil()
392 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_decompress_zmask()
428 util_copy_framebuffer_state(&saved_fb, r300->fb_state.state); in r300_decompress_zmask_locked()
458 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_resource_copy_region()
Dr300_context.c42 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_release_referenced_objects()
100 FREE(r300->fb_state.state); in r300_destroy_context()
165 R300_INIT_ATOM(fb_state, 0); in r300_setup_atoms()
222 R300_ALLOC_ATOM(fb_state, pipe_framebuffer_state); in r300_setup_atoms()
Dr300_emit.c44 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_emit_blend_state()
81 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_emit_dsa_state()
320 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_emit_gpu_flush()
492 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_emit_fb_state_pipelined()
1114 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_emit_hiz_clear()
1136 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_emit_zmask_clear()
1179 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_emit_buffer_validate()
1187 if (r300->fb_state.dirty) { in r300_emit_buffer_validate()
Dr300_state.c465 struct pipe_framebuffer_state *fb = r300->fb_state.state; in r300_set_blend_color()
820 struct pipe_framebuffer_state *state = r300->fb_state.state; in r300_mark_fb_state_dirty()
823 r300_mark_atom_dirty(r300, &r300->fb_state); in r300_mark_fb_state_dirty()
843 r300->fb_state.size = 2 + (8 * state->nr_cbufs); in r300_mark_fb_state_dirty()
846 r300->fb_state.size += 10; in r300_mark_fb_state_dirty()
848 r300->fb_state.size += 10; in r300_mark_fb_state_dirty()
850 r300->fb_state.size += 8; in r300_mark_fb_state_dirty()
852 r300->fb_state.size += 10; in r300_mark_fb_state_dirty()
864 struct pipe_framebuffer_state *old_state = r300->fb_state.state; in r300_set_framebuffer_state()
929 util_copy_framebuffer_state(r300->fb_state.state, state); in r300_set_framebuffer_state()
Dr300_hyperz.c136 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_update_hyperz()
Dr300_context.h501 struct r300_atom fb_state; member
Dr300_state_derived.c989 struct pipe_framebuffer_state *fb = r300->fb_state.state; in r300_validate_fragment_shader()