/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 | 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 | 17 class SkCachedData : ::SkNoncopyable { 19 SkCachedData(void* mallocData, size_t size); 20 SkCachedData(size_t size, SkDiscardableMemory*); 21 virtual ~SkCachedData();
|
D | SkYUVPlanesCache.h | 37 static SkCachedData* FindAndRef(uint32_t genID, Info* info, 43 static void Add(uint32_t genID, SkCachedData* data, Info* info,
|
D | SkResourceCache.h | 15 class SkCachedData; variable 181 static SkCachedData* NewCachedData(size_t bytes); 252 SkCachedData* newCachedData(size_t bytes);
|
D | SkMipMap.h | 30 class SkMipMap : public SkCachedData { 79 typedef SkCachedData INHERITED;
|
D | SkBlurMF.cpp | 384 static SkCachedData* copy_mask_to_cacheddata(SkMask* mask) { in copy_mask_to_cacheddata() 386 SkCachedData* data = SkResourceCache::NewCachedData(size); in copy_mask_to_cacheddata() 395 static SkCachedData* find_cached_rrect(SkMask* mask, SkScalar sigma, SkBlurStyle style, in find_cached_rrect() 400 static SkCachedData* add_cached_rrect(SkMask* mask, SkScalar sigma, SkBlurStyle style, in add_cached_rrect() 402 SkCachedData* cache = copy_mask_to_cacheddata(mask); in add_cached_rrect() 409 static SkCachedData* find_cached_rects(SkMask* mask, SkScalar sigma, SkBlurStyle style, in find_cached_rects() 414 static SkCachedData* add_cached_rects(SkMask* mask, SkScalar sigma, SkBlurStyle style, in add_cached_rects() 416 SkCachedData* cache = copy_mask_to_cacheddata(mask); in add_cached_rects() 526 SkCachedData* cache = find_cached_rrect(&patch->fMask, sigma, fBlurStyle, smallRR); in filterRRectToNine() 659 SkCachedData* cache = find_cached_rects(&patch->fMask, sigma, fBlurStyle, smallR, count); in filterRectsToNine()
|
/external/skqp/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 | 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 | 17 class SkCachedData : ::SkNoncopyable { 19 SkCachedData(void* mallocData, size_t size); 20 SkCachedData(size_t size, SkDiscardableMemory*); 21 virtual ~SkCachedData();
|
D | SkYUVPlanesCache.h | 37 static SkCachedData* FindAndRef(uint32_t genID, Info* info, 43 static void Add(uint32_t genID, SkCachedData* data, Info* info,
|
D | SkResourceCache.h | 15 class SkCachedData; variable 181 static SkCachedData* NewCachedData(size_t bytes); 252 SkCachedData* newCachedData(size_t bytes);
|
D | SkMipMap.h | 30 class SkMipMap : public SkCachedData { 79 typedef SkCachedData INHERITED;
|
/external/skqp/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 | 23 static void check_data(skiatest::Reporter* reporter, SkCachedData* data, in check_data() 41 SkCachedData* data = SkMaskCache::FindAndRef(sigma, style, rrect, &mask, &cache); in DEF_TEST() 78 SkCachedData* data = SkMaskCache::FindAndRef(sigma, style, rects, 1, &mask, &cache); in DEF_TEST()
|
/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 | 23 static void check_data(skiatest::Reporter* reporter, SkCachedData* data, in check_data() 41 SkCachedData* data = SkMaskCache::FindAndRef(sigma, style, rrect, &mask, &cache); in DEF_TEST() 78 SkCachedData* data = SkMaskCache::FindAndRef(sigma, style, rects, 1, &mask, &cache); in DEF_TEST()
|
/external/skia/src/gpu/ |
D | GrYUVProvider.cpp | 24 sk_sp<SkCachedData> GrYUVProvider::getPlanes(SkYUVASizeInfo* size, in getPlanes() 28 sk_sp<SkCachedData> data; in getPlanes() 99 SkCachedData* cachedData = static_cast<SkCachedData*>(data); in YUVGen_DataReleaseProc() 114 sk_sp<SkCachedData> dataStorage = this->getPlanes(&yuvSizeInfo, yuvaIndices, in refAsTextureProxy() 139 SkCachedData* dataStoragePtr = dataStorage.get(); in refAsTextureProxy()
|
D | GrYUVProvider.h | 21 class SkCachedData; variable 50 sk_sp<SkCachedData> getPlanes(SkYUVASizeInfo*, SkYUVAIndex[SkYUVAIndex::kIndexCount],
|
/external/skqp/src/gpu/ |
D | GrYUVProvider.cpp | 24 sk_sp<SkCachedData> GrYUVProvider::getPlanes(SkYUVASizeInfo* size, in getPlanes() 28 sk_sp<SkCachedData> data; in getPlanes() 99 SkCachedData* cachedData = static_cast<SkCachedData*>(data); in YUVGen_DataReleaseProc() 114 sk_sp<SkCachedData> dataStorage = this->getPlanes(&yuvSizeInfo, yuvaIndices, in refAsTextureProxy() 139 SkCachedData* dataStoragePtr = dataStorage.get(); in refAsTextureProxy()
|
D | GrYUVProvider.h | 21 class SkCachedData; variable 50 sk_sp<SkCachedData> getPlanes(SkYUVASizeInfo*, SkYUVAIndex[SkYUVAIndex::kIndexCount],
|