diff options
author | Chris Craik <ccraik@google.com> | 2014-06-11 17:24:51 -0700 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2014-06-11 17:24:51 -0700 |
commit | 9c3dd62d0fbec40ea15b0a56a01bcfefa3ceabdd (patch) | |
tree | 931cde3fd3a6ee56fb54da6c8c97fa51b19f3fcf /libs/hwui/PathTessellator.h | |
parent | ffdd37ff142ade5de6cc97f77087194892fd9714 (diff) | |
download | frameworks_base-9c3dd62d0fbec40ea15b0a56a01bcfefa3ceabdd.zip frameworks_base-9c3dd62d0fbec40ea15b0a56a01bcfefa3ceabdd.tar.gz frameworks_base-9c3dd62d0fbec40ea15b0a56a01bcfefa3ceabdd.tar.bz2 |
Limit path approximation recursion depth
bug:15369119
Change-Id: I6f009f5e8790129e1aa8a51e1fc6cdd1415dd617
Diffstat (limited to 'libs/hwui/PathTessellator.h')
-rw-r--r-- | libs/hwui/PathTessellator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/PathTessellator.h b/libs/hwui/PathTessellator.h index f033470..8ac9a3b 100644 --- a/libs/hwui/PathTessellator.h +++ b/libs/hwui/PathTessellator.h @@ -105,7 +105,7 @@ private: float bx, float by, float cx, float cy, float sqrInvScaleX, float sqrInvScaleY, float thresholdSquared, - Vector<Vertex> &outputVertices); + Vector<Vertex> &outputVertices, int depth = 0); /* endpoints p1, p2 @@ -117,7 +117,7 @@ private: float p2x, float p2y, float c2x, float c2y, float sqrInvScaleX, float sqrInvScaleY, float thresholdSquared, - Vector<Vertex> &outputVertices); + Vector<Vertex> &outputVertices, int depth = 0); }; }; // namespace uirenderer |