aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Jim Van Verth <jvanverth@google.com>2017-02-21 17:55:13 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-02-22 18:01:11 +0000
commite549a05dc20c84597b324b19b9764136da54e5f1 (patch)
tree310d2e7f07d7dd42f87327862b826b8c1265bee7 /src
parent99330ba6227137866a0dbd63478d36f335203ebd (diff)
Add new GMs to stress rendering of many circles and rrects
Change-Id: I060419bc39484b379329a1691e199d9d3db9c808 Reviewed-on: https://skia-review.googlesource.com/8807 Commit-Queue: Jim Van Verth <jvanverth@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/gpu/ops/GrOvalOpFactory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/ops/GrOvalOpFactory.cpp b/src/gpu/ops/GrOvalOpFactory.cpp
index 5f04dd48f0..f1c8f9aec2 100644
--- a/src/gpu/ops/GrOvalOpFactory.cpp
+++ b/src/gpu/ops/GrOvalOpFactory.cpp
@@ -1104,7 +1104,7 @@ private:
CircleOp* that = t->cast<CircleOp>();
// can only represent 65535 unique vertices with 16-bit indices
- if (fVertCount + that->fVertCount > 65535) {
+ if (fVertCount + that->fVertCount > 65536) {
return false;
}
@@ -2001,7 +2001,7 @@ private:
CircularRRectOp* that = t->cast<CircularRRectOp>();
// can only represent 65535 unique vertices with 16-bit indices
- if (fVertCount + that->fVertCount > 65535) {
+ if (fVertCount + that->fVertCount > 65536) {
return false;
}