Home | History | Annotate | Download | only in gpu

Lines Matching refs:GrBatchAtlas

8 #include "GrBatchAtlas.h"
20 static GrBatchAtlas::AtlasID create_id(int index, int generation) {
26 // The backing GrTexture for a GrBatchAtlas is broken into a spatial grid of GrBatchPlots.
35 typedef GrBatchAtlas::BatchToken BatchToken;
45 GrBatchAtlas::AtlasID id() { return fID; }
156 void init(GrBatchAtlas* atlas, GrTexture* texture, int index, uint32_t generation,
180 GrBatchAtlas::AtlasID fID;
188 GrBatchAtlas* fAtlas;
194 friend class GrBatchAtlas;
221 GrBatchAtlas::GrBatchAtlas(GrTexture* texture, int numPlotsX, int numPlotsY)
253 GrBatchAtlas::~GrBatchAtlas() {
258 void GrBatchAtlas::processEviction(AtlasID id) {
264 void GrBatchAtlas::makeMRU(BatchPlot* plot) {
273 inline void GrBatchAtlas::updatePlot(GrBatchTarget* batchTarget, AtlasID* id, BatchPlot* plot) {
287 bool GrBatchAtlas::addToAtlas(AtlasID* id, GrBatchTarget* batchTarget,
354 bool GrBatchAtlas::hasID(AtlasID id) {
360 void GrBatchAtlas::setLastUseToken(AtlasID id, BatchToken batchToken) {
368 void GrBatchAtlas::setLastUseTokenBulk(const BulkUseTokenUpdater& updater, BatchToken batchToken) {