Home
last modified time | relevance | path

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

/external/skia/src/gpu/
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() local
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() function
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()
DGrGpuResource.cpp152 if (this->resourcePriv().budgetedType() != GrBudgetedType::kBudgeted && in setUniqueKey()
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/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()
DGrGpuResourcePriv.h49 GrBudgetedType budgetedType() const { in budgetedType() function
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()
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/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()
/external/skia/tests/
DTextureProxyTest.cpp166 bool expectResourceToOutliveProxy = proxy->peekSurface()->resourcePriv().budgetedType() == in basic_test()
172 proxy->peekSurface()->resourcePriv().budgetedType() == in basic_test()
DResourceCacheTest.cpp748 resource->resourcePriv().budgetedType()); 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()
1494 resource->resourcePriv().budgetedType(); in test_abandoned()