Lines Matching refs:fNumActivePages
51 for (uint32_t i = 0; i < fNumActivePages; ++i) { in instantiate()
219 , fNumActivePages(0) { in GrDrawOpAtlas()
305 for (unsigned int pageIdx = 0; pageIdx < fNumActivePages; ++pageIdx) { in addToAtlas()
316 if (fNumActivePages == this->maxPages()) { in addToAtlas()
317 for (unsigned int pageIdx = 0; pageIdx < fNumActivePages; ++pageIdx) { in addToAtlas()
338 if (this->uploadToPage(fNumActivePages-1, target, width, height, image, atlasLocator)) { in addToAtlas()
347 if (!fNumActivePages) { in addToAtlas()
354 for (int pageIdx = ((int)fNumActivePages)-1; pageIdx >= 0; --pageIdx) { in addToAtlas()
404 if (fNumActivePages < 1) { in compact()
412 for (uint32_t pageIndex = 0; pageIndex < fNumActivePages; ++pageIndex) { in compact()
437 uint32_t lastPageIndex = fNumActivePages - 1; in compact()
543 SkDebugf("delete %d\n", fNumActivePages-1); in compact()
599 SkASSERT(fNumActivePages < this->maxPages()); in activateNewPage()
601 if (!fViews[fNumActivePages].proxy()->instantiate(resourceProvider)) { in activateNewPage()
607 SkDebugf("activated page#: %d\n", fNumActivePages); in activateNewPage()
611 ++fNumActivePages; in activateNewPage()
617 SkASSERT(fNumActivePages); in deactivateLastPage()
619 uint32_t lastPageIndex = fNumActivePages - 1; in deactivateLastPage()
642 --fNumActivePages; in deactivateLastPage()