diff options
author | 2015-09-15 14:16:10 -0700 | |
---|---|---|
committer | 2015-09-15 14:16:10 -0700 | |
commit | 0a5fa484fd58d27088f8696bdc11c8cc8f2b4866 (patch) | |
tree | 3b4559d7da20b1de45b1a537378c8a36bca75511 /gyp | |
parent | eb00eaba0cb0be4ba39a7c00b6be8347136ce4ae (diff) |
Add onMemoryDump to GrContext
Adds an entry point to GrContext to allow enumeration and tracing of GPU resources
via the newly added SkTraceMemoryDump.
Plan is for Chrome to call this on each of its GrContexts.
Dumps both the total size of GPU resources, as well as the total purgeable size.
BUG=526261
Review URL: https://codereview.chromium.org/1313743002
Diffstat (limited to 'gyp')
-rw-r--r-- | gyp/gpu.gypi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gyp/gpu.gypi b/gyp/gpu.gypi index 2f095d1ee2..70a518f34d 100644 --- a/gyp/gpu.gypi +++ b/gyp/gpu.gypi @@ -336,6 +336,7 @@ '<(skia_src_path)/gpu/gl/GrGLStencilAttachment.h', '<(skia_src_path)/gpu/gl/GrGLTexture.cpp', '<(skia_src_path)/gpu/gl/GrGLTexture.h', + '<(skia_src_path)/gpu/gl/GrGLTextureRenderTarget.cpp', '<(skia_src_path)/gpu/gl/GrGLTextureRenderTarget.h', '<(skia_src_path)/gpu/gl/GrGLUtil.cpp', '<(skia_src_path)/gpu/gl/GrGLUtil.h', |