Home
last modified time | relevance | path

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

12

/external/skia/src/core/
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;
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);
90 SkMipmap(size_t size, SkDiscardableMemory* dm) : INHERITED(size, dm) {} in SkMipmap()
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);
/external/skqp/src/core/
DSkDiscardableMemory.h18 class SK_API SkDiscardableMemory {
24 static SkDiscardableMemory* Create(size_t bytes);
32 virtual SkDiscardableMemory* create(size_t bytes) = 0;
39 virtual ~SkDiscardableMemory() {} in ~SkDiscardableMemory()
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.h19 class SkDiscardableMemory; variable
21 typedef SkDiscardableMemory* (*SkDiscardableFactoryProc)(size_t bytes);
75 SkMipMap(size_t size, SkDiscardableMemory* dm) : INHERITED(size, dm) {} in SkMipMap()
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);
/external/skqp/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.cpp30 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { return nullptr; } in diagnostic_only_getDiscardable()
111 static SkDiscardableMemory* pool_factory(size_t bytes) { in pool_factory()
130 SkResourceCache cache(SkDiscardableMemory::Create); in DEF_TEST()
DCachedDataTest.cpp17 class SkDiscardableMemory;
38 SkDiscardableMemory* dm = pool->create(size); in make_data()
/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.cpp30 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { return nullptr; } in diagnostic_only_getDiscardable()
111 static SkDiscardableMemory* pool_factory(size_t bytes) { in pool_factory()
130 SkResourceCache cache(SkDiscardableMemory::Create); in DEF_TEST()
/external/skqp/src/lazy/
DSkDiscardableMemoryPool.cpp33 std::unique_ptr<SkDiscardableMemory> make(size_t bytes);
34 SkDiscardableMemory* create(size_t bytes) override { in create()
72 typedef SkDiscardableMemory::Factory INHERITED;
79 class PoolDiscardableMemory : public SkDiscardableMemory {
166 std::unique_ptr<SkDiscardableMemory> DiscardableMemoryPool::make(size_t bytes) { in make()
/external/skia/src/lazy/
DSkDiscardableMemoryPool.cpp32 std::unique_ptr<SkDiscardableMemory> make(size_t bytes);
33 SkDiscardableMemory* create(size_t bytes) override { in create()
71 using INHERITED = SkDiscardableMemory::Factory;
78 class PoolDiscardableMemory : public SkDiscardableMemory {
165 std::unique_ptr<SkDiscardableMemory> DiscardableMemoryPool::make(size_t bytes) { in make()
/external/skqp/src/ports/
DSkDiscardableMemory_none.cpp12 SkDiscardableMemory* SkDiscardableMemory::Create(size_t bytes) { in Create()
/external/skia/src/ports/
DSkDiscardableMemory_none.cpp12 SkDiscardableMemory* SkDiscardableMemory::Create(size_t bytes) { in Create()
/external/skqp/include/core/
DSkTraceMemoryDump.h13 class SkDiscardableMemory; variable
71 const SkDiscardableMemory& discardableMemoryObject) = 0;
DSkPixelRef.h26 class SkDiscardableMemory; variable
89 virtual SkDiscardableMemory* diagnostic_only_getDiscardable() const { 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()

12