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

Unified Diff: samplecode/GMSampleView.h

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
Index: samplecode/GMSampleView.h
diff --git a/samplecode/GMSampleView.h b/samplecode/GMSampleView.h
index a03628e05b32848145b7945e2deab3670a10f223..adaf23d43f54f5c597ae0675dfe4a42cf253494d 100644
--- a/samplecode/GMSampleView.h
+++ b/samplecode/GMSampleView.h
@@ -70,8 +70,8 @@ protected:
fGM->drawBackground(canvas);
}
- bool onAnimatePulse(SkMSec curr, SkMSec prev) SK_OVERRIDE {
- return fGM->animatePulse(curr, prev);
+ bool onAnimate(const SkAnimTimer& timer) SK_OVERRIDE {
+ return fGM->animate(timer);
}
private:
« gm/SkAnimTimer.h ('K') | « gm/gm.cpp ('k') | samplecode/SampleAnimBlur.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698