/external/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, 3, 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 | 374 expectedPurgeableBytes += proxy->gpuMemorySize(); in memory_budget_test() 388 expectedUnpurgeableBytes += proxy->gpuMemorySize(); in memory_budget_test()
|
/external/skqp/tests/ |
D | ResourceCacheTest.cpp | 386 REPORTER_ASSERT(reporter, a->gpuMemorySize() + b->gpuMemorySize() + c->gpuMemorySize() + in test_no_key() 387 d->gpuMemorySize() == cache->getResourceBytes()); in test_no_key() 398 REPORTER_ASSERT(reporter, b->gpuMemorySize() + c->gpuMemorySize() + d->gpuMemorySize() == in test_no_key() 404 REPORTER_ASSERT(reporter, b->gpuMemorySize() + d->gpuMemorySize() == in test_no_key() 410 REPORTER_ASSERT(reporter, b->gpuMemorySize() == cache->getResourceBytes()); in test_no_key() 456 REPORTER_ASSERT(reporter, a->gpuMemorySize() + b->gpuMemorySize() + c->gpuMemorySize() + in test_purge_unlocked() 457 d->gpuMemorySize() == cache->getResourceBytes()); in test_purge_unlocked() 471 REPORTER_ASSERT(reporter, a->gpuMemorySize() + b->gpuMemorySize() + c->gpuMemorySize() + in test_purge_unlocked() 472 d->gpuMemorySize() == cache->getResourceBytes()); in test_purge_unlocked() 479 REPORTER_ASSERT(reporter, b->gpuMemorySize() + d->gpuMemorySize() == in test_purge_unlocked() [all …]
|
D | TraceMemoryDumpTest.cpp | 107 ValidateMemoryDumps(reporter, context, texture->gpuMemorySize(), true /* isOwned */); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 133 ValidateMemoryDumps(reporter, context, texture->gpuMemorySize(), false /* isOwned */); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 155 ValidateMemoryDumps(reporter, context, rt->gpuMemorySize(), true /* isOwned */); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 177 ValidateMemoryDumps(reporter, context, rt->gpuMemorySize(), false /* isOwned */); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
D | ProxyTest.cpp | 160 proxy->gpuMemorySize(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 194 proxy->gpuMemorySize(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/external/skqp/src/gpu/ |
D | GrBufferAllocPool.cpp | 33 (float)((block).fBytesFree) / (block).fBuffer->gpuMemorySize()); \ 84 size_t flushSize = block.fBuffer->gpuMemorySize() - block.fBytesFree; in unmap() 111 size_t bytes = fBlocks[i].fBuffer->gpuMemorySize() - fBlocks[i].fBytesFree; in validate() 140 size_t usedBytes = back.fBuffer->gpuMemorySize() - back.fBytesFree; in makeSpace() 195 size_t usedBytes = back.fBuffer->gpuMemorySize() - back.fBytesFree; in makeSpaceAtLeast() 253 size_t bytesUsed = block.fBuffer->gpuMemorySize() - block.fBytesFree; in putBack() 287 block.fBytesFree = block.fBuffer->gpuMemorySize(); in createBlock() 294 this->flushCpuData(prev, prev.fBuffer->gpuMemorySize() - prev.fBytesFree); in createBlock() 352 SkASSERT(flushSize <= buffer->gpuMemorySize()); in flushCpuData()
|
D | GrResourceCache.cpp | 121 size_t size = resource->gpuMemorySize(); in insertResource() 152 size_t size = resource->gpuMemorySize(); in removeResource() 375 fPurgeableBytes -= resource->gpuMemorySize(); in refAndMakeResourceMRU() 421 fPurgeableBytes += resource->gpuMemorySize(); in notifyCntReachedZero() 445 fBudgetedBytes + resource->gpuMemorySize() <= fMaxBytes) { in notifyCntReachedZero() 464 size_t size = resource->gpuMemorySize(); in didChangeBudgetStatus() 584 scratchByteCount += resource->gpuMemorySize(); in purgeUnlockedResources() 747 fBytes += resource->gpuMemorySize(); in validate() 783 fBudgetedBytes += resource->gpuMemorySize(); in validate() 816 purgeableBytes += fPurgeableQueue.at(i)->gpuMemorySize(); in validate()
|
D | GrGpuResource.cpp | 75 this->getResourceType(), this->gpuMemorySize()); in dumpMemoryStatistics()
|
D | GrResourceCache.h | 229 fUnbudgetedSize += resource->gpuMemorySize(); in update()
|
/external/skia/src/gpu/ |
D | GrResourceCache.cpp | 146 size_t size = resource->gpuMemorySize(); in insertResource() 172 size_t size = resource->gpuMemorySize(); in removeResource() 382 fPurgeableBytes -= resource->gpuMemorySize(); in refAndMakeResourceMRU() 441 fPurgeableBytes += resource->gpuMemorySize(); in notifyARefCntReachedZero() 464 if (this->wouldFit(resource->gpuMemorySize())) { in notifyARefCntReachedZero() 483 size_t size = resource->gpuMemorySize(); in didChangeBudgetStatus() 649 projectedBudget -= resource->gpuMemorySize(); in purgeToMakeHeadroom() 690 scratchByteCount += resource->gpuMemorySize(); in purgeUnlockedResources() 916 fBytes += resource->gpuMemorySize(); in validate() 947 fBudgetedBytes += resource->gpuMemorySize(); in validate() [all …]
|
D | GrResourceAllocator.cpp | 377 additionalBytesNeeded += proxy->gpuMemorySize(); in makeBudgetHeadroom() 382 additionalBytesNeeded += proxy->gpuMemorySize(); in makeBudgetHeadroom()
|
D | GrGpuResource.cpp | 75 this->getResourceType(), this->gpuMemorySize()); in dumpMemoryStatistics()
|
D | GrGpuResource.h | 140 size_t gpuMemorySize() const { in gpuMemorySize() function
|
D | GrSurfaceProxy.h | 290 size_t gpuMemorySize() const { in gpuMemorySize() function
|
/external/skia/src/gpu/vk/ |
D | GrVkTextureRenderTarget.cpp | 156 SkASSERT(this->nonMSAAAttachment()->gpuMemorySize() == 0); in onGpuMemorySize() 159 SkASSERT(this->colorAttachment()->gpuMemorySize() == in onGpuMemorySize()
|
/external/skqp/src/gpu/gl/ |
D | GrGLTextureRenderTarget.cpp | 49 this->gpuMemorySize()); in dumpMemoryStatistics()
|
D | GrGLTexture.cpp | 156 GrGLTexture::gpuMemorySize()); in dumpMemoryStatistics()
|
/external/skia/src/gpu/gl/ |
D | GrGLTextureRenderTarget.cpp | 52 this->gpuMemorySize()); in dumpMemoryStatistics()
|
/external/skqp/include/private/ |
D | GrSurfaceProxy.h | 385 size_t gpuMemorySize() const { in gpuMemorySize() function 388 return fTarget->gpuMemorySize(); in gpuMemorySize()
|
/external/skia/src/image/ |
D | SkImage_Gpu.h | 124 size_t gpuMemorySize() const SK_EXCLUDES(fLock);
|
D | SkImage_Gpu.cpp | 113 inline size_t SkImage_Gpu::ProxyChooser::gpuMemorySize() const { in gpuMemorySize() function in SkImage_Gpu::ProxyChooser 115 size_t size = fStableProxy->gpuMemorySize(); in gpuMemorySize() 117 SkASSERT(fVolatileProxy->gpuMemorySize() == size); in gpuMemorySize() 285 size_t SkImage_Gpu::onTextureSize() const { return fChooser.gpuMemorySize(); } in onTextureSize()
|
/external/skqp/src/gpu/ops/ |
D | GrMeshDrawOp.cpp | 48 size_t ibSize = indexBuffer->gpuMemorySize(); in init()
|
/external/skqp/include/gpu/ |
D | GrGpuResource.h | 172 size_t gpuMemorySize() const { in gpuMemorySize() function
|