Home
last modified time | relevance | path

Searched refs:GrBudgetedType (Results 1 – 25 of 25) sorted by relevance

/third_party/skia/src/gpu/
DGrGpuResource.cpp29 SkASSERT(fBudgetedType == GrBudgetedType::kUnbudgetedUncacheable); in registerWithCache()
30 fBudgetedType = budgeted == SkBudgeted::kYes ? GrBudgetedType::kBudgeted in registerWithCache()
31 : GrBudgetedType::kUnbudgetedUncacheable; in registerWithCache()
37 SkASSERT(fBudgetedType == GrBudgetedType::kUnbudgetedUncacheable); in registerWithCacheWrapped()
39 fBudgetedType = wrapType == GrWrapCacheable::kNo ? GrBudgetedType::kUnbudgetedUncacheable in registerWithCacheWrapped()
40 : GrBudgetedType::kUnbudgetedCacheable; in registerWithCacheWrapped()
104 !(fBudgetedType == GrBudgetedType::kUnbudgetedCacheable && fUniqueKey.isValid()); in isPurgeable()
152 if (this->resourcePriv().budgetedType() != GrBudgetedType::kBudgeted && in setUniqueKey()
189 SkASSERT(fBudgetedType != GrBudgetedType::kUnbudgetedCacheable); in makeBudgeted()
190 if (!this->wasDestroyed() && fBudgetedType == GrBudgetedType::kUnbudgetedUncacheable) { in makeBudgeted()
[all …]
DGrResourceCache.cpp153 if (GrBudgetedType::kBudgeted == resource->resourcePriv().budgetedType()) { in insertResource()
182 if (GrBudgetedType::kBudgeted == resource->resourcePriv().budgetedType()) { in removeResource()
386 resource->resourcePriv().budgetedType() == GrBudgetedType::kBudgeted) { in refAndMakeResourceMRU()
429 resource->resourcePriv().budgetedType() == GrBudgetedType::kBudgeted) { in notifyARefCntReachedZero()
445 GrBudgetedType budgetedType = resource->resourcePriv().budgetedType(); in notifyARefCntReachedZero()
447 if (budgetedType == GrBudgetedType::kBudgeted) { in notifyARefCntReachedZero()
457 if (hasUniqueKey && budgetedType == GrBudgetedType::kUnbudgetedCacheable) { in notifyARefCntReachedZero()
489 if (resource->resourcePriv().budgetedType() == GrBudgetedType::kBudgeted) { in didChangeBudgetStatus()
505 SkASSERT(resource->resourcePriv().budgetedType() != GrBudgetedType::kUnbudgetedCacheable); in didChangeBudgetStatus()
649 if (GrBudgetedType::kBudgeted == resource->resourcePriv().budgetedType()) { in purgeToMakeHeadroom()
[all …]
DGrGpuResourcePriv.h47 GrBudgetedType budgetedType() const { in budgetedType()
48 SkASSERT(GrBudgetedType::kBudgeted == fResource->fBudgetedType || in budgetedType()
DGrGpuResource.h311 GrBudgetedType fBudgetedType = GrBudgetedType::kUnbudgetedUncacheable;
DGrGpuResourceCacheAccess.h32 GrBudgetedType::kBudgeted == fResource->resourcePriv().budgetedType(); in isScratch()
DGrProxyProvider.cpp554 SkASSERT(GrBudgetedType::kBudgeted != tex->resourcePriv().budgetedType()); in wrapBackendTexture()
589 SkASSERT(GrBudgetedType::kBudgeted != tex->resourcePriv().budgetedType()); in wrapCompressedBackendTexture()
630 SkASSERT(GrBudgetedType::kBudgeted != tex->resourcePriv().budgetedType()); in wrapRenderableBackendTexture()
663 SkASSERT(GrBudgetedType::kBudgeted != rt->resourcePriv().budgetedType()); in wrapBackendRenderTarget()
692 SkASSERT(GrBudgetedType::kBudgeted != rt->resourcePriv().budgetedType()); in wrapVulkanSecondaryCBAsRenderTarget()
DGrResourceCache.h226 if (GrBudgetedType::kBudgeted != resource->resourcePriv().budgetedType()) { in update()
DGrSurfaceProxy.cpp93 , fBudgeted(fTarget->resourcePriv().budgetedType() == GrBudgetedType::kBudgeted in GrSurfaceProxy()
DGrResourceAllocator.cpp163 GrBudgetedType::kBudgeted != surface->resourcePriv().budgetedType()) { in instantiateSurface()
/third_party/flutter/skia/src/gpu/
DGrGpuResource.cpp29 SkASSERT(fBudgetedType == GrBudgetedType::kUnbudgetedUncacheable); in registerWithCache()
30 fBudgetedType = budgeted == SkBudgeted::kYes ? GrBudgetedType::kBudgeted in registerWithCache()
31 : GrBudgetedType::kUnbudgetedUncacheable; in registerWithCache()
37 SkASSERT(fBudgetedType == GrBudgetedType::kUnbudgetedUncacheable); in registerWithCacheWrapped()
39 fBudgetedType = wrapType == GrWrapCacheable::kNo ? GrBudgetedType::kUnbudgetedUncacheable in registerWithCacheWrapped()
40 : GrBudgetedType::kUnbudgetedCacheable; in registerWithCacheWrapped()
100 !(fBudgetedType == GrBudgetedType::kUnbudgetedCacheable && fUniqueKey.isValid()); in isPurgeable()
148 if (this->resourcePriv().budgetedType() != GrBudgetedType::kBudgeted && in setUniqueKey()
210 SkASSERT(fBudgetedType != GrBudgetedType::kUnbudgetedCacheable); in makeBudgeted()
211 if (!this->wasDestroyed() && fBudgetedType == GrBudgetedType::kUnbudgetedUncacheable) { in makeBudgeted()
[all …]
DGrResourceCache.cpp152 if (GrBudgetedType::kBudgeted == resource->resourcePriv().budgetedType()) { in insertResource()
186 if (GrBudgetedType::kBudgeted == resource->resourcePriv().budgetedType()) { in removeResource()
410 resource->resourcePriv().budgetedType() == GrBudgetedType::kBudgeted) { in refAndMakeResourceMRU()
442 resource->resourcePriv().budgetedType() == GrBudgetedType::kBudgeted) { in notifyCntReachedZero()
449 if (resource->resourcePriv().budgetedType() == GrBudgetedType::kBudgeted && in notifyCntReachedZero()
473 GrBudgetedType budgetedType = resource->resourcePriv().budgetedType(); in notifyCntReachedZero()
475 if (budgetedType == GrBudgetedType::kBudgeted) { in notifyCntReachedZero()
485 if (hasUniqueKey && budgetedType == GrBudgetedType::kUnbudgetedCacheable) { in notifyCntReachedZero()
518 if (resource->resourcePriv().budgetedType() == GrBudgetedType::kBudgeted) { in didChangeBudgetStatus()
530 SkASSERT(resource->resourcePriv().budgetedType() != GrBudgetedType::kUnbudgetedCacheable); in didChangeBudgetStatus()
[all …]
DGrGpuResourcePriv.h49 GrBudgetedType budgetedType() const { in budgetedType()
50 SkASSERT(GrBudgetedType::kBudgeted == fResource->fBudgetedType || in budgetedType()
DGrGpuResourceCacheAccess.h32 GrBudgetedType::kBudgeted == fResource->resourcePriv().budgetedType(); in isScratch()
DGrProxyProvider.cpp605 SkASSERT(GrBudgetedType::kBudgeted != tex->resourcePriv().budgetedType()); in wrapBackendTexture()
653 SkASSERT(GrBudgetedType::kBudgeted != tex->resourcePriv().budgetedType()); in wrapRenderableBackendTexture()
693 SkASSERT(GrBudgetedType::kBudgeted != rt->resourcePriv().budgetedType()); in wrapBackendRenderTarget()
729 SkASSERT(GrBudgetedType::kBudgeted != rt->resourcePriv().budgetedType()); in wrapBackendTextureAsRenderTarget()
761 SkASSERT(GrBudgetedType::kBudgeted != rt->resourcePriv().budgetedType()); in wrapVulkanSecondaryCBAsRenderTarget()
DGrResourceCache.h229 if (GrBudgetedType::kBudgeted != resource->resourcePriv().budgetedType()) { in update()
DGrResourceAllocator.cpp315 GrBudgetedType::kBudgeted != surface->resourcePriv().budgetedType()) { in findSurfaceFor()
DGrSurfaceProxy.cpp99 , fBudgeted(fTarget->resourcePriv().budgetedType() == GrBudgetedType::kBudgeted in GrSurfaceProxy()
/third_party/flutter/skia/include/gpu/
DGrGpuResource.h372 GrBudgetedType fBudgetedType = GrBudgetedType::kUnbudgetedUncacheable;
/third_party/skia/tests/
DTextureProxyTest.cpp167 GrBudgetedType::kUnbudgetedCacheable; in basic_test()
173 GrBudgetedType::kUnbudgetedUncacheable; in basic_test()
DResourceCacheTest.cpp747 REPORTER_ASSERT(reporter, GrBudgetedType::kUnbudgetedUncacheable == in test_unbudgeted_to_scratch()
768 GrBudgetedType::kBudgeted == resource->resourcePriv().budgetedType()); in test_unbudgeted_to_scratch()
785 GrBudgetedType::kBudgeted == resource->resourcePriv().budgetedType()); in test_unbudgeted_to_scratch()
/third_party/flutter/skia/tests/
DTextureProxyTest.cpp172 GrBudgetedType::kUnbudgetedCacheable; in basic_test()
178 GrBudgetedType::kUnbudgetedUncacheable; in basic_test()
DResourceCacheTest.cpp704 REPORTER_ASSERT(reporter, GrBudgetedType::kUnbudgetedUncacheable == in test_unbudgeted_to_scratch()
725 GrBudgetedType::kBudgeted == resource->resourcePriv().budgetedType()); in test_unbudgeted_to_scratch()
742 GrBudgetedType::kBudgeted == resource->resourcePriv().budgetedType()); in test_unbudgeted_to_scratch()
DGrSurfaceTest.cpp587 if (texture->resourcePriv().budgetedType() == GrBudgetedType::kBudgeted) { in DEF_GPUTEST()
/third_party/skia/include/private/
DGrTypesPriv.h128 enum class GrBudgetedType : uint8_t { enum
/third_party/flutter/skia/include/private/
DGrTypesPriv.h188 enum class GrBudgetedType : uint8_t { enum