diff options
author | 2011-11-05 21:38:22 +0000 | |
---|---|---|
committer | 2011-11-05 21:38:22 +0000 | |
commit | 979432ba2621b617f5e85a9ff48c6b6cd1504a0d (patch) | |
tree | 5966ad6559fc010bb17cb1d2ed9c3cddf151f90f | |
parent | 80d09b9f7eb653103ca5fa10471e582c44f5b9de (diff) |
Turn off annoying printfs
git-svn-id: http://skia.googlecode.com/svn/trunk@2610 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | src/gpu/GrContext.cpp | 6 | ||||
-rw-r--r-- | src/gpu/GrGpu.cpp | 2 | ||||
-rw-r--r-- | src/gpu/SkGpuDevice.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp index 607ade8244..231cf23573 100644 --- a/src/gpu/GrContext.cpp +++ b/src/gpu/GrContext.cpp @@ -675,7 +675,7 @@ bool GrContext::doOffscreenAA(GrDrawTarget* target, } if (disable_coverage_aa_for_blend(target)) { #if GR_DEBUG - GrPrintf("Turning off AA to correctly apply blend.\n"); + //GrPrintf("Turning off AA to correctly apply blend.\n"); #endif return false; } @@ -1177,7 +1177,7 @@ static bool apply_aa_to_rect(GrDrawTarget* target, if (target->getCaps().fSupportPerVertexCoverage) { if (disable_coverage_aa_for_blend(target)) { #if GR_DEBUG - GrPrintf("Turning off AA to correctly apply blend.\n"); + //GrPrintf("Turning off AA to correctly apply blend.\n"); #endif return false; } else { @@ -1497,7 +1497,7 @@ void GrContext::drawPath(const GrPaint& paint, const GrPath& path, // thing WRT to the blend then we'll need some query on the PR. if (disable_coverage_aa_for_blend(target)) { #if GR_DEBUG - GrPrintf("Turning off AA to correctly apply blend.\n"); + //GrPrintf("Turning off AA to correctly apply blend.\n"); #endif prAA = false; } diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp index cbbd74f93a..c5a8bfb927 100644 --- a/src/gpu/GrGpu.cpp +++ b/src/gpu/GrGpu.cpp @@ -32,7 +32,7 @@ extern void gr_run_unittests(); GrGpu::GrGpu() : fContext(NULL) - , fResetTimestamp(0) + , fResetTimestamp(kExpiredTimestamp+1) , fVertexPool(NULL) , fIndexPool(NULL) , fVertexPoolUseCnt(0) diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp index 5283dc07fe..730f631a56 100644 --- a/src/gpu/SkGpuDevice.cpp +++ b/src/gpu/SkGpuDevice.cpp @@ -390,7 +390,7 @@ bool SkGpuDevice::skPaint2GrPaintNoShader(const SkPaint& skPaint, SkXfermode* mode = skPaint.getXfermode(); if (mode) { if (!mode->asCoeff(&sm, &dm)) { - SkDEBUGCODE(SkDebugf("Unsupported xfer mode.\n");) + //SkDEBUGCODE(SkDebugf("Unsupported xfer mode.\n");) #if 0 return false; #endif |