Searched refs:gpuMemorySize (Results 1 – 16 of 16) sorted by relevance
/external/skia/tests/ |
D | ResourceCacheTest.cpp | 396 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 …]
|
D | ProxyTest.cpp | 155 proxy->gpuMemorySize(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 189 proxy->gpuMemorySize(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/external/skia/src/gpu/ |
D | GrBufferAllocPool.cpp | 37 (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()
|
D | GrResourceCache.cpp | 110 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 …]
|
D | GrGpuResource.cpp | 75 traceMemoryDump->dumpNumericValue(dumpName.c_str(), "size", "bytes", this->gpuMemorySize()); in dumpMemoryStatistics() 79 this->gpuMemorySize()); in dumpMemoryStatistics()
|
D | GrResourceCache.h | 230 fUnbudgetedSize += resource->gpuMemorySize(); in update()
|
D | GrSurfaceProxy.cpp | 79 SkASSERT(fTarget->gpuMemorySize() <= this->getRawGpuMemorySize_debugOnly()); in assign()
|
/external/skia/src/gpu/gl/ |
D | GrGLPathRange.cpp | 25 size_t gpuMemorySize, in GrGLPathRange() argument 30 fGpuMemorySize(gpuMemorySize) { in GrGLPathRange()
|
D | GrGLPathRange.h | 39 size_t gpuMemorySize,
|
D | GrGLTextureRenderTarget.cpp | 52 size_t size = GrGLTexture::gpuMemorySize(); in dumpMemoryStatistics()
|
/external/skia/include/private/ |
D | GrSurfaceProxy.h | 304 size_t gpuMemorySize() const { in gpuMemorySize() function 306 return fTarget->gpuMemorySize(); in gpuMemorySize()
|
/external/skia/src/gpu/ops/ |
D | GrMeshDrawOp.cpp | 38 size_t ibSize = indexBuffer->gpuMemorySize(); in init()
|
D | GrAtlasTextOp.cpp | 150 static_cast<int>(flushInfo->fIndexBuffer->gpuMemorySize() / sizeof(uint16_t) / 6); in flush()
|
D | GrSmallPathRenderer.cpp | 678 static_cast<int>(flushInfo->fIndexBuffer->gpuMemorySize() / sizeof(uint16_t) / 6); in flush()
|
/external/skia/include/gpu/ |
D | GrGpuResource.h | 175 size_t gpuMemorySize() const { in gpuMemorySize() function
|
/external/skia/src/core/ |
D | SkSpecialImage.cpp | 368 size_t getSize() const override { return fTextureProxy->gpuMemorySize(); } in getSize()
|