Home
last modified time | relevance | path

Searched refs:SkImageFilterCache (Results 1 – 25 of 30) sorted by relevance

12

/external/skqp/src/core/
DSkImageFilterCache.cpp30 class CacheImpl : public SkImageFilterCache {
157 SkImageFilterCache* SkImageFilterCache::Create(size_t maxBytes) { in Create()
161 SkImageFilterCache* SkImageFilterCache::Get() { in Get()
163 static SkImageFilterCache* cache; in Get()
165 once([]{ cache = SkImageFilterCache::Create(kDefaultCacheSize); }); in Get()
DSkImageFilterCache.h51 class SkImageFilterCache : public SkRefCnt {
55 virtual ~SkImageFilterCache() {} in ~SkImageFilterCache()
56 static SkImageFilterCache* Create(size_t maxBytes);
57 static SkImageFilterCache* Get();
DSkBitmapDevice.h24 class SkImageFilterCache; variable
159 SkImageFilterCache* getImageFilterCache() override;
DSkBitmapDevice.cpp630 sk_sp<SkImageFilterCache> cache(this->getImageFilterCache()); in drawSpecial()
733 SkImageFilterCache* SkBitmapDevice::getImageFilterCache() { in getImageFilterCache()
734 SkImageFilterCache* cache = SkImageFilterCache::Get(); in getImageFilterCache()
DSkDevice.h21 class SkImageFilterCache; variable
369 virtual SkImageFilterCache* getImageFilterCache() { return nullptr; } in getImageFilterCache()
DSkImageFilter.cpp135 SkImageFilterCache::Get()->purgeByImageFilter(this); in ~SkImageFilter()
468 SkImageFilterCache::Get()->purge(); in PurgeCache()
/external/skia/src/core/
DSkImageFilterCache.cpp30 class CacheImpl : public SkImageFilterCache {
157 SkImageFilterCache* SkImageFilterCache::Create(size_t maxBytes) { in Create()
161 SkImageFilterCache* SkImageFilterCache::Get() { in Get()
163 static SkImageFilterCache* cache; in Get()
165 once([]{ cache = SkImageFilterCache::Create(kDefaultCacheSize); }); in Get()
DSkImageFilterCache.h51 class SkImageFilterCache : public SkRefCnt {
55 virtual ~SkImageFilterCache() {} in ~SkImageFilterCache()
56 static SkImageFilterCache* Create(size_t maxBytes);
57 static SkImageFilterCache* Get();
DSkBitmapDevice.h24 class SkImageFilterCache; variable
158 SkImageFilterCache* getImageFilterCache() override;
DSkBitmapDevice.cpp616 sk_sp<SkImageFilterCache> cache(this->getImageFilterCache()); in drawSpecial()
722 SkImageFilterCache* SkBitmapDevice::getImageFilterCache() { in getImageFilterCache()
723 SkImageFilterCache* cache = SkImageFilterCache::Get(); in getImageFilterCache()
DSkDevice.h21 class SkImageFilterCache; variable
366 virtual SkImageFilterCache* getImageFilterCache() { return nullptr; } in getImageFilterCache()
DSkImageFilter.cpp138 SkImageFilterCache::Get()->purgeByImageFilter(this); in ~SkImageFilter()
471 SkImageFilterCache::Get()->purge(); in PurgeCache()
/external/skia/tests/
DImageFilterCacheTest.cpp41 sk_sp<SkImageFilterCache> cache(SkImageFilterCache::Create(kCacheSize)); in test_find_existing()
66 sk_sp<SkImageFilterCache> cache(SkImageFilterCache::Create(kCacheSize)); in test_dont_find_if_diff_key()
92 sk_sp<SkImageFilterCache> cache(SkImageFilterCache::Create(kCacheSize)); in test_internal_purge()
119 sk_sp<SkImageFilterCache> cache(SkImageFilterCache::Create(kCacheSize)); in test_explicit_purging()
/external/skqp/tests/
DImageFilterCacheTest.cpp41 sk_sp<SkImageFilterCache> cache(SkImageFilterCache::Create(kCacheSize)); in test_find_existing()
66 sk_sp<SkImageFilterCache> cache(SkImageFilterCache::Create(kCacheSize)); in test_dont_find_if_diff_key()
92 sk_sp<SkImageFilterCache> cache(SkImageFilterCache::Create(kCacheSize)); in test_internal_purge()
119 sk_sp<SkImageFilterCache> cache(SkImageFilterCache::Create(kCacheSize)); in test_explicit_purging()
/external/skqp/include/core/
DSkImageFilter.h27 class SkImageFilterCache; variable
60 Context(const SkMatrix& ctm, const SkIRect& clipBounds, SkImageFilterCache* cache, in Context()
70 SkImageFilterCache* cache() const { return fCache; } in cache()
86 SkImageFilterCache* fCache;
/external/skia/include/core/
DSkImageFilter.h27 class SkImageFilterCache; variable
60 Context(const SkMatrix& ctm, const SkIRect& clipBounds, SkImageFilterCache* cache, in Context()
70 SkImageFilterCache* cache() const { return fCache; } in cache()
86 SkImageFilterCache* fCache;
/external/skqp/src/image/
DSkImage.cpp273 sk_sp<SkImageFilterCache> cache( in makeWithFilter()
274 SkImageFilterCache::Create(SkImageFilterCache::kDefaultTransientSize)); in makeWithFilter()
/external/skia/src/image/
DSkImage.cpp283 sk_sp<SkImageFilterCache> cache( in makeWithFilter()
284 SkImageFilterCache::Create(SkImageFilterCache::kDefaultTransientSize)); in makeWithFilter()
/external/skia/src/pdf/
DSkPDFDevice.h140 SkImageFilterCache* getImageFilterCache() override;
DSkPDFDevice.cpp2036 sk_sp<SkImageFilterCache> cache(this->getImageFilterCache()); in drawSpecial()
2069 SkImageFilterCache* SkPDFDevice::getImageFilterCache() { in getImageFilterCache()
2072 return SkImageFilterCache::Create(SkImageFilterCache::kDefaultTransientSize); in getImageFilterCache()
/external/skqp/src/pdf/
DSkPDFDevice.h144 SkImageFilterCache* getImageFilterCache() override;
/external/skia/src/gpu/
DSkGpuDevice.h169 SkImageFilterCache* getImageFilterCache() override;
DSkGpuDevice.cpp182 sk_sp<SkImageFilterCache> cache(this->getImageFilterCache()); in filterTexture()
1691 SkImageFilterCache* SkGpuDevice::getImageFilterCache() { in getImageFilterCache()
1695 return SkImageFilterCache::Create(SkImageFilterCache::kDefaultTransientSize); in getImageFilterCache()
/external/skqp/src/gpu/
DSkGpuDevice.h154 SkImageFilterCache* getImageFilterCache() override;
DSkGpuDevice.cpp187 sk_sp<SkImageFilterCache> cache(this->getImageFilterCache()); in filterTexture()
1846 SkImageFilterCache* SkGpuDevice::getImageFilterCache() { in getImageFilterCache()
1850 return SkImageFilterCache::Create(SkImageFilterCache::kDefaultTransientSize); in getImageFilterCache()

12