Revert r6330 thru 6333 while we figure out what to do about Intel bots (possible driver bug).
git-svn-id: http://skia.googlecode.com/svn/trunk@6037 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp
index e729e6d..81f9717 100644
--- a/src/gpu/GrContext.cpp
+++ b/src/gpu/GrContext.cpp
@@ -1061,7 +1061,9 @@
verts[3].fPos = SkPoint::Make(R, B);
for (int i = 0; i < 4; ++i) {
- verts[i].fCenter = center;
+ // this goes to fragment shader, it should be in y-points-up space.
+ verts[i].fCenter = SkPoint::Make(center.fX, rt->height() - center.fY);
+
verts[i].fOuterRadius = outerRadius;
verts[i].fInnerRadius = innerRadius;
}