/external/skia/include/private/chromium/ |
D | SkDiscardableMemory.h | 18 class SK_SPI SkDiscardableMemory { 24 static SkDiscardableMemory* Create(size_t bytes); 32 virtual SkDiscardableMemory* create(size_t bytes) = 0; 39 virtual ~SkDiscardableMemory() {} in ~SkDiscardableMemory() 65 SkDiscardableMemory() = default; 66 SkDiscardableMemory(const SkDiscardableMemory&) = delete; 67 SkDiscardableMemory& operator=(const SkDiscardableMemory&) = delete;
|
D | BUILD.bazel | 35 "SkDiscardableMemory.h",
|
/external/skia/tests/ |
D | DiscardableMemoryTest.cpp | 22 SkDiscardableMemory* dm, in test_dm() 52 std::unique_ptr<SkDiscardableMemory> dm(SkDiscardableMemory::Create(kTestStringLength)); in DEF_TEST() 61 std::unique_ptr<SkDiscardableMemory> dm(pool->create(kTestStringLength)); in DEF_TEST()
|
D | DiscardableMemoryPoolTest.cpp | 20 std::unique_ptr<SkDiscardableMemory> dm1(pool->create(100)); in DEF_TEST() 28 std::unique_ptr<SkDiscardableMemory> dm2(pool->create(200)); in DEF_TEST()
|
D | ImageCacheTest.cpp | 36 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { return nullptr; } in diagnostic_only_getDiscardable() 115 static SkDiscardableMemory* pool_factory(size_t bytes) { in pool_factory() 134 SkResourceCache cache(SkDiscardableMemory::Create); in DEF_TEST()
|
D | CachedDataTest.cpp | 17 class SkDiscardableMemory; 38 SkDiscardableMemory* dm = pool->create(size); in make_data()
|
D | TraceMemoryDumpTest.cpp | 33 class SkDiscardableMemory; 57 const SkDiscardableMemory& discardableMemoryObject) override { } in setDiscardableMemoryBacking()
|
D | SkResourceCacheTest.cpp | 128 static SkDiscardableMemory* pool_factory(size_t bytes) { in pool_factory() 300 SkResourceCache cache(SkDiscardableMemory::Create); in DEF_TEST()
|
/external/skia/src/core/ |
D | SkCachedData.h | 15 class SkDiscardableMemory; variable 20 SkCachedData(size_t size, SkDiscardableMemory*); 35 SkDiscardableMemory* diagnostic_only_getDiscardable() const { in diagnostic_only_getDiscardable() 52 SkDiscardableMemory* fDM;
|
D | SkMipmap.h | 20 class SkDiscardableMemory; variable 23 typedef SkDiscardableMemory* (*SkDiscardableFactoryProc)(size_t bytes); 91 SkMipmap(size_t size, SkDiscardableMemory* dm);
|
D | SkBitmapCache.cpp | 66 std::unique_ptr<SkDiscardableMemory> dm, void* block) in Rec() 102 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { in diagnostic_only_getDiscardable() 161 std::unique_ptr<SkDiscardableMemory> fDM; 188 std::unique_ptr<SkDiscardableMemory> dm; in Alloc() 247 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { in diagnostic_only_getDiscardable()
|
D | SkResourceCache.h | 16 class SkDiscardableMemory; variable 103 virtual SkDiscardableMemory* diagnostic_only_getDiscardable() const { return nullptr; } in diagnostic_only_getDiscardable() 136 typedef SkDiscardableMemory* (*DiscardableFactory)(size_t bytes);
|
D | SkMaskCache.cpp | 55 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { in diagnostic_only_getDiscardable() 146 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { in diagnostic_only_getDiscardable()
|
D | SkResourceCache.cpp | 299 SkDiscardableMemory* dm = fDiscardableFactory(bytes); in newCachedData() 467 gResourceCache = new SkResourceCache(SkDiscardableMemory::Create); in get_cache() 595 SkDiscardableMemory* discardable = rec.diagnostic_only_getDiscardable(); in sk_trace_dump_visitor()
|
D | SkYUVPlanesCache.cpp | 55 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { in diagnostic_only_getDiscardable()
|
D | SkCachedData.cpp | 23 SkCachedData::SkCachedData(size_t size, SkDiscardableMemory* dm) in SkCachedData()
|
D | SkMipmap.cpp | 387 SkMipmap::SkMipmap(size_t size, SkDiscardableMemory* dm) : SkCachedData(size, dm) {} in SkMipmap() 575 SkDiscardableMemory* dm = fact(storageSize); in Build()
|
/external/skia/src/lazy/ |
D | SkDiscardableMemoryPool.cpp | 34 std::unique_ptr<SkDiscardableMemory> make(size_t bytes); 35 SkDiscardableMemory* create(size_t bytes) override { in create() 73 using INHERITED = SkDiscardableMemory::Factory; 80 class PoolDiscardableMemory : public SkDiscardableMemory { 167 std::unique_ptr<SkDiscardableMemory> DiscardableMemoryPool::make(size_t bytes) { in make()
|
D | SkDiscardableMemoryPool.h | 28 class SkDiscardableMemoryPool : public SkDiscardableMemory::Factory {
|
/external/skia/src/ports/ |
D | SkDiscardableMemory_none.cpp | 12 SkDiscardableMemory* SkDiscardableMemory::Create(size_t bytes) { in Create()
|
D | SkFontMgr_FontConfigInterface.cpp | 103 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { return nullptr; } in diagnostic_only_getDiscardable()
|
/external/skia/include/core/ |
D | SkTraceMemoryDump.h | 13 class SkDiscardableMemory; variable 71 const SkDiscardableMemory& discardableMemoryObject) = 0;
|
D | SkPixelRef.h | 25 class SkDiscardableMemory; variable 84 virtual SkDiscardableMemory* diagnostic_only_getDiscardable() const { return nullptr; } in diagnostic_only_getDiscardable()
|
/external/skia/bench/ |
D | ImageCacheBench.cpp | 30 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { return nullptr; } in diagnostic_only_getDiscardable()
|
/external/skia/src/shaders/ |
D | SkPictureShader.cpp | 111 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { return nullptr; } in diagnostic_only_getDiscardable()
|