/third_party/skia/tests/ |
D | ResourceCacheTest.cpp | 363 REPORTER_ASSERT(reporter, a->gpuMemorySize() + b->gpuMemorySize() + c->gpuMemorySize() + in test_no_key() 364 d->gpuMemorySize() == cache->getResourceBytes()); in test_no_key() 375 REPORTER_ASSERT(reporter, b->gpuMemorySize() + c->gpuMemorySize() + d->gpuMemorySize() == in test_no_key() 381 REPORTER_ASSERT(reporter, b->gpuMemorySize() + d->gpuMemorySize() == in test_no_key() 387 REPORTER_ASSERT(reporter, b->gpuMemorySize() == cache->getResourceBytes()); in test_no_key() 432 REPORTER_ASSERT(reporter, a->gpuMemorySize() + b->gpuMemorySize() + c->gpuMemorySize() + in test_purge_unlocked() 433 d->gpuMemorySize() == cache->getResourceBytes()); in test_purge_unlocked() 447 REPORTER_ASSERT(reporter, a->gpuMemorySize() + b->gpuMemorySize() + c->gpuMemorySize() + in test_purge_unlocked() 448 d->gpuMemorySize() == cache->getResourceBytes()); in test_purge_unlocked() 455 REPORTER_ASSERT(reporter, b->gpuMemorySize() + d->gpuMemorySize() == in test_purge_unlocked() [all …]
|
D | TraceMemoryDumpTest.cpp | 103 ValidateMemoryDumps(reporter, dContext, 2, texture->gpuMemorySize(), true /* isOwned */); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 123 ValidateMemoryDumps(reporter, dContext, 2, texture->gpuMemorySize(), false /* isOwned */); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 142 ValidateMemoryDumps(reporter, dContext, 2, rt->gpuMemorySize(), true /* isOwned */); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 161 ValidateMemoryDumps(reporter, dContext, 2, rt->gpuMemorySize(), false /* isOwned */); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 188 ValidateMemoryDumps(reporter, dContext, 2, texRT->gpuMemorySize(), true /* isOwned */); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
D | ProxyTest.cpp | 158 proxy->gpuMemorySize(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 193 proxy->gpuMemorySize(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | ResourceAllocatorTest.cpp | 376 expectedPurgeableBytes += proxy->gpuMemorySize(); in memory_budget_test() 390 expectedUnpurgeableBytes += proxy->gpuMemorySize(); in memory_budget_test()
|
/third_party/flutter/skia/tests/ |
D | ResourceCacheTest.cpp | 384 REPORTER_ASSERT(reporter, a->gpuMemorySize() + b->gpuMemorySize() + c->gpuMemorySize() + in test_no_key() 385 d->gpuMemorySize() == cache->getResourceBytes()); in test_no_key() 396 REPORTER_ASSERT(reporter, b->gpuMemorySize() + c->gpuMemorySize() + d->gpuMemorySize() == in test_no_key() 402 REPORTER_ASSERT(reporter, b->gpuMemorySize() + d->gpuMemorySize() == in test_no_key() 408 REPORTER_ASSERT(reporter, b->gpuMemorySize() == cache->getResourceBytes()); in test_no_key() 454 REPORTER_ASSERT(reporter, a->gpuMemorySize() + b->gpuMemorySize() + c->gpuMemorySize() + in test_purge_unlocked() 455 d->gpuMemorySize() == cache->getResourceBytes()); in test_purge_unlocked() 469 REPORTER_ASSERT(reporter, a->gpuMemorySize() + b->gpuMemorySize() + c->gpuMemorySize() + in test_purge_unlocked() 470 d->gpuMemorySize() == cache->getResourceBytes()); in test_purge_unlocked() 477 REPORTER_ASSERT(reporter, b->gpuMemorySize() + d->gpuMemorySize() == in test_purge_unlocked() [all …]
|
D | TraceMemoryDumpTest.cpp | 99 ValidateMemoryDumps(reporter, context, texture->gpuMemorySize(), true /* isOwned */); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 120 ValidateMemoryDumps(reporter, context, texture->gpuMemorySize(), false /* isOwned */); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 139 ValidateMemoryDumps(reporter, context, rt->gpuMemorySize(), true /* isOwned */); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 158 ValidateMemoryDumps(reporter, context, rt->gpuMemorySize(), false /* isOwned */); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
D | ProxyTest.cpp | 162 proxy->gpuMemorySize(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 200 proxy->gpuMemorySize(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/third_party/skia/src/gpu/ |
D | GrResourceCache.cpp | 149 size_t size = resource->gpuMemorySize(); in insertResource() 175 size_t size = resource->gpuMemorySize(); in removeResource() 449 fPurgeableBytes -= resource->gpuMemorySize(); in refAndMakeResourceMRU() 517 fPurgeableBytes += resource->gpuMemorySize(); in notifyARefCntReachedZero() 540 if (this->wouldFit(resource->gpuMemorySize())) { in notifyARefCntReachedZero() 559 size_t size = resource->gpuMemorySize(); in didChangeBudgetStatus() 781 projectedBudget -= resource->gpuMemorySize(); in purgeToMakeHeadroom() 822 scratchByteCount += resource->gpuMemorySize(); in purgeUnlockedResources() 1060 fBytes += resource->gpuMemorySize(); in validate() 1091 fBudgetedBytes += resource->gpuMemorySize(); in validate() [all …]
|
D | GrResourceAllocator.cpp | 386 additionalBytesNeeded += proxy->gpuMemorySize(); in makeBudgetHeadroom() 391 additionalBytesNeeded += proxy->gpuMemorySize(); in makeBudgetHeadroom()
|
D | GrGpuResource.cpp | 84 this->getResourceType(), this->gpuMemorySize()); in dumpMemoryStatistics()
|
D | GrGpuResource.h | 219 size_t gpuMemorySize() const { in gpuMemorySize() function
|
D | GrSurfaceProxy.h | 293 size_t gpuMemorySize() const { in gpuMemorySize() function
|
D | GrResourceCache.h | 254 fUnbudgetedSize += resource->gpuMemorySize(); in update()
|
/third_party/flutter/skia/src/gpu/ |
D | GrResourceCache.cpp | 145 size_t size = resource->gpuMemorySize(); in insertResource() 176 size_t size = resource->gpuMemorySize(); in removeResource() 498 fPurgeableBytes -= resource->gpuMemorySize(); in refAndMakeResourceMRU() 561 fPurgeableBytes += resource->gpuMemorySize(); in notifyCntReachedZero() 585 fBudgetedBytes + resource->gpuMemorySize() <= fMaxBytes) { in notifyCntReachedZero() 604 size_t size = resource->gpuMemorySize(); in didChangeBudgetStatus() 730 scratchByteCount += resource->gpuMemorySize(); in purgeUnlockedResources() 968 fBytes += resource->gpuMemorySize(); in validate() 1004 fBudgetedBytes += resource->gpuMemorySize(); in validate() 1044 purgeableBytes += fPurgeableQueue.at(i)->gpuMemorySize(); in validate()
|
D | GrSurfaceProxy.h | 287 size_t gpuMemorySize() const { in gpuMemorySize() function 290 return fTarget->gpuMemorySize(); in gpuMemorySize()
|
D | GrGpuResource.cpp | 79 this->getResourceType(), this->gpuMemorySize()); in dumpMemoryStatistics()
|
D | GrResourceCache.h | 248 fUnbudgetedSize += resource->gpuMemorySize(); in update()
|
/third_party/skia/src/gpu/vk/ |
D | GrVkTextureRenderTarget.cpp | 166 SkASSERT(this->nonMSAAAttachment()->gpuMemorySize() == 0); in onGpuMemorySize() 169 SkASSERT(this->colorAttachment()->gpuMemorySize() == in onGpuMemorySize()
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlTextureRenderTarget.mm | 148 SkASSERT(this->nonMSAAAttachment()->gpuMemorySize() == 0); 151 SkASSERT(this->colorAttachment()->gpuMemorySize() ==
|
/third_party/skia/src/gpu/gl/ |
D | GrGLTextureRenderTarget.cpp | 52 this->gpuMemorySize()); in dumpMemoryStatistics()
|
/third_party/flutter/skia/src/gpu/gl/ |
D | GrGLTextureRenderTarget.cpp | 52 this->gpuMemorySize()); in dumpMemoryStatistics()
|
D | GrGLTexture.cpp | 169 GrGLTexture::gpuMemorySize()); in dumpMemoryStatistics()
|
/third_party/skia/src/image/ |
D | SkImage_Gpu.cpp | 114 inline size_t SkImage_Gpu::ProxyChooser::gpuMemorySize() const { in gpuMemorySize() function in SkImage_Gpu::ProxyChooser 116 size_t size = fStableProxy->gpuMemorySize(); in gpuMemorySize() 118 SkASSERT(fVolatileProxy->gpuMemorySize() == size); in gpuMemorySize() 287 size_t SkImage_Gpu::onTextureSize() const { return fChooser.gpuMemorySize(); } in onTextureSize()
|
D | SkImage_Gpu.h | 126 size_t gpuMemorySize() const SK_EXCLUDES(fLock);
|
/third_party/flutter/skia/include/gpu/ |
D | GrGpuResource.h | 248 size_t gpuMemorySize() const { in gpuMemorySize() function
|