Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(445)

Unified Diff: src/gpu/GrContext.cpp

Issue 25736002: Add support to dump font cache texture for debug purposes (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/gpu/GrContext.cpp
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp
index 9dfe761024e1983f7180b83561c1ed69a5c0007c..54d9fad33f9a325270e7de735621f49244317d34 100644
--- a/src/gpu/GrContext.cpp
+++ b/src/gpu/GrContext.cpp
@@ -642,6 +642,11 @@ void GrContext::drawPaint(const GrPaint& origPaint) {
this->drawRect(*paint, r);
}
+
robertphillips 2013/10/02 15:07:28 SK_DEBUG? DEV?
+void GrContext::dumpFontCache() {
+ fFontCache->dump();
+}
+
////////////////////////////////////////////////////////////////////////////////
namespace {

Powered by Google App Engine
This is Rietveld 408576698