/external/skqp/tests/ |
D | TextureProxyTest.cpp | 51 REPORTER_ASSERT(reporter, !proxy->getUniqueKey().isValid()); in deferred_tex() 64 REPORTER_ASSERT(reporter, !proxy->getUniqueKey().isValid()); in deferred_texRT() 75 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() 161 const GrUniqueKey texKey = proxy->peekSurface()->getUniqueKey(); in basic_test() 290 REPORTER_ASSERT(reporter, !proxy->getUniqueKey().isValid()); in invalidation_and_instantiation_test() 291 REPORTER_ASSERT(reporter, !proxy->peekTexture()->getUniqueKey().isValid()); in invalidation_and_instantiation_test()
|
/external/skqp/src/gpu/ |
D | GrResourceCache.cpp | 139 !resource->getUniqueKey().isValid()) { in insertResource() 170 !resource->getUniqueKey().isValid()) { in removeResource() 173 if (resource->getUniqueKey().isValid()) { in removeResource() 174 fUniqueHash.remove(resource->getUniqueKey()); in removeResource() 255 SkASSERT(!resource->getUniqueKey().isValid() && in operator ()() 302 if (!resource->getUniqueKey().isValid()) { in willRemoveScratchKey() 311 if (resource->getUniqueKey().isValid()) { in removeUniqueKey() 312 SkASSERT(resource == fUniqueHash.find(resource->getUniqueKey())); in removeUniqueKey() 313 fUniqueHash.remove(resource->getUniqueKey()); in removeUniqueKey() 347 if (resource->getUniqueKey().isValid()) { in changeUniqueKey() [all …]
|
D | GrProxyProvider.cpp | 93 SkASSERT(proxy->getUniqueKey() == key); in assignUniqueKeyToProxy() 99 SkASSERT(surf->getUniqueKey().isValid()); in adoptUniqueKeyFromSurface() 100 proxy->cacheAccess().setUniqueKey(this, surf->getUniqueKey()); in adoptUniqueKeyFromSurface() 101 SkASSERT(proxy->getUniqueKey() == surf->getUniqueKey()); in adoptUniqueKeyFromSurface() 103 SkASSERT(!fUniquelyKeyedProxies.find(surf->getUniqueKey())); in adoptUniqueKeyFromSurface() 110 SkASSERT(proxy->getUniqueKey().isValid()); in removeUniqueKeyFromProxy() 116 this->processInvalidUniqueKey(proxy->getUniqueKey(), proxy, InvalidateGPUResource::kYes); in removeUniqueKeyFromProxy() 136 if (tex->getUniqueKey().isValid()) { in createWrapped() 137 SkASSERT(!this->findProxyByUniqueKey(tex->getUniqueKey(), origin)); in createWrapped() 174 SkASSERT(result->getUniqueKey() == key); in findOrCreateProxyByUniqueKey() [all …]
|
D | GrResourceAllocator.cpp | 225 if (surface->getUniqueKey().isValid()) { in recycleSurface() 244 if (proxy->asTextureProxy() && proxy->asTextureProxy()->getUniqueKey().isValid()) { in findSurfaceFor() 247 proxy->asTextureProxy()->getUniqueKey()); in findSurfaceFor() 279 SkASSERT(!surface->getUniqueKey().isValid()); in findSurfaceFor() 388 if (texProxy && texProxy->getUniqueKey().isValid()) { in assign() 389 if (!surface->getUniqueKey().isValid()) { in assign() 390 fResourceProvider->assignUniqueKeyToResource(texProxy->getUniqueKey(), in assign() 393 SkASSERT(surface->getUniqueKey() == texProxy->getUniqueKey()); in assign()
|
D | GrSurfaceProxy.cpp | 233 SkASSERT(fTarget->getUniqueKey().isValid() && fTarget->getUniqueKey() == *uniqueKey); in instantiateImpl() 431 if (fProxy->asTextureProxy() && fProxy->asTextureProxy()->getUniqueKey().isValid()) { in doLazyInstantiation() 434 fProxy->asTextureProxy()->getUniqueKey()); in doLazyInstantiation() 468 const GrUniqueKey& key = texProxy->getUniqueKey(); in doLazyInstantiation() 470 if (!surface->asTexture()->getUniqueKey().isValid()) { in doLazyInstantiation() 475 SkASSERT(surface->asTexture()->getUniqueKey() == key); in doLazyInstantiation()
|
D | GrTextureProxy.cpp | 57 if (fTarget->getUniqueKey().isValid()) { in GrTextureProxy() 154 if (!fTarget->getUniqueKey().isValid()) { in setUniqueKey() 157 SkASSERT(fTarget->getUniqueKey() == key); in setUniqueKey()
|
D | GrTextureRenderTargetProxy.cpp | 84 const GrUniqueKey& key = this->getUniqueKey(); in instantiate() 91 SkASSERT(key == this->getUniqueKey()); in instantiate()
|
D | GrGpuResourcePriv.h | 51 !fResource->getUniqueKey().isValid() || fResource->fRefsWrappedObjects); in budgetedType()
|
D | GrGpuResourceCacheAccess.h | 28 return !fResource->getUniqueKey().isValid() && fResource->fScratchKey.isValid() && in isScratch()
|
D | GrBitmapTextureMaker.cpp | 86 SkASSERT(proxy->getUniqueKey() == fOriginalKey); in refOriginalTextureProxy()
|
D | GrTexture.cpp | 65 if (texture->getUniqueKey().isValid()) { in StealBackendTexture()
|
/external/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()
|
/external/skia/src/gpu/ |
D | GrProxyProvider.cpp | 76 SkASSERT(proxy->getUniqueKey() == key); in assignUniqueKeyToProxy() 82 SkASSERT(surf->getUniqueKey().isValid()); in adoptUniqueKeyFromSurface() 83 proxy->cacheAccess().setUniqueKey(this, surf->getUniqueKey()); in adoptUniqueKeyFromSurface() 84 SkASSERT(proxy->getUniqueKey() == surf->getUniqueKey()); in adoptUniqueKeyFromSurface() 86 SkASSERT(!fUniquelyKeyedProxies.find(surf->getUniqueKey())); in adoptUniqueKeyFromSurface() 93 SkASSERT(proxy->getUniqueKey().isValid()); in removeUniqueKeyFromProxy() 99 this->processInvalidUniqueKey(proxy->getUniqueKey(), proxy, InvalidateGPUResource::kYes); in removeUniqueKeyFromProxy() 189 if (tex->getUniqueKey().isValid()) { in createWrapped() 190 SkASSERT(!this->findProxyByUniqueKey(tex->getUniqueKey())); in createWrapped() 232 SkASSERT(result->getUniqueKey() == key); in findOrCreateProxyByUniqueKey() [all …]
|
D | GrSurfaceProxy.cpp | 173 SkASSERT(fTarget->getUniqueKey().isValid() && fTarget->getUniqueKey() == *uniqueKey); in instantiateImpl() 412 if (const auto& uniqueKey = fProxy->getUniqueKey(); uniqueKey.isValid()) { in doLazyInstantiation() 443 const GrUniqueKey& key = texProxy->getUniqueKey(); in doLazyInstantiation() 445 if (!surface->asTexture()->getUniqueKey().isValid()) { in doLazyInstantiation() 450 SkASSERT(surface->asTexture()->getUniqueKey() == key); in doLazyInstantiation() 453 SkASSERT(!surface->getUniqueKey().isValid()); in doLazyInstantiation()
|
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 | GrTextureProxy.h | 71 const GrUniqueKey& getUniqueKey() const override { in getUniqueKey() function 78 SkASSERT(surface->getUniqueKey().isValid()); in getUniqueKey() 83 SkASSERT(fUniqueKey == surface->getUniqueKey()); in getUniqueKey()
|
D | GrTextureProxy.cpp | 79 if (fTarget->getUniqueKey().isValid()) { in GrTextureProxy() 173 if (!fTarget->getUniqueKey().isValid()) { in setUniqueKey() 176 SkASSERT(fTarget->getUniqueKey() == key); in setUniqueKey()
|
D | GrResourceAllocator.cpp | 171 if (const auto& uniqueKey = proxy->getUniqueKey(); uniqueKey.isValid()) { in instantiateSurface() 172 if (!surface->getUniqueKey().isValid()) { in instantiateSurface() 175 SkASSERT(surface->getUniqueKey() == uniqueKey); in instantiateSurface() 275 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 | 74 if (texture->getUniqueKey().isValid()) { in StealBackendTexture()
|
/external/skqp/include/private/ |
D | GrTextureProxy.h | 58 const GrUniqueKey& getUniqueKey() const { in getUniqueKey() function 61 SkASSERT(fTarget->getUniqueKey().isValid()); in getUniqueKey() 66 SkASSERT(fUniqueKey == fTarget->getUniqueKey()); in getUniqueKey()
|
/external/skqp/src/image/ |
D | SkImage_Lazy.cpp | 327 if (originalProxy && originalProxy->getUniqueKey().isValid()) { in set_key_on_proxy() 328 SkASSERT(originalProxy->getUniqueKey() == key); in set_key_on_proxy() 334 SkASSERT(originalProxy->getUniqueKey() == key); in set_key_on_proxy()
|
/external/skia/tools/gpu/ |
D | GrTest.cpp | 44 if (0 == strcmp(tag, resource.getUniqueKey().tag())) { in countUniqueKeysWithTag()
|