/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_gmem.c | 207 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd4_emit_tile_gmem2mem() local 245 OUT_RING(ring, A4XX_GRAS_CL_VPORT_XOFFSET_0((float)pfb->width / 2.0)); in fd4_emit_tile_gmem2mem() 246 OUT_RING(ring, A4XX_GRAS_CL_VPORT_XSCALE_0((float)pfb->width / 2.0)); in fd4_emit_tile_gmem2mem() 247 OUT_RING(ring, A4XX_GRAS_CL_VPORT_YOFFSET_0((float)pfb->height / 2.0)); in fd4_emit_tile_gmem2mem() 248 OUT_RING(ring, A4XX_GRAS_CL_VPORT_YSCALE_0(-(float)pfb->height / 2.0)); in fd4_emit_tile_gmem2mem() 268 OUT_RING(ring, A4XX_GRAS_SC_WINDOW_SCISSOR_BR_X(pfb->width - 1) | in fd4_emit_tile_gmem2mem() 269 A4XX_GRAS_SC_WINDOW_SCISSOR_BR_Y(pfb->height - 1)); in fd4_emit_tile_gmem2mem() 281 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd4_emit_tile_gmem2mem() 283 emit_gmem2mem_surf(batch, false, gmem->zsbuf_base[0], pfb->zsbuf); in fd4_emit_tile_gmem2mem() 285 emit_gmem2mem_surf(batch, true, gmem->zsbuf_base[1], pfb->zsbuf); in fd4_emit_tile_gmem2mem() [all …]
|
D | fd4_emit.c | 526 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd4_emit_state() local 530 mrt_comp[i] = ((i < pfb->nr_cbufs) && pfb->cbufs[i]) ? 0xf : 0; in fd4_emit_state() 546 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd4_emit_state() local 549 if (util_format_is_pure_integer(pipe_surface_format(pfb->cbufs[0]))) in fd4_emit_state() 699 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd4_emit_state() local 700 unsigned n = pfb->nr_cbufs; in fd4_emit_state() 702 if (pfb->zsbuf) in fd4_emit_state() 704 fd4_program_emit(ring, emit, n, pfb->cbufs); in fd4_emit_state()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_gmem.c | 382 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd3_emit_tile_gmem2mem() local 423 OUT_RING(ring, A3XX_GRAS_CL_VPORT_XOFFSET((float)pfb->width / 2.0 - 0.5)); in fd3_emit_tile_gmem2mem() 424 OUT_RING(ring, A3XX_GRAS_CL_VPORT_XSCALE((float)pfb->width / 2.0)); in fd3_emit_tile_gmem2mem() 425 OUT_RING(ring, A3XX_GRAS_CL_VPORT_YOFFSET((float)pfb->height / 2.0 - 0.5)); in fd3_emit_tile_gmem2mem() 426 OUT_RING(ring, A3XX_GRAS_CL_VPORT_YSCALE(-(float)pfb->height / 2.0)); in fd3_emit_tile_gmem2mem() 457 OUT_RING(ring, A3XX_GRAS_SC_WINDOW_SCISSOR_BR_X(pfb->width - 1) | in fd3_emit_tile_gmem2mem() 458 A3XX_GRAS_SC_WINDOW_SCISSOR_BR_Y(pfb->height - 1)); in fd3_emit_tile_gmem2mem() 470 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd3_emit_tile_gmem2mem() 473 gmem->zsbuf_base[0], pfb->zsbuf); in fd3_emit_tile_gmem2mem() 476 gmem->zsbuf_base[1], pfb->zsbuf); in fd3_emit_tile_gmem2mem() [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_draw.c | 65 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in batch_draw_tracking_for_dirty_bits() local 70 if (fd_resource(pfb->zsbuf->texture)->valid) { in batch_draw_tracking_for_dirty_bits() 75 if (pfb->zsbuf->texture->format == PIPE_FORMAT_Z24_UNORM_S8_UINT) in batch_draw_tracking_for_dirty_bits() 83 resource_written(batch, pfb->zsbuf->texture); in batch_draw_tracking_for_dirty_bits() 85 resource_read(batch, pfb->zsbuf->texture); in batch_draw_tracking_for_dirty_bits() 90 if (fd_resource(pfb->zsbuf->texture)->valid) { in batch_draw_tracking_for_dirty_bits() 95 if (pfb->zsbuf->texture->format == PIPE_FORMAT_Z24_UNORM_S8_UINT) in batch_draw_tracking_for_dirty_bits() 102 resource_written(batch, pfb->zsbuf->texture); in batch_draw_tracking_for_dirty_bits() 107 for (unsigned i = 0; i < pfb->nr_cbufs; i++) { in batch_draw_tracking_for_dirty_bits() 110 if (!pfb->cbufs[i]) in batch_draw_tracking_for_dirty_bits() [all …]
|
D | freedreno_gmem.c | 462 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in gmem_key_init() local 463 bool has_zs = pfb->zsbuf && in gmem_key_init() 469 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in gmem_key_init() 479 key->nr_cbufs = pfb->nr_cbufs; in gmem_key_init() 480 for (unsigned i = 0; i < pfb->nr_cbufs; i++) { in gmem_key_init() 481 if (pfb->cbufs[i]) in gmem_key_init() 482 key->cbuf_cpp[i] = util_format_get_blocksize(pfb->cbufs[i]->format); in gmem_key_init() 486 key->cbuf_cpp[i] *= pfb->samples; in gmem_key_init() 495 key->width = pfb->width; in gmem_key_init() 496 key->height = pfb->height; in gmem_key_init() [all …]
|
D | freedreno_blitter.c | 193 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd_blitter_clear() local 204 util_blitter_common_clear_setup(blitter, pfb->width, pfb->height, buffers, in fd_blitter_clear() 216 unsigned rs_idx = pfb->samples > 1 ? 1 : 0; in fd_blitter_clear() 225 .multisample = pfb->samples > 1, in fd_blitter_clear() 232 .scale = {0.5f * pfb->width, -0.5f * pfb->height, depth}, in fd_blitter_clear() 233 .translate = {0.5f * pfb->width, 0.5f * pfb->height, 0.0f}, in fd_blitter_clear() 242 if (pfb->layers > 1) in fd_blitter_clear() 260 .instance_count = MAX2(1, pfb->layers), in fd_blitter_clear() 269 assert(util_framebuffer_state_equal(pfb, &ctx->framebuffer)); in fd_blitter_clear()
|
D | freedreno_batch_cache.c | 497 const struct pipe_framebuffer_state *pfb) in fd_batch_from_fb() argument 499 unsigned idx = 0, n = pfb->nr_cbufs + (pfb->zsbuf ? 1 : 0); in fd_batch_from_fb() 502 key->width = pfb->width; in fd_batch_from_fb() 503 key->height = pfb->height; in fd_batch_from_fb() 504 key->layers = pfb->layers; in fd_batch_from_fb() 505 key->samples = util_framebuffer_get_num_samples(pfb); in fd_batch_from_fb() 508 if (pfb->zsbuf) in fd_batch_from_fb() 509 key_surf(key, idx++, 0, pfb->zsbuf); in fd_batch_from_fb() 511 for (unsigned i = 0; i < pfb->nr_cbufs; i++) in fd_batch_from_fb() 512 if (pfb->cbufs[i]) in fd_batch_from_fb() [all …]
|
D | freedreno_autotune.c | 158 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fallback_use_bypass() local 162 (batch->num_draws > 5) || (pfb->samples > 1)) { in fallback_use_bypass() 176 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd_autotune_use_bypass() local 189 for (unsigned i = 0; i < pfb->nr_cbufs; i++) { in fd_autotune_use_bypass() 194 if (pfb->cbufs[i] && pfb->cbufs[i]->nr_samples) in fd_autotune_use_bypass()
|
D | freedreno_util.h | 311 fd_half_precision(struct pipe_framebuffer_state *pfb) in fd_half_precision() argument 315 for (i = 0; i < pfb->nr_cbufs; i++) in fd_half_precision() 316 if (!fd_surface_half_precision(pfb->cbufs[i])) in fd_half_precision()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_trace_gallium.c | 77 trace_framebuffer_state(struct u_trace *ut, void *cs, const struct pipe_framebuffer_state *pfb) in trace_framebuffer_state() argument 82 trace_framebuffer(ut, cs, pfb); in trace_framebuffer_state() 84 for (unsigned i = 0; i < pfb->nr_cbufs; i++) { in trace_framebuffer_state() 85 if (pfb->cbufs[i]) { in trace_framebuffer_state() 86 trace_surface(ut, cs, pfb->cbufs[i]); in trace_framebuffer_state() 89 if (pfb->zsbuf) { in trace_framebuffer_state() 90 trace_surface(ut, cs, pfb->zsbuf); in trace_framebuffer_state()
|
D | u_trace_gallium.h | 51 trace_framebuffer_state(struct u_trace *ut, void *cs, const struct pipe_framebuffer_state *pfb);
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_gmem.c | 75 emit_mrt(struct fd_ringbuffer *ring, struct pipe_framebuffer_state *pfb, in emit_mrt() argument 83 for (i = 0; i < pfb->nr_cbufs; i++) { in emit_mrt() 92 if (!pfb->cbufs[i]) in emit_mrt() 95 struct pipe_surface *psurf = pfb->cbufs[i]; in emit_mrt() 252 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in patch_fb_read_gmem() local 253 struct pipe_surface *psurf = pfb->cbufs[0]; in patch_fb_read_gmem() 282 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in patch_fb_read_sysmem() local 283 struct pipe_surface *psurf = pfb->cbufs[0]; in patch_fb_read_sysmem() 332 update_render_cntl(struct fd_batch *batch, struct pipe_framebuffer_state *pfb, in update_render_cntl() argument 342 if (pfb->zsbuf) { in update_render_cntl() [all …]
|
D | fd6_context.c | 127 const struct pipe_framebuffer_state *pfb) in fd6_set_framebuffer_state() argument 130 if (pfb->zsbuf) in fd6_set_framebuffer_state() 131 validate_surface(pctx, pfb->zsbuf); in fd6_set_framebuffer_state() 133 for (unsigned i = 0; i < pfb->nr_cbufs; i++) { in fd6_set_framebuffer_state() 134 if (!pfb->cbufs[i]) in fd6_set_framebuffer_state() 136 validate_surface(pctx, pfb->cbufs[i]); in fd6_set_framebuffer_state() 139 fd_set_framebuffer_state(pctx, pfb); in fd6_set_framebuffer_state()
|
D | fd6_emit.c | 249 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd6_emit_fb_tex() local 250 struct pipe_surface *psurf = pfb->cbufs[0]; in fd6_emit_fb_tex() 254 OUT_RING(state, A6XX_TEX_CONST_1_WIDTH(pfb->width) | in fd6_emit_fb_tex() 255 A6XX_TEX_CONST_1_HEIGHT(pfb->height)); in fd6_emit_fb_tex() 586 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in compute_ztest_mode() local 597 (zsa->writes_zs || !pfb->zsbuf)) { in compute_ztest_mode() 619 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in compute_lrz_state() local 623 if (!pfb->zsbuf) { in compute_lrz_state() 633 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in compute_lrz_state() 750 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in build_prog_fb_rast() local [all …]
|
D | fd6_draw.c | 504 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd6_clear() local 505 const bool has_depth = pfb->zsbuf; in fd6_clear() 509 if (pfb->samples > 1) in fd6_clear() 529 struct fd_resource *zsbuf = fd_resource(pfb->zsbuf->texture); in fd6_clear() 530 if (zsbuf->lrz && !is_z32(pfb->zsbuf->format)) { in fd6_clear()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_gmem.c | 366 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd5_emit_tile_init() local 392 emit_zs(ring, pfb->zsbuf, batch->gmem_state); in fd5_emit_tile_init() 393 emit_mrt(ring, pfb->nr_cbufs, pfb->cbufs, batch->gmem_state); in fd5_emit_tile_init() 536 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd5_emit_tile_mem2gmem() local 542 emit_mrt(ring, pfb->nr_cbufs, pfb->cbufs, NULL); in fd5_emit_tile_mem2gmem() 551 for (i = 0; i < pfb->nr_cbufs; i++) { in fd5_emit_tile_mem2gmem() 552 if (!pfb->cbufs[i]) in fd5_emit_tile_mem2gmem() 556 emit_mem2gmem_surf(batch, gmem->cbuf_base[i], pfb->cbufs[i], in fd5_emit_tile_mem2gmem() 563 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd5_emit_tile_mem2gmem() 566 emit_mem2gmem_surf(batch, gmem->zsbuf_base[0], pfb->zsbuf, BLIT_ZS); in fd5_emit_tile_mem2gmem() [all …]
|
D | fd5_draw.c | 244 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd5_clear() local 247 is_z32(pfb->zsbuf->format)) in fd5_clear() 253 for (int i = 0; i < pfb->nr_cbufs; i++) { in fd5_clear() 256 if (!pfb->cbufs[i]) in fd5_clear() 262 enum pipe_format pfmt = pfb->cbufs[i]->format; in fd5_clear() 312 if (pfb->zsbuf && (buffers & (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL))) { in fd5_clear() 313 uint32_t clear = util_pack_z_stencil(pfb->zsbuf->format, depth, stencil); in fd5_clear() 334 if (pfb->zsbuf && (buffers & PIPE_CLEAR_DEPTH)) { in fd5_clear() 335 struct fd_resource *zsbuf = fd_resource(pfb->zsbuf->texture); in fd5_clear()
|
D | fd5_emit.c | 535 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd5_emit_state() local 547 mrt_comp[i] = ((i < pfb->nr_cbufs) && pfb->cbufs[i]) ? 0xf : 0; in fd5_emit_state() 565 if (util_format_is_pure_integer(pipe_surface_format(pfb->cbufs[0]))) in fd5_emit_state() 579 if (pfb->zsbuf) { in fd5_emit_state() 580 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd5_emit_state() 670 A5XX_GRAS_SU_CNTL_LINE_MODE(pfb->samples > 1 ? in fd5_emit_state() 712 unsigned nr = pfb->nr_cbufs; in fd5_emit_state() 800 enum pipe_format format = pipe_surface_format(pfb->cbufs[i]); in fd5_emit_state()
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_blend.c | 125 struct pipe_framebuffer_state *pfb = &ctx->framebuffer_s; in etna_update_blend() local 132 if (pfb->cbufs[0] && in etna_update_blend() 133 translate_pe_format_rb_swap(pfb->cbufs[0]->format)) { in etna_update_blend() 147 if (pfb->cbufs[0]) in etna_update_blend() 148 desc = util_format_description(pfb->cbufs[0]->format); in etna_update_blend() 149 bool full_overwrite = !pfb->cbufs[0] || ((blend->fo_allowed && in etna_update_blend() 172 struct pipe_framebuffer_state *pfb = &ctx->framebuffer_s; in etna_update_blend_color() local 174 bool rb_swap = (pfb->cbufs[0] && translate_pe_format_rb_swap(pfb->cbufs[0]->format)); in etna_update_blend_color()
|
D | etnaviv_context.c | 243 struct pipe_framebuffer_state *pfb = &ctx->framebuffer_s; in etna_draw_vbo() local 304 if (pfb->cbufs[0]) in etna_draw_vbo() 305 key.frag_rb_swap = !!translate_pe_format_rb_swap(pfb->cbufs[0]->format); in etna_draw_vbo() 322 resource_written(ctx, pfb->zsbuf->texture); in etna_draw_vbo() 325 resource_written(ctx, pfb->zsbuf->texture); in etna_draw_vbo() 327 for (i = 0; i < pfb->nr_cbufs; i++) { in etna_draw_vbo() 330 if (!pfb->cbufs[i]) in etna_draw_vbo() 333 surf = pfb->cbufs[i]->texture; in etna_draw_vbo()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_gmem.c | 141 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in prepare_tile_fini_ib() local 189 OUT_RING(ring, xy2d(pfb->width, pfb->height)); /* PA_SC_WINDOW_SCISSOR_BR */ in prepare_tile_fini_ib() 207 emit_gmem2mem_surf(batch, gmem->zsbuf_base[0], pfb->zsbuf); in prepare_tile_fini_ib() 210 emit_gmem2mem_surf(batch, gmem->cbuf_base[0], pfb->cbufs[0]); in prepare_tile_fini_ib() 287 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd2_emit_tile_mem2gmem() local 301 x0 = ((float)tile->xoff) / ((float)pfb->width); in fd2_emit_tile_mem2gmem() 302 x1 = ((float)tile->xoff + bin_w) / ((float)pfb->width); in fd2_emit_tile_mem2gmem() 303 y0 = ((float)tile->yoff) / ((float)pfb->height); in fd2_emit_tile_mem2gmem() 304 y1 = ((float)tile->yoff + bin_h) / ((float)pfb->height); in fd2_emit_tile_mem2gmem() 381 emit_mem2gmem_surf(batch, gmem->zsbuf_base[0], pfb->zsbuf); in fd2_emit_tile_mem2gmem() [all …]
|
D | fd2_draw.c | 435 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd2_clear_fast() local 437 enum pipe_format format = pipe_surface_format(pfb->cbufs[0]); in fd2_clear_fast() 453 if ((pfb->zsbuf->format == PIPE_FORMAT_Z24_UNORM_S8_UINT || in fd2_clear_fast() 454 pfb->zsbuf->format == PIPE_FORMAT_S8_UINT_Z24_UNORM) && in fd2_clear_fast() 458 depth_size = fd_pipe2depth(pfb->zsbuf->format) == DEPTHX_24_8; in fd2_clear_fast()
|
/third_party/skia/third_party/externals/freetype/src/type1/ |
D | module.mk | 20 $(ECHO_DRIVER)type1 $(ECHO_DRIVER_DESC)Postscript font files with extension *.pfa or *.pfb$(ECH…
|
/third_party/flutter/skia/third_party/externals/freetype/src/type1/ |
D | module.mk | 20 $(ECHO_DRIVER)type1 $(ECHO_DRIVER_DESC)Postscript font files with extension *.pfa or *.pfb$(ECH…
|
/third_party/freetype/src/type1/ |
D | module.mk | 20 $(ECHO_DRIVER)type1 $(ECHO_DRIVER_DESC)Postscript font files with extension *.pfa or *.pfb$(ECH…
|