/external/skia/src/gpu/ |
D | GrResourceCache.cpp | 63 class GrResourceCache::AutoValidate : ::SkNoncopyable { 65 AutoValidate(GrResourceCache* cache) : fCache(cache) { cache->validate(); } in AutoValidate() 68 GrResourceCache* fCache; 73 inline GrResourceCache::ResourceAwaitingUnref::ResourceAwaitingUnref() = default; 75 inline GrResourceCache::ResourceAwaitingUnref::ResourceAwaitingUnref(GrGpuResource* resource) in ResourceAwaitingUnref() 78 inline GrResourceCache::ResourceAwaitingUnref::ResourceAwaitingUnref(ResourceAwaitingUnref&& that) { in ResourceAwaitingUnref() 83 inline GrResourceCache::ResourceAwaitingUnref& GrResourceCache::ResourceAwaitingUnref::operator=( in operator =() 90 inline GrResourceCache::ResourceAwaitingUnref::~ResourceAwaitingUnref() { in ~ResourceAwaitingUnref() 98 inline void GrResourceCache::ResourceAwaitingUnref::addRef() { ++fNumUnrefs; } in addRef() 100 inline void GrResourceCache::ResourceAwaitingUnref::unref() { in unref() [all …]
|
D | GrResourceCache.h | 57 class GrResourceCache { 59 GrResourceCache(const GrCaps*, GrSingleOwner* owner, uint32_t contextUniqueID); 60 ~GrResourceCache(); 388 GR_MAKE_BITFIELD_CLASS_OPS(GrResourceCache::ScratchFlags); 390 class GrResourceCache::ResourceAccess { 392 ResourceAccess(GrResourceCache* cache) : fCache(cache) { } in ResourceAccess() 456 GrResourceCache* fCache; 459 friend class GrResourceCache; // To create this type. variable 462 inline GrResourceCache::ResourceAccess GrResourceCache::resourceAccess() { in resourceAccess()
|
D | GrResourceProvider.h | 56 GrResourceProvider(GrGpu*, GrResourceCache*, GrSingleOwner*, 272 GrResourceCache* cache() { return fCache; } in cache() 273 const GrResourceCache* cache() const { return fCache; } in cache() 294 GrResourceCache* fCache;
|
D | GrGpuResource.cpp | 17 static inline GrResourceCache* get_resource_cache(GrGpu* gpu) { in get_resource_cache() 174 GrResourceCache::ResourceAccess::kAllCntsReachedZero_RefNotificationFlag; in notifyAllCntsAreZero() 186 uint32_t flags = GrResourceCache::ResourceAccess::kRefCntReachedZero_RefNotificationFlag; in notifyRefCountIsZero() 188 flags |= GrResourceCache::ResourceAccess::kAllCntsReachedZero_RefNotificationFlag; in notifyRefCountIsZero()
|
D | GrResourceProvider.cpp | 33 GrResourceProvider::GrResourceProvider(GrGpu* gpu, GrResourceCache* cache, GrSingleOwner* owner, in GrResourceProvider() 197 auto scratchFlags = GrResourceCache::ScratchFlags::kNone; in refScratchTexture() 199 scratchFlags |= GrResourceCache::ScratchFlags::kRequireNoPendingIO; in refScratchTexture() 203 scratchFlags |= GrResourceCache::ScratchFlags::kPreferNoPendingIO; in refScratchTexture() 363 key, allocSize, GrResourceCache::ScratchFlags::kNone))); in createBuffer()
|
/external/skqp/src/gpu/ |
D | GrResourceCache.cpp | 62 class GrResourceCache::AutoValidate : ::SkNoncopyable { 64 AutoValidate(GrResourceCache* cache) : fCache(cache) { cache->validate(); } in AutoValidate() 67 GrResourceCache* fCache; 72 GrResourceCache::GrResourceCache(const GrCaps* caps, GrSingleOwner* singleOwner, in GrResourceCache() function in GrResourceCache 98 GrResourceCache::~GrResourceCache() { in ~GrResourceCache() 102 void GrResourceCache::setLimits(int count, size_t bytes) { in setLimits() 108 void GrResourceCache::insertResource(GrGpuResource* resource) { in insertResource() 147 void GrResourceCache::removeResource(GrGpuResource* resource) { in removeResource() 179 void GrResourceCache::abandonAll() { in abandonAll() 210 void GrResourceCache::releaseAll() { in releaseAll() [all …]
|
D | GrResourceCache.h | 56 class GrResourceCache { 58 GrResourceCache(const GrCaps*, GrSingleOwner* owner, uint32_t contextUniqueID); 59 ~GrResourceCache(); 366 GR_MAKE_BITFIELD_CLASS_OPS(GrResourceCache::ScratchFlags); 368 class GrResourceCache::ResourceAccess { 370 ResourceAccess(GrResourceCache* cache) : fCache(cache) { } in ResourceAccess() 434 GrResourceCache* fCache; 437 friend class GrResourceCache; // To create this type. variable 440 inline GrResourceCache::ResourceAccess GrResourceCache::resourceAccess() { in resourceAccess()
|
D | GrResourceProvider.h | 61 GrResourceProvider(GrGpu*, GrResourceCache*, GrSingleOwner*, 275 GrResourceCache* cache() { return fCache; } in cache() 276 const GrResourceCache* cache() const { return fCache; } in cache() 297 GrResourceCache* fCache;
|
D | GrGpuResource.cpp | 17 static inline GrResourceCache* get_resource_cache(GrGpu* gpu) { in get_resource_cache() 171 GrResourceCache::ResourceAccess::kAllCntsReachedZero_RefNotificationFlag; in notifyAllCntsAreZero() 182 uint32_t flags = GrResourceCache::ResourceAccess::kRefCntReachedZero_RefNotificationFlag; in notifyRefCountIsZero() 184 flags |= GrResourceCache::ResourceAccess::kAllCntsReachedZero_RefNotificationFlag; in notifyRefCountIsZero()
|
D | GrResourceProvider.cpp | 42 GrResourceProvider::GrResourceProvider(GrGpu* gpu, GrResourceCache* cache, GrSingleOwner* owner, in GrResourceProvider() 216 auto scratchFlags = GrResourceCache::ScratchFlags::kNone; in refScratchTexture() 218 scratchFlags |= GrResourceCache::ScratchFlags::kRequireNoPendingIO; in refScratchTexture() 222 scratchFlags |= GrResourceCache::ScratchFlags::kPreferNoPendingIO; in refScratchTexture() 385 auto scratchFlags = GrResourceCache::ScratchFlags::kNone; in createBuffer() 387 scratchFlags = GrResourceCache::ScratchFlags::kRequireNoPendingIO; in createBuffer() 389 scratchFlags = GrResourceCache::ScratchFlags::kPreferNoPendingIO; in createBuffer()
|
D | GrProxyProvider.h | 29 GrProxyProvider(GrResourceProvider*, GrResourceCache*, sk_sp<const GrCaps>, GrSingleOwner*); 274 GrResourceCache* fResourceCache;
|
/external/skia/tests/ |
D | ResourceCacheTest.cpp | 355 GrResourceCache* cache = fContext->priv().getResourceCache(); in Mock() 360 GrResourceCache* cache() { return fContext->priv().getResourceCache(); } in cache() 375 GrResourceCache* cache = mock.cache(); in test_no_key() 429 GrResourceCache* cache = mock.cache(); in test_purge_unlocked() 493 GrResourceCache* cache = mock.cache(); in test_budgeting() 620 GrResourceCache* cache = mock.cache(); in test_unbudgeted() 693 GrResourceCache* cache = mock.cache(); in test_unbudgeted_to_scratch() 708 …== cache->findAndRefScratchResource(key, TestResource::kDefaultSize, GrResourceCache::ScratchFlags… in test_unbudgeted_to_scratch() 722 …*>(cache->findAndRefScratchResource(key, TestResource::kDefaultSize, GrResourceCache::ScratchFlags… in test_unbudgeted_to_scratch() 760 GrResourceCache* cache = mock.cache(); in test_duplicate_scratch_key() [all …]
|
D | PathRendererCacheTests.cpp | 61 static bool cache_non_scratch_resources_equals(GrResourceCache* cache, int expected) { in cache_non_scratch_resources_equals() 63 GrResourceCache::Stats stats; in cache_non_scratch_resources_equals() 80 GrResourceCache* cache = ctx->priv().getResourceCache(); in test_path()
|
D | TextureProxyTest.cpp | 130 GrResourceCache* cache = context->priv().getResourceCache(); in basic_test() 223 GrResourceCache* cache = context->priv().getResourceCache(); in invalidation_test() 265 GrResourceCache* cache = context->priv().getResourceCache(); in invalidation_and_instantiation_test() 305 GrResourceCache* cache = context->priv().getResourceCache(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/external/skqp/tests/ |
D | ResourceCacheTest.cpp | 355 GrResourceCache* cache = fContext->contextPriv().getResourceCache(); in Mock() 360 GrResourceCache* cache() { return fContext->contextPriv().getResourceCache(); } in cache() 375 GrResourceCache* cache = mock.cache(); in test_no_key() 429 GrResourceCache* cache = mock.cache(); in test_purge_unlocked() 493 GrResourceCache* cache = mock.cache(); in test_budgeting() 620 GrResourceCache* cache = mock.cache(); in test_unbudgeted() 693 GrResourceCache* cache = mock.cache(); in test_unbudgeted_to_scratch() 708 …== cache->findAndRefScratchResource(key, TestResource::kDefaultSize, GrResourceCache::ScratchFlags… in test_unbudgeted_to_scratch() 722 …*>(cache->findAndRefScratchResource(key, TestResource::kDefaultSize, GrResourceCache::ScratchFlags… in test_unbudgeted_to_scratch() 760 GrResourceCache* cache = mock.cache(); in test_duplicate_scratch_key() [all …]
|
D | PathRendererCacheTests.cpp | 61 static bool cache_non_scratch_resources_equals(GrResourceCache* cache, int expected) { in cache_non_scratch_resources_equals() 63 GrResourceCache::Stats stats; in cache_non_scratch_resources_equals() 80 GrResourceCache* cache = ctx->contextPriv().getResourceCache(); in test_path()
|
D | TextureProxyTest.cpp | 130 GrResourceCache* cache = context->contextPriv().getResourceCache(); in basic_test() 223 GrResourceCache* cache = context->contextPriv().getResourceCache(); in invalidation_test() 265 GrResourceCache* cache = context->contextPriv().getResourceCache(); in invalidation_and_instantiation_test() 305 GrResourceCache* cache = context->contextPriv().getResourceCache(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/external/skia/bench/ |
D | GrResourceCacheBench.cpp | 79 GrResourceCache* cache = context->priv().getResourceCache(); in onDraw() 125 GrResourceCache* cache = fContext->priv().getResourceCache(); in onDelayedSetup() 140 GrResourceCache* cache = fContext->priv().getResourceCache(); in onDraw()
|
/external/skqp/bench/ |
D | GrResourceCacheBench.cpp | 79 GrResourceCache* cache = context->contextPriv().getResourceCache(); in onDraw() 125 GrResourceCache* cache = fContext->contextPriv().getResourceCache(); in onDelayedSetup() 140 GrResourceCache* cache = fContext->contextPriv().getResourceCache(); in onDraw()
|
/external/skqp/tools/gpu/ |
D | GrTest.cpp | 139 void GrResourceCache::getStats(Stats* stats) const { in getStats() 154 void GrResourceCache::dumpStats(SkString* out) const { in dumpStats() 174 void GrResourceCache::dumpStatsKeyValuePairs(SkTArray<SkString>* keys, in dumpStatsKeyValuePairs() 188 void GrResourceCache::changeTimestamp(uint32_t newTimestamp) { fTimestamp = newTimestamp; } in changeTimestamp() 191 int GrResourceCache::countUniqueKeysWithTag(const char* tag) const { in countUniqueKeysWithTag()
|
/external/skia/include/gpu/ |
D | GrContext.h | 32 class GrResourceCache; variable 329 GrResourceCache* fResourceCache;
|
D | GrGpuResource.h | 17 class GrResourceCache; variable 147 friend class GrResourceCache; // to check IO ref counts. variable
|
/external/skqp/include/gpu/ |
D | GrContext.h | 38 class GrResourceCache; variable 301 GrResourceCache* fResourceCache;
|
D | GrGpuResource.h | 17 class GrResourceCache; variable 134 friend class GrResourceCache; // to check IO ref counts. variable
|
/external/skia/tools/gpu/ |
D | GrTest.cpp | 52 void GrResourceCache::changeTimestamp(uint32_t newTimestamp) { fTimestamp = newTimestamp; } in changeTimestamp() 55 int GrResourceCache::countUniqueKeysWithTag(const char* tag) const { in countUniqueKeysWithTag()
|