Turn off annoying printfs
git-svn-id: http://skia.googlecode.com/svn/trunk@2610 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
80d09b9f7e
commit
979432ba26
@ -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;
|
||||
}
|
||||
|
@ -32,7 +32,7 @@ extern void gr_run_unittests();
|
||||
|
||||
GrGpu::GrGpu()
|
||||
: fContext(NULL)
|
||||
, fResetTimestamp(0)
|
||||
, fResetTimestamp(kExpiredTimestamp+1)
|
||||
, fVertexPool(NULL)
|
||||
, fIndexPool(NULL)
|
||||
, fVertexPoolUseCnt(0)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user