Home
last modified time | relevance | path

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

/external/skia/tests/
DResourceCacheTest.cpp396 REPORTER_ASSERT(reporter, a->gpuMemorySize() + b->gpuMemorySize() + c->gpuMemorySize() + in test_no_key()
397 d->gpuMemorySize() == cache->getResourceBytes()); in test_no_key()
408 REPORTER_ASSERT(reporter, b->gpuMemorySize() + c->gpuMemorySize() + d->gpuMemorySize() == in test_no_key()
414 REPORTER_ASSERT(reporter, b->gpuMemorySize() + d->gpuMemorySize() == in test_no_key()
420 REPORTER_ASSERT(reporter, b->gpuMemorySize() == cache->getResourceBytes()); in test_no_key()
469 REPORTER_ASSERT(reporter, scratch->gpuMemorySize() + unique->gpuMemorySize() + in test_budgeting()
470 wrapped->gpuMemorySize() + unbudgeted->gpuMemorySize() == in test_budgeting()
473 REPORTER_ASSERT(reporter, scratch->gpuMemorySize() + unique->gpuMemorySize() == in test_budgeting()
480 REPORTER_ASSERT(reporter, scratch->gpuMemorySize() + unique->gpuMemorySize() + in test_budgeting()
481 wrapped->gpuMemorySize() + unbudgeted->gpuMemorySize() == in test_budgeting()
[all …]
DProxyTest.cpp155 proxy->gpuMemorySize(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
189 proxy->gpuMemorySize(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/src/gpu/
DGrBufferAllocPool.cpp37 (float)((block).fBytesFree) / (block).fBuffer->gpuMemorySize()); \
93 size_t flushSize = block.fBuffer->gpuMemorySize() - block.fBytesFree; in unmap()
123 size_t bytes = fBlocks[i].fBuffer->gpuMemorySize() - fBlocks[i].fBytesFree; in validate()
152 size_t usedBytes = back.fBuffer->gpuMemorySize() - back.fBytesFree; in makeSpace()
202 size_t usedBytes = back.fBuffer->gpuMemorySize() - back.fBytesFree; in makeSpaceAtLeast()
253 size_t bytesUsed = block.fBuffer->gpuMemorySize() - block.fBytesFree; in putBack()
289 block.fBytesFree = block.fBuffer->gpuMemorySize(); in createBlock()
296 this->flushCpuData(prev, prev.fBuffer->gpuMemorySize() - prev.fBytesFree); in createBlock()
355 SkASSERT(flushSize <= buffer->gpuMemorySize()); in flushCpuData()
DGrResourceCache.cpp110 size_t size = resource->gpuMemorySize(); in insertResource()
140 size_t size = resource->gpuMemorySize(); in removeResource()
337 fPurgeableBytes -= resource->gpuMemorySize(); in refAndMakeResourceMRU()
379 fPurgeableBytes += resource->gpuMemorySize(); in notifyCntReachedZero()
387 fBudgetedBytes + resource->gpuMemorySize() <= fMaxBytes) { in notifyCntReachedZero()
414 ptrdiff_t delta = resource->gpuMemorySize() - oldSize; in didChangeGpuMemorySize()
437 size_t size = resource->gpuMemorySize(); in didChangeBudgetStatus()
556 scratchByteCount += resource->gpuMemorySize(); in purgeUnlockedResources()
740 fBytes += resource->gpuMemorySize(); in validate()
776 fBudgetedBytes += resource->gpuMemorySize(); in validate()
[all …]
DGrGpuResource.cpp75 traceMemoryDump->dumpNumericValue(dumpName.c_str(), "size", "bytes", this->gpuMemorySize()); in dumpMemoryStatistics()
79 this->gpuMemorySize()); in dumpMemoryStatistics()
DGrResourceCache.h230 fUnbudgetedSize += resource->gpuMemorySize(); in update()
DGrSurfaceProxy.cpp79 SkASSERT(fTarget->gpuMemorySize() <= this->getRawGpuMemorySize_debugOnly()); in assign()
/external/skia/src/gpu/gl/
DGrGLPathRange.cpp25 size_t gpuMemorySize, in GrGLPathRange() argument
30 fGpuMemorySize(gpuMemorySize) { in GrGLPathRange()
DGrGLPathRange.h39 size_t gpuMemorySize,
DGrGLTextureRenderTarget.cpp52 size_t size = GrGLTexture::gpuMemorySize(); in dumpMemoryStatistics()
/external/skia/include/private/
DGrSurfaceProxy.h304 size_t gpuMemorySize() const { in gpuMemorySize() function
306 return fTarget->gpuMemorySize(); in gpuMemorySize()
/external/skia/src/gpu/ops/
DGrMeshDrawOp.cpp38 size_t ibSize = indexBuffer->gpuMemorySize(); in init()
DGrAtlasTextOp.cpp150 static_cast<int>(flushInfo->fIndexBuffer->gpuMemorySize() / sizeof(uint16_t) / 6); in flush()
DGrSmallPathRenderer.cpp678 static_cast<int>(flushInfo->fIndexBuffer->gpuMemorySize() / sizeof(uint16_t) / 6); in flush()
/external/skia/include/gpu/
DGrGpuResource.h175 size_t gpuMemorySize() const { in gpuMemorySize() function
/external/skia/src/core/
DSkSpecialImage.cpp368 size_t getSize() const override { return fTextureProxy->gpuMemorySize(); } in getSize()