aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrContext.h
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-02 18:19:17 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-02 18:19:17 +0000
commit03e3e89641c93df603dfb705d518848dfe81427e (patch)
tree58f092086627ef6a39c933b716808869e9295c38 /include/gpu/GrContext.h
parentaaf3e64b2c867dff1b750cebdeff9e57784b8f22 (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 'include/gpu/GrContext.h')
-rw-r--r--include/gpu/GrContext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
index 7a42677a85..5b25fe4697 100644
--- a/include/gpu/GrContext.h
+++ b/include/gpu/GrContext.h
@@ -628,6 +628,10 @@ public:
*/
void resolveRenderTarget(GrRenderTarget* target);
+#ifdef SK_DEVELOPER
+ void dumpFontCache() const;
+#endif
+
///////////////////////////////////////////////////////////////////////////
// Helpers