diff options
author | 2014-10-14 07:07:59 -0700 | |
---|---|---|
committer | 2014-10-14 07:08:00 -0700 | |
commit | 84ac082fd457dc49e22290662ad37249718279e6 (patch) | |
tree | 8f4f05080592f7725643544924e38d5479eef1d8 /src/gpu/GrLayerCache.h | |
parent | ab84fae29fdee95987b10c00ff34957476a66263 (diff) |
Add GrLayerCache::writeLayersToDisk
I'm tired of readding this capability whenever I need to debug.
Review URL: https://codereview.chromium.org/654653006
Diffstat (limited to 'src/gpu/GrLayerCache.h')
-rw-r--r-- | src/gpu/GrLayerCache.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/GrLayerCache.h b/src/gpu/GrLayerCache.h index 3bccb437f8..d8c5ad9bf5 100644 --- a/src/gpu/GrLayerCache.h +++ b/src/gpu/GrLayerCache.h @@ -222,6 +222,10 @@ public: SkDEBUGCODE(void validate() const;) +#ifdef SK_DEVELOPER + void writeLayersToDisk(const SkString& dirName); +#endif + private: static const int kAtlasTextureWidth = 1024; static const int kAtlasTextureHeight = 1024; |