Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/
DGrGpuResource.cpp33 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 …]
DGrResourceCache.cpp156 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 …]
DGrGpuResourcePriv.h47 GrBudgetedType budgetedType() const { in budgetedType()
48 SkASSERT(GrBudgetedType::kBudgeted == fResource->fBudgetedType || in budgetedType()
DGrGpuResource.h410 GrBudgetedType fBudgetedType = GrBudgetedType::kUnbudgetedUncacheable;
DGrProxyProvider.cpp567 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()
DGrGpuResourceCacheAccess.h32 GrBudgetedType::kBudgeted == fResource->resourcePriv().budgetedType(); in isScratch()
DGrResourceCache.h258 if (GrBudgetedType::kBudgeted != resource->resourcePriv().budgetedType()) { in update()
DGrSurfaceProxy.cpp93 , fBudgeted(fTarget->resourcePriv().budgetedType() == GrBudgetedType::kBudgeted in GrSurfaceProxy()
DGrResourceAllocator.cpp173 GrBudgetedType::kBudgeted != surface->resourcePriv().budgetedType()) { in instantiateSurface()
/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/skia/include/private/
DGrTypesPriv.h128 enum class GrBudgetedType : uint8_t { enum