/external/skia/src/core/ |
D | SkCachedData.cpp | 12 SkCachedData::SkCachedData(void* data, size_t size) in SkCachedData() function in SkCachedData 23 SkCachedData::SkCachedData(size_t size, SkDiscardableMemory* dm) in SkCachedData() function in SkCachedData 34 SkCachedData::~SkCachedData() { in ~SkCachedData() 45 class SkCachedData::AutoMutexWritable { 47 AutoMutexWritable(const SkCachedData* cd) : fCD(const_cast<SkCachedData*>(cd)) { in AutoMutexWritable() 56 SkCachedData* get() { return fCD; } in get() 57 SkCachedData* operator->() { return fCD; } in operator ->() 60 SkCachedData* fCD; 63 void SkCachedData::internalRef(bool fromCache) const { in internalRef() 67 void SkCachedData::internalUnref(bool fromCache) const { in internalUnref() [all …]
|
D | SkMaskCache.cpp | 15 SkCachedData* fData; 38 RRectBlurRec(RRectBlurKey key, const SkMask& mask, SkCachedData* data) in RRectBlurRec() 63 SkCachedData* tmpData = rec.fValue.fData; in Visitor() 75 SkCachedData* SkMaskCache::FindAndRef(SkScalar sigma, SkBlurStyle style, in FindAndRef() 89 const SkRRect& rrect, const SkMask& mask, SkCachedData* data, in Add() 129 RectsBlurRec(RectsBlurKey key, const SkMask& mask, SkCachedData* data) in RectsBlurRec() 154 SkCachedData* tmpData = rec.fValue.fData; in Visitor() 166 SkCachedData* SkMaskCache::FindAndRef(SkScalar sigma, SkBlurStyle style, in FindAndRef() 181 const SkRect rects[], int count, const SkMask& mask, SkCachedData* data, in Add()
|
D | SkMaskCache.h | 26 static SkCachedData* FindAndRef(SkScalar sigma, SkBlurStyle style, 29 static SkCachedData* FindAndRef(SkScalar sigma, SkBlurStyle style, 37 const SkRRect& rrect, const SkMask& mask, SkCachedData* data, 40 const SkRect rects[], int count, const SkMask& mask, SkCachedData* data,
|
D | SkYUVPlanesCache.cpp | 23 SkCachedData* fData; 38 YUVPlanesRec(YUVPlanesKey key, SkCachedData* data, const SkYUVAPixmaps& pixmaps) in YUVPlanesRec() 63 SkCachedData* tmpData = rec.fValue.fData; in Visitor() 76 SkCachedData* SkYUVPlanesCache::FindAndRef(uint32_t genID, in FindAndRef() 89 void SkYUVPlanesCache::Add(uint32_t genID, SkCachedData* data, const SkYUVAPixmaps& pixmaps, in Add()
|
D | SkCachedData.h | 17 class SkCachedData : ::SkNoncopyable { 19 SkCachedData(void* mallocData, size_t size); 20 SkCachedData(size_t size, SkDiscardableMemory*); 21 virtual ~SkCachedData();
|
D | SkYUVPlanesCache.h | 13 class SkCachedData; variable 26 static SkCachedData* FindAndRef(uint32_t genID, 34 static void Add(uint32_t genID, SkCachedData* data, const SkYUVAPixmaps& pixmaps,
|
D | SkResourceCache.h | 15 class SkCachedData; variable 182 static SkCachedData* NewCachedData(size_t bytes); 253 SkCachedData* newCachedData(size_t bytes);
|
D | SkMaskFilterBase.h | 39 class SkCachedData; variable 196 SkCachedData* fCache;
|
D | SkResourceCache.cpp | 295 SkCachedData* SkResourceCache::newCachedData(size_t bytes) { in newCachedData() 300 return dm ? new SkCachedData(bytes, dm) : nullptr; in newCachedData() 302 return new SkCachedData(sk_malloc_throw(bytes), bytes); in newCachedData() 495 SkCachedData* SkResourceCache::NewCachedData(size_t bytes) { in NewCachedData()
|
D | SkBlurMF.cpp | 250 static SkCachedData* copy_mask_to_cacheddata(SkMask* mask) { in copy_mask_to_cacheddata() 252 SkCachedData* data = SkResourceCache::NewCachedData(size); in copy_mask_to_cacheddata() 261 static SkCachedData* find_cached_rrect(SkMask* mask, SkScalar sigma, SkBlurStyle style, in find_cached_rrect() 266 static SkCachedData* add_cached_rrect(SkMask* mask, SkScalar sigma, SkBlurStyle style, in add_cached_rrect() 268 SkCachedData* cache = copy_mask_to_cacheddata(mask); in add_cached_rrect() 275 static SkCachedData* find_cached_rects(SkMask* mask, SkScalar sigma, SkBlurStyle style, in find_cached_rects() 280 static SkCachedData* add_cached_rects(SkMask* mask, SkScalar sigma, SkBlurStyle style, in add_cached_rects() 282 SkCachedData* cache = copy_mask_to_cacheddata(mask); in add_cached_rects() 392 SkCachedData* cache = find_cached_rrect(&patch->fMask, sigma, fBlurStyle, smallRR); in filterRRectToNine() 526 SkCachedData* cache = find_cached_rects(&patch->fMask, sigma, fBlurStyle, smallR, count); in filterRectsToNine()
|
D | SkMipmap.h | 32 class SkMipmap : public SkCachedData {
|
D | BUILD.bazel | 69 "SkCachedData.cpp", 70 "SkCachedData.h",
|
D | SkMipmap.cpp | 386 SkMipmap::SkMipmap(void* malloc, size_t size) : SkCachedData(malloc, size) {} in SkMipmap() 387 SkMipmap::SkMipmap(size_t size, SkDiscardableMemory* dm) : SkCachedData(size, dm) {} in SkMipmap()
|
/external/skia/tests/ |
D | CachedDataTest.cpp | 29 static void check_data(skiatest::Reporter* reporter, SkCachedData* data, in check_data() 36 static SkCachedData* make_data(size_t size, SkDiscardableMemoryPool* pool) { in make_data() 41 return new SkCachedData(size, dm); in make_data() 43 return new SkCachedData(sk_malloc_throw(size), size); in make_data() 48 static SkCachedData* test_locking(skiatest::Reporter* reporter, in test_locking() 50 SkCachedData* data = make_data(size, pool); in test_locking() 88 SkCachedData* data = test_locking(reporter, size, useDiscardable ? pool.get() : nullptr); in DEF_TEST()
|
D | MaskCacheTest.cpp | 31 static void check_data(skiatest::Reporter* reporter, SkCachedData* data, in check_data() 49 SkCachedData* data = SkMaskCache::FindAndRef(sigma, style, rrect, &mask, &cache); in DEF_TEST() 86 SkCachedData* data = SkMaskCache::FindAndRef(sigma, style, rects, 1, &mask, &cache); in DEF_TEST()
|
D | YUVCacheTest.cpp | 30 static void check_data(skiatest::Reporter* reporter, SkCachedData* data, in check_data() 51 SkCachedData* data = SkYUVPlanesCache::FindAndRef(genID, &yuvaPixmaps, &cache); in DEF_TEST()
|
D | SkResourceCacheTest.cpp | 47 static void check_data(skiatest::Reporter* reporter, const SkCachedData* data, in check_data()
|
/external/skia/src/image/ |
D | SkImage_Lazy.h | 37 class SkCachedData; variable 124 sk_sp<SkCachedData> getPlanes(const SkYUVAPixmapInfo::SupportedDataTypes& supportedDataTypes,
|
D | SkImage_Lazy.cpp | 367 sk_sp<SkCachedData> dataStorage = this->getPlanes(supportedDataTypes, &yuvaPixmaps); in textureProxyViewFromPlanes() 389 auto cachedData = static_cast<SkCachedData*>(data); in textureProxyViewFromPlanes() 458 sk_sp<SkCachedData> SkImage_Lazy::getPlanes( in getPlanes() 463 sk_sp<SkCachedData> data(SkYUVPlanesCache::FindAndRef(generator->uniqueID(), yuvaPixmaps)); in getPlanes()
|
/external/skia/gn/ |
D | core.gni | 282 "$_src/core/SkCachedData.cpp", 283 "$_src/core/SkCachedData.h",
|
/external/skia/ |
D | public.bzl | 393 "src/core/SkCachedData.cpp", 394 "src/core/SkCachedData.h",
|
D | Android.bp | 238 "src/core/SkCachedData.cpp", 1038 "src/core/SkCachedData.cpp", 3814 "src/core/SkCachedData.cpp",
|