/external/skia/tests/ |
D | ResourceCacheTest.cpp | 429 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 …]
|
D | TraceMemoryDumpTest.cpp | 124 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()
|
D | ProxyTest.cpp | 183 proxy->gpuMemorySize(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() 228 proxy->gpuMemorySize(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
|
D | ResourceAllocatorTest.cpp | 418 expectedPurgeableBytes += proxy->gpuMemorySize(); in memory_budget_test() 432 expectedUnpurgeableBytes += proxy->gpuMemorySize(); in memory_budget_test()
|
/external/skia/src/gpu/ganesh/ |
D | GrResourceCache.cpp | 83 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 …]
|
D | GrResourceAllocator.cpp | 381 additionalBytesNeeded += proxy->gpuMemorySize(); in makeBudgetHeadroom() 386 additionalBytesNeeded += proxy->gpuMemorySize(); in makeBudgetHeadroom()
|
D | GrGpuResource.cpp | 76 this->getResourceType(), this->gpuMemorySize()); in dumpMemoryStatistics()
|
D | GrGpuResource.h | 140 size_t gpuMemorySize() const { in gpuMemorySize() function
|
D | GrSurfaceProxy.h | 312 size_t gpuMemorySize() const { in gpuMemorySize() function
|
D | GrResourceCache.h | 237 fUnbudgetedSize += resource->gpuMemorySize(); in update()
|
D | GrSurfaceProxy.cpp | 193 SkASSERT(fTarget->gpuMemorySize() <= this->getRawGpuMemorySize_debugOnly()); in assign()
|
/external/skia/src/gpu/ganesh/vk/ |
D | GrVkTextureRenderTarget.cpp | 190 SkASSERT(this->nonMSAAAttachment()->gpuMemorySize() == 0); in onGpuMemorySize() 193 SkASSERT(this->colorAttachment()->gpuMemorySize() == in onGpuMemorySize()
|
/external/skia/src/gpu/ganesh/gl/ |
D | GrGLTextureRenderTarget.cpp | 53 this->gpuMemorySize()); in dumpMemoryStatistics()
|
/external/skia/src/gpu/ganesh/mtl/ |
D | GrMtlTextureRenderTarget.mm | 153 SkASSERT(this->nonMSAAAttachment()->gpuMemorySize() == 0); 156 SkASSERT(this->colorAttachment()->gpuMemorySize() ==
|
/external/skia/src/image/ |
D | SkImage_Gpu.h | 154 size_t gpuMemorySize() const SK_EXCLUDES(fLock);
|
D | SkImage_Gpu.cpp | 138 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()
|
D | SkImage_GpuYUVA.cpp | 154 size += fYUVAProxies.proxy(i)->gpuMemorySize(); in onTextureSize()
|
/external/skia/src/core/ |
D | SkSpecialImage.cpp | 317 return fView.proxy()->gpuMemorySize(); in getSize()
|