aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTessellator.cpp
diff options
context:
space:
mode:
authorGravatar Stephen White <senorblanco@chromium.org>2018-05-18 17:17:57 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-05-22 13:36:05 +0000
commit89735a0f47d2a06542d966a383dcba9f7a00d675 (patch)
treef0ecfcd3f996159784bba060d13e0cb834e791ff /src/gpu/GrTessellator.cpp
parent5c646cf10fd9f4db788d3993ea73093649306e80 (diff)
GrTessellator: remove 64K vertex limit.
This is some code I cargo-culted in from an another path renderer and is not necessary since we don't used indexed geometry. I tested locally up to 64M points in a path, and it seems fine (up to my patience). Bug: skia:7952 Change-Id: Id7745cd1ffe905bdd8a7a505174ba083f8ea91ee Reviewed-on: https://skia-review.googlesource.com/129246 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Stephen White <senorblanco@chromium.org>
Diffstat (limited to 'src/gpu/GrTessellator.cpp')
-rw-r--r--src/gpu/GrTessellator.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gpu/GrTessellator.cpp b/src/gpu/GrTessellator.cpp
index fd7bf5133a..d3c2578da5 100644
--- a/src/gpu/GrTessellator.cpp
+++ b/src/gpu/GrTessellator.cpp
@@ -2089,10 +2089,6 @@ int get_contour_count(const SkPath& path, SkScalar tolerance) {
if (maxPts <= 0) {
return 0;
}
- if (maxPts > ((int)SK_MaxU16 + 1)) {
- SkDebugf("Path not rendered, too many verts (%d)\n", maxPts);
- return 0;
- }
return contourCnt;
}