Home
last modified time | relevance | path

Searched refs:GrResourceCache (Results 1 – 18 of 18) sorted by relevance

/external/skia/src/gpu/
DGrResourceCache.cpp50 class GrResourceCache::AutoValidate : ::SkNoncopyable {
52 AutoValidate(GrResourceCache* cache) : fCache(cache) { cache->validate(); } in AutoValidate()
55 GrResourceCache* fCache;
61 GrResourceCache::GrResourceCache(const GrCaps* caps) in GrResourceCache() function in GrResourceCache
85 GrResourceCache::~GrResourceCache() { in ~GrResourceCache()
90 void GrResourceCache::setLimits(int count, size_t bytes, int maxUnusedFlushes) { in setLimits()
98 void GrResourceCache::resetFlushTimestamps() { in resetFlushTimestamps()
120 void GrResourceCache::insertResource(GrGpuResource* resource) { in insertResource()
157 void GrResourceCache::removeResource(GrGpuResource* resource) { in removeResource()
186 void GrResourceCache::abandonAll() { in abandonAll()
[all …]
DGrResourceCache.h50 class GrResourceCache {
52 GrResourceCache(const GrCaps* caps);
53 ~GrResourceCache();
357 class GrResourceCache::ResourceAccess {
359 ResourceAccess(GrResourceCache* cache) : fCache(cache) { } in ResourceAccess()
430 GrResourceCache* fCache;
433 friend class GrResourceCache; // To create this type. variable
436 inline GrResourceCache::ResourceAccess GrResourceCache::resourceAccess() { in resourceAccess()
DGrGpuResource.cpp16 static inline GrResourceCache* get_resource_cache(GrGpu* gpu) { in get_resource_cache()
145 GrResourceCache::ResourceAccess::kAllCntsReachedZero_RefNotificationFlag; in notifyAllCntsAreZero()
157 GrResourceCache::ResourceAccess::kRefCntReachedZero_RefNotificationFlag; in notifyRefCountIsZero()
159 flags |= GrResourceCache::ResourceAccess::kAllCntsReachedZero_RefNotificationFlag; in notifyRefCountIsZero()
DGrResourceProvider.cpp22 GrResourceProvider::GrResourceProvider(GrGpu* gpu, GrResourceCache* cache, GrSingleOwner* owner) in GrResourceProvider()
109 scratchFlags = GrResourceCache::kRequireNoPendingIO_ScratchFlag; in createIndexBuffer()
111 scratchFlags = GrResourceCache::kPreferNoPendingIO_ScratchFlag; in createIndexBuffer()
138 scratchFlags = GrResourceCache::kRequireNoPendingIO_ScratchFlag; in createVertexBuffer()
140 scratchFlags = GrResourceCache::kPreferNoPendingIO_ScratchFlag; in createVertexBuffer()
DGrTextureProvider.cpp23 GrTextureProvider::GrTextureProvider(GrGpu* gpu, GrResourceCache* cache, GrSingleOwner* singleOwner) in GrTextureProvider()
100 scratchFlags = GrResourceCache::kRequireNoPendingIO_ScratchFlag; in refScratchTexture()
104 scratchFlags = GrResourceCache::kPreferNoPendingIO_ScratchFlag; in refScratchTexture()
DGrTest.cpp199 void GrResourceCache::getStats(Stats* stats) const { in getStats()
214 void GrResourceCache::dumpStats(SkString* out) const { in dumpStats()
235 void GrResourceCache::dumpStatsKeyValuePairs(SkTArray<SkString>* keys, in dumpStatsKeyValuePairs()
256 void GrResourceCache::changeTimestamp(uint32_t newTimestamp) { fTimestamp = newTimestamp; } in changeTimestamp()
DGrGpuResourceCacheAccess.h92 friend class GrResourceCache; // to use this type variable
DGrResourceProvider.h39 GrResourceProvider(GrGpu* gpu, GrResourceCache* cache, GrSingleOwner* owner);
DGrContext.cpp86 fResourceCache = new GrResourceCache(fCaps); in initCommon()
/external/skia/include/gpu/
DGrTextureProvider.h106 GrTextureProvider(GrGpu* gpu, GrResourceCache* cache, GrSingleOwner* singleOwner);
144 GrResourceCache* cache() { return fCache; } in cache()
145 const GrResourceCache* cache() const { return fCache; } in cache()
156 GrResourceCache* fCache;
DGrContext.h38 class GrResourceCache; variable
324 GrResourceCache* getResourceCache() { return fResourceCache; } in getResourceCache()
364 GrResourceCache* fResourceCache;
DGrGpuResource.h17 class GrResourceCache; variable
132 friend class GrResourceCache; // to check IO ref counts. variable
/external/skia/bench/
DGrResourceCacheBench.cpp80 GrResourceCache* cache = context->getResourceCache(); in onDraw()
126 GrResourceCache* cache = fContext->getResourceCache(); in onDelayedSetup()
141 GrResourceCache* cache = fContext->getResourceCache(); in onDraw()
/external/skia/tests/
DResourceCacheTest.cpp340 GrResourceCache* cache = fContext->getResourceCache(); in Mock()
345 GrResourceCache* cache() { return fContext->getResourceCache(); } in cache()
356 GrResourceCache* cache = mock.cache(); in test_no_key()
412 GrResourceCache* cache = mock.cache(); in test_budgeting()
496 GrResourceCache* cache = mock.cache(); in test_unbudgeted()
561 GrResourceCache* cache = mock.cache(); in test_unbudgeted_to_scratch()
620 GrResourceCache* cache = mock.cache(); in test_duplicate_scratch_key()
665 GrResourceCache* cache = mock.cache(); in test_remove_scratch_key()
724 GrResourceCache* cache = mock.cache(); in test_scratch_key_consistency()
783 GrResourceCache* cache = mock.cache(); in test_duplicate_unique_key()
[all …]
DGpuLayerCacheTest.cpp115 GrResourceCache::Stats stats; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
129 GrResourceCache* resourceCache = context->getResourceCache(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/gyp/
Dgpu.gypi159 '<(skia_src_path)/gpu/GrResourceCache.cpp',
160 '<(skia_src_path)/gpu/GrResourceCache.h',
/external/skia/experimental/iOSSampleApp/iOSSampleApp.xcodeproj/
Dproject.pbxproj457 …313E05D7000A3C111 /* GrResourceCache.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 26A8AFF113…
1375 …0A3C111 /* GrResourceCache.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType =…
1376 …7000A3C111 /* GrResourceCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType …
2056 26A8AFF113E05D7000A3C111 /* GrResourceCache.cpp */,
2057 26A8AFF213E05D7000A3C111 /* GrResourceCache.h */,
3304 26A8AFF313E05D7000A3C111 /* GrResourceCache.cpp in Sources */,
/external/skia/
DAndroid.mk420 src/gpu/GrResourceCache.cpp \