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

/external/skia/src/gpu/gl/
H A DGrGLPathRange.h39 size_t gpuMemorySize,
H A DGrGLPathRange.cpp25 size_t gpuMemorySize,
30 fGpuMemorySize(gpuMemorySize) {
22 GrGLPathRange(GrGLGpu* gpu, GrGLuint basePathID, int numPaths, size_t gpuMemorySize, const GrStyle& style) argument
H A DGrGLTextureRenderTarget.cpp50 // Use the texture's gpuMemorySize, not our own, which includes the
52 size_t size = GrGLTexture::gpuMemorySize();
/external/skia/src/gpu/
H A DGrBufferAllocPool.cpp37 (float)((block).fBytesFree) / (block).fBuffer->gpuMemorySize()); \
93 size_t flushSize = block.fBuffer->gpuMemorySize() - block.fBytesFree;
123 size_t bytes = fBlocks[i].fBuffer->gpuMemorySize() - fBlocks[i].fBytesFree;
152 size_t usedBytes = back.fBuffer->gpuMemorySize() - back.fBytesFree;
202 size_t usedBytes = back.fBuffer->gpuMemorySize() - back.fBytesFree;
253 size_t bytesUsed = block.fBuffer->gpuMemorySize() - block.fBytesFree;
289 block.fBytesFree = block.fBuffer->gpuMemorySize();
296 this->flushCpuData(prev, prev.fBuffer->gpuMemorySize() - prev.fBytesFree);
355 SkASSERT(flushSize <= buffer->gpuMemorySize());
H A DGrGpuResource.cpp75 traceMemoryDump->dumpNumericValue(dumpName.c_str(), "size", "bytes", this->gpuMemorySize());
79 this->gpuMemorySize());
H A DGrResourceCache.cpp110 size_t size = resource->gpuMemorySize();
140 size_t size = resource->gpuMemorySize();
337 fPurgeableBytes -= resource->gpuMemorySize();
379 fPurgeableBytes += resource->gpuMemorySize();
387 fBudgetedBytes + resource->gpuMemorySize() <= fMaxBytes) {
414 ptrdiff_t delta = resource->gpuMemorySize() - oldSize;
437 size_t size = resource->gpuMemorySize();
556 scratchByteCount += resource->gpuMemorySize();
740 fBytes += resource->gpuMemorySize();
776 fBudgetedBytes += resource->gpuMemorySize();
[all...]
H A DGrResourceCache.h230 fUnbudgetedSize += resource->gpuMemorySize();
H A DGrSurfaceProxy.cpp79 SkASSERT(fTarget->gpuMemorySize() <= this->getRawGpuMemorySize_debugOnly());
/external/skia/tests/
H A DResourceCacheTest.cpp396 REPORTER_ASSERT(reporter, a->gpuMemorySize() + b->gpuMemorySize() + c->gpuMemorySize() +
397 d->gpuMemorySize() == cache->getResourceBytes());
408 REPORTER_ASSERT(reporter, b->gpuMemorySize() + c->gpuMemorySize() + d->gpuMemorySize() ==
414 REPORTER_ASSERT(reporter, b->gpuMemorySize() + d->gpuMemorySize() ==
420 REPORTER_ASSERT(reporter, b->gpuMemorySize()
[all...]
H A DProxyTest.cpp155 proxy->gpuMemorySize();
189 proxy->gpuMemorySize();
/external/skia/include/gpu/
H A DGrGpuResource.h175 size_t gpuMemorySize() const { function in class:GrGpuResource
276 * This entry point should be called whenever gpuMemorySize() should report a different size.
277 * The cache will call gpuMemorySize() to update the current size of the resource.
/external/skia/src/gpu/ops/
H A DGrMeshDrawOp.cpp38 size_t ibSize = indexBuffer->gpuMemorySize();
H A DGrAtlasTextOp.cpp150 static_cast<int>(flushInfo->fIndexBuffer->gpuMemorySize() / sizeof(uint16_t) / 6);
H A DGrSmallPathRenderer.cpp678 static_cast<int>(flushInfo->fIndexBuffer->gpuMemorySize() / sizeof(uint16_t) / 6);
/external/skia/include/private/
H A DGrSurfaceProxy.h304 size_t gpuMemorySize() const { function in class:GrSurfaceProxy
306 return fTarget->gpuMemorySize();
/external/skia/src/core/
H A DSkSpecialImage.cpp368 size_t getSize() const override { return fTextureProxy->gpuMemorySize(); }

Completed in 1335 milliseconds