commit | 83b749a7060c1a5a461ce30a75eaa89ca03ff135 | [log] [tgz] |
---|---|---|
author | Robert Phillips <robertphillips@google.com> | Thu Jun 25 11:41:19 2020 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Jun 25 17:03:48 2020 +0000 |
tree | a1bba2181d314b520b8c18e559229f73acc5dd82 | |
parent | 7000ccdffdb52dfe7bf86818455fc1481a9fbe64 [diff] |
Add GM::onceBeforeDraw method that encapsulates calling onOnceBeforeDraw This is pulled out of the gpuSetup refactoring in an attempt to break it into simpler bits. Change-Id: I01e1717b7f046ad4b87a3f38ac201347a51041ff Reviewed-on: https://skia-review.googlesource.com/c/skia/+/299077 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>