/external/skia/src/gpu/ |
D | GrResourceCache.cpp | 50 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 …]
|
D | GrResourceCache.h | 50 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()
|
D | GrGpuResource.cpp | 16 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()
|
D | GrResourceProvider.cpp | 22 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()
|
D | GrTextureProvider.cpp | 23 GrTextureProvider::GrTextureProvider(GrGpu* gpu, GrResourceCache* cache, GrSingleOwner* singleOwner) in GrTextureProvider() 100 scratchFlags = GrResourceCache::kRequireNoPendingIO_ScratchFlag; in refScratchTexture() 104 scratchFlags = GrResourceCache::kPreferNoPendingIO_ScratchFlag; in refScratchTexture()
|
D | GrTest.cpp | 199 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()
|
D | GrGpuResourceCacheAccess.h | 92 friend class GrResourceCache; // to use this type variable
|
D | GrResourceProvider.h | 39 GrResourceProvider(GrGpu* gpu, GrResourceCache* cache, GrSingleOwner* owner);
|
D | GrContext.cpp | 86 fResourceCache = new GrResourceCache(fCaps); in initCommon()
|
/external/skia/include/gpu/ |
D | GrTextureProvider.h | 106 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;
|
D | GrContext.h | 38 class GrResourceCache; variable 324 GrResourceCache* getResourceCache() { return fResourceCache; } in getResourceCache() 364 GrResourceCache* fResourceCache;
|
D | GrGpuResource.h | 17 class GrResourceCache; variable 132 friend class GrResourceCache; // to check IO ref counts. variable
|
/external/skia/bench/ |
D | GrResourceCacheBench.cpp | 80 GrResourceCache* cache = context->getResourceCache(); in onDraw() 126 GrResourceCache* cache = fContext->getResourceCache(); in onDelayedSetup() 141 GrResourceCache* cache = fContext->getResourceCache(); in onDraw()
|
/external/skia/tests/ |
D | ResourceCacheTest.cpp | 340 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 …]
|
D | GpuLayerCacheTest.cpp | 115 GrResourceCache::Stats stats; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 129 GrResourceCache* resourceCache = context->getResourceCache(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/external/skia/gyp/ |
D | gpu.gypi | 159 '<(skia_src_path)/gpu/GrResourceCache.cpp', 160 '<(skia_src_path)/gpu/GrResourceCache.h',
|
/external/skia/experimental/iOSSampleApp/iOSSampleApp.xcodeproj/ |
D | project.pbxproj | 457 …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/ |
D | Android.mk | 420 src/gpu/GrResourceCache.cpp \
|