/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_framebuffer.c | 62 if (dst->nr_cbufs != src->nr_cbufs) { in util_framebuffer_state_equal() 66 for (i = 0; i < src->nr_cbufs; i++) { in util_framebuffer_state_equal() 96 for (i = 0; i < src->nr_cbufs; i++) in util_copy_framebuffer_state() 103 dst->nr_cbufs = src->nr_cbufs; in util_copy_framebuffer_state() 116 dst->nr_cbufs = 0; in util_copy_framebuffer_state() 128 for (i = 0; i < fb->nr_cbufs; i++) { in util_unreference_framebuffer_state() 136 fb->nr_cbufs = 0; in util_unreference_framebuffer_state() 152 for (i = 0; i < fb->nr_cbufs; i++) { in util_framebuffer_min_size() 191 if (!(fb->nr_cbufs || fb->zsbuf)) in util_framebuffer_get_num_layers() 194 for (i = 0; i < fb->nr_cbufs; i++) { in util_framebuffer_get_num_layers() [all …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_framebuffer.c | 140 framebuffer.nr_cbufs = fb->_NumColorDrawBuffers; in st_update_framebuffer_state() 161 for (i = framebuffer.nr_cbufs; i < PIPE_MAX_COLOR_BUFS; i++) { in st_update_framebuffer_state() 166 while (framebuffer.nr_cbufs && in st_update_framebuffer_state() 167 !framebuffer.cbufs[framebuffer.nr_cbufs-1]) { in st_update_framebuffer_state() 168 framebuffer.nr_cbufs--; in st_update_framebuffer_state() 199 for (i = 0; i < framebuffer.nr_cbufs; i++) { in st_update_framebuffer_state()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_state_surface.c | 57 struct pipe_surface *cb = i < fb->nr_cbufs ? fb->cbufs[i] : NULL; in softpipe_set_framebuffer_state() 72 sp->framebuffer.nr_cbufs = fb->nr_cbufs; in softpipe_set_framebuffer_state()
|
D | sp_flush.c | 71 for (i = 0; i < softpipe->framebuffer.nr_cbufs; i++) in softpipe_flush() 183 for (i = 0; i < softpipe->framebuffer.nr_cbufs; i++) in softpipe_texture_barrier()
|
D | sp_clear.c | 70 for (i = 0; i < softpipe->framebuffer.nr_cbufs; i++) { in softpipe_clear()
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_clear.cpp | 45 if (buffers & PIPE_CLEAR_COLOR && fb->nr_cbufs) { in swr_clear() 46 for (unsigned i = 0; i < fb->nr_cbufs; ++i) in swr_clear() 89 for (unsigned c = 0; c < fb->nr_cbufs; ++c) { in swr_clear()
|
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_gmem.c | 457 for (i = 0; i < pfb->nr_cbufs; i++) { in fd3_emit_tile_gmem2mem() 470 A3XX_RB_MODE_CONTROL_MRT(MAX2(1, pfb->nr_cbufs) - 1)); in fd3_emit_tile_gmem2mem() 665 emit.prog = &ctx->blit_prog[pfb->nr_cbufs - 1]; in fd3_emit_tile_mem2gmem() 667 fd3_program_emit(ring, &emit, pfb->nr_cbufs, pfb->cbufs); in fd3_emit_tile_mem2gmem() 668 emit_mem2gmem_surf(batch, gmem->cbuf_base, pfb->cbufs, pfb->nr_cbufs, bin_w); in fd3_emit_tile_mem2gmem() 700 A3XX_RB_MODE_CONTROL_MRT(MAX2(1, pfb->nr_cbufs) - 1)); in fd3_emit_tile_mem2gmem() 733 for (i = 0; i < pfb->nr_cbufs; i++) { in fd3_emit_sysmem_prep() 746 emit_mrt(ring, pfb->nr_cbufs, pfb->cbufs, NULL, 0, true); in fd3_emit_sysmem_prep() 763 A3XX_RB_MODE_CONTROL_MRT(MAX2(1, pfb->nr_cbufs) - 1)); in fd3_emit_sysmem_prep() 894 A3XX_RB_MODE_CONTROL_MRT(pfb->nr_cbufs - 1)); in emit_binning_pass() [all …]
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_pipe_misc.c | 122 dst->nr_cbufs = fb->nr_cbufs; in svga_set_framebuffer_state() 134 for (i = 0; i < fb->nr_cbufs; ++i) { in svga_set_framebuffer_state()
|
D | svga_state_framebuffer.c | 193 const unsigned num_color = MAX2(curr->nr_cbufs, hw->nr_cbufs); in emit_fb_vgpu10() 276 hw->nr_cbufs = curr->nr_cbufs; in emit_fb_vgpu10()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_state.c | 1107 rctx->framebuffer.export_16bpc = state->nr_cbufs != 0; in r600_set_framebuffer_state() 1108 rctx->framebuffer.cb0_is_integer = state->nr_cbufs && state->cbufs[0] && in r600_set_framebuffer_state() 1111 rctx->framebuffer.is_msaa_resolve = state->nr_cbufs == 2 && in r600_set_framebuffer_state() 1118 for (i = 0; i < state->nr_cbufs; i++) { in r600_set_framebuffer_state() 1150 if (state->nr_cbufs) { in r600_set_framebuffer_state() 1190 if (rctx->cb_misc_state.nr_cbufs != state->nr_cbufs) { in r600_set_framebuffer_state() 1191 rctx->cb_misc_state.nr_cbufs = state->nr_cbufs; in r600_set_framebuffer_state() 1195 if (state->nr_cbufs == 0 && rctx->alphatest_state.bypass) { in r600_set_framebuffer_state() 1204 if (rctx->framebuffer.state.nr_cbufs) { in r600_set_framebuffer_state() 1205 rctx->framebuffer.atom.num_dw += 15 * rctx->framebuffer.state.nr_cbufs; in r600_set_framebuffer_state() [all …]
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_surface.c | 147 fb_state.nr_cbufs = 1; in i915_clear_render_target_render() 160 i915->blitter->saved_fb_state.nr_cbufs = ~0; in i915_clear_render_target_render() 180 fb_state.nr_cbufs = 0; in i915_clear_depth_stencil_render() 193 i915->blitter->saved_fb_state.nr_cbufs = ~0; in i915_clear_depth_stencil_render()
|
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_gmem.c | 283 for (i = 0; i < pfb->nr_cbufs; i++) { in fd4_emit_tile_gmem2mem() 364 mrt_comp[i] = ((i < pfb->nr_cbufs) && pfb->cbufs[i]) ? 0xf : 0; in fd4_emit_tile_mem2gmem() 460 emit.prog = &ctx->blit_prog[pfb->nr_cbufs - 1]; in fd4_emit_tile_mem2gmem() 462 fd4_program_emit(ring, &emit, pfb->nr_cbufs, pfb->cbufs); in fd4_emit_tile_mem2gmem() 463 emit_mem2gmem_surf(batch, gmem->cbuf_base, pfb->cbufs, pfb->nr_cbufs, bin_w); in fd4_emit_tile_mem2gmem() 535 emit_mrt(ring, pfb->nr_cbufs, pfb->cbufs, NULL, 0, true); in fd4_emit_sysmem_prep() 795 emit_mrt(ring, pfb->nr_cbufs, pfb->cbufs, gmem->cbuf_base, gmem->bin_w, true); in fd4_emit_tile_renderprep()
|
/external/mesa3d/src/gallium/drivers/vc5/ |
D | vc5_rcl.c | 451 int nr_cbufs = 0; in v3dX() local 454 nr_cbufs = i + 1; in v3dX() 481 MAX2(nr_cbufs, 1) - 1; in v3dX() 488 for (int i = 0; i < nr_cbufs; i++) { in v3dX() 706 vc5_rcl_emit_generic_per_tile_list(job, nr_cbufs - 1); in v3dX()
|
D | vc5_state.c | 430 for (i = 0; i < framebuffer->nr_cbufs; i++) in vc5_set_framebuffer_state() 432 for (; i < vc5->framebuffer.nr_cbufs; i++) in vc5_set_framebuffer_state() 435 cso->nr_cbufs = framebuffer->nr_cbufs; in vc5_set_framebuffer_state() 444 for (int i = 0; i < vc5->framebuffer.nr_cbufs; i++) { in vc5_set_framebuffer_state()
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_state_validate.c | 82 unsigned nr_cbufs = fb->nr_cbufs; in nvc0_validate_fb() local 91 for (i = 0; i < fb->nr_cbufs; ++i) { in nvc0_validate_fb() 185 if (nr_cbufs == 0 && !fb->zsbuf) { in nvc0_validate_fb() 193 nr_cbufs = 1; in nvc0_validate_fb() 197 PUSH_DATA (push, (076543210 << 4) | nr_cbufs); in nvc0_validate_fb() 669 nvc0->framebuffer.nr_cbufs == 0) { in nvc0_validate_zsa_fb() 722 nvc0->framebuffer.nr_cbufs && in nvc0_validate_fbread()
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_gmem.c | 401 emit_mrt(ring, pfb->nr_cbufs, pfb->cbufs, &ctx->gmem); in fd5_emit_tile_init() 537 emit_mrt(ring, pfb->nr_cbufs, pfb->cbufs, NULL); in fd5_emit_tile_mem2gmem() 547 for (i = 0; i < pfb->nr_cbufs; i++) { in fd5_emit_tile_mem2gmem() 581 emit_mrt(ring, pfb->nr_cbufs, pfb->cbufs, gmem); in fd5_emit_tile_renderprep() 664 for (i = 0; i < pfb->nr_cbufs; i++) { in fd5_emit_tile_gmem2mem() 743 emit_mrt(ring, pfb->nr_cbufs, pfb->cbufs, NULL); in fd5_emit_sysmem_prep()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_state_validate.c | 48 nv30->state.rt_enable = (NV30_3D_RT_ENABLE_COLOR0 << fb->nr_cbufs) - 1; in nv30_validate_fb() 53 if (fb->nr_cbufs > 0) { in nv30_validate_fb() 75 if (fb->nr_cbufs && util_format_get_blocksize(fb->cbufs[0]->format) > 2) in nv30_validate_fb() 180 if (nv30->framebuffer.nr_cbufs) { in nv30_validate_blend_colour()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_rast_priv.h | 160 assert(buf < task->scene->fb.nr_cbufs); in lp_rast_get_color_block_pointer() 240 for (i = 0; i < scene->fb.nr_cbufs; i++) { in lp_rast_shade_quads_all()
|
D | lp_scene.c | 157 for (i = 0; i < scene->fb.nr_cbufs; i++) { in lp_scene_begin_rasterization() 215 for (i = 0; i < scene->fb.nr_cbufs; i++) { in lp_scene_end_rasterization() 532 for (i = 0; i < scene->fb.nr_cbufs; i++) { in lp_scene_begin_binning()
|
D | lp_state_surface.c | 74 for (i = 0; i < fb->nr_cbufs; i++) { in llvmpipe_set_framebuffer_state()
|
D | lp_state_fs.h | 73 unsigned nr_cbufs:8; member
|
/external/mesa3d/src/gallium/drivers/rbug/ |
D | rbug_context.h | 55 unsigned nr_cbufs; member
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_state.c | 420 for (i = 0; i < framebuffer->nr_cbufs; i++) in vc4_set_framebuffer_state() 422 for (; i < vc4->framebuffer.nr_cbufs; i++) in vc4_set_framebuffer_state() 425 cso->nr_cbufs = framebuffer->nr_cbufs; in vc4_set_framebuffer_state()
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_gmem.c | 133 for (i = 0; i < pfb->nr_cbufs; i++) { in calculate_tiles() 173 for (i = 0; i < pfb->nr_cbufs; i++) in calculate_tiles() 404 if ((pfb->nr_cbufs == 0) && !pfb->zsbuf) { in fd_gmem_render_tiles()
|
/external/virglrenderer/tests/ |
D | test_virgl_cmd.c | 101 fb_state.nr_cbufs = 1; in START_TEST() 178 fb_state.nr_cbufs = 1; in START_TEST() 290 fb_state.nr_cbufs = 1; in START_TEST() 523 fb_state.nr_cbufs = 1; in START_TEST() 785 fb_state.nr_cbufs = 1; in START_TEST()
|