Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Unified Diff: gm/gm.cpp

Issue 894083003: add SkAnimTimer, SPACE = pause/resume, ESP = stop (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« gm/SkAnimTimer.h ('K') | « gm/gm.h ('k') | samplecode/GMSampleView.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/gm.cpp
diff --git a/gm/gm.cpp b/gm/gm.cpp
index c8109a7e2683e65745631e62eef8acfe3cfb3a01..8d269d977d88208da6987f53e342a87340b2e4a6 100644
--- a/gm/gm.cpp
+++ b/gm/gm.cpp
@@ -51,8 +51,8 @@ void GM::setBGColor(SkColor color) {
fBGColor = color;
}
-bool GM::animatePulse(SkMSec curr, SkMSec prev) {
- return this->onAnimatePulse(curr, prev);
+bool GM::animate(const SkAnimTimer& timer) {
+ return this->onAnimate(timer);
}
/////////////////////////////////////////////////////////////////////////////////////////////
« gm/SkAnimTimer.h ('K') | « gm/gm.h ('k') | samplecode/GMSampleView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698