/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_gmem.c | 192 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd4_emit_tile_gmem2mem() local 232 OUT_RING(ring, A4XX_GRAS_CL_VPORT_XOFFSET_0((float)pfb->width/2.0)); in fd4_emit_tile_gmem2mem() 233 OUT_RING(ring, A4XX_GRAS_CL_VPORT_XSCALE_0((float)pfb->width/2.0)); in fd4_emit_tile_gmem2mem() 234 OUT_RING(ring, A4XX_GRAS_CL_VPORT_YOFFSET_0((float)pfb->height/2.0)); in fd4_emit_tile_gmem2mem() 235 OUT_RING(ring, A4XX_GRAS_CL_VPORT_YSCALE_0(-(float)pfb->height/2.0)); in fd4_emit_tile_gmem2mem() 256 OUT_RING(ring, A4XX_GRAS_SC_WINDOW_SCISSOR_BR_X(pfb->width - 1) | in fd4_emit_tile_gmem2mem() 257 A4XX_GRAS_SC_WINDOW_SCISSOR_BR_Y(pfb->height - 1)); in fd4_emit_tile_gmem2mem() 269 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd4_emit_tile_gmem2mem() 271 emit_gmem2mem_surf(batch, false, gmem->zsbuf_base[0], pfb->zsbuf); in fd4_emit_tile_gmem2mem() 273 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() 694 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd4_emit_state() local 695 unsigned n = pfb->nr_cbufs; in fd4_emit_state() 697 if (pfb->zsbuf) in fd4_emit_state() 699 fd4_program_emit(ring, emit, n, pfb->cbufs); in fd4_emit_state()
|
/external/igt-gpu-tools/tests/ |
D | kms_plane_cursor.c | 117 static void test_cursor_pos(data_t *data, igt_fb_t *pfb, igt_fb_t *ofb, in test_cursor_pos() argument 125 cr = igt_get_cairo_ctx(pfb->fd, pfb); in test_cursor_pos() 126 igt_paint_color(cr, 0, 0, pfb->width, pfb->height, 1.0, 1.0, 1.0); in test_cursor_pos() 132 igt_put_cairo_ctx(pfb->fd, pfb, cr); in test_cursor_pos() 141 draw_color(pfb, 1.0, 1.0, 1.0); in test_cursor_pos() 168 static void test_cursor_spots(data_t *data, igt_fb_t *pfb, igt_fb_t *ofb, in test_cursor_spots() argument 196 test_cursor_pos(data, pfb, ofb, cfb, or, pos[i].x, pos[i].y); in test_cursor_spots() 206 igt_fb_t pfb, ofb, cfb; in test_cursor_overlay() local 216 1.0, 1.0, 1.0, &pfb); in test_cursor_overlay() 224 igt_plane_set_fb(data->primary, &pfb); in test_cursor_overlay() [all …]
|
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_gmem.c | 360 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd3_emit_tile_gmem2mem() local 399 OUT_RING(ring, A3XX_GRAS_CL_VPORT_XOFFSET((float)pfb->width/2.0 - 0.5)); in fd3_emit_tile_gmem2mem() 400 OUT_RING(ring, A3XX_GRAS_CL_VPORT_XSCALE((float)pfb->width/2.0)); in fd3_emit_tile_gmem2mem() 401 OUT_RING(ring, A3XX_GRAS_CL_VPORT_YOFFSET((float)pfb->height/2.0 - 0.5)); in fd3_emit_tile_gmem2mem() 402 OUT_RING(ring, A3XX_GRAS_CL_VPORT_YSCALE(-(float)pfb->height/2.0)); in fd3_emit_tile_gmem2mem() 431 OUT_RING(ring, A3XX_GRAS_SC_WINDOW_SCISSOR_BR_X(pfb->width - 1) | in fd3_emit_tile_gmem2mem() 432 A3XX_GRAS_SC_WINDOW_SCISSOR_BR_Y(pfb->height - 1)); in fd3_emit_tile_gmem2mem() 444 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd3_emit_tile_gmem2mem() 447 gmem->zsbuf_base[0], pfb->zsbuf); in fd3_emit_tile_gmem2mem() 450 gmem->zsbuf_base[1], pfb->zsbuf); in fd3_emit_tile_gmem2mem() [all …]
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_draw.c | 65 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in batch_draw_tracking() local 81 if (fd_resource(pfb->zsbuf->texture)->valid) { in batch_draw_tracking() 89 resource_written(batch, pfb->zsbuf->texture); in batch_draw_tracking() 91 resource_read(batch, pfb->zsbuf->texture); in batch_draw_tracking() 96 if (fd_resource(pfb->zsbuf->texture)->valid) { in batch_draw_tracking() 103 resource_written(batch, pfb->zsbuf->texture); in batch_draw_tracking() 110 for (unsigned i = 0; i < pfb->nr_cbufs; i++) { in batch_draw_tracking() 113 if (!pfb->cbufs[i]) in batch_draw_tracking() 116 surf = pfb->cbufs[i]->texture; in batch_draw_tracking() 130 resource_written(batch, pfb->cbufs[i]->texture); in batch_draw_tracking() [all …]
|
D | freedreno_gmem.c | 458 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in gmem_key_init() local 459 bool has_zs = pfb->zsbuf && !!(batch->gmem_reason & (FD_GMEM_DEPTH_ENABLED | in gmem_key_init() 464 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in gmem_key_init() 474 key->nr_cbufs = pfb->nr_cbufs; in gmem_key_init() 475 for (unsigned i = 0; i < pfb->nr_cbufs; i++) { in gmem_key_init() 476 if (pfb->cbufs[i]) in gmem_key_init() 477 key->cbuf_cpp[i] = util_format_get_blocksize(pfb->cbufs[i]->format); in gmem_key_init() 481 key->cbuf_cpp[i] *= pfb->samples; in gmem_key_init() 490 key->width = pfb->width; in gmem_key_init() 491 key->height = pfb->height; in gmem_key_init() [all …]
|
D | freedreno_batch_cache.c | 467 const struct pipe_framebuffer_state *pfb) in fd_batch_from_fb() argument 469 unsigned idx = 0, n = pfb->nr_cbufs + (pfb->zsbuf ? 1 : 0); in fd_batch_from_fb() 472 key->width = pfb->width; in fd_batch_from_fb() 473 key->height = pfb->height; in fd_batch_from_fb() 474 key->layers = pfb->layers; in fd_batch_from_fb() 475 key->samples = util_framebuffer_get_num_samples(pfb); in fd_batch_from_fb() 478 if (pfb->zsbuf) in fd_batch_from_fb() 479 key_surf(key, idx++, 0, pfb->zsbuf); in fd_batch_from_fb() 481 for (unsigned i = 0; i < pfb->nr_cbufs; i++) in fd_batch_from_fb() 482 if (pfb->cbufs[i]) in fd_batch_from_fb() [all …]
|
D | freedreno_blitter.c | 178 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd_blitter_clear() local 186 util_blitter_common_clear_setup(blitter, pfb->width, pfb->height, in fd_blitter_clear() 200 unsigned rs_idx = pfb->samples > 1 ? 1 : 0; in fd_blitter_clear() 209 .multisample = pfb->samples > 1, in fd_blitter_clear() 216 .scale = { 0.5f * pfb->width, -0.5f * pfb->height, depth }, in fd_blitter_clear() 217 .translate = { 0.5f * pfb->width, 0.5f * pfb->height, 0.0f }, in fd_blitter_clear() 244 assert(util_framebuffer_state_equal(pfb, &ctx->framebuffer)); in fd_blitter_clear()
|
D | freedreno_util.h | 195 fd_half_precision(struct pipe_framebuffer_state *pfb) in fd_half_precision() argument 199 for (i = 0; i < pfb->nr_cbufs; i++) in fd_half_precision() 200 if (!fd_surface_half_precision(pfb->cbufs[i])) in fd_half_precision()
|
D | freedreno_batch_cache.h | 76 struct fd_context *ctx, const struct pipe_framebuffer_state *pfb);
|
D | freedreno_resource.c | 1191 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd_invalidate_resource() local 1193 if (pfb->zsbuf && pfb->zsbuf->texture == prsc) { in fd_invalidate_resource() 1198 for (unsigned i = 0; i < pfb->nr_cbufs; i++) { in fd_invalidate_resource() 1199 if (pfb->cbufs[i] && pfb->cbufs[i]->texture == prsc) { in fd_invalidate_resource()
|
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_gmem.c | 73 emit_mrt(struct fd_ringbuffer *ring, struct pipe_framebuffer_state *pfb, in emit_mrt() argument 82 for (i = 0; i < pfb->nr_cbufs; i++) { in emit_mrt() 92 if (!pfb->cbufs[i]) in emit_mrt() 97 struct pipe_surface *psurf = pfb->cbufs[i]; in emit_mrt() 277 update_render_cntl(struct fd_batch *batch, struct pipe_framebuffer_state *pfb, bool binning) in update_render_cntl() argument 285 if (pfb->zsbuf) { in update_render_cntl() 286 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in update_render_cntl() 287 depth_ubwc_enable = fd_resource_ubwc_enabled(rsc, pfb->zsbuf->u.tex.level); in update_render_cntl() 290 for (i = 0; i < pfb->nr_cbufs; i++) { in update_render_cntl() 291 if (!pfb->cbufs[i]) in update_render_cntl() [all …]
|
D | fd6_emit.c | 248 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd6_emit_fb_tex() local 249 struct pipe_surface *psurf = pfb->cbufs[0]; in fd6_emit_fb_tex() 261 OUT_RING(state, A6XX_TEX_CONST_1_WIDTH(pfb->width) | in fd6_emit_fb_tex() 262 A6XX_TEX_CONST_1_HEIGHT(pfb->height)); in fd6_emit_fb_tex() 583 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in compute_ztest_mode() local 593 (zsa->base.depth.writemask || !pfb->zsbuf)) { in compute_ztest_mode() 615 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in compute_lrz_state() local 619 if (!pfb->zsbuf) { in compute_lrz_state() 629 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in compute_lrz_state() 789 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd6_emit_state() local [all …]
|
D | fd6_draw.c | 478 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd6_clear() local 479 const bool has_depth = pfb->zsbuf; in fd6_clear() 483 if (pfb->samples > 1) in fd6_clear() 503 struct fd_resource *zsbuf = fd_resource(pfb->zsbuf->texture); in fd6_clear() 504 if (zsbuf->lrz && !is_z32(pfb->zsbuf->format)) { in fd6_clear()
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_gmem.c | 368 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd5_emit_tile_init() local 394 emit_zs(ring, pfb->zsbuf, batch->gmem_state); in fd5_emit_tile_init() 395 emit_mrt(ring, pfb->nr_cbufs, pfb->cbufs, batch->gmem_state); in fd5_emit_tile_init() 526 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd5_emit_tile_mem2gmem() local 532 emit_mrt(ring, pfb->nr_cbufs, pfb->cbufs, NULL); in fd5_emit_tile_mem2gmem() 542 for (i = 0; i < pfb->nr_cbufs; i++) { in fd5_emit_tile_mem2gmem() 543 if (!pfb->cbufs[i]) in fd5_emit_tile_mem2gmem() 548 pfb->cbufs[i], BLIT_MRT0 + i); in fd5_emit_tile_mem2gmem() 553 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd5_emit_tile_mem2gmem() 556 emit_mem2gmem_surf(batch, gmem->zsbuf_base[0], pfb->zsbuf, BLIT_ZS); in fd5_emit_tile_mem2gmem() [all …]
|
D | fd5_draw.c | 262 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd5_clear() local 265 is_z32(pfb->zsbuf->format)) in fd5_clear() 271 for (int i = 0; i < pfb->nr_cbufs; i++) { in fd5_clear() 274 if (!pfb->cbufs[i]) in fd5_clear() 280 enum pipe_format pfmt = pfb->cbufs[i]->format; in fd5_clear() 330 if (pfb->zsbuf && (buffers & (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL))) { in fd5_clear() 332 util_pack_z_stencil(pfb->zsbuf->format, depth, stencil); in fd5_clear() 353 if (pfb->zsbuf && (buffers & PIPE_CLEAR_DEPTH)) { in fd5_clear() 354 struct fd_resource *zsbuf = fd_resource(pfb->zsbuf->texture); in fd5_clear()
|
D | fd5_emit.c | 524 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd5_emit_state() local 536 mrt_comp[i] = ((i < pfb->nr_cbufs) && pfb->cbufs[i]) ? 0xf : 0; in fd5_emit_state() 554 if (util_format_is_pure_integer(pipe_surface_format(pfb->cbufs[0]))) in fd5_emit_state() 568 if (pfb->zsbuf) { in fd5_emit_state() 569 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd5_emit_state() 653 COND(pfb->samples > 1, A5XX_GRAS_SU_CNTL_MSAA_ENABLE)); in fd5_emit_state() 693 unsigned nr = pfb->nr_cbufs; in fd5_emit_state() 749 enum pipe_format format = pipe_surface_format(pfb->cbufs[i]); in fd5_emit_state()
|
/external/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 | 230 struct pipe_framebuffer_state *pfb = &ctx->framebuffer_s; in etna_draw_vbo() local 296 if (pfb->cbufs[0]) in etna_draw_vbo() 297 key.frag_rb_swap = !!translate_pe_format_rb_swap(pfb->cbufs[0]->format); in etna_draw_vbo() 314 resource_written(ctx, pfb->zsbuf->texture); in etna_draw_vbo() 317 resource_written(ctx, pfb->zsbuf->texture); in etna_draw_vbo() 319 for (i = 0; i < pfb->nr_cbufs; i++) { in etna_draw_vbo() 322 if (!pfb->cbufs[i]) in etna_draw_vbo() 325 surf = pfb->cbufs[i]->texture; in etna_draw_vbo()
|
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_gmem.c | 140 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in prepare_tile_fini_ib() local 184 OUT_RING(ring, xy2d(pfb->width, pfb->height)); /* PA_SC_WINDOW_SCISSOR_BR */ in prepare_tile_fini_ib() 202 emit_gmem2mem_surf(batch, gmem->zsbuf_base[0], pfb->zsbuf); in prepare_tile_fini_ib() 205 emit_gmem2mem_surf(batch, gmem->cbuf_base[0], pfb->cbufs[0]); in prepare_tile_fini_ib() 282 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd2_emit_tile_mem2gmem() local 293 x0 = ((float)tile->xoff) / ((float)pfb->width); in fd2_emit_tile_mem2gmem() 294 x1 = ((float)tile->xoff + bin_w) / ((float)pfb->width); in fd2_emit_tile_mem2gmem() 295 y0 = ((float)tile->yoff) / ((float)pfb->height); in fd2_emit_tile_mem2gmem() 296 y1 = ((float)tile->yoff + bin_h) / ((float)pfb->height); in fd2_emit_tile_mem2gmem() 373 emit_mem2gmem_surf(batch, gmem->zsbuf_base[0], pfb->zsbuf); in fd2_emit_tile_mem2gmem() [all …]
|
D | fd2_draw.c | 418 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd2_clear_fast() local 420 enum pipe_format format = pipe_surface_format(pfb->cbufs[0]); in fd2_clear_fast() 436 if ((pfb->zsbuf->format == PIPE_FORMAT_Z24_UNORM_S8_UINT || in fd2_clear_fast() 437 pfb->zsbuf->format == PIPE_FORMAT_S8_UINT_Z24_UNORM) && in fd2_clear_fast() 441 depth_size = fd_pipe2depth(pfb->zsbuf->format) == DEPTHX_24_8; in fd2_clear_fast()
|
/external/freetype/src/type1/ |
D | module.mk | 20 $(ECHO_DRIVER)type1 $(ECHO_DRIVER_DESC)Postscript font files with extension *.pfa or *.pfb$(ECH…
|
/external/fonttools/ |
D | .gitattributes | 11 *.pfb binary
|
D | MANIFEST.in | 39 recursive-include Tests *.lwfn *.pfa *.pfb
|
/external/llvm-project/clang/test/Analysis/ |
D | pointer-to-member.cpp | 161 int B::* pfb = &B::f; in foo() local 162 int D::* pfd = pfb; in foo()
|