Lines Matching refs:layerCache
24 static void prepare_for_hoisting(GrLayerCache* layerCache, in prepare_for_hoisting() argument
36 GrCachedLayer* layer = layerCache->findLayerOrCreate(topLevelPicture->uniqueID(), in prepare_for_hoisting()
54 locked = layerCache->tryToAtlas(layer, desc, &needsRendering); in prepare_for_hoisting()
56 locked = layerCache->lock(layer, desc, &needsRendering); in prepare_for_hoisting()
78 layerCache->addUse(layer); in prepare_for_hoisting()
131 GrLayerCache* layerCache = context->getLayerCache(); in FindLayersToAtlas() local
133 layerCache->processDeletedPictures(); in FindLayersToAtlas()
175 prepare_for_hoisting(layerCache, topLevelPicture, initialMat, in FindLayersToAtlas()
188 GrLayerCache* layerCache = context->getLayerCache(); in FindLayersToHoist() local
190 layerCache->processDeletedPictures(); in FindLayersToHoist()
225 prepare_for_hoisting(layerCache, topLevelPicture, initialMat, info, srcIR, dstIR, in FindLayersToHoist()
372 GrLayerCache* layerCache = context->getLayerCache(); in UnlockLayers() local
375 layerCache->removeUse(layers[i].fLayer); in UnlockLayers()
378 SkDEBUGCODE(layerCache->validate();) in UnlockLayers()
383 GrLayerCache* layerCache = context->getLayerCache(); in PurgeCache() local
388 layerCache->purgeAll(); in PurgeCache()