• Home
  • Raw
  • Download

Lines Matching refs:pfb

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()
498 scissor->maxx = pfb->width; in gmem_key_init()
499 scissor->maxy = pfb->height; in gmem_key_init()
666 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd_gmem_render_tiles() local
672 (pfb->samples > 1)) { in fd_gmem_render_tiles()
675 pfb->samples); in fd_gmem_render_tiles()
681 if ((pfb->nr_cbufs == 0) && !pfb->zsbuf) { in fd_gmem_render_tiles()
690 for (unsigned i = 0; i < pfb->nr_cbufs; i++) { in fd_gmem_render_tiles()
691 struct pipe_surface *psurf = pfb->cbufs[i]; in fd_gmem_render_tiles()
711 fd_log_stream(batch, stream, util_dump_framebuffer_state(stream, pfb)); in fd_gmem_render_tiles()
712 for (unsigned i = 0; i < pfb->nr_cbufs; i++) { in fd_gmem_render_tiles()
713 fd_log_stream(batch, stream, util_dump_surface(stream, pfb->cbufs[i])); in fd_gmem_render_tiles()
715 fd_log_stream(batch, stream, util_dump_surface(stream, pfb->zsbuf)); in fd_gmem_render_tiles()
724 batch, pfb->width, pfb->height, in fd_gmem_render_tiles()
725 util_format_short_name(pipe_surface_format(pfb->cbufs[0])), in fd_gmem_render_tiles()
726 util_format_short_name(pipe_surface_format(pfb->zsbuf)), in fd_gmem_render_tiles()
736 batch, pfb->width, pfb->height, gmem->nbins_x, gmem->nbins_y, in fd_gmem_render_tiles()
737 util_format_short_name(pipe_surface_format(pfb->cbufs[0])), in fd_gmem_render_tiles()
738 util_format_short_name(pipe_surface_format(pfb->zsbuf))); in fd_gmem_render_tiles()
760 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd_gmem_estimate_bins_per_pipe() local
762 struct fd_gmem_stateobj *gmem = lookup_gmem_state(batch, !!pfb->zsbuf, true); in fd_gmem_estimate_bins_per_pipe()