Lines Matching refs:tile
275 struct fd_tile *tile = &ctx->tile[t]; in calculate_tiles() local
278 assert(t < ARRAY_SIZE(ctx->tile)); in calculate_tiles()
286 tile->n = tile_n[p]++; in calculate_tiles()
287 tile->p = p; in calculate_tiles()
288 tile->bin_w = bw; in calculate_tiles()
289 tile->bin_h = bh; in calculate_tiles()
290 tile->xoff = xoff; in calculate_tiles()
291 tile->yoff = yoff; in calculate_tiles()
305 struct fd_tile *tile = &ctx->tile[t++]; in calculate_tiles()
306 printf("|p:%u n:%u|", tile->p, tile->n); in calculate_tiles()
326 struct fd_tile *tile = &ctx->tile[i]; in render_tiles() local
329 tile->bin_h, tile->yoff, tile->bin_w, tile->xoff); in render_tiles()
331 ctx->emit_tile_prep(batch, tile); in render_tiles()
334 ctx->emit_tile_mem2gmem(batch, tile); in render_tiles()
337 ctx->emit_tile_renderprep(batch, tile); in render_tiles()
347 ctx->emit_tile_gmem2mem(batch, tile); in render_tiles()
460 skip_restore(struct pipe_scissor_state *scissor, struct fd_tile *tile) in skip_restore() argument
462 unsigned minx = tile->xoff; in skip_restore()
463 unsigned maxx = tile->xoff + tile->bin_w; in skip_restore()
464 unsigned miny = tile->yoff; in skip_restore()
465 unsigned maxy = tile->yoff + tile->bin_h; in skip_restore()
476 fd_gmem_needs_restore(struct fd_batch *batch, struct fd_tile *tile, in fd_gmem_needs_restore() argument
487 skip_restore(&batch->cleared_scissor.color, tile)) in fd_gmem_needs_restore()
491 skip_restore(&batch->cleared_scissor.depth, tile)) in fd_gmem_needs_restore()
495 skip_restore(&batch->cleared_scissor.stencil, tile)) in fd_gmem_needs_restore()