diff options
author | bsalomon <bsalomon@google.com> | 2016-05-16 09:09:18 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-16 09:09:18 -0700 |
commit | d584d46c9943c641e0111b969b400be06351a949 (patch) | |
tree | 41269d13aa794dbb67a2225a9509aa03fb05561e /bench | |
parent | 12e2f505696f283cc07ce8242e814263dd9e0950 (diff) |
Run GM benchs in bench mode
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1978253002
Review-Url: https://codereview.chromium.org/1978253002
Diffstat (limited to 'bench')
-rw-r--r-- | bench/GMBench.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bench/GMBench.cpp b/bench/GMBench.cpp index 57b2316530..6037a8221c 100644 --- a/bench/GMBench.cpp +++ b/bench/GMBench.cpp @@ -22,6 +22,7 @@ bool GMBench::isSuitableFor(Backend backend) { } void GMBench::onDraw(int loops, SkCanvas* canvas) { + fGM->setMode(skiagm::GM::kBench_Mode); // Do we care about timing the draw of the background (once)? // Does the GM ever rely on drawBackground to lazily compute something? fGM->drawBackground(canvas); |