Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrLayerCache.cpp204 GrPictureInfo* pictInfo = fPictureHash.find(layer->pictureID()); in tryToAtlas() local
205 if (nullptr == pictInfo) { in tryToAtlas()
206 pictInfo = new GrPictureInfo(layer->pictureID()); in tryToAtlas()
207 fPictureHash.add(pictInfo); in tryToAtlas()
212 GrLayerAtlas::Plot* plot = fAtlas->addToAtlas(&pictInfo->fPlotUsage, in tryToAtlas()
219 pictInfo->incPlotUsage(plot->id()); in tryToAtlas()
239 if (pictInfo->fPlotUsage.isEmpty()) { in tryToAtlas()
240 fPictureHash.remove(pictInfo->fPictureID); in tryToAtlas()
241 delete pictInfo; in tryToAtlas()
291 GrPictureInfo* pictInfo = fPictureHash.find(layer->pictureID()); in unlock() local
[all …]
DGrLayerCache.h32 static const uint32_t& GetKey(const GrPictureInfo& pictInfo) { return pictInfo.fPictureID; } in GetKey()