/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_framebuffer.c | 64 if (dst->nr_cbufs != src->nr_cbufs) { in util_framebuffer_state_equal() 88 for (i = 0; i < src->nr_cbufs; i++) in util_copy_framebuffer_state() 91 for (i = src->nr_cbufs; i < dst->nr_cbufs; i++) in util_copy_framebuffer_state() 94 dst->nr_cbufs = src->nr_cbufs; in util_copy_framebuffer_state() 105 for (i = 0; i < fb->nr_cbufs; i++) { in util_unreference_framebuffer_state() 112 fb->nr_cbufs = 0; in util_unreference_framebuffer_state() 128 for (i = 0; i < fb->nr_cbufs; i++) { in util_framebuffer_min_size()
|
D | u_clear.h | 47 for (i = 0; i < framebuffer->nr_cbufs; i++) { in util_clear()
|
D | u_blitter.c | 152 ctx->base.saved_fb_state.nr_cbufs = ~0; in util_blitter_create() 456 assert(ctx->base.saved_fb_state.nr_cbufs != ~0); in blitter_check_saved_fb_state() 1186 fb_state.nr_cbufs = 0; in util_blitter_copy_texture_view() 1194 fb_state.nr_cbufs = 1; in util_blitter_copy_texture_view() 1307 fb_state.nr_cbufs = 1; in util_blitter_clear_render_target() 1373 fb_state.nr_cbufs = 0; in util_blitter_clear_depth_stencil() 1420 fb_state.nr_cbufs = 1; in util_blitter_custom_depth_stencil() 1423 fb_state.nr_cbufs = 1; in util_blitter_custom_depth_stencil() 1426 fb_state.nr_cbufs = 0; in util_blitter_custom_depth_stencil() 1547 fb_state.nr_cbufs = 2; in util_blitter_custom_resolve_color() [all …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_framebuffer.c | 118 framebuffer->nr_cbufs = 0; in update_framebuffer_state() 131 pipe_surface_reference(&framebuffer->cbufs[framebuffer->nr_cbufs], in update_framebuffer_state() 133 framebuffer->nr_cbufs++; in update_framebuffer_state() 138 for (i = framebuffer->nr_cbufs; i < PIPE_MAX_COLOR_BUFS; i++) { in update_framebuffer_state() 165 for (i = 0; i < framebuffer->nr_cbufs; i++) { in update_framebuffer_state()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_pipe_misc.c | 82 dst->nr_cbufs = fb->nr_cbufs; in svga_set_framebuffer_state() 103 for(i = 0; i < fb->nr_cbufs; ++i) { in svga_set_framebuffer_state() 112 (i < fb->nr_cbufs) ? fb->cbufs[i] : NULL); in svga_set_framebuffer_state()
|
D | svga_pipe_flush.c | 57 for (i = 0; i < fb->nr_cbufs; i++) { in svga_flush()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_state_surface.c | 70 sp->framebuffer.nr_cbufs = fb->nr_cbufs; in softpipe_set_framebuffer_state()
|
D | sp_context.c | 64 for (i = 0; i < sp->framebuffer.nr_cbufs; i++) { in softpipe_map_transfers() 80 for (i = 0; i < sp->framebuffer.nr_cbufs; i++) { in softpipe_unmap_transfers() 171 for (i = 0; i < softpipe->framebuffer.nr_cbufs; i++) { in softpipe_is_resource_referenced()
|
D | sp_clear.c | 67 for (i = 0; i < softpipe->framebuffer.nr_cbufs; i++) { in softpipe_clear()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_rast.c | 168 for (i = 0; i < scene->fb.nr_cbufs; i++) { in lp_rast_clear_color() 181 for (i = 0; i < scene->fb.nr_cbufs; i++) { in lp_rast_clear_color() 308 for (buf = 0; buf < scene->fb.nr_cbufs; buf++) { in lp_rast_store_linear_color() 365 for (i = 0; i < scene->fb.nr_cbufs; i++) in lp_rast_shade_tile() 410 for (i = 0; i < scene->fb.nr_cbufs; i++) { in lp_rast_shade_tile_opaque() 449 for (i = 0; i < scene->fb.nr_cbufs; i++) { in lp_rast_shade_quads_mask() 584 for (buf = 0; buf < scene->fb.nr_cbufs; buf++) { in lp_rast_tile_end()
|
D | lp_state_fs.c | 296 for(cbuf = 0; cbuf < key->nr_cbufs; cbuf++) { in generate_fs() 414 shader->info.base.output_semantic_index[attrib] < key->nr_cbufs) in generate_fs() 539 for(cbuf = 0; cbuf < key->nr_cbufs; cbuf++) { in generate_fs_loop() 653 shader->info.base.output_semantic_index[attrib] < key->nr_cbufs) in generate_fs_loop() 967 for (cbuf = 0; cbuf < key->nr_cbufs; cbuf++) in generate_fragment() 1032 for (cbuf = 0; cbuf < key->nr_cbufs; cbuf++) { in generate_fragment() 1047 for(cbuf = 0; cbuf < key->nr_cbufs; cbuf++) { in generate_fragment() 1129 for (i = 0; i < key->nr_cbufs; ++i) { in dump_fs_variant_key() 1246 if (key->nr_cbufs == 1) { in generate_variant() 1593 if (lp->framebuffer.nr_cbufs) { in make_variant_key() [all …]
|
D | lp_rast_priv.h | 191 assert(buf < scene->fb.nr_cbufs); in lp_rast_get_color_tile_pointer() 265 for (i = 0; i < scene->fb.nr_cbufs; i++) in lp_rast_shade_quads_all()
|
D | lp_state_fs.h | 61 unsigned nr_cbufs:8; member
|
D | lp_flush.c | 63 for (i = 0; i < llvmpipe->framebuffer.nr_cbufs; i++) { in llvmpipe_flush()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_surface.c | 107 fb_state.nr_cbufs = 1; in i915_clear_render_target_render() 120 i915->blitter->saved_fb_state.nr_cbufs = ~0; in i915_clear_render_target_render() 139 fb_state.nr_cbufs = 0; in i915_clear_depth_stencil_render() 152 i915->blitter->saved_fb_state.nr_cbufs = ~0; in i915_clear_depth_stencil_render()
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_emit.c | 47 if (fb->nr_cbufs) { in r300_emit_blend_state() 85 if (fb->nr_cbufs && fb->cbufs[0]->format == PIPE_FORMAT_R16G16B16A16_FLOAT) in r300_emit_dsa_state() 90 if (fb->nr_cbufs && fb->cbufs[0]->format == PIPE_FORMAT_R16G16B16A16_FLOAT) in r300_emit_dsa_state() 391 if (fb->nr_cbufs && r300->fb_multiwrite) { in r300_emit_fb_state() 392 rb3d_cctl |= R300_RB3D_CCTL_NUM_MULTIWRITES(fb->nr_cbufs); in r300_emit_fb_state() 398 for (i = 0; i < fb->nr_cbufs; i++) { in r300_emit_fb_state() 447 } else if (fb->nr_cbufs) { in r300_emit_fb_state() 493 unsigned i, num_cbufs = fb->nr_cbufs; in r300_emit_fb_state_pipelined() 526 if (fb->nr_cbufs && fb->cbufs[0]->texture->nr_samples > 1) { in r300_emit_fb_state_pipelined() 1189 for (i = 0; i < fb->nr_cbufs; i++) { in r300_emit_buffer_validate()
|
/external/mesa3d/src/gallium/drivers/nv50/ |
D | nv50_surface.c | 392 if (!nv50_state_validate(nv50, NV50_NEW_FRAMEBUFFER, 9 + (fb->nr_cbufs * 2))) in nv50_clear() 395 if (buffers & PIPE_CLEAR_COLOR && fb->nr_cbufs) { in nv50_clear() 421 for (i = 1; i < fb->nr_cbufs; i++) { in nv50_clear() 686 nv50->framebuffer.nr_cbufs = 1; in nv50_blit_set_dst() 791 blit->saved.fb.nr_cbufs = nv50->framebuffer.nr_cbufs; in nv50_blitctx_pre_blit() 835 nv50->framebuffer.nr_cbufs = blit->saved.fb.nr_cbufs; in nv50_blitctx_post_blit()
|
/external/mesa3d/src/gallium/drivers/nvc0/ |
D | nvc0_surface.c | 411 if (!nvc0_state_validate(nvc0, NVC0_NEW_FRAMEBUFFER, 9 + (fb->nr_cbufs * 2))) in nvc0_clear() 414 if (buffers & PIPE_CLEAR_COLOR && fb->nr_cbufs) { in nvc0_clear() 440 for (i = 1; i < fb->nr_cbufs; i++) { in nvc0_clear() 752 nvc0->framebuffer.nr_cbufs = 1; in nvc0_blit_set_dst() 858 blit->saved.fb.nr_cbufs = nvc0->framebuffer.nr_cbufs; in nvc0_blitctx_pre_blit() 912 nvc0->framebuffer.nr_cbufs = blit->saved.fb.nr_cbufs; in nvc0_blitctx_post_blit()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | radeonsi_pm4.c | 146 void si_pm4_inval_fb_cache(struct si_pm4_state *state, unsigned nr_cbufs) in si_pm4_inval_fb_cache() argument 149 state->cp_coher_cntl |= ((1 << nr_cbufs) - 1) << S_0085F0_CB0_DEST_BASE_ENA_SHIFT; in si_pm4_inval_fb_cache()
|
D | radeonsi_shader.h | 68 unsigned nr_cbufs; member
|
D | radeonsi_pm4.h | 79 void si_pm4_inval_fb_cache(struct si_pm4_state *state, unsigned nr_cbufs);
|
/external/mesa3d/src/gallium/drivers/rbug/ |
D | rbug_context.h | 55 unsigned nr_cbufs; member
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_state.c | 1589 bool is_resolve = state->nr_cbufs == 2 && in r600_set_framebuffer_state() 1607 rctx->nr_cbufs = state->nr_cbufs; in r600_set_framebuffer_state() 1608 rctx->cb0_is_integer = state->nr_cbufs && in r600_set_framebuffer_state() 1612 for (i = 0; i < state->nr_cbufs; i++) { in r600_set_framebuffer_state() 1665 if (state->nr_cbufs) { in r600_set_framebuffer_state() 1710 (1ull << MAX2(state->nr_cbufs, 1)) - 1); in r600_set_framebuffer_state() 1714 if (state->nr_cbufs) in r600_set_framebuffer_state() 1745 if (rctx->cb_misc_state.nr_cbufs != state->nr_cbufs) { in r600_set_framebuffer_state() 1746 rctx->cb_misc_state.nr_cbufs = state->nr_cbufs; in r600_set_framebuffer_state() 1750 if (state->nr_cbufs == 0 && rctx->alphatest_state.bypass) { in r600_set_framebuffer_state() [all …]
|
/external/mesa3d/src/gallium/drivers/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() 183 if (nv30->framebuffer.nr_cbufs) { in nv30_validate_blend_colour()
|
/external/mesa3d/src/gallium/drivers/galahad/ |
D | glhd_context.c | 511 if (_state->nr_cbufs > PIPE_MAX_COLOR_BUFS) { in galahad_context_set_framebuffer_state() 513 _state->nr_cbufs, PIPE_MAX_COLOR_BUFS); in galahad_context_set_framebuffer_state() 514 } else if (_state->nr_cbufs > in galahad_context_set_framebuffer_state() 517 _state->nr_cbufs, in galahad_context_set_framebuffer_state() 524 for(i = 0; i < _state->nr_cbufs; i++) in galahad_context_set_framebuffer_state()
|