/external/skia/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/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()
|
D | GrSurfaceProxy.cpp | 222 SkASSERT(fTarget->gpuMemorySize() <= this->getRawGpuMemorySize_debugOnly()); in assign()
|
/external/skia/src/gpu/ |
D | GrResourceCache.cpp | 159 size_t size = resource->gpuMemorySize(); in insertResource() 190 size_t size = resource->gpuMemorySize(); in removeResource() 409 fPurgeableBytes -= resource->gpuMemorySize(); in refAndMakeResourceMRU() 455 fPurgeableBytes += resource->gpuMemorySize(); in notifyCntReachedZero() 479 fBudgetedBytes + resource->gpuMemorySize() <= fMaxBytes) { in notifyCntReachedZero() 498 size_t size = resource->gpuMemorySize(); in didChangeBudgetStatus() 618 scratchByteCount += resource->gpuMemorySize(); in purgeUnlockedResources() 838 fBytes += resource->gpuMemorySize(); in validate() 874 fBudgetedBytes += resource->gpuMemorySize(); in validate() 907 purgeableBytes += fPurgeableQueue.at(i)->gpuMemorySize(); in validate()
|
D | GrGpuResource.cpp | 75 this->getResourceType(), this->gpuMemorySize()); in dumpMemoryStatistics()
|
D | GrResourceCache.h | 230 fUnbudgetedSize += resource->gpuMemorySize(); in update()
|
D | GrSurfaceProxy.cpp | 219 SkASSERT(fTarget->gpuMemorySize() <= this->getRawGpuMemorySize_debugOnly()); in assign()
|
/external/skia/src/gpu/gl/ |
D | GrGLTextureRenderTarget.cpp | 49 this->gpuMemorySize()); in dumpMemoryStatistics()
|
D | GrGLTexture.cpp | 154 GrGLTexture::gpuMemorySize()); in dumpMemoryStatistics()
|
/external/skqp/src/gpu/gl/ |
D | GrGLTextureRenderTarget.cpp | 49 this->gpuMemorySize()); in dumpMemoryStatistics()
|
D | GrGLTexture.cpp | 156 GrGLTexture::gpuMemorySize()); in dumpMemoryStatistics()
|
/external/skia/include/private/ |
D | GrSurfaceProxy.h | 387 size_t gpuMemorySize() const { in gpuMemorySize() function 390 return fTarget->gpuMemorySize(); in gpuMemorySize()
|
/external/skqp/include/private/ |
D | GrSurfaceProxy.h | 385 size_t gpuMemorySize() const { in gpuMemorySize() function 388 return fTarget->gpuMemorySize(); in gpuMemorySize()
|
/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
|
/external/skia/include/gpu/ |
D | GrGpuResource.h | 185 size_t gpuMemorySize() const { in gpuMemorySize() function
|
/external/skqp/src/core/ |
D | SkSpecialImage.cpp | 392 size_t getSize() const override { return fTextureProxy->gpuMemorySize(); } in getSize()
|