/external/skia/src/core/ |
D | SkCachedData.cpp | 30 SkCachedData::SkCachedData(void* data, size_t size) in SkCachedData() function in SkCachedData 42 SkCachedData::SkCachedData(size_t size, SkDiscardableMemory* dm) in SkCachedData() function in SkCachedData 54 SkCachedData::~SkCachedData() { in ~SkCachedData() 66 class SkCachedData::AutoMutexWritable { 68 AutoMutexWritable(const SkCachedData* cd) : fCD(const_cast<SkCachedData*>(cd)) { in AutoMutexWritable() 77 SkCachedData* get() { return fCD; } in get() 78 SkCachedData* operator->() { return fCD; } in operator ->() 81 SkCachedData* fCD; 84 void SkCachedData::internalRef(bool fromCache) const { in internalRef() 88 void SkCachedData::internalUnref(bool fromCache) const { in internalUnref() [all …]
|
D | SkMaskCache.cpp | 15 SkCachedData* fData; 40 RRectBlurRec(RRectBlurKey key, const SkMask& mask, SkCachedData* data) in RRectBlurRec() 65 SkCachedData* tmpData = rec.fValue.fData; in Visitor() 77 SkCachedData* SkMaskCache::FindAndRef(SkScalar sigma, SkBlurStyle style, SkBlurQuality quality, in FindAndRef() 91 const SkRRect& rrect, const SkMask& mask, SkCachedData* data, in Add() 135 RectsBlurRec(RectsBlurKey key, const SkMask& mask, SkCachedData* data) in RectsBlurRec() 160 SkCachedData* tmpData = rec.fValue.fData; in Visitor() 172 SkCachedData* SkMaskCache::FindAndRef(SkScalar sigma, SkBlurStyle style, SkBlurQuality quality, in FindAndRef() 187 const SkRect rects[], int count, const SkMask& mask, SkCachedData* data, in Add()
|
D | SkMaskCache.h | 26 static SkCachedData* FindAndRef(SkScalar sigma, SkBlurStyle style, SkBlurQuality quality, 29 static SkCachedData* FindAndRef(SkScalar sigma, SkBlurStyle style, SkBlurQuality quality, 37 const SkRRect& rrect, const SkMask& mask, SkCachedData* data, 40 const SkRect rects[], int count, const SkMask& mask, SkCachedData* data,
|
D | SkYUVPlanesCache.cpp | 20 SkCachedData* fData; 35 YUVPlanesRec(YUVPlanesKey key, SkCachedData* data, SkYUVPlanesCache::Info* info) in YUVPlanesRec() 60 SkCachedData* tmpData = rec.fValue.fData; in Visitor() 73 SkCachedData* SkYUVPlanesCache::FindAndRef(uint32_t genID, Info* info, in FindAndRef() 85 void SkYUVPlanesCache::Add(uint32_t genID, SkCachedData* data, Info* info, in Add()
|
D | SkCachedData.h | 16 class SkCachedData : ::SkNoncopyable { 18 SkCachedData(void* mallocData, size_t size); 19 SkCachedData(size_t size, SkDiscardableMemory*); 20 virtual ~SkCachedData();
|
D | SkYUVPlanesCache.h | 40 static SkCachedData* FindAndRef(uint32_t genID, Info* info, 46 static void Add(uint32_t genID, SkCachedData* data, Info* info,
|
D | SkMipMap.h | 21 class SkMipMap : public SkCachedData { 54 typedef SkCachedData INHERITED;
|
D | SkResourceCache.h | 15 class SkCachedData; variable 176 static SkCachedData* NewCachedData(size_t bytes); 248 SkCachedData* newCachedData(size_t bytes);
|
D | SkResourceCache.cpp | 385 SkCachedData* SkResourceCache::newCachedData(size_t bytes) { in newCachedData() 390 return dm ? new SkCachedData(bytes, dm) : nullptr; in newCachedData() 392 return new SkCachedData(sk_malloc_throw(bytes), bytes); in newCachedData() 597 SkCachedData* SkResourceCache::NewCachedData(size_t bytes) { in NewCachedData()
|
/external/skia/tests/ |
D | CachedDataTest.cpp | 22 static void check_data(skiatest::Reporter* reporter, SkCachedData* data, in check_data() 29 static SkCachedData* make_data(size_t size, SkDiscardableMemoryPool* pool) { in make_data() 34 return new SkCachedData(size, dm); in make_data() 36 return new SkCachedData(sk_malloc_throw(size), size); in make_data() 41 static SkCachedData* test_locking(skiatest::Reporter* reporter, in test_locking() 43 SkCachedData* data = make_data(size, pool); in test_locking() 81 SkCachedData* data = test_locking(reporter, size, useDiscardable ? pool.get() : nullptr); in DEF_TEST()
|
D | MaskCacheTest.cpp | 23 static void check_data(skiatest::Reporter* reporter, SkCachedData* data, in check_data() 42 SkCachedData* data = SkMaskCache::FindAndRef(sigma, style, quality, rrect, &mask, &cache); in DEF_TEST() 80 SkCachedData* data = SkMaskCache::FindAndRef(sigma, style, quality, rects, 1, &mask, &cache); in DEF_TEST()
|
D | YUVCacheTest.cpp | 23 static void check_data(skiatest::Reporter* reporter, SkCachedData* data, in check_data() 45 SkCachedData* data = SkYUVPlanesCache::FindAndRef(genID, &yuvInfo, &cache); in DEF_TEST()
|
D | SkResourceCacheTest.cpp | 84 static void check_data(skiatest::Reporter* reporter, const SkCachedData* data, in check_data()
|
/external/skia/include/core/ |
D | SkMaskFilter.h | 25 class SkCachedData; variable 193 SkCachedData* fCache;
|
/external/skia/src/effects/ |
D | SkBlurMaskFilter.cpp | 268 static SkCachedData* copy_mask_to_cacheddata(SkMask* mask) { in copy_mask_to_cacheddata() 270 SkCachedData* data = SkResourceCache::NewCachedData(size); in copy_mask_to_cacheddata() 279 static SkCachedData* find_cached_rrect(SkMask* mask, SkScalar sigma, SkBlurStyle style, in find_cached_rrect() 284 static SkCachedData* add_cached_rrect(SkMask* mask, SkScalar sigma, SkBlurStyle style, in add_cached_rrect() 286 SkCachedData* cache = copy_mask_to_cacheddata(mask); in add_cached_rrect() 293 static SkCachedData* find_cached_rects(SkMask* mask, SkScalar sigma, SkBlurStyle style, in find_cached_rects() 298 static SkCachedData* add_cached_rects(SkMask* mask, SkScalar sigma, SkBlurStyle style, in add_cached_rects() 300 SkCachedData* cache = copy_mask_to_cacheddata(mask); in add_cached_rects() 414 SkCachedData* cache = find_cached_rrect(&patch->fMask, sigma, fBlurStyle, in filterRRectToNine() 547 SkCachedData* cache = find_cached_rects(&patch->fMask, sigma, fBlurStyle, in filterRectsToNine()
|
/external/skia/src/gpu/ |
D | GrYUVProvider.cpp | 30 SkAutoTUnref<SkCachedData> fCachedData;
|
/external/skia/gyp/ |
D | core.gypi | 65 '<(skia_src_path)/core/SkCachedData.cpp',
|
/external/skia/ |
D | Android.mk | 123 src/core/SkCachedData.cpp \
|