/third_party/flutter/skia/src/gpu/ |
D | GrResourceCache.cpp | 163 !resource->getUniqueKey().isValid()) { in insertResource() 194 !resource->getUniqueKey().isValid()) { in removeResource() 197 if (resource->getUniqueKey().isValid()) { in removeResource() 198 fUniqueHash.remove(resource->getUniqueKey()); in removeResource() 277 if (tag.filter(resource->getResourceTag()) && resource->getUniqueKey().isValid()) { in releaseByTag() 278 fProxyProvider->processInvalidUniqueKey(resource->getUniqueKey(), nullptr, in releaseByTag() 288 if (resource->getUniqueKey().isValid()) { in releaseByTag() 289 fProxyProvider->processInvalidUniqueKey(resource->getUniqueKey(), nullptr, in releaseByTag() 331 (!scratchResourcesOnly || !resource->getUniqueKey().isValid())) { in purgeUnlockedResourcesByTag() 378 SkASSERT(!resource->getUniqueKey().isValid() && in operator ()() [all …]
|
D | GrResourceAllocator.cpp | 271 if (surface->getUniqueKey().isValid()) { in recycleSurface() 290 if (proxy->asTextureProxy() && proxy->asTextureProxy()->getUniqueKey().isValid()) { in findSurfaceFor() 293 proxy->asTextureProxy()->getUniqueKey()); in findSurfaceFor() 325 SkASSERT(!surface->getUniqueKey().isValid()); in findSurfaceFor() 464 if (texProxy && texProxy->getUniqueKey().isValid()) { in assign() 465 if (!surface->getUniqueKey().isValid()) { in assign() 466 fResourceProvider->assignUniqueKeyToResource(texProxy->getUniqueKey(), in assign() 469 SkASSERT(surface->getUniqueKey() == texProxy->getUniqueKey()); in assign()
|
D | GrProxyProvider.cpp | 71 SkASSERT(proxy->getUniqueKey() == key); in assignUniqueKeyToProxy() 89 SkASSERT(surf->getUniqueKey().isValid()); in adoptUniqueKeyFromSurface() 90 proxy->cacheAccess().setUniqueKey(this, surf->getUniqueKey()); in adoptUniqueKeyFromSurface() 91 SkASSERT(proxy->getUniqueKey() == surf->getUniqueKey()); in adoptUniqueKeyFromSurface() 93 SkASSERT(!fUniquelyKeyedProxies.find(surf->getUniqueKey())); in adoptUniqueKeyFromSurface() 100 SkASSERT(proxy->getUniqueKey().isValid()); in removeUniqueKeyFromProxy() 106 this->processInvalidUniqueKey(proxy->getUniqueKey(), proxy, InvalidateGPUResource::kYes); in removeUniqueKeyFromProxy() 207 if (tex->getUniqueKey().isValid()) { in createWrapped() 208 SkASSERT(!this->findProxyByUniqueKey(tex->getUniqueKey(), origin)); in createWrapped() 253 SkASSERT(result->getUniqueKey() == key); in findOrCreateProxyByUniqueKey() [all …]
|
D | GrSurfaceProxy.cpp | 245 SkASSERT(fTarget->getUniqueKey().isValid() && fTarget->getUniqueKey() == *uniqueKey); in instantiateImpl() 462 if (fProxy->asTextureProxy() && fProxy->asTextureProxy()->getUniqueKey().isValid()) { in doLazyInstantiation() 465 fProxy->asTextureProxy()->getUniqueKey()); in doLazyInstantiation() 507 const GrUniqueKey& key = texProxy->getUniqueKey(); in doLazyInstantiation() 509 if (!surface->asTexture()->getUniqueKey().isValid()) { in doLazyInstantiation() 514 SkASSERT(surface->asTexture()->getUniqueKey() == key); in doLazyInstantiation() 517 SkASSERT(!surface->getUniqueKey().isValid()); in doLazyInstantiation()
|
D | GrTextureProxy.h | 72 const GrUniqueKey& getUniqueKey() const { in getUniqueKey() function 78 SkASSERT(surface->getUniqueKey().isValid()); in getUniqueKey() 83 SkASSERT(fUniqueKey == surface->getUniqueKey()); in getUniqueKey()
|
D | GrTextureProxy.cpp | 56 if (fTarget->getUniqueKey().isValid()) { in GrTextureProxy() 151 if (!fTarget->getUniqueKey().isValid()) { in setUniqueKey() 154 SkASSERT(fTarget->getUniqueKey() == key); in setUniqueKey()
|
D | GrTextureRenderTargetProxy.cpp | 99 const GrUniqueKey& key = this->getUniqueKey(); in instantiate() 107 SkASSERT(key == this->getUniqueKey()); in instantiate()
|
D | GrGpuResourcePriv.h | 51 !fResource->getUniqueKey().isValid() || fResource->fRefsWrappedObjects); in budgetedType()
|
D | GrGpuResourceCacheAccess.h | 31 return !fResource->getUniqueKey().isValid() && fResource->fScratchKey.isValid() && in isScratch()
|
D | GrBitmapTextureMaker.cpp | 88 SkASSERT(proxy->getUniqueKey() == fOriginalKey); in refOriginalTextureProxy()
|
D | GrTexture.cpp | 67 if (texture->getUniqueKey().isValid()) { in StealBackendTexture()
|
D | GrTextureMaker.cpp | 99 SkASSERT(cachedProxy->getUniqueKey() == copyKey); in onRefTextureProxyForParams()
|
/third_party/skia/tests/ |
D | TextureProxyTest.cpp | 52 REPORTER_ASSERT(reporter, !proxy->getUniqueKey().isValid()); in deferred_tex() 68 REPORTER_ASSERT(reporter, !proxy->getUniqueKey().isValid()); in deferred_texRT() 77 REPORTER_ASSERT(reporter, !proxy->getUniqueKey().isValid()); in wrapped() 96 REPORTER_ASSERT(reporter, proxy->getUniqueKey().isValid()); in wrapped_with_key() 135 if (proxy->getUniqueKey().isValid()) { in basic_test() 136 key = proxy->getUniqueKey(); in basic_test() 150 REPORTER_ASSERT(reporter, key == proxy->getUniqueKey()); in basic_test() 160 const GrUniqueKey texKey = proxy->peekSurface()->getUniqueKey(); in basic_test() 316 REPORTER_ASSERT(reporter, !proxy->getUniqueKey().isValid()); in invalidation_and_instantiation_test() 317 REPORTER_ASSERT(reporter, !proxy->peekTexture()->getUniqueKey().isValid()); in invalidation_and_instantiation_test()
|
/third_party/flutter/skia/tests/ |
D | TextureProxyTest.cpp | 51 REPORTER_ASSERT(reporter, !proxy->getUniqueKey().isValid()); in deferred_tex() 67 REPORTER_ASSERT(reporter, !proxy->getUniqueKey().isValid()); in deferred_texRT() 77 REPORTER_ASSERT(reporter, !proxy->getUniqueKey().isValid()); in wrapped() 97 REPORTER_ASSERT(reporter, proxy->getUniqueKey().isValid()); in wrapped_with_key() 139 if (proxy->getUniqueKey().isValid()) { in basic_test() 140 key = proxy->getUniqueKey(); in basic_test() 154 REPORTER_ASSERT(reporter, key == proxy->getUniqueKey()); in basic_test() 165 const GrUniqueKey texKey = proxy->peekSurface()->getUniqueKey(); in basic_test() 297 REPORTER_ASSERT(reporter, !proxy->getUniqueKey().isValid()); in invalidation_and_instantiation_test() 298 REPORTER_ASSERT(reporter, !proxy->peekTexture()->getUniqueKey().isValid()); in invalidation_and_instantiation_test()
|
/third_party/skia/src/gpu/ |
D | GrResourceCache.cpp | 195 if (resource->getUniqueKey().isValid()) { in removeResource() 196 fUniqueHash.remove(resource->getUniqueKey()); in removeResource() 283 if (resource->getUniqueKey().isValid()) { in releaseByTag() 284 fProxyProvider->processInvalidUniqueKey(resource->getUniqueKey(), nullptr, in releaseByTag() 294 if (resource->getUniqueKey().isValid()) { in releaseByTag() 295 fProxyProvider->processInvalidUniqueKey(resource->getUniqueKey(), nullptr, in releaseByTag() 383 if (resource->getUniqueKey().isValid()) { in removeUniqueKey() 384 SkASSERT(resource == fUniqueHash.find(resource->getUniqueKey())); in removeUniqueKey() 385 fUniqueHash.remove(resource->getUniqueKey()); in removeUniqueKey() 419 if (resource->getUniqueKey().isValid()) { in changeUniqueKey() [all …]
|
D | GrProxyProvider.cpp | 79 SkASSERT(proxy->getUniqueKey() == key); in assignUniqueKeyToProxy() 97 SkASSERT(surf->getUniqueKey().isValid()); in adoptUniqueKeyFromSurface() 98 proxy->cacheAccess().setUniqueKey(this, surf->getUniqueKey()); in adoptUniqueKeyFromSurface() 99 SkASSERT(proxy->getUniqueKey() == surf->getUniqueKey()); in adoptUniqueKeyFromSurface() 101 SkASSERT(!fUniquelyKeyedProxies.find(surf->getUniqueKey())); in adoptUniqueKeyFromSurface() 108 SkASSERT(proxy->getUniqueKey().isValid()); in removeUniqueKeyFromProxy() 114 this->processInvalidUniqueKey(proxy->getUniqueKey(), proxy, InvalidateGPUResource::kYes); in removeUniqueKeyFromProxy() 214 if (tex->getUniqueKey().isValid()) { in createWrapped() 215 SkASSERT(!this->findProxyByUniqueKey(tex->getUniqueKey())); in createWrapped() 258 SkASSERT(result->getUniqueKey() == key); in findOrCreateProxyByUniqueKey() [all …]
|
D | GrSurfaceProxy.cpp | 184 SkASSERT(fTarget->getUniqueKey().isValid() && fTarget->getUniqueKey() == *uniqueKey); in instantiateImpl() 421 if (const auto& uniqueKey = fProxy->getUniqueKey(); uniqueKey.isValid()) { in doLazyInstantiation() 452 const GrUniqueKey& key = texProxy->getUniqueKey(); in doLazyInstantiation() 454 if (!surface->asTexture()->getUniqueKey().isValid()) { in doLazyInstantiation() 459 SkASSERT(surface->asTexture()->getUniqueKey() == key); in doLazyInstantiation() 462 SkASSERT(!surface->getUniqueKey().isValid()); in doLazyInstantiation()
|
D | GrTextureProxy.cpp | 80 if (fTarget->getUniqueKey().isValid()) { in GrTextureProxy() 127 …if (!(surface->getUniqueKey().isValid()) && !(surface->resourcePriv().getScratchKey().isValid())) { in createSurface() 180 if (!fTarget->getUniqueKey().isValid()) { in setUniqueKey() 183 SkASSERT(fTarget->getUniqueKey() == key); in setUniqueKey()
|
D | GrTextureProxy.h | 72 const GrUniqueKey& getUniqueKey() const override { in getUniqueKey() function 79 SkASSERT(surface->getUniqueKey().isValid()); in getUniqueKey() 84 SkASSERT(fUniqueKey == surface->getUniqueKey()); in getUniqueKey()
|
D | GrResourceAllocator.cpp | 180 if (const auto& uniqueKey = proxy->getUniqueKey(); uniqueKey.isValid()) { in instantiateSurface() 181 if (!surface->getUniqueKey().isValid()) { in instantiateSurface() 184 SkASSERT(surface->getUniqueKey() == uniqueKey); in instantiateSurface() 284 if (const auto& uniqueKey = proxy->getUniqueKey(); uniqueKey.isValid()) { in findOrCreateRegisterFor()
|
D | GrTextureRenderTargetProxy.cpp | 123 const GrUniqueKey& key = this->getUniqueKey(); in instantiate() 130 SkASSERT(key == this->getUniqueKey()); in instantiate()
|
D | GrGpuResourcePriv.h | 49 !fResource->getUniqueKey().isValid() || fResource->fRefsWrappedObjects); in budgetedType()
|
D | GrGpuResourceCacheAccess.h | 31 return !fResource->getUniqueKey().isValid() && fResource->fScratchKey.isValid() && in isScratch()
|
D | GrTexture.cpp | 75 if (texture->getUniqueKey().isValid()) { in StealBackendTexture()
|
/third_party/flutter/skia/src/image/ |
D | SkImage_Lazy.cpp | 385 if (originalProxy && originalProxy->getUniqueKey().isValid()) { in set_key_on_proxy() 386 SkASSERT(originalProxy->getUniqueKey() == key); in set_key_on_proxy() 392 SkASSERT(originalProxy->getUniqueKey() == key); in set_key_on_proxy()
|