• Home
  • Raw
  • Download

Lines Matching refs:pfb

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()
503 scissor->maxx = pfb->width; in gmem_key_init()
504 scissor->maxy = pfb->height; in gmem_key_init()
672 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd_gmem_render_tiles() local
687 trace_framebuffer_state(&batch->trace, batch->gmem, pfb); in fd_gmem_render_tiles()
696 if ((pfb->nr_cbufs == 0) && !pfb->zsbuf) { in fd_gmem_render_tiles()
705 for (unsigned i = 0; i < pfb->nr_cbufs; i++) { in fd_gmem_render_tiles()
706 struct pipe_surface *psurf = pfb->cbufs[i]; in fd_gmem_render_tiles()
733 ctx->submit_count, pipe_surface_format(pfb->cbufs[0]), in fd_gmem_render_tiles()
734 pipe_surface_format(pfb->zsbuf), pfb->width, pfb->height, in fd_gmem_render_tiles()
735 pfb->nr_cbufs, pfb->samples, 0, 0, 0); in fd_gmem_render_tiles()
747 ctx->submit_count, pipe_surface_format(pfb->cbufs[0]), in fd_gmem_render_tiles()
748 pipe_surface_format(pfb->zsbuf), pfb->width, pfb->height, in fd_gmem_render_tiles()
749 pfb->nr_cbufs, pfb->samples, gmem->nbins_x * gmem->nbins_y, in fd_gmem_render_tiles()
775 struct pipe_framebuffer_state *pfb = &batch->framebuffer; in fd_gmem_estimate_bins_per_pipe() local
777 struct fd_gmem_stateobj *gmem = lookup_gmem_state(batch, !!pfb->zsbuf, true); in fd_gmem_estimate_bins_per_pipe()