Lines Matching refs:fNumActivePages
30 for (uint32_t i = 0; i < fNumActivePages; ++i) { in instantiate()
194 , fNumActivePages(0) { in GrDrawOpAtlas()
275 for (unsigned int pageIdx = 0; pageIdx < fNumActivePages; ++pageIdx) { in addToAtlas()
286 if (fNumActivePages == this->maxPages()) { in addToAtlas()
287 for (unsigned int pageIdx = 0; pageIdx < fNumActivePages; ++pageIdx) { in addToAtlas()
307 if (this->uploadToPage(fNumActivePages-1, id, target, width, height, image, loc)) { in addToAtlas()
316 if (!fNumActivePages) { in addToAtlas()
323 for (int pageIdx = ((int)fNumActivePages)-1; pageIdx >= 0; --pageIdx) { in addToAtlas()
371 if (fNumActivePages <= 1) { in compact()
379 for (uint32_t pageIndex = 0; pageIndex < fNumActivePages; ++pageIndex) { in compact()
398 uint32_t lastPageIndex = fNumActivePages - 1; in compact()
556 SkASSERT(fNumActivePages < this->maxPages()); in activateNewPage()
558 if (!fProxies[fNumActivePages]->instantiate(resourceProvider)) { in activateNewPage()
564 SkDebugf("activated page#: %d\n", fNumActivePages); in activateNewPage()
568 ++fNumActivePages; in activateNewPage()
574 SkASSERT(fNumActivePages); in deactivateLastPage()
576 uint32_t lastPageIndex = fNumActivePages - 1; in deactivateLastPage()
599 --fNumActivePages; in deactivateLastPage()