commit | e6d2024c689199b09df0d7048fc5252179d52aff | [log] [tgz] |
---|---|---|
author | cdalton <cdalton@nvidia.com> | Mon Oct 26 13:45:29 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon Oct 26 13:45:29 2015 -0700 |
tree | fd967ae58aa7566d6d8418fe6c1ebf7e84de1ffe | |
parent | c70483f5ab83aaa29c0697398aeca3432f3591b6 [diff] |
Flush GrContext between benchmark draw loops This change updates a small subset of benchmarks to flush the GrContext between draw loops (specifically SKP benchmarks, SampleApp, and the warmup in visualbench). This helps improve timing accuracy by not allowing the gpu to batch across draw boundaries in the affected benchmarks. BUG=skia: Review URL: https://codereview.chromium.org/1427533002