Home
last modified time | relevance | path

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

/external/skqp/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()
146 if (this->resourcePriv().budgetedType() != GrBudgetedType::kBudgeted && in setUniqueKey()
205 SkASSERT(fBudgetedType != GrBudgetedType::kUnbudgetedCacheable); in makeBudgeted()
206 if (!this->wasDestroyed() && fBudgetedType == GrBudgetedType::kUnbudgetedUncacheable) { in makeBudgeted()
[all …]
DGrGpuResourcePriv.h49 GrBudgetedType budgetedType() const { in budgetedType()
50 SkASSERT(GrBudgetedType::kBudgeted == fResource->fBudgetedType || in budgetedType()
DGrResourceCache.cpp128 if (GrBudgetedType::kBudgeted == resource->resourcePriv().budgetedType()) { in insertResource()
162 if (GrBudgetedType::kBudgeted == resource->resourcePriv().budgetedType()) { in removeResource()
425 GrBudgetedType budgetedType = resource->resourcePriv().budgetedType(); in notifyCntReachedZero()
427 if (budgetedType == GrBudgetedType::kBudgeted) { in notifyCntReachedZero()
437 if (hasUniqueKey && budgetedType == GrBudgetedType::kUnbudgetedCacheable) { in notifyCntReachedZero()
470 if (resource->resourcePriv().budgetedType() == GrBudgetedType::kBudgeted) { in didChangeBudgetStatus()
479 SkASSERT(resource->resourcePriv().budgetedType() != GrBudgetedType::kUnbudgetedCacheable); in didChangeBudgetStatus()
762 SkASSERT(GrBudgetedType::kBudgeted != resource->resourcePriv().budgetedType() || in validate()
773 SkASSERT(GrBudgetedType::kBudgeted == resource->resourcePriv().budgetedType() || in validate()
781 if (GrBudgetedType::kBudgeted == resource->resourcePriv().budgetedType()) { in validate()
DGrProxyProvider.cpp483 SkASSERT(GrBudgetedType::kBudgeted != tex->resourcePriv().budgetedType()); in wrapBackendTexture()
513 SkASSERT(GrBudgetedType::kBudgeted != tex->resourcePriv().budgetedType()); in wrapRenderableBackendTexture()
536 SkASSERT(GrBudgetedType::kBudgeted != rt->resourcePriv().budgetedType()); in wrapBackendRenderTarget()
560 SkASSERT(GrBudgetedType::kBudgeted != rt->resourcePriv().budgetedType()); in wrapBackendTextureAsRenderTarget()
585 SkASSERT(GrBudgetedType::kBudgeted != rt->resourcePriv().budgetedType()); in wrapVulkanSecondaryCBAsRenderTarget()
DGrGpuResourceCacheAccess.h29 GrBudgetedType::kBudgeted == fResource->resourcePriv().budgetedType(); in isScratch()
DGrResourceCache.h228 if (GrBudgetedType::kBudgeted != resource->resourcePriv().budgetedType()) { in update()
DGrResourceAllocator.cpp269 GrBudgetedType::kBudgeted != surface->resourcePriv().budgetedType()) { in findSurfaceFor()
DGrSurfaceProxy.cpp92 , fBudgeted(fTarget->resourcePriv().budgetedType() == GrBudgetedType::kBudgeted in GrSurfaceProxy()
/external/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()
648 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;
DGrProxyProvider.cpp520 SkASSERT(GrBudgetedType::kBudgeted != tex->resourcePriv().budgetedType()); in wrapBackendTexture()
555 SkASSERT(GrBudgetedType::kBudgeted != tex->resourcePriv().budgetedType()); in wrapCompressedBackendTexture()
596 SkASSERT(GrBudgetedType::kBudgeted != tex->resourcePriv().budgetedType()); in wrapRenderableBackendTexture()
629 SkASSERT(GrBudgetedType::kBudgeted != rt->resourcePriv().budgetedType()); in wrapBackendRenderTarget()
657 SkASSERT(GrBudgetedType::kBudgeted != rt->resourcePriv().budgetedType()); in wrapVulkanSecondaryCBAsRenderTarget()
DGrGpuResourceCacheAccess.h32 GrBudgetedType::kBudgeted == fResource->resourcePriv().budgetedType(); in isScratch()
DGrResourceCache.h226 if (GrBudgetedType::kBudgeted != resource->resourcePriv().budgetedType()) { in update()
DGrSurfaceProxy.cpp95 , fBudgeted(fTarget->resourcePriv().budgetedType() == GrBudgetedType::kBudgeted in GrSurfaceProxy()
DGrResourceAllocator.cpp164 GrBudgetedType::kBudgeted != surface->resourcePriv().budgetedType()) { in instantiateSurface()
/external/skqp/include/gpu/
DGrGpuResource.h350 GrBudgetedType fBudgetedType = GrBudgetedType::kUnbudgetedUncacheable;
/external/skqp/tests/
DTextureProxyTest.cpp168 GrBudgetedType::kUnbudgetedCacheable; in basic_test()
174 GrBudgetedType::kUnbudgetedUncacheable; in basic_test()
DResourceCacheTest.cpp706 REPORTER_ASSERT(reporter, GrBudgetedType::kUnbudgetedUncacheable == in test_unbudgeted_to_scratch()
727 GrBudgetedType::kBudgeted == resource->resourcePriv().budgetedType()); in test_unbudgeted_to_scratch()
744 GrBudgetedType::kBudgeted == resource->resourcePriv().budgetedType()); in test_unbudgeted_to_scratch()
DGrSurfaceTest.cpp464 if (texture->resourcePriv().budgetedType() == GrBudgetedType::kBudgeted) { in DEF_GPUTEST()
/external/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()
/external/skqp/include/private/
DGrTypesPriv.h215 enum class GrBudgetedType : uint8_t { enum
/external/skia/include/private/
DGrTypesPriv.h135 enum class GrBudgetedType : uint8_t { enum