Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/
DGrDrawOpAtlas.h79 PlotLocator(uint32_t pageIdx, uint32_t plotIdx, uint64_t generation) in PlotLocator() argument
81 , fPlotIndex(plotIdx) in PlotLocator()
84 SkASSERT(plotIdx < kMaxPlots); in PlotLocator()
309 uint32_t plotIdx = atlasLocator.plotIndex(); in setLastUseToken() local
310 SkASSERT(plotIdx < fNumPlots); in setLastUseToken()
313 Plot* plot = fPages[pageIdx].fPlotArray[plotIdx].get(); in setLastUseToken()
336 int plotIdx = atlasLocator.plotIndex(); in add() local
338 if (this->find(pageIdx, plotIdx)) { in add()
341 this->set(pageIdx, plotIdx); in add()
351 PlotData(int pageIdx, int plotIdx) : fPageIndex(pageIdx), fPlotIndex(plotIdx) {} in PlotData()
/third_party/flutter/skia/src/gpu/
DGrDrawOpAtlas.h148 uint32_t plotIdx = GetPlotIndexFromID(id); in setLastUseToken() local
149 SkASSERT(plotIdx < fNumPlots); in setLastUseToken()
152 Plot* plot = fPages[pageIdx].fPlotArray[plotIdx].get(); in setLastUseToken()
196 PlotData(int pageIdx, int plotIdx) : fPageIndex(pageIdx), fPlotIndex(plotIdx) {} in PlotData()
315 static GrDrawOpAtlas::AtlasID CreateId(uint32_t pageIdx, uint32_t plotIdx, in CreateId() argument
319 SkASSERT(plotIdx < (1 << 8)); in CreateId()
321 return generation << 16 | plotIdx << 8 | pageIdx; in CreateId()