Index: src/gpu/GrOvalRenderer.cpp |
diff --git a/src/gpu/GrOvalRenderer.cpp b/src/gpu/GrOvalRenderer.cpp |
index cef08f431e3a4f047737d6d845c66e58b8f2cf3a..49d17de14ac02fddf495d2d1d8fe61cf83072829 100644 |
--- a/src/gpu/GrOvalRenderer.cpp |
+++ b/src/gpu/GrOvalRenderer.cpp |
@@ -938,12 +938,6 @@ static GrDrawBatch* create_ellipse_batch(GrColor color, |
yRadius += scaledStroke.fY; |
} |
- // We've extended the outer x radius out half a pixel to antialias. |
- // This will also expand the rect so all the pixels will be captured. |
- // TODO: Consider if we should use sqrt(2)/2 instead |
- xRadius += SK_ScalarHalf; |
- yRadius += SK_ScalarHalf; |
jvanverth1
2016/06/30 15:29:19
I don't think this is quite right. We need to expa
vjiaoblack
2016/06/30 16:55:35
I've implemented these changes locally, and cross-
|
- |
EllipseBatch::Geometry geometry; |
geometry.fColor = color; |
geometry.fXRadius = xRadius; |