Home
last modified time | relevance | path

Searched refs:traceMemoryDump (Results 1 – 25 of 34) sorted by relevance

12

/external/skia/src/gpu/
DGrGpuResource.cpp69 void GrGpuResource::dumpMemoryStatistics(SkTraceMemoryDump* traceMemoryDump) const { in dumpMemoryStatistics()
70 if (this->fRefsWrappedObjects && !traceMemoryDump->shouldDumpWrappedObjects()) { in dumpMemoryStatistics()
74 this->dumpMemoryStatisticsPriv(traceMemoryDump, this->getResourceName(), in dumpMemoryStatistics()
78 void GrGpuResource::dumpMemoryStatisticsPriv(SkTraceMemoryDump* traceMemoryDump, in dumpMemoryStatisticsPriv() argument
86 traceMemoryDump->dumpNumericValue(resourceName.c_str(), "size", "bytes", size); in dumpMemoryStatisticsPriv()
87 traceMemoryDump->dumpStringValue(resourceName.c_str(), "type", type); in dumpMemoryStatisticsPriv()
88 traceMemoryDump->dumpStringValue(resourceName.c_str(), "category", tag); in dumpMemoryStatisticsPriv()
90 traceMemoryDump->dumpNumericValue(resourceName.c_str(), "purgeable_size", "bytes", size); in dumpMemoryStatisticsPriv()
92 if (traceMemoryDump->shouldDumpWrappedObjects()) { in dumpMemoryStatisticsPriv()
93 traceMemoryDump->dumpWrappedState(resourceName.c_str(), fRefsWrappedObjects); in dumpMemoryStatisticsPriv()
[all …]
DGrGpuResource.h202 virtual void dumpMemoryStatistics(SkTraceMemoryDump* traceMemoryDump) const;
252 void dumpMemoryStatisticsPriv(SkTraceMemoryDump* traceMemoryDump, const SkString& resourceName,
/external/skqp/src/gpu/
DGrGpuResource.cpp69 void GrGpuResource::dumpMemoryStatistics(SkTraceMemoryDump* traceMemoryDump) const { in dumpMemoryStatistics()
70 if (this->fRefsWrappedObjects && !traceMemoryDump->shouldDumpWrappedObjects()) { in dumpMemoryStatistics()
74 this->dumpMemoryStatisticsPriv(traceMemoryDump, this->getResourceName(), in dumpMemoryStatistics()
78 void GrGpuResource::dumpMemoryStatisticsPriv(SkTraceMemoryDump* traceMemoryDump, in dumpMemoryStatisticsPriv() argument
86 traceMemoryDump->dumpNumericValue(resourceName.c_str(), "size", "bytes", size); in dumpMemoryStatisticsPriv()
87 traceMemoryDump->dumpStringValue(resourceName.c_str(), "type", type); in dumpMemoryStatisticsPriv()
88 traceMemoryDump->dumpStringValue(resourceName.c_str(), "category", tag); in dumpMemoryStatisticsPriv()
90 traceMemoryDump->dumpNumericValue(resourceName.c_str(), "purgeable_size", "bytes", size); in dumpMemoryStatisticsPriv()
93 this->setMemoryBacking(traceMemoryDump, resourceName); in dumpMemoryStatisticsPriv()
/external/skqp/src/gpu/gl/
DGrGLTextureRenderTarget.cpp40 SkTraceMemoryDump* traceMemoryDump) const { in dumpMemoryStatistics()
43 GrGLRenderTarget::dumpMemoryStatistics(traceMemoryDump); in dumpMemoryStatistics()
44 GrGLTexture::dumpMemoryStatistics(traceMemoryDump); in dumpMemoryStatistics()
48 this->dumpMemoryStatisticsPriv(traceMemoryDump, resourceName, "RenderTarget", in dumpMemoryStatistics()
DGrGLTexture.cpp136 void GrGLTexture::dumpMemoryStatistics(SkTraceMemoryDump* traceMemoryDump) const { in dumpMemoryStatistics()
142 if (refsWrappedTextureObjects && !traceMemoryDump->shouldDumpWrappedObjects()) { in dumpMemoryStatistics()
155 this->dumpMemoryStatisticsPriv(traceMemoryDump, resourceName, "Texture", in dumpMemoryStatistics()
160 traceMemoryDump->setMemoryBacking(resourceName.c_str(), "gl_texture", texture_id.c_str()); in dumpMemoryStatistics()
DGrGLStencilAttachment.cpp38 void GrGLStencilAttachment::setMemoryBacking(SkTraceMemoryDump* traceMemoryDump, in setMemoryBacking() argument
42 traceMemoryDump->setMemoryBacking(dumpName.c_str(), "gl_renderbuffer", in setMemoryBacking()
DGrGLRenderTarget.cpp208 void GrGLRenderTarget::dumpMemoryStatistics(SkTraceMemoryDump* traceMemoryDump) const { in dumpMemoryStatistics()
214 if (refsWrappedRenderTargetObjects && !traceMemoryDump->shouldDumpWrappedObjects()) { in dumpMemoryStatistics()
233 this->dumpMemoryStatisticsPriv(traceMemoryDump, resourceName, "RenderTarget", size); in dumpMemoryStatistics()
237 traceMemoryDump->setMemoryBacking(resourceName.c_str(), "gl_renderbuffer", in dumpMemoryStatistics()
DGrGLStencilAttachment.h52 void setMemoryBacking(SkTraceMemoryDump* traceMemoryDump,
DGrGLBuffer.h43 void setMemoryBacking(SkTraceMemoryDump* traceMemoryDump,
DGrGLTextureRenderTarget.h36 void dumpMemoryStatistics(SkTraceMemoryDump* traceMemoryDump) const override;
DGrGLBuffer.cpp285 void GrGLBuffer::setMemoryBacking(SkTraceMemoryDump* traceMemoryDump, in setMemoryBacking() argument
289 traceMemoryDump->setMemoryBacking(dumpName.c_str(), "gl_buffer", in setMemoryBacking()
DGrGLRenderTarget.h73 void dumpMemoryStatistics(SkTraceMemoryDump* traceMemoryDump) const override;
/external/skia/src/gpu/gl/
DGrGLTextureRenderTarget.cpp43 SkTraceMemoryDump* traceMemoryDump) const { in dumpMemoryStatistics()
46 GrGLRenderTarget::dumpMemoryStatistics(traceMemoryDump); in dumpMemoryStatistics()
47 GrGLTexture::dumpMemoryStatistics(traceMemoryDump); in dumpMemoryStatistics()
51 this->dumpMemoryStatisticsPriv(traceMemoryDump, resourceName, "RenderTarget", in dumpMemoryStatistics()
DGrGLTexture.cpp148 void GrGLTexture::dumpMemoryStatistics(SkTraceMemoryDump* traceMemoryDump) const { in dumpMemoryStatistics()
154 if (refsWrappedTextureObjects && !traceMemoryDump->shouldDumpWrappedObjects()) { in dumpMemoryStatistics()
170 this->dumpMemoryStatisticsPriv(traceMemoryDump, resourceName, "Texture", size); in dumpMemoryStatistics()
174 traceMemoryDump->setMemoryBacking(resourceName.c_str(), "gl_texture", texture_id.c_str()); in dumpMemoryStatistics()
DGrGLAttachment.cpp34 void GrGLAttachment::setMemoryBacking(SkTraceMemoryDump* traceMemoryDump, in setMemoryBacking() argument
38 traceMemoryDump->setMemoryBacking(dumpName.c_str(), "gl_renderbuffer", renderbuffer_id.c_str()); in setMemoryBacking()
DGrGLRenderTarget.cpp265 void GrGLRenderTarget::dumpMemoryStatistics(SkTraceMemoryDump* traceMemoryDump) const { in dumpMemoryStatistics()
271 if (refsWrappedRenderTargetObjects && !traceMemoryDump->shouldDumpWrappedObjects()) { in dumpMemoryStatistics()
288 this->dumpMemoryStatisticsPriv(traceMemoryDump, resourceName, "RenderTarget", size); in dumpMemoryStatistics()
292 traceMemoryDump->setMemoryBacking(resourceName.c_str(), "gl_renderbuffer", in dumpMemoryStatistics()
DGrGLAttachment.h43 void setMemoryBacking(SkTraceMemoryDump* traceMemoryDump,
DGrGLBuffer.h44 void setMemoryBacking(SkTraceMemoryDump* traceMemoryDump,
DGrGLTextureRenderTarget.h36 void dumpMemoryStatistics(SkTraceMemoryDump* traceMemoryDump) const override;
DGrGLTexture.h59 void dumpMemoryStatistics(SkTraceMemoryDump* traceMemoryDump) const override;
DGrGLRenderTarget.h55 void dumpMemoryStatistics(SkTraceMemoryDump* traceMemoryDump) const override;
DGrGLBuffer.cpp313 void GrGLBuffer::setMemoryBacking(SkTraceMemoryDump* traceMemoryDump, in setMemoryBacking() argument
317 traceMemoryDump->setMemoryBacking(dumpName.c_str(), "gl_buffer", in setMemoryBacking()
/external/skqp/src/gpu/vk/
DGrVkTransferBuffer.cpp55 void GrVkTransferBuffer::setMemoryBacking(SkTraceMemoryDump* traceMemoryDump, in setMemoryBacking() argument
59 traceMemoryDump->setMemoryBacking(dumpName.c_str(), "vk_buffer", in setMemoryBacking()
DGrVkTransferBuffer.h29 void setMemoryBacking(SkTraceMemoryDump* traceMemoryDump,
/external/skqp/include/gpu/
DGrGpuResource.h236 virtual void dumpMemoryStatistics(SkTraceMemoryDump* traceMemoryDump) const;
286 void dumpMemoryStatisticsPriv(SkTraceMemoryDump* traceMemoryDump, const SkString& resourceName,

12