Home
last modified time | relevance | path

Searched refs:plotIdx (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/
DGrDrawOpAtlas.h75 PlotLocator(uint32_t pageIdx, uint32_t plotIdx, uint64_t generation) in PlotLocator() argument
77 , fPlotIndex(plotIdx) in PlotLocator()
80 SkASSERT(plotIdx < kMaxPlots); in PlotLocator()
276 uint32_t plotIdx = atlasLocator.plotIndex(); in setLastUseToken() local
277 SkASSERT(plotIdx < fNumPlots); in setLastUseToken()
280 Plot* plot = fPages[pageIdx].fPlotArray[plotIdx].get(); in setLastUseToken()
303 int plotIdx = atlasLocator.plotIndex(); in add() local
305 if (this->find(pageIdx, plotIdx)) { in add()
308 this->set(pageIdx, plotIdx); in add()
318 PlotData(int pageIdx, int plotIdx) : fPageIndex(pageIdx), fPlotIndex(plotIdx) {} in PlotData()
/external/skqp/src/gpu/
DGrDrawOpAtlas.h146 uint32_t plotIdx = GetPlotIndexFromID(id); in setLastUseToken() local
147 SkASSERT(plotIdx < fNumPlots); in setLastUseToken()
150 Plot* plot = fPages[pageIdx].fPlotArray[plotIdx].get(); in setLastUseToken()
194 PlotData(int pageIdx, int plotIdx) : fPageIndex(pageIdx), fPlotIndex(plotIdx) {} in PlotData()
312 static GrDrawOpAtlas::AtlasID CreateId(uint32_t pageIdx, uint32_t plotIdx, in CreateId() argument
316 SkASSERT(plotIdx < (1 << 8)); in CreateId()
318 return generation << 16 | plotIdx << 8 | pageIdx; in CreateId()