Home
last modified time | relevance | path

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

12

/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 …]
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()
DGrGpuResourcePriv.h49 GrBudgetedType budgetedType() const { in budgetedType()
50 SkASSERT(GrBudgetedType::kBudgeted == fResource->fBudgetedType || in budgetedType()
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()
100 !(fBudgetedType == GrBudgetedType::kUnbudgetedCacheable && fUniqueKey.isValid()); in isPurgeable()
146 if (this->resourcePriv().budgetedType() != GrBudgetedType::kBudgeted && in setUniqueKey()
208 SkASSERT(fBudgetedType != GrBudgetedType::kUnbudgetedCacheable); in makeBudgeted()
209 if (!this->wasDestroyed() && fBudgetedType == GrBudgetedType::kUnbudgetedUncacheable) { in makeBudgeted()
[all …]
DGrResourceCache.cpp166 if (GrBudgetedType::kBudgeted == resource->resourcePriv().budgetedType()) { in insertResource()
200 if (GrBudgetedType::kBudgeted == resource->resourcePriv().budgetedType()) { in removeResource()
459 GrBudgetedType budgetedType = resource->resourcePriv().budgetedType(); in notifyCntReachedZero()
461 if (budgetedType == GrBudgetedType::kBudgeted) { in notifyCntReachedZero()
471 if (hasUniqueKey && budgetedType == GrBudgetedType::kUnbudgetedCacheable) { in notifyCntReachedZero()
504 if (resource->resourcePriv().budgetedType() == GrBudgetedType::kBudgeted) { in didChangeBudgetStatus()
513 SkASSERT(resource->resourcePriv().budgetedType() != GrBudgetedType::kUnbudgetedCacheable); in didChangeBudgetStatus()
853 SkASSERT(GrBudgetedType::kBudgeted != resource->resourcePriv().budgetedType() || in validate()
864 SkASSERT(GrBudgetedType::kBudgeted == resource->resourcePriv().budgetedType() || in validate()
872 if (GrBudgetedType::kBudgeted == resource->resourcePriv().budgetedType()) { in validate()
DGrGpuResourcePriv.h49 GrBudgetedType budgetedType() const { in budgetedType()
50 SkASSERT(GrBudgetedType::kBudgeted == fResource->fBudgetedType || in budgetedType()
DGrProxyProvider.cpp497 SkASSERT(GrBudgetedType::kBudgeted != tex->resourcePriv().budgetedType()); in wrapBackendTexture()
535 SkASSERT(GrBudgetedType::kBudgeted != tex->resourcePriv().budgetedType()); in wrapRenderableBackendTexture()
567 SkASSERT(GrBudgetedType::kBudgeted != rt->resourcePriv().budgetedType()); in wrapBackendRenderTarget()
594 SkASSERT(GrBudgetedType::kBudgeted != rt->resourcePriv().budgetedType()); in wrapBackendTextureAsRenderTarget()
622 SkASSERT(GrBudgetedType::kBudgeted != rt->resourcePriv().budgetedType()); in wrapVulkanSecondaryCBAsRenderTarget()
DGrGpuResourceCacheAccess.h29 GrBudgetedType::kBudgeted == fResource->resourcePriv().budgetedType(); in isScratch()
DGrResourceCache.h229 if (GrBudgetedType::kBudgeted != resource->resourcePriv().budgetedType()) { in update()
DGrResourceAllocator.cpp269 GrBudgetedType::kBudgeted != surface->resourcePriv().budgetedType()) { in findSurfaceFor()
DGrSurfaceProxy.cpp94 , fBudgeted(fTarget->resourcePriv().budgetedType() == GrBudgetedType::kBudgeted in GrSurfaceProxy()
/external/skqp/include/gpu/
DGrGpuResource.h350 GrBudgetedType fBudgetedType = GrBudgetedType::kUnbudgetedUncacheable;
/external/skia/include/gpu/
DGrGpuResource.h356 GrBudgetedType fBudgetedType = GrBudgetedType::kUnbudgetedUncacheable;
/external/skia/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()
/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/skqp/include/private/
DGrTypesPriv.h215 enum class GrBudgetedType : uint8_t { enum
/external/skia/include/private/
DGrTypesPriv.h215 enum class GrBudgetedType : uint8_t { enum

12