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

12

/external/chromium_org/third_party/skia/src/gpu/
H A DGrIndexBuffer.h24 return static_cast<int>(this->gpuMemorySize() / (sizeof(uint16_t) * 6));
27 GrIndexBuffer(GrGpu* gpu, bool isWrapped, size_t gpuMemorySize, bool dynamic, bool cpuBacked) argument
28 : INHERITED(gpu, isWrapped, gpuMemorySize, dynamic, cpuBacked) {}
H A DGrVertexBuffer.h18 GrVertexBuffer(GrGpu* gpu, bool isWrapped, size_t gpuMemorySize, bool dynamic, bool cpuBacked) argument
19 : INHERITED(gpu, isWrapped, gpuMemorySize, dynamic, cpuBacked) {}
H A DGrGeometryBuffer.h102 virtual size_t gpuMemorySize() const { return fGpuMemorySize; } function in class:GrGeometryBuffer
105 GrGeometryBuffer(GrGpu* gpu, bool isWrapped, size_t gpuMemorySize, bool dynamic, bool cpuBacked) argument
108 , fGpuMemorySize(gpuMemorySize)
H A DGrBufferAllocPool.cpp34 (float)((block).fBytesFree) / (block).fBuffer->gpuMemorySize()); \
124 size_t flushSize = block.fBuffer->gpuMemorySize() - block.fBytesFree;
150 size_t bytes = fBlocks[i].fBuffer->gpuMemorySize() - fBlocks[i].fBytesFree;
176 size_t usedBytes = back.fBuffer->gpuMemorySize() - back.fBytesFree;
216 size_t usedBytes = back.fBuffer->gpuMemorySize() - back.fBytesFree;
246 size_t bytesUsed = block.fBuffer->gpuMemorySize() - block.fBytesFree;
304 this->flushCpuData(prev, prev.fBuffer->gpuMemorySize() - prev.fBytesFree);
362 SkASSERT(flushSize <= buffer->gpuMemorySize());
H A DGrRenderTarget.cpp66 size_t GrRenderTarget::gpuMemorySize() const { function in class:GrRenderTarget
H A DGrResourceCache.cpp45 fCachedSize(resource->gpuMemorySize()),
62 SkASSERT(fResource->gpuMemorySize() == fCachedSize);
69 fCachedSize = fResource->gpuMemorySize();
466 bytes += entry->resource()->gpuMemorySize();
/external/skia/src/gpu/
H A DGrIndexBuffer.h24 return static_cast<int>(this->gpuMemorySize() / (sizeof(uint16_t) * 6));
27 GrIndexBuffer(GrGpu* gpu, bool isWrapped, size_t gpuMemorySize, bool dynamic, bool cpuBacked) argument
28 : INHERITED(gpu, isWrapped, gpuMemorySize, dynamic, cpuBacked) {}
H A DGrVertexBuffer.h18 GrVertexBuffer(GrGpu* gpu, bool isWrapped, size_t gpuMemorySize, bool dynamic, bool cpuBacked) argument
19 : INHERITED(gpu, isWrapped, gpuMemorySize, dynamic, cpuBacked) {}
H A DGrGeometryBuffer.h102 virtual size_t gpuMemorySize() const { return fGpuMemorySize; } function in class:GrGeometryBuffer
105 GrGeometryBuffer(GrGpu* gpu, bool isWrapped, size_t gpuMemorySize, bool dynamic, bool cpuBacked) argument
108 , fGpuMemorySize(gpuMemorySize)
H A DGrBufferAllocPool.cpp112 size_t flushSize = block.fBuffer->gpuMemorySize() - block.fBytesFree;
138 size_t bytes = fBlocks[i].fBuffer->gpuMemorySize() - fBlocks[i].fBytesFree;
164 size_t usedBytes = back.fBuffer->gpuMemorySize() - back.fBytesFree;
204 size_t usedBytes = back.fBuffer->gpuMemorySize() - back.fBytesFree;
234 size_t bytesUsed = block.fBuffer->gpuMemorySize() - block.fBytesFree;
293 prev.fBuffer->gpuMemorySize() - prev.fBytesFree);
351 SkASSERT(flushSize <= buffer->gpuMemorySize());
H A DGrRenderTarget.cpp66 size_t GrRenderTarget::gpuMemorySize() const { function in class:GrRenderTarget
/external/chromium_org/third_party/skia/src/gpu/gl/
H A DGrGLPathRange.h39 size_t gpuMemorySize,
46 virtual size_t gpuMemorySize() const SK_OVERRIDE { return fGpuMemorySize; }
H A DGrGLPath.h35 virtual size_t gpuMemorySize() const SK_OVERRIDE { return 100; }
H A DGrGLStencilBuffer.cpp16 size_t GrGLStencilBuffer::gpuMemorySize() const { function in class:GrGLStencilBuffer
H A DGrGLPathRange.cpp24 size_t gpuMemorySize,
28 fGpuMemorySize(gpuMemorySize) {
21 GrGLPathRange(GrGpuGL* gpu, GrGLuint basePathID, int numPaths, size_t gpuMemorySize, const SkStrokeRec& stroke) argument
H A DGrGLStencilBuffer.h40 virtual size_t gpuMemorySize() const SK_OVERRIDE;
/external/skia/src/gpu/gl/
H A DGrGLPath.h30 virtual size_t gpuMemorySize() const SK_OVERRIDE { return 100; }
H A DGrGLStencilBuffer.cpp16 size_t GrGLStencilBuffer::gpuMemorySize() const { function in class:GrGLStencilBuffer
H A DGrGLStencilBuffer.h39 virtual size_t gpuMemorySize() const SK_OVERRIDE;
/external/skia/include/gpu/
H A DGrCacheable.h29 virtual size_t gpuMemorySize() const = 0;
59 * This entry point should be called whenever gpuMemorySize() begins
61 * gpuMemorySize() immediately and pass the new size on to the resource
H A DGrRenderTarget.h29 virtual size_t gpuMemorySize() const SK_OVERRIDE;
/external/chromium_org/third_party/skia/bench/
H A DGrResourceCacheBench.cpp35 virtual size_t gpuMemorySize() const SK_OVERRIDE {
60 virtual size_t gpuMemorySize() const SK_OVERRIDE {
95 cache->purgeAsNeeded(1, resource->gpuMemorySize());
105 cache->purgeAsNeeded(1, resource->gpuMemorySize());
/external/skia/bench/
H A DGrResourceCacheBench.cpp31 virtual size_t gpuMemorySize() const SK_OVERRIDE {
56 virtual size_t gpuMemorySize() const SK_OVERRIDE {
95 cache->purgeAsNeeded(1, resource->gpuMemorySize());
105 cache->purgeAsNeeded(1, resource->gpuMemorySize());
/external/chromium_org/third_party/skia/include/gpu/
H A DGrRenderTarget.h29 virtual size_t gpuMemorySize() const SK_OVERRIDE;
H A DGrGpuResource.h175 virtual size_t gpuMemorySize() const = 0;
213 * This entry point should be called whenever gpuMemorySize() begins
215 * gpuMemorySize() immediately and pass the new size on to the resource

Completed in 360 milliseconds

12