aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu
diff options
context:
space:
mode:
authorGravatar jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-02 19:49:26 +0000
committerGravatar jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-02 19:49:26 +0000
commit58909491d20938889c03415d9ac40d3e89caa0e2 (patch)
tree6634a0687667ba971aa718750150db54c5bf3604 /src/gpu
parentcb55f11a8f8ad66cdfc7643298a8772837cc35df (diff)
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@11584 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu')
-rw-r--r--src/gpu/GrAtlas.cpp5
-rw-r--r--src/gpu/GrTextStrike.cpp2
2 files changed, 5 insertions, 2 deletions
diff --git a/src/gpu/GrAtlas.cpp b/src/gpu/GrAtlas.cpp
index 9784e83de9..15236e42ca 100644
--- a/src/gpu/GrAtlas.cpp
+++ b/src/gpu/GrAtlas.cpp
@@ -181,8 +181,9 @@ GrPlot* GrAtlasMgr::addToAtlas(GrAtlas* atlas,
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/src/gpu/GrTextStrike.cpp b/src/gpu/GrTextStrike.cpp
index 7cab335d72..4a56051264 100644
--- a/src/gpu/GrTextStrike.cpp
+++ b/src/gpu/GrTextStrike.cpp
@@ -173,6 +173,7 @@ void GrFontCache::validate() const {
#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 @@ void GrFontCache::dump() const {
}
}
++gDumpCount;
+*/
}
#endif