Handle rrects with one circular corner and three square corners in GrRRectEffect.

BUG=skia:2181
R=jvanverth@google.com

Author: bsalomon@google.com

Review URL: https://codereview.chromium.org/193263002

git-svn-id: http://skia.googlecode.com/svn/trunk@13739 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/rrects.cpp b/gm/rrects.cpp
index cc76718..a79ff54 100644
--- a/gm/rrects.cpp
+++ b/gm/rrects.cpp
@@ -189,7 +189,7 @@
     static const int kTileY = 40;
 
     static const int kNumSimpleCases = 7;
-    static const int kNumComplexCases = 23;
+    static const int kNumComplexCases = 27;
     static const SkVector gRadii[kNumComplexCases][4];
 
     static const int kNumRRects = kNumSimpleCases + kNumComplexCases;
@@ -238,6 +238,12 @@
     { { 20, 20 }, { 20, 20 }, { 0, 0 }, { 0, 0 } },
     { { 0, 0 }, { 0, 0 }, { 20, 20 }, { 20, 20 } },
     { { 20, 20 }, { 0, 0 }, { 0, 0 }, { 20, 20 } },
+
+    // single circular corner cases
+    { { 0, 0 }, { 0, 0 }, { 0, 0 }, { 15, 15 } },
+    { { 0, 0 }, { 0, 0 }, { 15, 15 }, { 0, 0 } },
+    { { 0, 0 }, { 15, 15 }, { 0, 0 }, { 0, 0 } },
+    { { 15, 15 }, { 0, 0 }, { 0, 0 }, { 0, 0 } },
 };
 
 ///////////////////////////////////////////////////////////////////////////////