Home
last modified time | relevance | path

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

12

/external/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, 3, 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.cpp374 expectedPurgeableBytes += proxy->gpuMemorySize(); in memory_budget_test()
388 expectedUnpurgeableBytes += proxy->gpuMemorySize(); in memory_budget_test()
/external/skqp/tests/
DResourceCacheTest.cpp386 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 …]
DTraceMemoryDumpTest.cpp107 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()
DProxyTest.cpp160 proxy->gpuMemorySize(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
194 proxy->gpuMemorySize(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/src/gpu/
DGrBufferAllocPool.cpp33 (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()
DGrResourceCache.cpp121 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()
DGrGpuResource.cpp75 this->getResourceType(), this->gpuMemorySize()); in dumpMemoryStatistics()
DGrResourceCache.h229 fUnbudgetedSize += resource->gpuMemorySize(); in update()
/external/skia/src/gpu/
DGrResourceCache.cpp146 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 …]
DGrResourceAllocator.cpp377 additionalBytesNeeded += proxy->gpuMemorySize(); in makeBudgetHeadroom()
382 additionalBytesNeeded += proxy->gpuMemorySize(); in makeBudgetHeadroom()
DGrGpuResource.cpp75 this->getResourceType(), this->gpuMemorySize()); in dumpMemoryStatistics()
DGrGpuResource.h140 size_t gpuMemorySize() const { in gpuMemorySize() function
DGrSurfaceProxy.h290 size_t gpuMemorySize() const { in gpuMemorySize() function
/external/skia/src/gpu/vk/
DGrVkTextureRenderTarget.cpp156 SkASSERT(this->nonMSAAAttachment()->gpuMemorySize() == 0); in onGpuMemorySize()
159 SkASSERT(this->colorAttachment()->gpuMemorySize() == in onGpuMemorySize()
/external/skqp/src/gpu/gl/
DGrGLTextureRenderTarget.cpp49 this->gpuMemorySize()); in dumpMemoryStatistics()
DGrGLTexture.cpp156 GrGLTexture::gpuMemorySize()); in dumpMemoryStatistics()
/external/skia/src/gpu/gl/
DGrGLTextureRenderTarget.cpp52 this->gpuMemorySize()); in dumpMemoryStatistics()
/external/skqp/include/private/
DGrSurfaceProxy.h385 size_t gpuMemorySize() const { in gpuMemorySize() function
388 return fTarget->gpuMemorySize(); in gpuMemorySize()
/external/skia/src/image/
DSkImage_Gpu.h124 size_t gpuMemorySize() const SK_EXCLUDES(fLock);
DSkImage_Gpu.cpp113 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/
DGrMeshDrawOp.cpp48 size_t ibSize = indexBuffer->gpuMemorySize(); in init()
/external/skqp/include/gpu/
DGrGpuResource.h172 size_t gpuMemorySize() const { in gpuMemorySize() function

12