• Home
  • Raw
  • Download

Lines Matching refs:pageIdx

154     int pageIdx = plot->pageIndex();  in updatePlot()  local
155 this->makeMRU(plot, pageIdx); in updatePlot()
164 GrTextureProxy* proxy = fViews[pageIdx].asTextureProxy(); in updatePlot()
178 bool GrDrawOpAtlas::uploadToPage(unsigned int pageIdx, GrDeferredUploadTarget* target, int width, in uploadToPage() argument
180 SkASSERT(fViews[pageIdx].proxy() && fViews[pageIdx].proxy()->isInstantiated()); in uploadToPage()
184 plotIter.init(fPages[pageIdx].fPlotList, PlotList::Iter::kHead_IterStart); in uploadToPage()
187 SkASSERT(GrBackendFormatBytesPerPixel(fViews[pageIdx].proxy()->backendFormat()) == in uploadToPage()
218 for (unsigned int pageIdx = 0; pageIdx < fNumActivePages; ++pageIdx) { in addToAtlas() local
219 if (this->uploadToPage(pageIdx, target, width, height, image, atlasLocator)) { in addToAtlas()
230 for (unsigned int pageIdx = 0; pageIdx < fNumActivePages; ++pageIdx) { in addToAtlas() local
231 Plot* plot = fPages[pageIdx].fPlotList.tail(); in addToAtlas()
235 SkASSERT(GrBackendFormatBytesPerPixel(fViews[pageIdx].proxy()->backendFormat()) == in addToAtlas()
267 for (int pageIdx = ((int)fNumActivePages)-1; pageIdx >= 0; --pageIdx) { in addToAtlas() local
268 Plot* currentPlot = fPages[pageIdx].fPlotList.tail(); in addToAtlas()
285 int pageIdx = plot->pageIndex(); in addToAtlas() local
286 fPages[pageIdx].fPlotList.remove(plot); in addToAtlas()
287 sk_sp<Plot>& newPlot = fPages[pageIdx].fPlotArray[plot->plotIndex()]; in addToAtlas()
290 fPages[pageIdx].fPlotList.addToHead(newPlot.get()); in addToAtlas()
291 SkASSERT(GrBackendFormatBytesPerPixel(fViews[pageIdx].proxy()->backendFormat()) == in addToAtlas()
301 GrTextureProxy* proxy = fViews[pageIdx].asTextureProxy(); in addToAtlas()