/external/skia/src/gpu/ |
D | GrIndexBuffer.h | 34 return static_cast<int>(this->gpuMemorySize() / (sizeof(uint16_t) * 6)); in maxQuads() 37 GrIndexBuffer(GrGpu* gpu, size_t gpuMemorySize, bool dynamic, bool cpuBacked) in GrIndexBuffer() argument 38 : INHERITED(gpu, gpuMemorySize, dynamic, cpuBacked) { in GrIndexBuffer() 40 if (!cpuBacked && SkIsPow2(gpuMemorySize)) { in GrIndexBuffer() 42 ComputeScratchKey(gpuMemorySize, dynamic, &key); in GrIndexBuffer()
|
D | GrVertexBuffer.h | 28 GrVertexBuffer(GrGpu* gpu, size_t gpuMemorySize, bool dynamic, bool cpuBacked) in GrVertexBuffer() argument 29 : INHERITED(gpu, gpuMemorySize, dynamic, cpuBacked) { in GrVertexBuffer() 31 if (!cpuBacked && SkIsPow2(gpuMemorySize)) { in GrVertexBuffer() 33 ComputeScratchKey(gpuMemorySize, dynamic, &key); in GrVertexBuffer()
|
D | GrBufferAllocPool.cpp | 39 (float)((block).fBytesFree) / (block).fBuffer->gpuMemorySize()); \ 98 size_t flushSize = block.fBuffer->gpuMemorySize() - block.fBytesFree; in unmap() 128 size_t bytes = fBlocks[i].fBuffer->gpuMemorySize() - fBlocks[i].fBytesFree; in validate() 157 size_t usedBytes = back.fBuffer->gpuMemorySize() - back.fBytesFree; in makeSpace() 200 size_t bytesUsed = block.fBuffer->gpuMemorySize() - block.fBytesFree; in putBack() 236 block.fBytesFree = block.fBuffer->gpuMemorySize(); in createBlock() 243 this->flushCpuData(prev, prev.fBuffer->gpuMemorySize() - prev.fBytesFree); in createBlock() 302 SkASSERT(flushSize <= buffer->gpuMemorySize()); in flushCpuData()
|
D | GrTransferBuffer.h | 59 GrTransferBuffer(GrGpu* gpu, size_t gpuMemorySize) in GrTransferBuffer() argument 61 , fGpuMemorySize(gpuMemorySize) { in GrTransferBuffer()
|
D | GrGeometryBuffer.h | 102 GrGeometryBuffer(GrGpu* gpu, size_t gpuMemorySize, bool dynamic, bool cpuBacked) in GrGeometryBuffer() argument 105 , fGpuMemorySize(gpuMemorySize) in GrGeometryBuffer()
|
D | GrResourceCache.cpp | 132 size_t size = resource->gpuMemorySize(); in insertResource() 167 size_t size = resource->gpuMemorySize(); in removeResource() 384 fBudgetedBytes + resource->gpuMemorySize() <= fMaxBytes) { in notifyCntReachedZero() 411 ptrdiff_t delta = resource->gpuMemorySize() - oldSize; in didChangeGpuMemorySize() 434 size_t size = resource->gpuMemorySize(); in didChangeBudgetStatus() 655 fBytes += resource->gpuMemorySize(); in validate() 683 fBudgetedBytes += resource->gpuMemorySize(); in validate()
|
D | GrGpuResource.cpp | 64 traceMemoryDump->dumpNumericValue(dumpName.c_str(), "size", "bytes", this->gpuMemorySize()); in dumpMemoryStatistics() 68 this->gpuMemorySize()); in dumpMemoryStatistics()
|
D | GrResourceCache.h | 224 fUnbudgetedSize += resource->gpuMemorySize(); in update()
|
D | GrTessellator.cpp | 1396 if (!vertexBuffer.get() || vertexBuffer->gpuMemorySize() < size) { in PathToTriangles()
|
/external/skia/tests/ |
D | ResourceCacheTest.cpp | 370 REPORTER_ASSERT(reporter, a->gpuMemorySize() + b->gpuMemorySize() + c->gpuMemorySize() + in test_no_key() 371 d->gpuMemorySize() == cache->getResourceBytes()); in test_no_key() 382 REPORTER_ASSERT(reporter, b->gpuMemorySize() + c->gpuMemorySize() + d->gpuMemorySize() == in test_no_key() 388 REPORTER_ASSERT(reporter, b->gpuMemorySize() + d->gpuMemorySize() == in test_no_key() 394 REPORTER_ASSERT(reporter, b->gpuMemorySize() == cache->getResourceBytes()); in test_no_key() 438 REPORTER_ASSERT(reporter, scratch->gpuMemorySize() + unique->gpuMemorySize() + in test_budgeting() 439 wrapped->gpuMemorySize() + unbudgeted->gpuMemorySize() == in test_budgeting() 442 REPORTER_ASSERT(reporter, scratch->gpuMemorySize() + unique->gpuMemorySize() == in test_budgeting() 448 REPORTER_ASSERT(reporter, scratch->gpuMemorySize() + unique->gpuMemorySize() + in test_budgeting() 449 wrapped->gpuMemorySize() + unbudgeted->gpuMemorySize() == in test_budgeting() [all …]
|
/external/skia/src/gpu/gl/ |
D | GrGLPathRange.cpp | 26 size_t gpuMemorySize, in GrGLPathRange() argument 31 fGpuMemorySize(gpuMemorySize) { in GrGLPathRange()
|
D | GrGLTextureRenderTarget.cpp | 26 size_t size = GrGLTexture::gpuMemorySize(); in dumpMemoryStatistics()
|
D | GrGLPathRange.h | 40 size_t gpuMemorySize,
|
/external/skia/src/core/ |
D | SkSpecialImage.cpp | 106 return fImage->getTexture()->gpuMemorySize(); in getSize() 258 size_t getSize() const override { return fTexture->gpuMemorySize(); } in getSize()
|
/external/skia/src/gpu/batches/ |
D | GrVertexBatch.cpp | 36 size_t ibSize = indexBuffer->gpuMemorySize(); in init()
|
/external/skia/include/gpu/ |
D | GrGpuResource.h | 199 size_t gpuMemorySize() const { in gpuMemorySize() function
|