Home
last modified time | relevance | path

Searched refs:nr_cbufs (Results 1 – 25 of 137) sorted by relevance

123456

/external/mesa3d/src/gallium/auxiliary/util/
Du_framebuffer.c62 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/
Dst_atom_framebuffer.c140 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/
Dsp_state_surface.c57 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()
Dsp_flush.c71 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()
Dsp_clear.c70 for (i = 0; i < softpipe->framebuffer.nr_cbufs; i++) { in softpipe_clear()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_clear.cpp45 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/
Dfd3_gmem.c457 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/
Dsvga_pipe_misc.c122 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()
Dsvga_state_framebuffer.c193 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/
Dr600_state.c1107 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/
Di915_surface.c147 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/
Dfd4_gmem.c283 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/
Dvc5_rcl.c451 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()
Dvc5_state.c430 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/
Dnvc0_state_validate.c82 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/
Dfd5_gmem.c401 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/
Dnv30_state_validate.c48 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/
Dlp_rast_priv.h160 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()
Dlp_scene.c157 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()
Dlp_state_surface.c74 for (i = 0; i < fb->nr_cbufs; i++) { in llvmpipe_set_framebuffer_state()
Dlp_state_fs.h73 unsigned nr_cbufs:8; member
/external/mesa3d/src/gallium/drivers/rbug/
Drbug_context.h55 unsigned nr_cbufs; member
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_state.c420 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/
Dfreedreno_gmem.c133 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/
Dtest_virgl_cmd.c101 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()

123456