Searched refs:getUniqueKey (Results 1 – 20 of 20) sorted by relevance
/external/skia/tests/ |
D | TextureProxyTest.cpp | 78 REPORTER_ASSERT(reporter, !proxy->getUniqueKey().isValid()); in deferred_tex() 100 REPORTER_ASSERT(reporter, !proxy->getUniqueKey().isValid()); in deferred_texRT() 109 REPORTER_ASSERT(reporter, !proxy->getUniqueKey().isValid()); in wrapped() 128 REPORTER_ASSERT(reporter, proxy->getUniqueKey().isValid()); in wrapped_with_key() 167 if (proxy->getUniqueKey().isValid()) { in basic_test() 168 key = proxy->getUniqueKey(); in basic_test() 182 REPORTER_ASSERT(reporter, key == proxy->getUniqueKey()); in basic_test() 192 const skgpu::UniqueKey texKey = proxy->peekSurface()->getUniqueKey(); in basic_test() 337 REPORTER_ASSERT(reporter, !proxy->getUniqueKey().isValid()); in invalidation_and_instantiation_test() 338 REPORTER_ASSERT(reporter, !proxy->peekTexture()->getUniqueKey().isValid()); in invalidation_and_instantiation_test()
|
D | ResourceCacheTest.cpp | 1114 REPORTER_ASSERT(reporter, *(int*) d2->getUniqueKey().getCustomData()->data() == 4132); in test_duplicate_unique_key() 1550 resource->getUniqueKey(); in test_abandoned()
|
D | ImageTest.cpp | 504 REPORTER_ASSERT(reporter, !texProxy->getUniqueKey().isValid()); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
|
/external/skia/src/gpu/ganesh/ |
D | GrResourceCache.cpp | 129 if (resource->getUniqueKey().isValid()) { in removeResource() 130 fUniqueHash.remove(resource->getUniqueKey()); in removeResource() 233 if (resource->getUniqueKey().isValid()) { in removeUniqueKey() 234 SkASSERT(resource == fUniqueHash.find(resource->getUniqueKey())); in removeUniqueKey() 235 fUniqueHash.remove(resource->getUniqueKey()); in removeUniqueKey() 269 if (resource->getUniqueKey().isValid()) { in changeUniqueKey() 270 SkASSERT(resource == fUniqueHash.find(resource->getUniqueKey())); in changeUniqueKey() 271 fUniqueHash.remove(resource->getUniqueKey()); in changeUniqueKey() 272 SkASSERT(nullptr == fUniqueHash.find(resource->getUniqueKey())); in changeUniqueKey() 359 bool hasUniqueKey = resource->getUniqueKey().isValid(); in notifyARefCntReachedZero() [all …]
|
D | GrProxyProvider.cpp | 78 SkASSERT(proxy->getUniqueKey() == key); in assignUniqueKeyToProxy() 84 SkASSERT(surf->getUniqueKey().isValid()); in adoptUniqueKeyFromSurface() 85 proxy->cacheAccess().setUniqueKey(this, surf->getUniqueKey()); in adoptUniqueKeyFromSurface() 86 SkASSERT(proxy->getUniqueKey() == surf->getUniqueKey()); in adoptUniqueKeyFromSurface() 88 SkASSERT(!fUniquelyKeyedProxies.find(surf->getUniqueKey())); in adoptUniqueKeyFromSurface() 95 SkASSERT(proxy->getUniqueKey().isValid()); in removeUniqueKeyFromProxy() 101 this->processInvalidUniqueKey(proxy->getUniqueKey(), proxy, InvalidateGPUResource::kYes); in removeUniqueKeyFromProxy() 204 if (tex->getUniqueKey().isValid()) { in createWrapped() 205 SkASSERT(!this->findProxyByUniqueKey(tex->getUniqueKey())); in createWrapped() 247 SkASSERT(result->getUniqueKey() == key); in findOrCreateProxyByUniqueKey() [all …]
|
D | GrSurfaceProxy.cpp | 204 SkASSERT(fTarget->getUniqueKey().isValid() && fTarget->getUniqueKey() == *uniqueKey); in instantiateImpl() 446 if (const auto& uniqueKey = fProxy->getUniqueKey(); uniqueKey.isValid()) { in doLazyInstantiation() 477 const skgpu::UniqueKey& key = texProxy->getUniqueKey(); in doLazyInstantiation() 479 if (!surface->asTexture()->getUniqueKey().isValid()) { in doLazyInstantiation() 484 SkASSERT(surface->asTexture()->getUniqueKey() == key); in doLazyInstantiation() 487 SkASSERT(!surface->getUniqueKey().isValid()); in doLazyInstantiation()
|
D | GrTextureProxy.h | 85 const skgpu::UniqueKey& getUniqueKey() const override { in getUniqueKey() function 92 SkASSERT(surface->getUniqueKey().isValid()); in getUniqueKey() 97 SkASSERT(fUniqueKey == surface->getUniqueKey()); in getUniqueKey()
|
D | GrTextureProxy.cpp | 98 if (fTarget->getUniqueKey().isValid()) { in GrTextureProxy() 194 if (!fTarget->getUniqueKey().isValid()) { in setUniqueKey() 197 SkASSERT(fTarget->getUniqueKey() == key); in setUniqueKey()
|
D | GrResourceAllocator.cpp | 173 if (const auto& uniqueKey = proxy->getUniqueKey(); uniqueKey.isValid()) { in instantiateSurface() 174 if (!surface->getUniqueKey().isValid()) { in instantiateSurface() 177 SkASSERT(surface->getUniqueKey() == uniqueKey); in instantiateSurface() 277 if (const auto& uniqueKey = proxy->getUniqueKey(); uniqueKey.isValid()) { in findOrCreateRegisterFor()
|
D | GrTextureRenderTargetProxy.cpp | 167 const skgpu::UniqueKey& key = this->getUniqueKey(); in instantiate() 174 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()
|
D | GrResourceAllocator.h | 163 const skgpu::UniqueKey& uniqueKey() const { return fOriginatingProxy->getUniqueKey(); } in uniqueKey()
|
D | GrGpuResource.h | 175 const skgpu::UniqueKey& getUniqueKey() const { return fUniqueKey; } in getUniqueKey() function
|
D | GrProxyProvider.h | 303 static const skgpu::UniqueKey& GetKey(const GrTextureProxy& p) { return p.getUniqueKey(); } in GetKey()
|
D | GrSurfaceProxy.h | 253 virtual const skgpu::UniqueKey& getUniqueKey() const { in getUniqueKey() function
|
D | GrResourceCache.h | 339 static const skgpu::UniqueKey& GetKey(const GrGpuResource& r) { return r.getUniqueKey(); } in GetKey()
|
D | GrThreadSafeCache.cpp | 352 SkASSERT(!trampoline->fProxy->peekTexture()->getUniqueKey().isValid()); in CreateLazyView()
|
D | SkGr.cpp | 239 SkASSERT(proxy->getUniqueKey() == key); in GrMakeCachedBitmapProxyView()
|