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

Side by Side Diff: samplecode/SampleApp.h

Issue 888283002: allow GMs to animate (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: switch all existing animations to use animatePulse Created 5 years, 10 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 unified diff | Download patch
« no previous file with comments | « samplecode/SampleAnimatedGradient.cpp ('k') | samplecode/SampleApp.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Skia 2 * Copyright 2011 Skia
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SampleApp_DEFINED 8 #ifndef SampleApp_DEFINED
9 #define SampleApp_DEFINED 9 #define SampleApp_DEFINED
10 10
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 SkTouchGesture fGesture; 168 SkTouchGesture fGesture;
169 SkScalar fZoomLevel; 169 SkScalar fZoomLevel;
170 SkScalar fZoomScale; 170 SkScalar fZoomScale;
171 171
172 DeviceType fDeviceType; 172 DeviceType fDeviceType;
173 DeviceManager* fDevManager; 173 DeviceManager* fDevManager;
174 174
175 bool fSaveToPdf; 175 bool fSaveToPdf;
176 SkAutoTUnref<SkDocument> fPDFDocument; 176 SkAutoTUnref<SkDocument> fPDFDocument;
177 177
178 bool fDoAnimate;
178 bool fUseClip; 179 bool fUseClip;
179 bool fNClip; 180 bool fNClip;
180 bool fAnimating; 181 bool fAnimating;
181 bool fRotate; 182 bool fRotate;
182 SkScalar fRotateAnimTime; 183 SkScalar fRotateAnimTime;
183 bool fPerspAnim; 184 bool fPerspAnim;
184 SkScalar fPerspAnimTime; 185 SkScalar fPerspAnimTime;
185 bool fRequestGrabImage; 186 bool fRequestGrabImage;
186 bool fMeasureFPS; 187 bool fMeasureFPS;
187 SkMSec fMeasureFPS_Time; 188 SkMSec fMeasureFPS_Time;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 bool zoomOut(); 232 bool zoomOut();
232 void updatePointer(int x, int y); 233 void updatePointer(int x, int y);
233 void magnify(SkCanvas* canvas); 234 void magnify(SkCanvas* canvas);
234 void showZoomer(SkCanvas* canvas); 235 void showZoomer(SkCanvas* canvas);
235 void updateMatrix(); 236 void updateMatrix();
236 void postAnimatingEvent(); 237 void postAnimatingEvent();
237 void installDrawFilter(SkCanvas*); 238 void installDrawFilter(SkCanvas*);
238 int findByTitle(const char*); 239 int findByTitle(const char*);
239 void listTitles(); 240 void listTitles();
240 SkSize tileSize() const; 241 SkSize tileSize() const;
242 bool sendAnimatePulse();
241 243
242 typedef SkOSWindow INHERITED; 244 typedef SkOSWindow INHERITED;
243 }; 245 };
244 246
245 #endif 247 #endif
OLDNEW
« no previous file with comments | « samplecode/SampleAnimatedGradient.cpp ('k') | samplecode/SampleApp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698