Home
last modified time | relevance | path

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

12

/external/skia/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()
DSkScaledImageCache.h13 class SkDiscardableMemory; variable
34 typedef SkDiscardableMemory* (*DiscardableFactory)(size_t bytes);
DSkImageGeneratorPriv.h37 SkDiscardableMemory::Factory* factory);
/external/chromium_org/third_party/skia/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()
DSkResourceCache.cpp60 SkOneShotDiscardablePixelRef(const SkImageInfo&, SkDiscardableMemory*, size_t rowBytes);
69 SkDiscardableMemory* fDM;
77 SkDiscardableMemory* dm, in SkOneShotDiscardablePixelRef()
147 SkDiscardableMemory* dm = fFactory(size); in allocPixelRef()
411 gResourceCache = SkNEW_ARGS(SkResourceCache, (SkDiscardableMemory::Create)); in get_cache()
DSkResourceCache.h13 class SkDiscardableMemory; variable
100 typedef SkDiscardableMemory* (*DiscardableFactory)(size_t bytes);
DSkImageGeneratorPriv.h37 SkDiscardableMemory::Factory* factory);
/external/skia/src/lazy/
DSkDiscardablePixelRef.h39 SkDiscardableMemory::Factory* const fDMFactory;
44 SkDiscardableMemory* fDiscardableMemory;
50 SkDiscardableMemory::Factory* factory);
53 SkDiscardableMemory::Factory*);
DSkDiscardablePixelRef.cpp15 SkDiscardableMemory::Factory* fact) in SkDiscardablePixelRef()
56 fDiscardableMemory = SkDiscardableMemory::Create(size);
100 SkDiscardableMemory::Factory* factory) {
DSkDiscardableMemoryPool.cpp34 virtual SkDiscardableMemory* create(size_t bytes) SK_OVERRIDE;
70 typedef SkDiscardableMemory::Factory INHERITED;
77 class PoolDiscardableMemory : public SkDiscardableMemory {
175 SkDiscardableMemory* DiscardableMemoryPool::create(size_t bytes) { in create()
DSkDiscardableMemoryPool.h27 class SkDiscardableMemoryPool : public SkDiscardableMemory::Factory {
/external/chromium_org/third_party/skia/src/lazy/
DSkDiscardablePixelRef.h38 SkDiscardableMemory::Factory* const fDMFactory;
43 SkDiscardableMemory* fDiscardableMemory;
49 SkDiscardableMemory::Factory* factory);
59 SkDiscardableMemory::Factory*);
DSkDiscardablePixelRef.cpp15 SkDiscardableMemory::Factory* fact) in SkDiscardablePixelRef()
56 fDiscardableMemory = SkDiscardableMemory::Create(size);
100 SkDiscardableMemory::Factory* factory) {
DSkDiscardableMemoryPool.cpp35 virtual SkDiscardableMemory* create(size_t bytes) SK_OVERRIDE;
71 typedef SkDiscardableMemory::Factory INHERITED;
78 class PoolDiscardableMemory : public SkDiscardableMemory {
176 SkDiscardableMemory* DiscardableMemoryPool::create(size_t bytes) { in create()
DSkDiscardableMemoryPool.h27 class SkDiscardableMemoryPool : public SkDiscardableMemory::Factory {
/external/chromium_org/third_party/skia/src/ports/
DSkDiscardableMemory_none.cpp11 SkDiscardableMemory* SkDiscardableMemory::Create(size_t bytes) { in Create()
/external/skia/src/ports/
DSkDiscardableMemory_none.cpp11 SkDiscardableMemory* SkDiscardableMemory::Create(size_t bytes) { in Create()
/external/chromium_org/skia/ext/
DSkDiscardableMemory_chrome.h14 class SK_API SkDiscardableMemoryChrome : public SkDiscardableMemory {
24 friend class SkDiscardableMemory;
DSkDiscardableMemory_chrome.cc36 SkDiscardableMemory* SkDiscardableMemory::Create(size_t bytes) { in Create()
/external/skia/tests/
DDiscardableMemoryTest.cpp15 SkAutoTDelete<SkDiscardableMemory> dm(SkDiscardableMemory::Create(len)); in DEF_TEST()
DDiscardableMemoryPoolTest.cpp17 SkAutoTDelete<SkDiscardableMemory> dm1(pool->create(100)); in DEF_TEST()
25 SkAutoTDelete<SkDiscardableMemory> dm2(pool->create(200)); in DEF_TEST()
DImageCacheTest.cpp83 static SkDiscardableMemory* pool_factory(size_t bytes) { in pool_factory()
103 SkScaledImageCache cache(SkDiscardableMemory::Create); in DEF_TEST()
/external/chromium_org/third_party/skia/tests/
DDiscardableMemoryTest.cpp15 SkAutoTDelete<SkDiscardableMemory> dm(SkDiscardableMemory::Create(len)); in DEF_TEST()
DDiscardableMemoryPoolTest.cpp17 SkAutoTDelete<SkDiscardableMemory> dm1(pool->create(100)); in DEF_TEST()
25 SkAutoTDelete<SkDiscardableMemory> dm2(pool->create(200)); in DEF_TEST()
DImageCacheTest.cpp78 static SkDiscardableMemory* pool_factory(size_t bytes) { in pool_factory()
98 SkResourceCache cache(SkDiscardableMemory::Create); in DEF_TEST()

12