Fix font GMs
Disables font cache dump for now
R=robertphillips@google.com
Review URL: https://codereview.chromium.org/25605007
git-svn-id: http://skia.googlecode.com/svn/trunk/src@11584 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gpu/GrAtlas.cpp b/gpu/GrAtlas.cpp
index 9784e83..15236e4 100644
--- a/gpu/GrAtlas.cpp
+++ b/gpu/GrAtlas.cpp
@@ -181,8 +181,9 @@
GrTextureDesc desc;
#ifdef SK_DEVELOPER
// RenderTarget so we can read the pixels to dump them
- desc.fFlags = kDynamicUpdate_GrTextureFlagBit|kRenderTarget_GrTextureFlagBit
- |kNoStencil_GrTextureFlagBit;
+ // TODO: Fix to support RT
+ desc.fFlags = kDynamicUpdate_GrTextureFlagBit;//|kRenderTarget_GrTextureFlagBit;
+ //|kNoStencil_GrTextureFlagBit;
#else
desc.fFlags = kDynamicUpdate_GrTextureFlagBit;
#endif
diff --git a/gpu/GrTextStrike.cpp b/gpu/GrTextStrike.cpp
index 7cab335..4a56051 100644
--- a/gpu/GrTextStrike.cpp
+++ b/gpu/GrTextStrike.cpp
@@ -173,6 +173,7 @@
#ifdef SK_DEVELOPER
void GrFontCache::dump() const {
+/* Disabled for now
static int gDumpCount = 0;
for (int i = 0; i < kMaskFormatCount; ++i) {
if (NULL != fAtlasMgr[i]) {
@@ -185,6 +186,7 @@
}
}
++gDumpCount;
+*/
}
#endif