Home
last modified time | relevance | path

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

12

/third_party/skia/tests/
DResourceCacheTest.cpp363 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 …]
DTraceMemoryDumpTest.cpp103 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()
DProxyTest.cpp158 proxy->gpuMemorySize(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
193 proxy->gpuMemorySize(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DResourceAllocatorTest.cpp376 expectedPurgeableBytes += proxy->gpuMemorySize(); in memory_budget_test()
390 expectedUnpurgeableBytes += proxy->gpuMemorySize(); in memory_budget_test()
/third_party/flutter/skia/tests/
DResourceCacheTest.cpp384 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 …]
DTraceMemoryDumpTest.cpp99 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()
DProxyTest.cpp162 proxy->gpuMemorySize(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
200 proxy->gpuMemorySize(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/skia/src/gpu/
DGrResourceCache.cpp149 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 …]
DGrResourceAllocator.cpp386 additionalBytesNeeded += proxy->gpuMemorySize(); in makeBudgetHeadroom()
391 additionalBytesNeeded += proxy->gpuMemorySize(); in makeBudgetHeadroom()
DGrGpuResource.cpp84 this->getResourceType(), this->gpuMemorySize()); in dumpMemoryStatistics()
DGrGpuResource.h219 size_t gpuMemorySize() const { in gpuMemorySize() function
DGrSurfaceProxy.h293 size_t gpuMemorySize() const { in gpuMemorySize() function
DGrResourceCache.h254 fUnbudgetedSize += resource->gpuMemorySize(); in update()
/third_party/flutter/skia/src/gpu/
DGrResourceCache.cpp145 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()
DGrSurfaceProxy.h287 size_t gpuMemorySize() const { in gpuMemorySize() function
290 return fTarget->gpuMemorySize(); in gpuMemorySize()
DGrGpuResource.cpp79 this->getResourceType(), this->gpuMemorySize()); in dumpMemoryStatistics()
DGrResourceCache.h248 fUnbudgetedSize += resource->gpuMemorySize(); in update()
/third_party/skia/src/gpu/vk/
DGrVkTextureRenderTarget.cpp166 SkASSERT(this->nonMSAAAttachment()->gpuMemorySize() == 0); in onGpuMemorySize()
169 SkASSERT(this->colorAttachment()->gpuMemorySize() == in onGpuMemorySize()
/third_party/skia/src/gpu/mtl/
DGrMtlTextureRenderTarget.mm148 SkASSERT(this->nonMSAAAttachment()->gpuMemorySize() == 0);
151 SkASSERT(this->colorAttachment()->gpuMemorySize() ==
/third_party/skia/src/gpu/gl/
DGrGLTextureRenderTarget.cpp52 this->gpuMemorySize()); in dumpMemoryStatistics()
/third_party/flutter/skia/src/gpu/gl/
DGrGLTextureRenderTarget.cpp52 this->gpuMemorySize()); in dumpMemoryStatistics()
DGrGLTexture.cpp169 GrGLTexture::gpuMemorySize()); in dumpMemoryStatistics()
/third_party/skia/src/image/
DSkImage_Gpu.cpp114 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()
DSkImage_Gpu.h126 size_t gpuMemorySize() const SK_EXCLUDES(fLock);
/third_party/flutter/skia/include/gpu/
DGrGpuResource.h248 size_t gpuMemorySize() const { in gpuMemorySize() function

12