Lines Matching refs:pageIdx
241 int pageIdx = plot->pageIndex(); in updatePlot() local
242 this->makeMRU(plot, pageIdx); in updatePlot()
251 GrTextureProxy* proxy = fViews[pageIdx].asTextureProxy(); in updatePlot()
265 bool GrDrawOpAtlas::uploadToPage(unsigned int pageIdx, GrDeferredUploadTarget* target, int width, in uploadToPage() argument
267 SkASSERT(fViews[pageIdx].proxy() && fViews[pageIdx].proxy()->isInstantiated()); in uploadToPage()
271 plotIter.init(fPages[pageIdx].fPlotList, PlotList::Iter::kHead_IterStart); in uploadToPage()
274 SkASSERT(GrBackendFormatBytesPerPixel(fViews[pageIdx].proxy()->backendFormat()) == in uploadToPage()
305 for (unsigned int pageIdx = 0; pageIdx < fNumActivePages; ++pageIdx) { in addToAtlas() local
306 if (this->uploadToPage(pageIdx, target, width, height, image, atlasLocator)) { in addToAtlas()
317 for (unsigned int pageIdx = 0; pageIdx < fNumActivePages; ++pageIdx) { in addToAtlas() local
318 Plot* plot = fPages[pageIdx].fPlotList.tail(); in addToAtlas()
322 SkASSERT(GrBackendFormatBytesPerPixel(fViews[pageIdx].proxy()->backendFormat()) == in addToAtlas()
354 for (int pageIdx = ((int)fNumActivePages)-1; pageIdx >= 0; --pageIdx) { in addToAtlas() local
355 Plot* currentPlot = fPages[pageIdx].fPlotList.tail(); in addToAtlas()
372 int pageIdx = plot->pageIndex(); in addToAtlas() local
373 fPages[pageIdx].fPlotList.remove(plot); in addToAtlas()
374 sk_sp<Plot>& newPlot = fPages[pageIdx].fPlotArray[plot->plotIndex()]; in addToAtlas()
377 fPages[pageIdx].fPlotList.addToHead(newPlot.get()); in addToAtlas()
378 SkASSERT(GrBackendFormatBytesPerPixel(fViews[pageIdx].proxy()->backendFormat()) == in addToAtlas()
388 GrTextureProxy* proxy = fViews[pageIdx].asTextureProxy(); in addToAtlas()