Home
last modified time | relevance | path

Searched refs:pfb (Results 1 – 25 of 33) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_gmem.c194 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd4_emit_tile_gmem2mem() local
237 OUT_RING(ring, A4XX_GRAS_CL_VPORT_XOFFSET_0((float)pfb->width/2.0)); in fd4_emit_tile_gmem2mem()
238 OUT_RING(ring, A4XX_GRAS_CL_VPORT_XSCALE_0((float)pfb->width/2.0)); in fd4_emit_tile_gmem2mem()
239 OUT_RING(ring, A4XX_GRAS_CL_VPORT_YOFFSET_0((float)pfb->height/2.0)); in fd4_emit_tile_gmem2mem()
240 OUT_RING(ring, A4XX_GRAS_CL_VPORT_YSCALE_0(-(float)pfb->height/2.0)); in fd4_emit_tile_gmem2mem()
261 OUT_RING(ring, A4XX_GRAS_SC_WINDOW_SCISSOR_BR_X(pfb->width - 1) | in fd4_emit_tile_gmem2mem()
262 A4XX_GRAS_SC_WINDOW_SCISSOR_BR_Y(pfb->height - 1)); in fd4_emit_tile_gmem2mem()
274 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd4_emit_tile_gmem2mem()
276 emit_gmem2mem_surf(batch, false, ctx->gmem.zsbuf_base[0], pfb->zsbuf); in fd4_emit_tile_gmem2mem()
278 emit_gmem2mem_surf(batch, true, ctx->gmem.zsbuf_base[1], pfb->zsbuf); in fd4_emit_tile_gmem2mem()
[all …]
Dfd4_emit.c509 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd4_emit_state() local
513 mrt_comp[i] = ((i < pfb->nr_cbufs) && pfb->cbufs[i]) ? 0xf : 0; in fd4_emit_state()
529 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd4_emit_state() local
532 if (util_format_is_pure_integer(pipe_surface_format(pfb->cbufs[0]))) in fd4_emit_state()
673 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd4_emit_state() local
674 unsigned n = pfb->nr_cbufs; in fd4_emit_state()
676 if (pfb->zsbuf) in fd4_emit_state()
678 fd4_program_emit(ring, emit, n, pfb->cbufs); in fd4_emit_state()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_gmem.c360 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd3_emit_tile_gmem2mem() local
402 OUT_RING(ring, A3XX_GRAS_CL_VPORT_XOFFSET((float)pfb->width/2.0 - 0.5)); in fd3_emit_tile_gmem2mem()
403 OUT_RING(ring, A3XX_GRAS_CL_VPORT_XSCALE((float)pfb->width/2.0)); in fd3_emit_tile_gmem2mem()
404 OUT_RING(ring, A3XX_GRAS_CL_VPORT_YOFFSET((float)pfb->height/2.0 - 0.5)); in fd3_emit_tile_gmem2mem()
405 OUT_RING(ring, A3XX_GRAS_CL_VPORT_YSCALE(-(float)pfb->height/2.0)); in fd3_emit_tile_gmem2mem()
434 OUT_RING(ring, A3XX_GRAS_SC_WINDOW_SCISSOR_BR_X(pfb->width - 1) | in fd3_emit_tile_gmem2mem()
435 A3XX_GRAS_SC_WINDOW_SCISSOR_BR_Y(pfb->height - 1)); in fd3_emit_tile_gmem2mem()
447 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd3_emit_tile_gmem2mem()
450 ctx->gmem.zsbuf_base[0], pfb->zsbuf); in fd3_emit_tile_gmem2mem()
453 ctx->gmem.zsbuf_base[1], pfb->zsbuf); in fd3_emit_tile_gmem2mem()
[all …]
Dfd3_emit.c702 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd3_emit_state() local
703 int nr_cbufs = pfb->nr_cbufs; in fd3_emit_state()
707 fd3_program_emit(ring, emit, nr_cbufs, pfb->cbufs); in fd3_emit_state()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_draw.c66 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd_draw_vbo() local
140 if (fd_resource(pfb->zsbuf->texture)->valid) in fd_draw_vbo()
143 resource_written(batch, pfb->zsbuf->texture); in fd_draw_vbo()
148 if (fd_resource(pfb->zsbuf->texture)->valid) in fd_draw_vbo()
151 resource_written(batch, pfb->zsbuf->texture); in fd_draw_vbo()
158 for (i = 0; i < pfb->nr_cbufs; i++) { in fd_draw_vbo()
161 if (!pfb->cbufs[i]) in fd_draw_vbo()
164 surf = pfb->cbufs[i]->texture; in fd_draw_vbo()
253 pfb->width, pfb->height, batch->num_draws, in fd_draw_vbo()
254 util_format_short_name(pipe_surface_format(pfb->cbufs[0])), in fd_draw_vbo()
[all …]
Dfreedreno_gmem.c112 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in calculate_tiles() local
128 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in calculate_tiles()
133 for (i = 0; i < pfb->nr_cbufs; i++) { in calculate_tiles()
134 if (pfb->cbufs[i]) in calculate_tiles()
135 cbuf_cpp[i] = util_format_get_blocksize(pfb->cbufs[i]->format); in calculate_tiles()
150 width = pfb->width; in calculate_tiles()
151 height = pfb->height; in calculate_tiles()
173 for (i = 0; i < pfb->nr_cbufs; i++) in calculate_tiles()
391 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd_gmem_render_tiles() local
404 if ((pfb->nr_cbufs == 0) && !pfb->zsbuf) { in fd_gmem_render_tiles()
[all …]
Dfreedreno_batch_cache.c393 const struct pipe_framebuffer_state *pfb) in fd_batch_from_fb() argument
395 unsigned idx = 0, n = pfb->nr_cbufs + (pfb->zsbuf ? 1 : 0); in fd_batch_from_fb()
398 key->width = pfb->width; in fd_batch_from_fb()
399 key->height = pfb->height; in fd_batch_from_fb()
400 key->layers = pfb->layers; in fd_batch_from_fb()
401 key->samples = pfb->samples; in fd_batch_from_fb()
404 if (pfb->zsbuf) in fd_batch_from_fb()
405 key_surf(key, idx++, 0, pfb->zsbuf); in fd_batch_from_fb()
407 for (unsigned i = 0; i < pfb->nr_cbufs; i++) in fd_batch_from_fb()
408 if (pfb->cbufs[i]) in fd_batch_from_fb()
[all …]
Dfreedreno_util.h172 fd_half_precision(struct pipe_framebuffer_state *pfb) in fd_half_precision() argument
176 for (i = 0; i < pfb->nr_cbufs; i++) in fd_half_precision()
177 if (!fd_surface_half_precision(pfb->cbufs[i])) in fd_half_precision()
Dfreedreno_batch_cache.h74 struct fd_context *ctx, const struct pipe_framebuffer_state *pfb);
Dfreedreno_resource.c1130 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd_invalidate_resource() local
1132 if (pfb->zsbuf && pfb->zsbuf->texture == prsc) in fd_invalidate_resource()
1135 for (unsigned i = 0; i < pfb->nr_cbufs; i++) { in fd_invalidate_resource()
1136 if (pfb->cbufs[i] && pfb->cbufs[i]->texture == prsc) { in fd_invalidate_resource()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_gmem.c109 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd2_emit_tile_gmem2mem() local
146 OUT_RING(ring, xy2d(pfb->width, pfb->height)); /* PA_SC_WINDOW_SCISSOR_BR */ in fd2_emit_tile_gmem2mem()
170 emit_gmem2mem_surf(batch, tile->bin_w * tile->bin_h, pfb->zsbuf); in fd2_emit_tile_gmem2mem()
173 emit_gmem2mem_surf(batch, 0, pfb->cbufs[0]); in fd2_emit_tile_gmem2mem()
232 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd2_emit_tile_mem2gmem() local
243 x0 = ((float)tile->xoff) / ((float)pfb->width); in fd2_emit_tile_mem2gmem()
244 x1 = ((float)tile->xoff + bin_w) / ((float)pfb->width); in fd2_emit_tile_mem2gmem()
245 y0 = ((float)tile->yoff) / ((float)pfb->height); in fd2_emit_tile_mem2gmem()
246 y1 = ((float)tile->yoff + bin_h) / ((float)pfb->height); in fd2_emit_tile_mem2gmem()
329 emit_mem2gmem_surf(batch, bin_w * bin_h, pfb->zsbuf); in fd2_emit_tile_mem2gmem()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_gmem.c374 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd5_emit_tile_init() local
400 emit_zs(ring, pfb->zsbuf, &ctx->gmem); in fd5_emit_tile_init()
401 emit_mrt(ring, pfb->nr_cbufs, pfb->cbufs, &ctx->gmem); in fd5_emit_tile_init()
531 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd5_emit_tile_mem2gmem() local
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()
548 if (!pfb->cbufs[i]) in fd5_emit_tile_mem2gmem()
553 pfb->cbufs[i], BLIT_MRT0 + i); in fd5_emit_tile_mem2gmem()
558 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd5_emit_tile_mem2gmem()
561 emit_mem2gmem_surf(batch, gmem->zsbuf_base[0], pfb->zsbuf, BLIT_ZS); in fd5_emit_tile_mem2gmem()
[all …]
Dfd5_draw.c269 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd5_clear() local
273 is_z32(pfb->zsbuf->format)) in fd5_clear()
284 for (int i = 0; i < pfb->nr_cbufs; i++) { in fd5_clear()
287 if (!pfb->cbufs[i]) in fd5_clear()
293 enum pipe_format pfmt = pfb->cbufs[i]->format; in fd5_clear()
349 if (pfb->zsbuf && (buffers & (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL))) { in fd5_clear()
351 util_pack_z_stencil(pfb->zsbuf->format, depth, stencil); in fd5_clear()
372 if (pfb->zsbuf && (buffers & PIPE_CLEAR_DEPTH)) { in fd5_clear()
373 struct fd_resource *zsbuf = fd_resource(pfb->zsbuf->texture); in fd5_clear()
Dfd5_emit.c488 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd5_emit_state() local
500 mrt_comp[i] = ((i < pfb->nr_cbufs) && pfb->cbufs[i]) ? 0xf : 0; in fd5_emit_state()
518 if (util_format_is_pure_integer(pipe_surface_format(pfb->cbufs[0]))) in fd5_emit_state()
532 if (pfb->zsbuf) { in fd5_emit_state()
533 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd5_emit_state()
653 unsigned nr = pfb->nr_cbufs; in fd5_emit_state()
711 enum pipe_format format = pipe_surface_format(pfb->cbufs[i]); in fd5_emit_state()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_blend.c113 struct pipe_framebuffer_state *pfb = &ctx->framebuffer_s; in etna_update_blend() local
119 if (pfb->cbufs[0] && in etna_update_blend()
120 translate_rs_format_rb_swap(pfb->cbufs[0]->texture->format)) { in etna_update_blend()
135 !pfb->cbufs[0]; in etna_update_blend()
157 struct pipe_framebuffer_state *pfb = &ctx->framebuffer_s; in etna_update_blend_color() local
160 if (pfb->cbufs[0] && in etna_update_blend_color()
161 translate_rs_format_rb_swap(pfb->cbufs[0]->texture->format)) { in etna_update_blend_color()
Detnaviv_context.c149 struct pipe_framebuffer_state *pfb = &ctx->framebuffer_s; in etna_draw_vbo() local
212 struct etna_surface *cbuf = etna_surface(pfb->cbufs[0]); in etna_draw_vbo()
233 resource_written(ctx, pfb->zsbuf->texture); in etna_draw_vbo()
236 resource_written(ctx, pfb->zsbuf->texture); in etna_draw_vbo()
238 for (i = 0; i < pfb->nr_cbufs; i++) { in etna_draw_vbo()
241 if (!pfb->cbufs[i]) in etna_draw_vbo()
244 surf = pfb->cbufs[i]->texture; in etna_draw_vbo()
/external/freetype/src/type1/
Dmodule.mk20 $(ECHO_DRIVER)type1 $(ECHO_DRIVER_DESC)Postscript font files with extension *.pfa or *.pfb$(ECH…
/external/fonttools/
DMANIFEST.in32 recursive-include Tests *.lwfn *.pfa *.pfb
/external/freetype/src/tools/ftrandom/
DREADME49 .ttf .otf .ttc .cid .pfb .pfa .bdf .pcf .pfr .fon .otb .cff
/external/mksh/src/
Dcheck.t4789 …"$__progname" -c 'pfb() { for s_arg in "$@"; do print -r -- "[$s_arg]"; done; }; pfn() { for s_arg…
4790 IFS=; set -- "" 2 ""; pfb $*; x=$*; pfn "$x"'
4792 …"$__progname" -c 'pfb() { for s_arg in "$@"; do print -r -- "[$s_arg]"; done; }; pfn() { for s_arg…
4793 IFS=; set -- "" 2 ""; pfb "$*"; x="$*"; pfn "$x"'
4795 …"$__progname" -c 'pfb() { for s_arg in "$@"; do print -r -- "[$s_arg]"; done; }; pfn() { for s_arg…
4796 IFS=; set -- "" 2 ""; pfb $@; x=$@; pfn "$x"'
4798 …"$__progname" -c 'pfb() { for s_arg in "$@"; do print -r -- "[$s_arg]"; done; }; pfn() { for s_arg…
4799 IFS=; set -- "" 2 ""; pfb "$@"; x="$@"; pfn "$x"'
4801 …"$__progname" -c 'pfb() { for s_arg in "$@"; do print -r -- "[$s_arg]"; done; }; pfn() { for s_arg…
4802 IFS=,; set -- "" 2 ""; pfb $*; x=$*; pfn "$x"'
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DFormatHandler.java2237 PluralFormat pfb = (PluralFormat)b; in hasSameBehavior() local
2241 String textb = pfb.format(i); in hasSameBehavior()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DFormatHandler.java2234 PluralFormat pfb = (PluralFormat)b; in hasSameBehavior() local
2238 String textb = pfb.format(i); in hasSameBehavior()
/external/clang/test/SemaCXX/
Dconstant-expression-cxx11.cpp1065 constexpr const int *(Base::*pfb)() const = variable
1067 static_assert((pb9->*pfb)() == &a[9].n, "");
/external/ImageMagick/
DInstall-unix.txt434 files (e.g. n022003l.pfb) so that they can be rendered using the FreeType
Dconfigure.ac3328 if test -f "${font_dir}a010013l.pfb"; then
3339 if test -f "${font_dir}a010013l.pfb"; then

12