commit | 176c3b2e8892865d2b78a745fb359b3644d11d2b | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Wed Jul 12 15:52:56 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Jul 12 20:30:50 2017 +0000 |
tree | 0872ad23ffb3d5054bac5e80ad1bc2e5dca26bc5 | |
parent | 98222ac41db83d060433fba0004acb580c54dfe4 [diff] |
Move expensive initialization to onOnceBeforeDraw This was being triggered at viewer startup, while initalizing the slide list (and then again when switching to the slide). Removing it declutters startup, particularly if you're trying to debug raster drawing code. Bug: skia: Change-Id: If21cdd10b0dbda74f4a845031ae3e33f7305a1d7 Reviewed-on: https://skia-review.googlesource.com/22742 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Brian Osman <brianosman@google.com>