diff options
author | 2013-10-02 18:19:17 +0000 | |
---|---|---|
committer | 2013-10-02 18:19:17 +0000 | |
commit | 03e3e89641c93df603dfb705d518848dfe81427e (patch) | |
tree | 58f092086627ef6a39c933b716808869e9295c38 /src/gpu/GrTextStrike.h | |
parent | aaf3e64b2c867dff1b750cebdeff9e57784b8f22 (diff) |
Add support to dump font cache texture for debug purposes
R=robertphillips@google.com, bsalomon@google.com
Author: jvanverth@google.com
Review URL: https://codereview.chromium.org/25736002
git-svn-id: http://skia.googlecode.com/svn/trunk@11579 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrTextStrike.h')
-rw-r--r-- | src/gpu/GrTextStrike.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/GrTextStrike.h b/src/gpu/GrTextStrike.h index e311f3f51d..35d50082b0 100644 --- a/src/gpu/GrTextStrike.h +++ b/src/gpu/GrTextStrike.h @@ -98,6 +98,10 @@ public: void validate() const {} #endif +#ifdef SK_DEVELOPER + void dump() const; +#endif + private: friend class GrFontPurgeListener; |