diff options
author | brianosman <brianosman@google.com> | 2016-02-11 09:07:02 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-11 09:07:02 -0800 |
commit | b8c97ba80be1276b79f18475600cee10c737cfbf (patch) | |
tree | 0d956a9960a9a7fe3b101fc07605d15952b38e99 | |
parent | ef02b24d1c19bebe77ed6f4d531e245db45551c5 (diff) |
Further reduce the number of primitives in the donut tests. Avoids crashes on iOS.
BUG=skia:4937
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1691813002
Review URL: https://codereview.chromium.org/1691813002
-rw-r--r-- | bench/ShapesBench.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bench/ShapesBench.cpp b/bench/ShapesBench.cpp index 1a3702fb54..07f7d56656 100644 --- a/bench/ShapesBench.cpp +++ b/bench/ShapesBench.cpp @@ -276,13 +276,13 @@ DEF_BENCH(return new ShapesBench(ShapesBench::kMixed_ShapesType, ShapesBench::kN // Donuts (small and large). These fall-back to path rendering due to non-orthogonal rotation // making them quite slow. Thus, reduce the counts substantially: DEF_BENCH(return new ShapesBench(ShapesBench::kRect_ShapesType, ShapesBench::kRect_ShapesType, - 2000, SkISize::Make(32, 32), false);) + 500, SkISize::Make(32, 32), false);) DEF_BENCH(return new ShapesBench(ShapesBench::kRRect_ShapesType, ShapesBench::kRRect_ShapesType, - 2000, SkISize::Make(32, 32), false);) + 500, SkISize::Make(32, 32), false);) DEF_BENCH(return new ShapesBench(ShapesBench::kRect_ShapesType, ShapesBench::kRect_ShapesType, - 200, SkISize::Make(500, 500), false);) + 50, SkISize::Make(500, 500), false);) DEF_BENCH(return new ShapesBench(ShapesBench::kRRect_ShapesType, ShapesBench::kRRect_ShapesType, - 200, SkISize::Make(500, 500), false);) + 50, SkISize::Make(500, 500), false);) #if ENABLE_COMMAND_LINE_SHAPES_BENCH DEF_BENCH(return new ShapesBench;) |