commit | b4021cfd6630dccc95ee1d4124cad41c79103129 | [log] [tgz] |
---|---|---|
author | egdaniel <egdaniel@google.com> | Thu Jul 28 08:53:07 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Thu Jul 28 08:53:07 2016 -0700 |
tree | ea5659d2084c055c7c5a956d159912d2d9141289 | |
parent | 92772222bf548acf937761eb5150d5bb8e4a7bc4 [diff] |
Don't call finish on GrDrawTarget if we drew no batches This might give us some minor perf gains in vulkan since we won't be submitting command buffers that we've added to batch draws to. Running nanobench this does seem to happen pretty often. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2179903008 Review-Url: https://codereview.chromium.org/2179903008