Lines Matching refs:tile
47 * GMEM is the small (ie. 256KiB for a200, 512KiB for a220, etc) tile buffer
50 * stencil, if enabled) buffers to fit within GMEM. Before rendering a tile,
51 * if there was not a clear invalidating the previous tile contents, we need
53 * the draw calls, before moving to the next tile, we need to save the tile
70 * Where the per-tile section handles scissor setup, mem2gmem restore (if
87 * part of they key, only the minx/miny (after clamping to tile
396 struct fd_tile *tile = &gmem->tile[t];
399 assert(t < ARRAY_SIZE(gmem->tile));
409 tile->n = !is_a20x(screen) ? tile_n[p]++
411 tile->p = p;
412 tile->bin_w = bw;
413 tile->bin_h = bh;
414 tile->xoff = xoff;
415 tile->yoff = yoff;
418 printf("tile[%d]: p=%u, bin=%ux%u+%u+%u\n", t, p, bw, bh, xoff,
438 swap(gmem->tile[col0 + j], gmem->tile[col0 + gmem->nbins_x - j - 1]);
447 struct fd_tile *tile = &gmem->tile[t++];
448 printf("|p:%u n:%u|", tile->p, tile->n);
606 struct fd_tile *tile = &gmem->tile[i];
608 trace_start_tile(&batch->trace, batch->gmem, tile->bin_h, tile->yoff, tile->bin_w,
609 tile->xoff);
611 ctx->emit_tile_prep(batch, tile);
614 ctx->emit_tile_mem2gmem(batch, tile);
617 ctx->emit_tile_renderprep(batch, tile);
625 ctx->emit_tile(batch, tile);
632 /* emit gmem2mem to transfer tile back to system memory: */
633 ctx->emit_tile_gmem2mem(batch, tile);
802 /* When deciding whether a tile needs mem2gmem, we need to take into
808 fd_gmem_needs_restore(struct fd_batch *batch, const struct fd_tile *tile,