Home
last modified time | relevance | path

Searched refs:SkDiscardableMemory (Results 1 – 25 of 27) sorted by relevance

12

/external/skia/include/private/chromium/
DSkDiscardableMemory.h18 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;
DBUILD.bazel35 "SkDiscardableMemory.h",
/external/skia/tests/
DDiscardableMemoryTest.cpp22 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()
DDiscardableMemoryPoolTest.cpp20 std::unique_ptr<SkDiscardableMemory> dm1(pool->create(100)); in DEF_TEST()
28 std::unique_ptr<SkDiscardableMemory> dm2(pool->create(200)); in DEF_TEST()
DImageCacheTest.cpp36 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()
DCachedDataTest.cpp17 class SkDiscardableMemory;
38 SkDiscardableMemory* dm = pool->create(size); in make_data()
DTraceMemoryDumpTest.cpp33 class SkDiscardableMemory;
57 const SkDiscardableMemory& discardableMemoryObject) override { } in setDiscardableMemoryBacking()
DSkResourceCacheTest.cpp128 static SkDiscardableMemory* pool_factory(size_t bytes) { in pool_factory()
300 SkResourceCache cache(SkDiscardableMemory::Create); in DEF_TEST()
/external/skia/src/core/
DSkCachedData.h15 class SkDiscardableMemory; variable
20 SkCachedData(size_t size, SkDiscardableMemory*);
35 SkDiscardableMemory* diagnostic_only_getDiscardable() const { in diagnostic_only_getDiscardable()
52 SkDiscardableMemory* fDM;
DSkMipmap.h20 class SkDiscardableMemory; variable
23 typedef SkDiscardableMemory* (*SkDiscardableFactoryProc)(size_t bytes);
91 SkMipmap(size_t size, SkDiscardableMemory* dm);
DSkBitmapCache.cpp66 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()
DSkResourceCache.h16 class SkDiscardableMemory; variable
103 virtual SkDiscardableMemory* diagnostic_only_getDiscardable() const { return nullptr; } in diagnostic_only_getDiscardable()
136 typedef SkDiscardableMemory* (*DiscardableFactory)(size_t bytes);
DSkMaskCache.cpp55 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { in diagnostic_only_getDiscardable()
146 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { in diagnostic_only_getDiscardable()
DSkResourceCache.cpp299 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()
DSkYUVPlanesCache.cpp55 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { in diagnostic_only_getDiscardable()
DSkCachedData.cpp23 SkCachedData::SkCachedData(size_t size, SkDiscardableMemory* dm) in SkCachedData()
DSkMipmap.cpp387 SkMipmap::SkMipmap(size_t size, SkDiscardableMemory* dm) : SkCachedData(size, dm) {} in SkMipmap()
575 SkDiscardableMemory* dm = fact(storageSize); in Build()
/external/skia/src/lazy/
DSkDiscardableMemoryPool.cpp34 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()
DSkDiscardableMemoryPool.h28 class SkDiscardableMemoryPool : public SkDiscardableMemory::Factory {
/external/skia/src/ports/
DSkDiscardableMemory_none.cpp12 SkDiscardableMemory* SkDiscardableMemory::Create(size_t bytes) { in Create()
DSkFontMgr_FontConfigInterface.cpp103 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { return nullptr; } in diagnostic_only_getDiscardable()
/external/skia/include/core/
DSkTraceMemoryDump.h13 class SkDiscardableMemory; variable
71 const SkDiscardableMemory& discardableMemoryObject) = 0;
DSkPixelRef.h25 class SkDiscardableMemory; variable
84 virtual SkDiscardableMemory* diagnostic_only_getDiscardable() const { return nullptr; } in diagnostic_only_getDiscardable()
/external/skia/bench/
DImageCacheBench.cpp30 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { return nullptr; } in diagnostic_only_getDiscardable()
/external/skia/src/shaders/
DSkPictureShader.cpp111 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { return nullptr; } in diagnostic_only_getDiscardable()

12