Home
last modified time | relevance | path

Searched refs:budgetedType (Results 1 – 22 of 22) sorted by relevance

/external/skqp/src/gpu/
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() local
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()
DGrGpuResourcePriv.h49 GrBudgetedType budgetedType() const { in budgetedType() function
DGrGpuResourceCacheAccess.h29 GrBudgetedType::kBudgeted == fResource->resourcePriv().budgetedType(); in isScratch()
DGrGpuResource.cpp146 if (this->resourcePriv().budgetedType() != GrBudgetedType::kBudgeted && in setUniqueKey()
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/
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() local
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()
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()
DGrGpuResourcePriv.h49 GrBudgetedType budgetedType() const { in budgetedType() function
DGrGpuResourceCacheAccess.h29 GrBudgetedType::kBudgeted == fResource->resourcePriv().budgetedType(); in isScratch()
DGrGpuResource.cpp146 if (this->resourcePriv().budgetedType() != GrBudgetedType::kBudgeted && in setUniqueKey()
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/skia/tests/
DTextureProxyTest.cpp167 bool expectResourceToOutliveProxy = proxy->peekSurface()->resourcePriv().budgetedType() == in basic_test()
173 proxy->peekSurface()->resourcePriv().budgetedType() == in basic_test()
DResourceCacheTest.cpp707 resource->resourcePriv().budgetedType()); 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()
1489 resource->resourcePriv().budgetedType(); in test_abandoned()
DGrSurfaceTest.cpp458 if (texture->resourcePriv().budgetedType() == GrBudgetedType::kBudgeted) { in DEF_GPUTEST()
/external/skqp/tests/
DTextureProxyTest.cpp167 bool expectResourceToOutliveProxy = proxy->peekSurface()->resourcePriv().budgetedType() == in basic_test()
173 proxy->peekSurface()->resourcePriv().budgetedType() == in basic_test()
DResourceCacheTest.cpp707 resource->resourcePriv().budgetedType()); 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()
1489 resource->resourcePriv().budgetedType(); in test_abandoned()
DGrSurfaceTest.cpp464 if (texture->resourcePriv().budgetedType() == GrBudgetedType::kBudgeted) { in DEF_GPUTEST()