Searched refs:GrBudgetedType (Results 1 – 12 of 12) sorted by relevance
33 SkASSERT(fBudgetedType == GrBudgetedType::kUnbudgetedUncacheable); in registerWithCache()34 fBudgetedType = budgeted == SkBudgeted::kYes ? GrBudgetedType::kBudgeted in registerWithCache()35 : GrBudgetedType::kUnbudgetedUncacheable; in registerWithCache()41 SkASSERT(fBudgetedType == GrBudgetedType::kUnbudgetedUncacheable); in registerWithCacheWrapped()43 fBudgetedType = wrapType == GrWrapCacheable::kNo ? GrBudgetedType::kUnbudgetedUncacheable in registerWithCacheWrapped()44 : GrBudgetedType::kUnbudgetedCacheable; in registerWithCacheWrapped()113 !(fBudgetedType == GrBudgetedType::kUnbudgetedCacheable && fUniqueKey.isValid()); in isPurgeable()161 if (this->resourcePriv().budgetedType() != GrBudgetedType::kBudgeted && in setUniqueKey()198 SkASSERT(fBudgetedType != GrBudgetedType::kUnbudgetedCacheable); in makeBudgeted()199 if (!this->wasDestroyed() && fBudgetedType == GrBudgetedType::kUnbudgetedUncacheable) { in makeBudgeted()[all …]
156 if (GrBudgetedType::kBudgeted == resource->resourcePriv().budgetedType()) { in insertResource()185 if (GrBudgetedType::kBudgeted == resource->resourcePriv().budgetedType()) { in removeResource()465 resource->resourcePriv().budgetedType() == GrBudgetedType::kBudgeted) { in refAndMakeResourceMRU()512 resource->resourcePriv().budgetedType() == GrBudgetedType::kBudgeted) { in notifyARefCntReachedZero()528 GrBudgetedType budgetedType = resource->resourcePriv().budgetedType(); in notifyARefCntReachedZero()530 if (budgetedType == GrBudgetedType::kBudgeted) { in notifyARefCntReachedZero()540 if (hasUniqueKey && budgetedType == GrBudgetedType::kUnbudgetedCacheable) { in notifyARefCntReachedZero()572 if (resource->resourcePriv().budgetedType() == GrBudgetedType::kBudgeted) { in didChangeBudgetStatus()588 SkASSERT(resource->resourcePriv().budgetedType() != GrBudgetedType::kUnbudgetedCacheable); in didChangeBudgetStatus()790 if (GrBudgetedType::kBudgeted == resource->resourcePriv().budgetedType()) { in purgeToMakeHeadroom()[all …]
47 GrBudgetedType budgetedType() const { in budgetedType()48 SkASSERT(GrBudgetedType::kBudgeted == fResource->fBudgetedType || in budgetedType()
410 GrBudgetedType fBudgetedType = GrBudgetedType::kUnbudgetedUncacheable;
567 SkASSERT(GrBudgetedType::kBudgeted != tex->resourcePriv().budgetedType()); in wrapBackendTexture()602 SkASSERT(GrBudgetedType::kBudgeted != tex->resourcePriv().budgetedType()); in wrapCompressedBackendTexture()643 SkASSERT(GrBudgetedType::kBudgeted != tex->resourcePriv().budgetedType()); in wrapRenderableBackendTexture()678 SkASSERT(GrBudgetedType::kBudgeted != rt->resourcePriv().budgetedType()); in wrapBackendRenderTarget()706 SkASSERT(GrBudgetedType::kBudgeted != rt->resourcePriv().budgetedType()); in wrapVulkanSecondaryCBAsRenderTarget()
32 GrBudgetedType::kBudgeted == fResource->resourcePriv().budgetedType(); in isScratch()
258 if (GrBudgetedType::kBudgeted != resource->resourcePriv().budgetedType()) { in update()
93 , fBudgeted(fTarget->resourcePriv().budgetedType() == GrBudgetedType::kBudgeted in GrSurfaceProxy()
173 GrBudgetedType::kBudgeted != surface->resourcePriv().budgetedType()) { in instantiateSurface()
167 GrBudgetedType::kUnbudgetedCacheable; in basic_test()173 GrBudgetedType::kUnbudgetedUncacheable; in basic_test()
747 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()
128 enum class GrBudgetedType : uint8_t { enum