diff --git a/src/gpu/GrRenderTargetContext.cpp b/src/gpu/GrRenderTargetContext.cpp index ef34a99385..9bcb83a62f 100644 --- a/src/gpu/GrRenderTargetContext.cpp +++ b/src/gpu/GrRenderTargetContext.cpp @@ -389,14 +389,12 @@ void GrRenderTargetContext::drawPaint(const GrClip& clip, // produce a correct result for some perspective matrices. if (!isPerspective) { if (!SkMatrixPriv::InverseMapRect(viewMatrix, &r, r)) { - SkDebugf("Could not invert matrix\n"); return; } this->drawRect(clip, std::move(paint), GrAA::kNo, viewMatrix, r); } else { SkMatrix localMatrix; if (!viewMatrix.invert(&localMatrix)) { - SkDebugf("Could not invert matrix\n"); return; } diff --git a/src/gpu/ops/GrAAConvexPathRenderer.cpp b/src/gpu/ops/GrAAConvexPathRenderer.cpp index 90376b2e0e..9803ff08e4 100644 --- a/src/gpu/ops/GrAAConvexPathRenderer.cpp +++ b/src/gpu/ops/GrAAConvexPathRenderer.cpp @@ -848,7 +848,6 @@ private: SkMatrix invert; if (fHelper.usesLocalCoords() && !fPaths.back().fViewMatrix.invert(&invert)) { - SkDebugf("Could not invert viewmatrix\n"); return; } diff --git a/src/gpu/ops/GrAtlasTextOp.cpp b/src/gpu/ops/GrAtlasTextOp.cpp index c4a2f153cb..96c592d5b4 100644 --- a/src/gpu/ops/GrAtlasTextOp.cpp +++ b/src/gpu/ops/GrAtlasTextOp.cpp @@ -220,7 +220,6 @@ void GrAtlasTextOp::onPrepareDraws(Target* target) { // TODO actually only invert if we don't have RGBA SkMatrix localMatrix; if (this->usesLocalCoords() && !fGeoData[0].fViewMatrix.invert(&localMatrix)) { - SkDebugf("Cannot invert viewmatrix\n"); return; } diff --git a/src/gpu/ops/GrSmallPathRenderer.cpp b/src/gpu/ops/GrSmallPathRenderer.cpp index f8c21095d0..003d99a343 100644 --- a/src/gpu/ops/GrSmallPathRenderer.cpp +++ b/src/gpu/ops/GrSmallPathRenderer.cpp @@ -322,7 +322,6 @@ private: matrix = &ctm; } else if (fHelper.usesLocalCoords()) { if (!ctm.invert(&invert)) { - SkDebugf("Could not invert viewmatrix\n"); return; } matrix = &invert; @@ -336,7 +335,6 @@ private: SkMatrix invert; if (fHelper.usesLocalCoords()) { if (!ctm.invert(&invert)) { - SkDebugf("Could not invert viewmatrix\n"); return; } } diff --git a/src/gpu/text/GrAtlasTextBlob.h b/src/gpu/text/GrAtlasTextBlob.h index 7c2bd46f2f..e3b7d4048d 100644 --- a/src/gpu/text/GrAtlasTextBlob.h +++ b/src/gpu/text/GrAtlasTextBlob.h @@ -297,7 +297,6 @@ private: fInitialViewMatrix = viewMatrix; if (!viewMatrix.invert(&fInitialViewMatrixInverse)) { fInitialViewMatrixInverse = SkMatrix::I(); - SkDebugf("Could not invert viewmatrix\n"); } fInitialX = x; fInitialY = y;