Lines Matching refs:shapeData
27 GrSmallPathShapeData* shapeData; in reset() local
28 while ((shapeData = iter.get())) { in reset()
30 delete shapeData; in reset()
65 void GrSmallPathAtlasMgr::deleteCacheEntry(GrSmallPathShapeData* shapeData) { in deleteCacheEntry() argument
66 fShapeCache.remove(shapeData->fKey); in deleteCacheEntry()
67 fShapeList.remove(shapeData); in deleteCacheEntry()
68 delete shapeData; in deleteCacheEntry()
72 auto shapeData = fShapeCache.find(key); in findOrCreate() local
73 if (!shapeData) { in findOrCreate()
75 shapeData = new GrSmallPathShapeData(key); in findOrCreate()
76 fShapeCache.add(shapeData); in findOrCreate()
77 fShapeList.addToTail(shapeData); in findOrCreate()
81 } else if (!fAtlas->hasID(shapeData->fAtlasLocator.plotLocator())) { in findOrCreate()
82 shapeData->fAtlasLocator.invalidatePlotLocator(); in findOrCreate()
85 return shapeData; in findOrCreate()
111 void GrSmallPathAtlasMgr::setUseToken(GrSmallPathShapeData* shapeData, in setUseToken() argument
113 fAtlas->setLastUseToken(shapeData->fAtlasLocator, token); in setUseToken()
121 GrSmallPathShapeData* shapeData; in evict() local
122 while ((shapeData = iter.get())) { in evict()
124 if (plotLocator == shapeData->fAtlasLocator.plotLocator()) { in evict()
125 fShapeCache.remove(shapeData->fKey); in evict()
126 fShapeList.remove(shapeData); in evict()
127 delete shapeData; in evict()