Home
last modified time | relevance | path

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

12

/external/virglrenderer/tests/
Dtest_virgl_cmd.c76 struct pipe_framebuffer_state fb_state; in START_TEST() local
101 fb_state.nr_cbufs = 1; in START_TEST()
102 fb_state.zsbuf = NULL; in START_TEST()
103 fb_state.cbufs[0] = &surf.base; in START_TEST()
104 virgl_encoder_set_framebuffer_state(&ctx, &fb_state); in START_TEST()
147 struct pipe_framebuffer_state fb_state; in START_TEST() local
178 fb_state.nr_cbufs = 1; in START_TEST()
179 fb_state.zsbuf = NULL; in START_TEST()
180 fb_state.cbufs[0] = &surf.base; in START_TEST()
181 virgl_encoder_set_framebuffer_state(&ctx, &fb_state); in START_TEST()
[all …]
/external/mesa3d/src/gallium/drivers/i915/
Di915_surface.c141 struct pipe_framebuffer_state fb_state; in i915_clear_render_target_render() local
145 fb_state.width = dst->width; in i915_clear_render_target_render()
146 fb_state.height = dst->height; in i915_clear_render_target_render()
147 fb_state.nr_cbufs = 1; in i915_clear_render_target_render()
148 fb_state.cbufs[0] = dst; in i915_clear_render_target_render()
149 fb_state.zsbuf = NULL; in i915_clear_render_target_render()
150 pipe->set_framebuffer_state(pipe, &fb_state); in i915_clear_render_target_render()
174 struct pipe_framebuffer_state fb_state; in i915_clear_depth_stencil_render() local
178 fb_state.width = dst->width; in i915_clear_depth_stencil_render()
179 fb_state.height = dst->height; in i915_clear_depth_stencil_render()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_blitter.c1669 struct pipe_framebuffer_state fb_state = {0}; in do_blits() local
1672 fb_state.width = dst->width; in do_blits()
1673 fb_state.height = dst->height; in do_blits()
1674 fb_state.nr_cbufs = is_zsbuf ? 0 : 1; in do_blits()
1676 blitter_set_dst_dimensions(ctx, fb_state.width, fb_state.height); in do_blits()
1684 fb_state.zsbuf = dst; in do_blits()
1686 fb_state.cbufs[0] = dst; in do_blits()
1688 pipe->set_framebuffer_state(pipe, &fb_state); in do_blits()
1728 fb_state.zsbuf = dst; in do_blits()
1730 fb_state.cbufs[0] = dst; in do_blits()
[all …]
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_matrix_filter.c272 struct pipe_framebuffer_state fb_state; in vl_matrix_filter_render() local
281 memset(&fb_state, 0, sizeof(fb_state)); in vl_matrix_filter_render()
282 fb_state.width = dst->width; in vl_matrix_filter_render()
283 fb_state.height = dst->height; in vl_matrix_filter_render()
284 fb_state.nr_cbufs = 1; in vl_matrix_filter_render()
285 fb_state.cbufs[0] = dst; in vl_matrix_filter_render()
295 filter->pipe->set_framebuffer_state(filter->pipe, &fb_state); in vl_matrix_filter_render()
Dvl_deint_filter.c442 struct pipe_framebuffer_state fb_state; in vl_deint_filter_render() local
476 memset(&fb_state, 0, sizeof(fb_state)); in vl_deint_filter_render()
477 fb_state.nr_cbufs = 1; in vl_deint_filter_render()
491 fb_state.width = blit_surf->texture->width0; in vl_deint_filter_render()
492 fb_state.height = blit_surf->texture->height0; in vl_deint_filter_render()
502 fb_state.cbufs[0] = blit_surf; in vl_deint_filter_render()
504 filter->pipe->set_framebuffer_state(filter->pipe, &fb_state); in vl_deint_filter_render()
509 fb_state.cbufs[0] = dst_surf; in vl_deint_filter_render()
510 filter->pipe->set_framebuffer_state(filter->pipe, &fb_state); in vl_deint_filter_render()
Dvl_median_filter.c376 struct pipe_framebuffer_state fb_state; in vl_median_filter_render() local
385 memset(&fb_state, 0, sizeof(fb_state)); in vl_median_filter_render()
386 fb_state.width = dst->width; in vl_median_filter_render()
387 fb_state.height = dst->height; in vl_median_filter_render()
388 fb_state.nr_cbufs = 1; in vl_median_filter_render()
389 fb_state.cbufs[0] = dst; in vl_median_filter_render()
399 filter->pipe->set_framebuffer_state(filter->pipe, &fb_state); in vl_median_filter_render()
Dvl_bicubic_filter.c390 struct pipe_framebuffer_state fb_state; in vl_bicubic_filter_render() local
436 memset(&fb_state, 0, sizeof(fb_state)); in vl_bicubic_filter_render()
437 fb_state.width = dst->width; in vl_bicubic_filter_render()
438 fb_state.height = dst->height; in vl_bicubic_filter_render()
439 fb_state.nr_cbufs = 1; in vl_bicubic_filter_render()
440 fb_state.cbufs[0] = dst; in vl_bicubic_filter_render()
455 filter->pipe->set_framebuffer_state(filter->pipe, &fb_state); in vl_bicubic_filter_render()
Dvl_zscan.c502 buffer->fb_state.width = dst->width; in vl_zscan_init_buffer()
503 buffer->fb_state.height = dst->height; in vl_zscan_init_buffer()
504 buffer->fb_state.nr_cbufs = 1; in vl_zscan_init_buffer()
505 pipe_surface_reference(&buffer->fb_state.cbufs[0], dst); in vl_zscan_init_buffer()
540 pipe_surface_reference(&buffer->fb_state.cbufs[0], NULL); in vl_zscan_cleanup_buffer()
602 zscan->pipe->set_framebuffer_state(zscan->pipe, &buffer->fb_state); in vl_zscan_render()
Dvl_idct.c635 buffer->fb_state.width = tex->width0; in init_intermediate()
636 buffer->fb_state.height = tex->height0; in init_intermediate()
637 buffer->fb_state.nr_cbufs = idct->nr_of_render_targets; in init_intermediate()
643 buffer->fb_state.cbufs[i] = idct->pipe->create_surface( in init_intermediate()
646 if (!buffer->fb_state.cbufs[i]) in init_intermediate()
658 pipe_surface_reference(&buffer->fb_state.cbufs[i], NULL); in init_intermediate()
671 pipe_surface_reference(&buffer->fb_state.cbufs[i], NULL); in cleanup_intermediate()
839 idct->pipe->set_framebuffer_state(idct->pipe, &buffer->fb_state); in vl_idct_flush()
Dvl_mc.c565 buffer->fb_state.nr_cbufs = 1; in vl_mc_init_buffer()
566 buffer->fb_state.zsbuf = NULL; in vl_mc_init_buffer()
587 buffer->fb_state.width = surface->width; in vl_mc_set_surface()
588 buffer->fb_state.height = surface->height; in vl_mc_set_surface()
589 buffer->fb_state.cbufs[0] = surface; in vl_mc_set_surface()
604 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.c563 c->fb_state.nr_cbufs = 1; in init_pipe_state()
564 c->fb_state.zsbuf = NULL; in init_pipe_state()
886 layer->viewport.scale[0] = c->fb_state.width; in gen_vertex_data()
887 layer->viewport.scale[1] = c->fb_state.height; in gen_vertex_data()
1361 c->fb_state.width = dst_surface->width; in vl_compositor_render()
1362 c->fb_state.height = dst_surface->height; in vl_compositor_render()
1363 c->fb_state.cbufs[0] = dst_surface; in vl_compositor_render()
1384 c->pipe->set_framebuffer_state(c->pipe, &c->fb_state); in vl_compositor_render()
Dvl_compositor.h103 struct pipe_framebuffer_state fb_state; member
/external/mesa3d/src/gallium/drivers/r300/
Dr300_blit.c76 util_blitter_save_framebuffer(r300->blitter, r300->fb_state.state); in r300_blitter_begin()
130 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_cbzb_clear_allowed()
143 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_fast_zclear_allowed()
151 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_hiz_clear_allowed()
184 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_set_clear_color()
255 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_clear()
457 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_clear_depth_stencil()
476 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_decompress_zmask()
512 util_copy_framebuffer_state(&saved_fb, r300->fb_state.state); in r300_decompress_zmask_locked()
542 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_resource_copy_region()
[all …]
Dr300_context.c45 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_release_referenced_objects()
110 FREE(r300->fb_state.state); in r300_destroy_context()
176 R300_INIT_ATOM(fb_state, 0); in r300_setup_atoms()
234 R300_ALLOC_ATOM(fb_state, pipe_framebuffer_state); in r300_setup_atoms()
Dr300_emit.c43 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_emit_blend_state()
85 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_emit_dsa_state()
340 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_emit_gpu_flush()
590 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_emit_fb_state_pipelined()
1220 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_emit_hiz_clear()
1242 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_emit_zmask_clear()
1263 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_emit_cmask_clear()
1306 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_emit_buffer_validate()
1315 if (r300->fb_state.dirty) { in r300_emit_buffer_validate()
Dr300_state.c577 struct pipe_framebuffer_state *fb = r300->fb_state.state; in r300_set_blend_color()
862 struct pipe_framebuffer_state *state = r300->fb_state.state; in r300_mark_fb_state_dirty()
865 r300_mark_atom_dirty(r300, &r300->fb_state); in r300_mark_fb_state_dirty()
885 r300->fb_state.size = 2 + (8 * state->nr_cbufs); in r300_mark_fb_state_dirty()
888 r300->fb_state.size += 10; in r300_mark_fb_state_dirty()
890 r300->fb_state.size += 10; in r300_mark_fb_state_dirty()
892 r300->fb_state.size += 8; in r300_mark_fb_state_dirty()
896 r300->fb_state.size += 6; in r300_mark_fb_state_dirty()
898 r300->fb_state.size += 3; in r300_mark_fb_state_dirty()
911 struct pipe_framebuffer_state *current_state = r300->fb_state.state; in r300_set_framebuffer_state()
[all …]
Dr300_hyperz.c135 (struct pipe_framebuffer_state*)r300->fb_state.state; in r300_update_hyperz()
Dr300_context.h500 struct r300_atom fb_state; member
Dr300_state_derived.c1034 struct pipe_framebuffer_state *fb = r300->fb_state.state; in r300_validate_fragment_shader()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_pipe_common.h775 struct r600_atom *fb_state,
Dr600_texture.c1750 struct r600_atom *fb_state, in evergreen_do_fast_color_clear() argument
1830 rctx->set_atom_dirty(rctx, fb_state, true); in evergreen_do_fast_color_clear()
/external/vulkan-validation-layers/layers/
Dcore_validation.cpp2153 auto fb_state = GetFramebufferState(framebuffer); in ResetCommandBufferState() local
2154 if (fb_state) fb_state->cb_bindings.erase(pCB); in ResetCommandBufferState()
6231 …ddFramebufferBinding(layer_data *dev_data, GLOBAL_CB_NODE *cb_state, FRAMEBUFFER_STATE *fb_state) { in AddFramebufferBinding() argument
6232 …AddCommandBufferBinding(&fb_state->cb_bindings, {HandleToUint64(fb_state->framebuffer), kVulkanObj… in AddFramebufferBinding()
6235 const uint32_t attachmentCount = fb_state->createInfo.attachmentCount; in AddFramebufferBinding()
6237 auto view_state = GetAttachmentImageViewState(fb_state, attachment); in AddFramebufferBinding()
7688 const auto &fb_state = GetFramebufferState(framebuffer); in ValidateImageBarrierImage() local
7689 assert(fb_state); in ValidateImageBarrierImage()
7696 const auto attachmentCount = fb_state->createInfo.attachmentCount; in ValidateImageBarrierImage()
7698 auto view_state = GetAttachmentImageViewState(fb_state, attachment); in ValidateImageBarrierImage()
[all …]

12