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

Side by Side Diff: samplecode/SampleApp.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, 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
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;
179 bool fUseClip; 178 bool fUseClip;
180 bool fNClip; 179 bool fNClip;
181 bool fAnimating; 180 bool fAnimating;
182 bool fRotate; 181 bool fRotate;
183 SkScalar fRotateAnimTime;
184 bool fPerspAnim; 182 bool fPerspAnim;
185 SkScalar fPerspAnimTime;
186 bool fRequestGrabImage; 183 bool fRequestGrabImage;
187 bool fMeasureFPS; 184 bool fMeasureFPS;
188 SkMSec fMeasureFPS_Time; 185 SkMSec fMeasureFPS_Time;
189 SkMSec fMeasureFPS_StartTime; 186 SkMSec fMeasureFPS_StartTime;
190 bool fMagnify; 187 bool fMagnify;
191 int fTilingMode; 188 int fTilingMode;
192 189
193 190
194 SkOSMenu::TriState fPipeState; // Mixed uses a tiled pipe 191 SkOSMenu::TriState fPipeState; // Mixed uses a tiled pipe
195 // On uses a normal pipe 192 // On uses a normal pipe
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 void installDrawFilter(SkCanvas*); 235 void installDrawFilter(SkCanvas*);
239 int findByTitle(const char*); 236 int findByTitle(const char*);
240 void listTitles(); 237 void listTitles();
241 SkSize tileSize() const; 238 SkSize tileSize() const;
242 bool sendAnimatePulse(); 239 bool sendAnimatePulse();
243 240
244 typedef SkOSWindow INHERITED; 241 typedef SkOSWindow INHERITED;
245 }; 242 };
246 243
247 #endif 244 #endif
OLDNEW
« gm/SkAnimTimer.h ('K') | « samplecode/SampleAnimBlur.cpp ('k') | samplecode/SampleApp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698