Home
last modified time | relevance | path

Searched refs:wasDestroyed (Results 1 - 22 of 22) sorted by relevance

/third_party/skia/src/gpu/
H A DGrGpuResource.cpp51 SkASSERT(this->wasDestroyed()); in ~GrGpuResource()
68 if (this->wasDestroyed()) { in abandon()
146 if (this->wasDestroyed()) { in removeUniqueKey()
166 if (this->wasDestroyed()) { in setUniqueKey()
174 if (this->wasDestroyed()) { in notifyARefCntIsZero()
188 if (!this->wasDestroyed() && fScratchKey.isValid()) { in removeScratchKey()
199 if (!this->wasDestroyed() && fBudgetedType == GrBudgetedType::kUnbudgetedUncacheable) { in makeBudgeted()
207 if (!this->wasDestroyed() && fBudgetedType == GrBudgetedType::kBudgeted && in makeUnbudgeted()
216 if (this->wasDestroyed()) { in userRegisterResource()
H A DGrGpuBuffer.cpp21 if (this->wasDestroyed()) { in map()
32 if (this->wasDestroyed()) { in unmap()
H A DGrBufferAllocPool.cpp142 bool wasDestroyed = false; in validate() local
158 for (int i = 0; !wasDestroyed && i < fBlocks.count(); ++i) { in validate()
160 if (!buffer->isCpuBuffer() && static_cast<GrGpuBuffer*>(buffer)->wasDestroyed()) { in validate()
161 wasDestroyed = true; in validate()
169 if (!wasDestroyed) { in validate()
H A DGrResourceCache.cpp630 SkASSERT(!resource->wasDestroyed()); in insertResource()
632 if (!resource || this->isInCache(resource) || resource->wasDestroyed() || resource->resourcePriv().isPurgeable()) { in insertResource()
748 SkASSERT(!back->wasDestroyed()); in abandonAll()
754 SkASSERT(!top->wasDestroyed()); in abandonAll()
791 SkASSERT(!back->wasDestroyed()); in releaseAll()
797 SkASSERT(!top->wasDestroyed()); in releaseAll()
840 SkASSERT(!resource->wasDestroyed()); in releaseByTag()
1056 SkASSERT(!resource->wasDestroyed()); in notifyARefCntReachedZero()
1061 if (!resource || resource->wasDestroyed() || this->isInPurgeableCache(resource) || in notifyARefCntReachedZero()
1698 if (!resource || resource->wasDestroyed()) {
[all...]
H A DGrGpuResource.h202 * contextLost called. It's up to the client to test wasDestroyed() before
209 bool wasDestroyed() const { return nullptr == fGpu; } in wasDestroyed() function in GrGpuResource
H A DGrRenderTask.cpp288 if (surface->wasDestroyed()) { in isInstantiated()
H A DGrResourceProvider.cpp610 if (!rt->wasDestroyed() && rt->canAttemptStencilAttachment(useMSAASurface)) { in attachStencilAttachment()
/third_party/skia/src/gpu/dawn/
H A DGrDawnBuffer.cpp59 if (this->wasDestroyed()) { in onMap()
79 if (this->wasDestroyed()) { in onUnmap()
92 if (this->wasDestroyed()) { in onUpdateData()
102 SkASSERT(!this->wasDestroyed()); in getDawnGpu()
H A DGrDawnAttachment.cpp56 SkASSERT(!this->wasDestroyed()); in getDawnGpu()
H A DGrDawnTexture.cpp98 SkASSERT(!this->wasDestroyed()); in getDawnGpu()
/third_party/skia/src/gpu/gl/
H A DGrGLBuffer.cpp133 SkASSERT(!this->wasDestroyed()); in glGpu()
144 if (!this->wasDestroyed()) { in onRelease()
169 SkASSERT(!this->wasDestroyed()); in onMap()
264 if (this->wasDestroyed()) { in onUpdateData()
H A DGrGLRenderTarget.cpp311 SkASSERT(!this->wasDestroyed()); in getGLGpu()
/third_party/skia/src/gpu/d3d/
H A DGrD3DBuffer.cpp116 if (this->wasDestroyed()) { in releaseResource()
175 if (this->wasDestroyed()) { in internalMap()
206 if (this->wasDestroyed()) { in internalUnmap()
H A DGrD3DBuffer.h53 SkASSERT(!this->wasDestroyed()); in getD3DGpu()
H A DGrD3DAttachment.cpp82 SkASSERT(!this->wasDestroyed()); in getD3DGpu()
H A DGrD3DRenderTarget.cpp181 SkASSERT(!this->wasDestroyed()); in getD3DGpu()
H A DGrD3DTexture.cpp155 SkASSERT(!this->wasDestroyed()); in getD3DGpu()
/third_party/skia/src/gpu/vk/
H A DGrVkBuffer.cpp325 if (this->wasDestroyed()) {
364 if (!this->wasDestroyed()) {
370 if (!this->wasDestroyed()) {
376 if (this->wasDestroyed()) {
399 SkASSERT(!this->wasDestroyed());
H A DGrVkRenderTarget.cpp485 SkASSERT(!this->wasDestroyed()); in getBackendRenderTarget()
493 SkASSERT(!this->wasDestroyed()); in getVkGpu()
H A DGrVkTexture.cpp172 SkASSERT(!this->wasDestroyed()); in getVkGpu()
H A DGrVkImage.cpp696 SkASSERT(!this->wasDestroyed()); in getVkGpu()
/third_party/skia/tests/
H A DResourceCacheTest.cpp1483 REPORTER_ASSERT(reporter, resource->wasDestroyed()); in test_abandoned()
1489 resource->wasDestroyed(); in test_abandoned()

Completed in 17 milliseconds