Searched refs:SkDiscardableMemoryPool (Results 1 - 14 of 14) sorted by relevance

/external/skia/src/lazy/
H A DSkDiscardableMemoryPool.h28 class SkDiscardableMemoryPool : public SkDiscardableMemory::Factory { class in inherits:SkDiscardableMemory::Factory
30 virtual ~SkDiscardableMemoryPool() { }
54 static sk_sp<SkDiscardableMemoryPool> Make(size_t size);
59 * SkDiscardableMemoryPool.
61 SkDiscardableMemoryPool* SkGetGlobalDiscardableMemoryPool();
H A DSkDiscardableMemoryPool.cpp8 #include "SkDiscardableMemoryPool.h"
28 class DiscardableMemoryPool : public SkDiscardableMemoryPool {
45 #if SK_LAZY_CACHE_STATS // Defined in SkDiscardableMemoryPool.h
232 sk_sp<SkDiscardableMemoryPool> SkDiscardableMemoryPool::Make(size_t size) {
236 SkDiscardableMemoryPool* SkGetGlobalDiscardableMemoryPool() {
238 static SkDiscardableMemoryPool* global =
/external/skqp/src/lazy/
H A DSkDiscardableMemoryPool.h28 class SkDiscardableMemoryPool : public SkDiscardableMemory::Factory { class in inherits:SkDiscardableMemory::Factory
30 virtual ~SkDiscardableMemoryPool() { }
54 static sk_sp<SkDiscardableMemoryPool> Make(size_t size);
59 * SkDiscardableMemoryPool.
61 SkDiscardableMemoryPool* SkGetGlobalDiscardableMemoryPool();
H A DSkDiscardableMemoryPool.cpp8 #include "SkDiscardableMemoryPool.h"
28 class DiscardableMemoryPool : public SkDiscardableMemoryPool {
45 #if SK_LAZY_CACHE_STATS // Defined in SkDiscardableMemoryPool.h
232 sk_sp<SkDiscardableMemoryPool> SkDiscardableMemoryPool::Make(size_t size) {
236 SkDiscardableMemoryPool* SkGetGlobalDiscardableMemoryPool() {
238 static SkDiscardableMemoryPool* global =
/external/skia/tests/
H A DDiscardableMemoryPoolTest.cpp7 #include "SkDiscardableMemoryPool.h"
12 sk_sp<SkDiscardableMemoryPool> pool(SkDiscardableMemoryPool::Make(1));
H A DCachedDataTest.cpp9 #include "SkDiscardableMemoryPool.h"
29 static SkCachedData* make_data(size_t size, SkDiscardableMemoryPool* pool) {
42 size_t size, SkDiscardableMemoryPool* pool) {
75 sk_sp<SkDiscardableMemoryPool> pool(SkDiscardableMemoryPool::Make(1000));
H A DDiscardableMemoryTest.cpp8 #include "SkDiscardableMemoryPool.h"
55 sk_sp<SkDiscardableMemoryPool> pool(
56 SkDiscardableMemoryPool::Make(1024));
H A DImageCacheTest.cpp108 #include "SkDiscardableMemoryPool.h"
110 static SkDiscardableMemoryPool* gPool;
124 sk_sp<SkDiscardableMemoryPool> pool(SkDiscardableMemoryPool::Make(defLimit));
H A DSkResourceCacheTest.cpp11 #include "SkDiscardableMemoryPool.h"
109 #include "SkDiscardableMemoryPool.h"
111 static SkDiscardableMemoryPool* gPool = nullptr;
130 sk_sp<SkDiscardableMemoryPool> pool(SkDiscardableMemoryPool::Make(byteLimit));
/external/skqp/tests/
H A DDiscardableMemoryPoolTest.cpp7 #include "SkDiscardableMemoryPool.h"
12 sk_sp<SkDiscardableMemoryPool> pool(SkDiscardableMemoryPool::Make(1));
H A DCachedDataTest.cpp9 #include "SkDiscardableMemoryPool.h"
29 static SkCachedData* make_data(size_t size, SkDiscardableMemoryPool* pool) {
42 size_t size, SkDiscardableMemoryPool* pool) {
75 sk_sp<SkDiscardableMemoryPool> pool(SkDiscardableMemoryPool::Make(1000));
H A DDiscardableMemoryTest.cpp8 #include "SkDiscardableMemoryPool.h"
55 sk_sp<SkDiscardableMemoryPool> pool(
56 SkDiscardableMemoryPool::Make(1024));
H A DImageCacheTest.cpp108 #include "SkDiscardableMemoryPool.h"
110 static SkDiscardableMemoryPool* gPool;
124 sk_sp<SkDiscardableMemoryPool> pool(SkDiscardableMemoryPool::Make(defLimit));
H A DSkResourceCacheTest.cpp11 #include "SkDiscardableMemoryPool.h"
109 #include "SkDiscardableMemoryPool.h"
111 static SkDiscardableMemoryPool* gPool = nullptr;
130 sk_sp<SkDiscardableMemoryPool> pool(SkDiscardableMemoryPool::Make(byteLimit));

Completed in 277 milliseconds