diff options
author | jvanverth <jvanverth@google.com> | 2016-04-08 12:51:45 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-08 12:51:45 -0700 |
commit | c265a92741a8deee8adb62bb20c756b46672a11c (patch) | |
tree | 3d8a4d2fce5286ceac771c330c60909b797d31f6 /gm/scaledstrokes.cpp | |
parent | 377add74267e5e0c94521858fb1f9ac5cf299667 (diff) |
More cleanup in the Vulkan viewer
* add animation support for GMs
* don't load all SkPictures at start, only as needed
* don't update constantly, only for animation or stats
* hide/show stats
* scale slides up/down
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1873733003
Review URL: https://codereview.chromium.org/1873733003
Diffstat (limited to 'gm/scaledstrokes.cpp')
-rw-r--r-- | gm/scaledstrokes.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gm/scaledstrokes.cpp b/gm/scaledstrokes.cpp index 59c3efb1cc..1ee2350236 100644 --- a/gm/scaledstrokes.cpp +++ b/gm/scaledstrokes.cpp @@ -73,6 +73,7 @@ protected: canvas->translate(80.0f, 0.0f); } + canvas->restore(); } } |