Searched refs:batchTarget (Results 1 – 2 of 2) sorted by relevance
197 bool GrBatchAtlas::addToAtlas(AtlasID* id, GrDrawBatch::Target* batchTarget, in addToAtlas() argument209 this->updatePlot(batchTarget, id, plot); in addToAtlas()219 if (batchTarget->hasTokenBeenFlushed(plot->lastUseToken())) { in addToAtlas()225 this->updatePlot(batchTarget, id, plot); in addToAtlas()236 if (plot->lastUseToken() == batchTarget->currentToken()) { in addToAtlas()240 SkASSERT(plot->lastUseToken() < batchTarget->currentToken()); in addToAtlas()241 SkASSERT(!batchTarget->hasTokenBeenFlushed(batchTarget->currentToken())); in addToAtlas()257 newPlot->setLastUploadToken(batchTarget->currentToken()); in addToAtlas()259 batchTarget->upload(uploader); in addToAtlas()
57 void* init(Target* batchTarget, size_t vertexStride, int quadsToDraw);