Searched refs:factoryCache (Results 1 – 3 of 3) sorted by relevance
305 private static Cache<SimpleFactoryCacheKey, SimpleFactory> factoryCache = null; field in SimpleFactory336 if (factoryCache == null) { in make()337 factoryCache = CacheBuilder.newBuilder().maximumSize(FACTORY_CACHE_LIMIT).build(); in make()339 SimpleFactory fact = factoryCache.getIfPresent(key); in make()348 return factoryCache.asMap().get(key2); in make()352 factoryCache.put(key, sf); in make()358 return factoryCache.asMap().get(key); in make()395 if (factoryCache == null) { in make()396 factoryCache = CacheBuilder.newBuilder().maximumSize(FACTORY_CACHE_LIMIT).build(); in make()398 SimpleFactory fact = factoryCache.getIfPresent(key); in make()[all …]
85 GrSkSLFP(sk_sp<GrSkSLFPFactoryCache> factoryCache, const GrShaderCaps* shaderCaps, int fIndex,
242 GrSkSLFP::GrSkSLFP(sk_sp<GrSkSLFPFactoryCache> factoryCache, const GrShaderCaps* shaderCaps, in GrSkSLFP() argument246 , fFactoryCache(factoryCache) in GrSkSLFP()