summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Derek Sollenberger <djsollen@google.com> 2015-03-25 16:01:50 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2015-03-25 16:01:52 +0000
commit95872a2e65b1cb8ab77a9cbb2cdfff14833d8585 (patch)
tree47f52679b9dfb3ab76dadd75d6f6b48490b6e08c
parent1a9666b5a87428023c8ec06f5ba9ab9ad6ee414f (diff)
parent289e1b871656b04c0a7edf6e578c9094f5fb3b81 (diff)
Merge "Update ShadowTesslator to support conics"
-rw-r--r--libs/hwui/ShadowTessellator.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/ShadowTessellator.cpp b/libs/hwui/ShadowTessellator.cpp
index 9509c48038cf..30d3f41b0eed 100644
--- a/libs/hwui/ShadowTessellator.cpp
+++ b/libs/hwui/ShadowTessellator.cpp
@@ -197,6 +197,7 @@ bool ShadowTessellator::isClockwisePath(const SkPath& path) {
case SkPath::kLine_Verb:
arrayForDirection.add((Vector2){pts[1].x(), pts[1].y()});
break;
+ case SkPath::kConic_Verb:
case SkPath::kQuad_Verb:
arrayForDirection.add((Vector2){pts[1].x(), pts[1].y()});
arrayForDirection.add((Vector2){pts[2].x(), pts[2].y()});