Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrLayerCache.h45 void incPlotUsage(int plotID) { in incPlotUsage()
46 SkASSERT(plotID < kNumPlots); in incPlotUsage()
47 fPlotUses[plotID]++; in incPlotUsage()
50 void decPlotUsage(int plotID) { in decPlotUsage()
51 SkASSERT(plotID < kNumPlots); in decPlotUsage()
52 SkASSERT(fPlotUses[plotID] > 0); in decPlotUsage()
53 fPlotUses[plotID]--; in decPlotUsage()
56 int plotUsage(int plotID) const { in plotUsage()
57 SkASSERT(plotID < kNumPlots); in plotUsage()
58 return fPlotUses[plotID]; in plotUsage()
DGrLayerCache.cpp282 const int plotID = layer->plot()->id(); in unlock() local
284 this->decPlotLock(plotID); in unlock()
294 pictInfo->decPlotUsage(plotID); in unlock()
296 if (0 == pictInfo->plotUsage(plotID)) { in unlock()