Fix stroked rrects with batching.
authorjvanverth <jvanverth@google.com>
Mon, 29 Aug 2016 20:50:07 +0000 (13:50 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 29 Aug 2016 20:50:07 +0000 (13:50 -0700)
Was using stroked shader for fills and vice versa.

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2288923002
TBR=bsalomon@google.com

Review-Url: https://codereview.chromium.org/2288923002

src/gpu/GrOvalRenderer.cpp

index 35f8660..a04aa00 100644 (file)
@@ -1535,7 +1535,7 @@ private:
         }
 
         // Setup geometry processor
-        SkAutoTUnref<GrGeometryProcessor> gp(new CircleGeometryProcessor(fAllFill,
+        SkAutoTUnref<GrGeometryProcessor> gp(new CircleGeometryProcessor(!fAllFill,
                                                                          false, false,
                                                                          false, localMatrix));
         struct CircleVertex {