Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_gmem.c138 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in use_hw_binning() local
141 if ((pfb->width > 4096) && (pfb->height > 4096)) in use_hw_binning()
193 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd4_emit_tile_gmem2mem() local
236 OUT_RING(ring, A4XX_GRAS_CL_VPORT_XOFFSET_0((float)pfb->width/2.0)); in fd4_emit_tile_gmem2mem()
237 OUT_RING(ring, A4XX_GRAS_CL_VPORT_XSCALE_0((float)pfb->width/2.0)); in fd4_emit_tile_gmem2mem()
238 OUT_RING(ring, A4XX_GRAS_CL_VPORT_YOFFSET_0((float)pfb->height/2.0)); in fd4_emit_tile_gmem2mem()
239 OUT_RING(ring, A4XX_GRAS_CL_VPORT_YSCALE_0(-(float)pfb->height/2.0)); in fd4_emit_tile_gmem2mem()
260 OUT_RING(ring, A4XX_GRAS_SC_WINDOW_SCISSOR_BR_X(pfb->width - 1) | in fd4_emit_tile_gmem2mem()
261 A4XX_GRAS_SC_WINDOW_SCISSOR_BR_Y(pfb->height - 1)); in fd4_emit_tile_gmem2mem()
273 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd4_emit_tile_gmem2mem()
[all …]
Dfd4_emit.c512 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd4_emit_state() local
516 mrt_comp[i] = ((i < pfb->nr_cbufs) && pfb->cbufs[i]) ? 0xf : 0; in fd4_emit_state()
532 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd4_emit_state() local
535 if (util_format_is_pure_integer(pipe_surface_format(pfb->cbufs[0]))) in fd4_emit_state()
676 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd4_emit_state() local
677 unsigned n = pfb->nr_cbufs; in fd4_emit_state()
679 if (pfb->zsbuf) in fd4_emit_state()
681 fd4_program_emit(ring, emit, n, pfb->cbufs); in fd4_emit_state()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_draw.c63 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd_draw_vbo() local
108 resource_written(batch, pfb->zsbuf->texture); in fd_draw_vbo()
114 resource_written(batch, pfb->zsbuf->texture); in fd_draw_vbo()
121 for (i = 0; i < pfb->nr_cbufs; i++) { in fd_draw_vbo()
124 if (!pfb->cbufs[i]) in fd_draw_vbo()
127 surf = pfb->cbufs[i]->texture; in fd_draw_vbo()
190 pfb->width, pfb->height, batch->num_draws, in fd_draw_vbo()
191 util_format_short_name(pipe_surface_format(pfb->cbufs[0])), in fd_draw_vbo()
192 util_format_short_name(pipe_surface_format(pfb->zsbuf))); in fd_draw_vbo()
212 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd_blitter_clear() local
[all …]
Dfreedreno_gmem.c112 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in calculate_tiles() local
127 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in calculate_tiles()
132 for (i = 0; i < pfb->nr_cbufs; i++) { in calculate_tiles()
133 if (pfb->cbufs[i]) in calculate_tiles()
134 cbuf_cpp[i] = util_format_get_blocksize(pfb->cbufs[i]->format); in calculate_tiles()
149 width = pfb->width; in calculate_tiles()
150 height = pfb->height; in calculate_tiles()
172 for (i = 0; i < pfb->nr_cbufs; i++) in calculate_tiles()
384 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd_gmem_render_tiles() local
402 batch, pfb->width, pfb->height, in fd_gmem_render_tiles()
[all …]
Dfreedreno_batch_cache.c368 const struct pipe_framebuffer_state *pfb) in fd_batch_from_fb() argument
370 unsigned idx = 0, n = pfb->nr_cbufs + (pfb->zsbuf ? 1 : 0); in fd_batch_from_fb()
373 key->width = pfb->width; in fd_batch_from_fb()
374 key->height = pfb->height; in fd_batch_from_fb()
375 key->layers = pfb->layers; in fd_batch_from_fb()
376 key->samples = pfb->samples; in fd_batch_from_fb()
379 if (pfb->zsbuf) in fd_batch_from_fb()
380 key_surf(key, idx++, 0, pfb->zsbuf); in fd_batch_from_fb()
382 for (unsigned i = 0; i < pfb->nr_cbufs; i++) in fd_batch_from_fb()
383 if (pfb->cbufs[i]) in fd_batch_from_fb()
[all …]
Dfreedreno_util.h168 fd_half_precision(struct pipe_framebuffer_state *pfb) in fd_half_precision() argument
172 for (i = 0; i < pfb->nr_cbufs; i++) in fd_half_precision()
173 if (!fd_surface_half_precision(pfb->cbufs[i])) in fd_half_precision()
Dfreedreno_batch_cache.h73 struct fd_context *ctx, const struct pipe_framebuffer_state *pfb);
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_gmem.c354 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd3_emit_tile_gmem2mem() local
396 OUT_RING(ring, A3XX_GRAS_CL_VPORT_XOFFSET((float)pfb->width/2.0 - 0.5)); in fd3_emit_tile_gmem2mem()
397 OUT_RING(ring, A3XX_GRAS_CL_VPORT_XSCALE((float)pfb->width/2.0)); in fd3_emit_tile_gmem2mem()
398 OUT_RING(ring, A3XX_GRAS_CL_VPORT_YOFFSET((float)pfb->height/2.0 - 0.5)); in fd3_emit_tile_gmem2mem()
399 OUT_RING(ring, A3XX_GRAS_CL_VPORT_YSCALE(-(float)pfb->height/2.0)); in fd3_emit_tile_gmem2mem()
428 OUT_RING(ring, A3XX_GRAS_SC_WINDOW_SCISSOR_BR_X(pfb->width - 1) | in fd3_emit_tile_gmem2mem()
429 A3XX_GRAS_SC_WINDOW_SCISSOR_BR_Y(pfb->height - 1)); in fd3_emit_tile_gmem2mem()
441 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd3_emit_tile_gmem2mem()
444 ctx->gmem.zsbuf_base[0], pfb->zsbuf); in fd3_emit_tile_gmem2mem()
447 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/a5xx/
Dfd5_gmem.c325 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd5_emit_tile_mem2gmem() local
331 emit_mrt(ring, pfb->nr_cbufs, pfb->cbufs, NULL); in fd5_emit_tile_mem2gmem()
341 for (i = 0; i < pfb->nr_cbufs; i++) { in fd5_emit_tile_mem2gmem()
342 if (!pfb->cbufs[i]) in fd5_emit_tile_mem2gmem()
347 pfb->cbufs[i], BLIT_MRT0 + i); in fd5_emit_tile_mem2gmem()
352 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd5_emit_tile_mem2gmem()
363 fd5_pipe2color(fd_gmem_restore_format(pfb->zsbuf->format)); in fd5_emit_tile_mem2gmem()
373 emit_mem2gmem_surf(batch, ctx->gmem.zsbuf_base[0], pfb->zsbuf, BLIT_MRT0); in fd5_emit_tile_mem2gmem()
384 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd5_emit_tile_renderprep() local
395 emit_zs(ring, pfb->zsbuf, gmem); in fd5_emit_tile_renderprep()
[all …]
Dfd5_draw.c189 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd5_clear() local
202 for (int i = 0; i < pfb->nr_cbufs; i++) { in fd5_clear()
205 if (!pfb->cbufs[i]) in fd5_clear()
211 enum pipe_format pfmt = pfb->cbufs[i]->format; in fd5_clear()
267 if (pfb->zsbuf && (buffers & (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL))) { in fd5_clear()
269 util_pack_z_stencil(pfb->zsbuf->format, depth, stencil); in fd5_clear()
Dfd5_emit.c411 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd5_emit_state() local
415 mrt_comp[i] = ((i < pfb->nr_cbufs) && pfb->cbufs[i]) ? 0xf : 0; in fd5_emit_state()
431 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd5_emit_state() local
434 if (util_format_is_pure_integer(pipe_surface_format(pfb->cbufs[0]))) in fd5_emit_state()
538 struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer; in fd5_emit_state() local
540 unsigned nr = pfb->nr_cbufs; in fd5_emit_state()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_gmem.c103 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd2_emit_tile_gmem2mem() local
140 OUT_RING(ring, xy2d(pfb->width, pfb->height)); /* PA_SC_WINDOW_SCISSOR_BR */ in fd2_emit_tile_gmem2mem()
164 emit_gmem2mem_surf(batch, tile->bin_w * tile->bin_h, pfb->zsbuf); in fd2_emit_tile_gmem2mem()
167 emit_gmem2mem_surf(batch, 0, pfb->cbufs[0]); in fd2_emit_tile_gmem2mem()
226 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd2_emit_tile_mem2gmem() local
237 x0 = ((float)tile->xoff) / ((float)pfb->width); in fd2_emit_tile_mem2gmem()
238 x1 = ((float)tile->xoff + bin_w) / ((float)pfb->width); in fd2_emit_tile_mem2gmem()
239 y0 = ((float)tile->yoff) / ((float)pfb->height); in fd2_emit_tile_mem2gmem()
240 y1 = ((float)tile->yoff + bin_h) / ((float)pfb->height); in fd2_emit_tile_mem2gmem()
323 emit_mem2gmem_surf(batch, bin_w * bin_h, pfb->zsbuf); in fd2_emit_tile_mem2gmem()
[all …]
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_context.c109 struct pipe_framebuffer_state *pfb = &ctx->framebuffer_s; in etna_draw_vbo() local
149 resource_written(ctx, pfb->zsbuf->texture); in etna_draw_vbo()
152 resource_written(ctx, pfb->zsbuf->texture); in etna_draw_vbo()
154 for (i = 0; i < pfb->nr_cbufs; i++) { in etna_draw_vbo()
157 if (!pfb->cbufs[i]) in etna_draw_vbo()
160 surf = pfb->cbufs[i]->texture; in etna_draw_vbo()
/external/mksh/src/
Dcheck.t4595 …"$__progname" -c 'pfb() { for s_arg in "$@"; do print -r -- "[$s_arg]"; done; }; pfn() { for s_arg…
4596 IFS=; set -- "" 2 ""; pfb $*; x=$*; pfn "$x"'
4598 …"$__progname" -c 'pfb() { for s_arg in "$@"; do print -r -- "[$s_arg]"; done; }; pfn() { for s_arg…
4599 IFS=; set -- "" 2 ""; pfb "$*"; x="$*"; pfn "$x"'
4601 …"$__progname" -c 'pfb() { for s_arg in "$@"; do print -r -- "[$s_arg]"; done; }; pfn() { for s_arg…
4602 IFS=; set -- "" 2 ""; pfb $@; x=$@; pfn "$x"'
4604 …"$__progname" -c 'pfb() { for s_arg in "$@"; do print -r -- "[$s_arg]"; done; }; pfn() { for s_arg…
4605 IFS=; set -- "" 2 ""; pfb "$@"; x="$@"; pfn "$x"'
4607 …"$__progname" -c 'pfb() { for s_arg in "$@"; do print -r -- "[$s_arg]"; done; }; pfn() { for s_arg…
4608 IFS=,; set -- "" 2 ""; pfb $*; x=$*; pfn "$x"'
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DFormatHandler.java2214 PluralFormat pfb = (PluralFormat)b; in hasSameBehavior() local
2218 String textb = pfb.format(i); in hasSameBehavior()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DFormatHandler.java2213 PluralFormat pfb = (PluralFormat)b; in hasSameBehavior() local
2217 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.ac3196 if test -f "${font_dir}a010013l.pfb"; then
3207 if test -f "${font_dir}a010013l.pfb"; then