/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/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() 286 SkASSERT(!resource->getUniqueKey().isValid() && in operator ()() 333 if (!resource->getUniqueKey().isValid()) { in willRemoveScratchKey() 342 if (resource->getUniqueKey().isValid()) { in removeUniqueKey() 343 SkASSERT(resource == fUniqueHash.find(resource->getUniqueKey())); in removeUniqueKey() 344 fUniqueHash.remove(resource->getUniqueKey()); in removeUniqueKey() 378 if (resource->getUniqueKey().isValid()) { in changeUniqueKey() [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() 77 SkASSERT(surf->getUniqueKey().isValid()); in adoptUniqueKeyFromSurface() 78 proxy->cacheAccess().setUniqueKey(this, surf->getUniqueKey()); in adoptUniqueKeyFromSurface() 79 SkASSERT(proxy->getUniqueKey() == surf->getUniqueKey()); in adoptUniqueKeyFromSurface() 81 SkASSERT(!fUniquelyKeyedProxies.find(surf->getUniqueKey())); in adoptUniqueKeyFromSurface() 88 SkASSERT(proxy->getUniqueKey().isValid()); in removeUniqueKeyFromProxy() 94 this->processInvalidUniqueKey(proxy->getUniqueKey(), proxy, InvalidateGPUResource::kYes); in removeUniqueKeyFromProxy() 195 if (tex->getUniqueKey().isValid()) { in createWrapped() 196 SkASSERT(!this->findProxyByUniqueKey(tex->getUniqueKey(), origin)); in createWrapped() 240 SkASSERT(result->getUniqueKey() == key); in findOrCreateProxyByUniqueKey() [all …]
|
D | GrSurfaceProxy.cpp | 244 SkASSERT(fTarget->getUniqueKey().isValid() && fTarget->getUniqueKey() == *uniqueKey); in instantiateImpl() 461 if (fProxy->asTextureProxy() && fProxy->asTextureProxy()->getUniqueKey().isValid()) { in doLazyInstantiation() 464 fProxy->asTextureProxy()->getUniqueKey()); in doLazyInstantiation() 506 const GrUniqueKey& key = texProxy->getUniqueKey(); in doLazyInstantiation() 508 if (!surface->asTexture()->getUniqueKey().isValid()) { in doLazyInstantiation() 513 SkASSERT(surface->asTexture()->getUniqueKey() == key); in doLazyInstantiation() 516 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/src/gpu/ |
D | GrProxyProvider.cpp | 79 SkASSERT(proxy->getUniqueKey() == key); in assignUniqueKeyToProxy() 85 SkASSERT(surf->getUniqueKey().isValid()); in adoptUniqueKeyFromSurface() 86 proxy->cacheAccess().setUniqueKey(this, surf->getUniqueKey()); in adoptUniqueKeyFromSurface() 87 SkASSERT(proxy->getUniqueKey() == surf->getUniqueKey()); in adoptUniqueKeyFromSurface() 89 SkASSERT(!fUniquelyKeyedProxies.find(surf->getUniqueKey())); in adoptUniqueKeyFromSurface() 96 SkASSERT(proxy->getUniqueKey().isValid()); in removeUniqueKeyFromProxy() 102 this->processInvalidUniqueKey(proxy->getUniqueKey(), proxy, InvalidateGPUResource::kYes); in removeUniqueKeyFromProxy() 202 if (tex->getUniqueKey().isValid()) { in createWrapped() 203 SkASSERT(!this->findProxyByUniqueKey(tex->getUniqueKey())); in createWrapped() 245 SkASSERT(result->getUniqueKey() == key); in findOrCreateProxyByUniqueKey() [all …]
|
D | GrResourceCache.cpp | 192 if (resource->getUniqueKey().isValid()) { in removeResource() 193 fUniqueHash.remove(resource->getUniqueKey()); in removeResource() 317 if (resource->getUniqueKey().isValid()) { in removeUniqueKey() 318 SkASSERT(resource == fUniqueHash.find(resource->getUniqueKey())); in removeUniqueKey() 319 fUniqueHash.remove(resource->getUniqueKey()); in removeUniqueKey() 353 if (resource->getUniqueKey().isValid()) { in changeUniqueKey() 354 SkASSERT(resource == fUniqueHash.find(resource->getUniqueKey())); in changeUniqueKey() 355 fUniqueHash.remove(resource->getUniqueKey()); in changeUniqueKey() 356 SkASSERT(nullptr == fUniqueHash.find(resource->getUniqueKey())); in changeUniqueKey() 443 bool hasUniqueKey = resource->getUniqueKey().isValid(); in notifyARefCntReachedZero() [all …]
|
D | GrSurfaceProxy.cpp | 181 SkASSERT(fTarget->getUniqueKey().isValid() && fTarget->getUniqueKey() == *uniqueKey); in instantiateImpl() 418 if (const auto& uniqueKey = fProxy->getUniqueKey(); uniqueKey.isValid()) { in doLazyInstantiation() 449 const GrUniqueKey& key = texProxy->getUniqueKey(); in doLazyInstantiation() 451 if (!surface->asTexture()->getUniqueKey().isValid()) { in doLazyInstantiation() 456 SkASSERT(surface->asTexture()->getUniqueKey() == key); in doLazyInstantiation() 459 SkASSERT(!surface->getUniqueKey().isValid()); in doLazyInstantiation()
|
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 | GrTextureProxy.cpp | 80 if (fTarget->getUniqueKey().isValid()) { in GrTextureProxy() 174 if (!fTarget->getUniqueKey().isValid()) { in setUniqueKey() 177 SkASSERT(fTarget->getUniqueKey() == key); in setUniqueKey()
|
D | GrResourceAllocator.cpp | 170 if (const auto& uniqueKey = proxy->getUniqueKey(); uniqueKey.isValid()) { in instantiateSurface() 171 if (!surface->getUniqueKey().isValid()) { in instantiateSurface() 174 SkASSERT(surface->getUniqueKey() == uniqueKey); in instantiateSurface() 274 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()
|