Home
last modified time | relevance | path

Searched refs:gpuMemorySize (Results 1 – 18 of 18) sorted by relevance

/external/skia/tests/
DResourceCacheTest.cpp429 REPORTER_ASSERT(reporter, a->gpuMemorySize() + b->gpuMemorySize() + c->gpuMemorySize() + in test_no_key()
430 d->gpuMemorySize() == cache->getResourceBytes()); in test_no_key()
441 REPORTER_ASSERT(reporter, b->gpuMemorySize() + c->gpuMemorySize() + d->gpuMemorySize() == in test_no_key()
447 REPORTER_ASSERT(reporter, b->gpuMemorySize() + d->gpuMemorySize() == in test_no_key()
453 REPORTER_ASSERT(reporter, b->gpuMemorySize() == cache->getResourceBytes()); in test_no_key()
498 REPORTER_ASSERT(reporter, a->gpuMemorySize() + b->gpuMemorySize() + c->gpuMemorySize() + in test_purge_unlocked()
499 d->gpuMemorySize() == cache->getResourceBytes()); in test_purge_unlocked()
513 REPORTER_ASSERT(reporter, a->gpuMemorySize() + b->gpuMemorySize() + c->gpuMemorySize() + in test_purge_unlocked()
514 d->gpuMemorySize() == cache->getResourceBytes()); in test_purge_unlocked()
521 REPORTER_ASSERT(reporter, b->gpuMemorySize() + d->gpuMemorySize() == in test_purge_unlocked()
[all …]
DTraceMemoryDumpTest.cpp124 ValidateMemoryDumps(reporter, dContext, 2, texture->gpuMemorySize(), true /* isOwned */); in DEF_GANESH_TEST_FOR_GL_RENDERING_CONTEXTS()
151 ValidateMemoryDumps(reporter, dContext, 2, texture->gpuMemorySize(), false /* isOwned */); in DEF_GANESH_TEST_FOR_GL_RENDERING_CONTEXTS()
178 ValidateMemoryDumps(reporter, dContext, 2, rt->gpuMemorySize(), true /* isOwned */); in DEF_GANESH_TEST_FOR_GL_RENDERING_CONTEXTS()
205 ValidateMemoryDumps(reporter, dContext, 2, rt->gpuMemorySize(), false /* isOwned */); in DEF_GANESH_TEST_FOR_GL_RENDERING_CONTEXTS()
240 ValidateMemoryDumps(reporter, dContext, 3, texRT->gpuMemorySize(), true /* isOwned */); in DEF_GANESH_TEST_FOR_GL_RENDERING_CONTEXTS()
DProxyTest.cpp183 proxy->gpuMemorySize(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
228 proxy->gpuMemorySize(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
DResourceAllocatorTest.cpp418 expectedPurgeableBytes += proxy->gpuMemorySize(); in memory_budget_test()
432 expectedUnpurgeableBytes += proxy->gpuMemorySize(); in memory_budget_test()
/external/skia/src/gpu/ganesh/
DGrResourceCache.cpp83 size_t size = resource->gpuMemorySize(); in insertResource()
109 size_t size = resource->gpuMemorySize(); in removeResource()
298 fPurgeableBytes -= resource->gpuMemorySize(); in refAndMakeResourceMRU()
357 fPurgeableBytes += resource->gpuMemorySize(); in notifyARefCntReachedZero()
380 if (this->wouldFit(resource->gpuMemorySize())) { in notifyARefCntReachedZero()
399 size_t size = resource->gpuMemorySize(); in didChangeBudgetStatus()
566 projectedBudget -= resource->gpuMemorySize(); in purgeToMakeHeadroom()
607 scratchByteCount += resource->gpuMemorySize(); in purgeUnlockedResources()
806 fBytes += resource->gpuMemorySize(); in validate()
837 fBudgetedBytes += resource->gpuMemorySize(); in validate()
[all …]
DGrResourceAllocator.cpp381 additionalBytesNeeded += proxy->gpuMemorySize(); in makeBudgetHeadroom()
386 additionalBytesNeeded += proxy->gpuMemorySize(); in makeBudgetHeadroom()
DGrGpuResource.cpp76 this->getResourceType(), this->gpuMemorySize()); in dumpMemoryStatistics()
DGrGpuResource.h140 size_t gpuMemorySize() const { in gpuMemorySize() function
DGrSurfaceProxy.h312 size_t gpuMemorySize() const { in gpuMemorySize() function
DGrResourceCache.h237 fUnbudgetedSize += resource->gpuMemorySize(); in update()
DGrSurfaceProxy.cpp193 SkASSERT(fTarget->gpuMemorySize() <= this->getRawGpuMemorySize_debugOnly()); in assign()
/external/skia/src/gpu/ganesh/vk/
DGrVkTextureRenderTarget.cpp190 SkASSERT(this->nonMSAAAttachment()->gpuMemorySize() == 0); in onGpuMemorySize()
193 SkASSERT(this->colorAttachment()->gpuMemorySize() == in onGpuMemorySize()
/external/skia/src/gpu/ganesh/gl/
DGrGLTextureRenderTarget.cpp53 this->gpuMemorySize()); in dumpMemoryStatistics()
/external/skia/src/gpu/ganesh/mtl/
DGrMtlTextureRenderTarget.mm153 SkASSERT(this->nonMSAAAttachment()->gpuMemorySize() == 0);
156 SkASSERT(this->colorAttachment()->gpuMemorySize() ==
/external/skia/src/image/
DSkImage_Gpu.h154 size_t gpuMemorySize() const SK_EXCLUDES(fLock);
DSkImage_Gpu.cpp138 inline size_t SkImage_Gpu::ProxyChooser::gpuMemorySize() const { in gpuMemorySize() function in SkImage_Gpu::ProxyChooser
140 size_t size = fStableProxy->gpuMemorySize(); in gpuMemorySize()
142 SkASSERT(fVolatileProxy->gpuMemorySize() == size); in gpuMemorySize()
312 size_t SkImage_Gpu::onTextureSize() const { return fChooser.gpuMemorySize(); } in onTextureSize()
DSkImage_GpuYUVA.cpp154 size += fYUVAProxies.proxy(i)->gpuMemorySize(); in onTextureSize()
/external/skia/src/core/
DSkSpecialImage.cpp317 return fView.proxy()->gpuMemorySize(); in getSize()