suppress printfs

git-svn-id: http://skia.googlecode.com/svn/trunk@1793 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
reed@google.com 2011-07-05 19:09:47 +00:00
parent 37a201231b
commit 3ef80cf14c
3 changed files with 4 additions and 5 deletions

View File

@ -62,7 +62,7 @@ GrAtlas::GrAtlas(GrAtlasMgr* mgr, int plotX, int plotY, GrMaskFormat format) {
fMaskFormat = format;
#if GR_DEBUG
GrPrintf(" GrAtlas %p [%d %d] %d\n", this, plotX, plotY, gCounter);
// GrPrintf(" GrAtlas %p [%d %d] %d\n", this, plotX, plotY, gCounter);
gCounter += 1;
#endif
}
@ -74,7 +74,7 @@ GrAtlas::~GrAtlas() {
#if GR_DEBUG
--gCounter;
GrPrintf("~GrAtlas %p [%d %d] %d\n", this, fPlot.fX, fPlot.fY, gCounter);
// GrPrintf("~GrAtlas %p [%d %d] %d\n", this, fPlot.fX, fPlot.fY, gCounter);
#endif
}

View File

@ -140,7 +140,7 @@ GrTextStrike::GrTextStrike(GrFontCache* cache, const GrKey* key,
fMaskFormat = format;
#if GR_DEBUG
GrPrintf(" GrTextStrike %p %d\n", this, gCounter);
// GrPrintf(" GrTextStrike %p %d\n", this, gCounter);
gCounter += 1;
#endif
}
@ -154,7 +154,7 @@ GrTextStrike::~GrTextStrike() {
#if GR_DEBUG
gCounter -= 1;
GrPrintf("~GrTextStrike %p %d\n", this, gCounter);
// GrPrintf("~GrTextStrike %p %d\n", this, gCounter);
#endif
}

View File

@ -481,7 +481,6 @@ bool SkGpuDevice::skPaint2GrPaintShader(const SkPaint& skPaint,
GrSamplerState::SampleMode sampleMode = sk_bmp_type_to_sample_mode[bmptype];
if (-1 == sampleMode) {
SkDebugf("shader->asABitmap() == kNone_BitmapType\n");
return false;
}
GrSamplerState* sampler = grPaint->getTextureSampler(kShaderTextureIdx);