Home | History | Annotate | Download | only in gradients

Lines Matching defs:gCache

668     static SkGradientBitmapCache* gCache;
673 if (nullptr == gCache) {
674 gCache = new SkGradientBitmapCache(MAX_NUM_CACHED_GRADIENT_BITMAPS);
678 if (!gCache->find(storage.get(), size, bitmap)) {
684 gCache->add(storage.get(), size, *bitmap);