Lines Matching refs:plotLocator
81 virtual void evict(PlotLocator plotLocator) = 0;
171 bool hasID(PlotLocator plotLocator) { in hasID() argument
172 if (kInvalidPlotLocator == plotLocator) { in hasID()
176 uint32_t plot = GetPlotIndexFromID(plotLocator); in hasID()
177 uint32_t page = GetPageIndexFromID(plotLocator); in hasID()
179 uint64_t locatorGeneration = GetGenerationFromID(plotLocator); in hasID()
184 void setLastUseToken(PlotLocator plotLocator, GrDeferredUploadToken token) { in setLastUseToken() argument
185 SkASSERT(this->hasID(plotLocator)); in setLastUseToken()
186 uint32_t plotIdx = GetPlotIndexFromID(plotLocator); in setLastUseToken()
188 uint32_t pageIdx = GetPageIndexFromID(plotLocator); in setLastUseToken()
212 bool add(PlotLocator plotLocator) { in add() argument
213 int index = GrDrawOpAtlas::GetPlotIndexFromID(plotLocator); in add()
214 int pageIdx = GrDrawOpAtlas::GetPageIndexFromID(plotLocator); in add()
269 static uint32_t GetPageIndexFromID(PlotLocator plotLocator) { in GetPageIndexFromID() argument
270 return plotLocator & 0xff; in GetPageIndexFromID()
305 GrDrawOpAtlas::PlotLocator plotLocator() const { in plotLocator() function
387 static uint32_t GetPlotIndexFromID(PlotLocator plotLocator) { in GetPlotIndexFromID() argument
388 return (plotLocator >> 8) & 0xff; in GetPlotIndexFromID()
392 static uint64_t GetGenerationFromID(PlotLocator plotLocator) { in GetGenerationFromID() argument
393 return (plotLocator >> 16) & 0xffffffffffff; in GetGenerationFromID()
410 bool uploadToPage(const GrCaps&, unsigned int pageIdx, PlotLocator* plotLocator,
420 this->processEviction(plot->plotLocator()); in processEvictionAndResetRects()