OLD | NEW |
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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 bool fSaveToSKP; | 181 bool fSaveToSKP; |
182 sk_sp<SkDocument> fPDFDocument; | 182 sk_sp<SkDocument> fPDFDocument; |
183 | 183 |
184 bool fUseClip; | 184 bool fUseClip; |
185 bool fUsePicture; | 185 bool fUsePicture; |
186 bool fAnimating; | 186 bool fAnimating; |
187 bool fRotate; | 187 bool fRotate; |
188 bool fPerspAnim; | 188 bool fPerspAnim; |
189 bool fRequestGrabImage; | 189 bool fRequestGrabImage; |
190 bool fMeasureFPS; | 190 bool fMeasureFPS; |
| 191 bool fUseDeferredCanvas; |
191 WallTimer fTimer; | 192 WallTimer fTimer; |
192 double fMeasureFPS_Time; | 193 double fMeasureFPS_Time; |
193 bool fMagnify; | 194 bool fMagnify; |
194 int fTilingMode; | 195 int fTilingMode; |
195 | 196 |
196 // The following are for the 'fatbits' drawing | 197 // The following are for the 'fatbits' drawing |
197 // Latest position of the mouse. | 198 // Latest position of the mouse. |
198 int fMouseX, fMouseY; | 199 int fMouseX, fMouseY; |
199 int fFatBitsScale; | 200 int fFatBitsScale; |
200 // Used by the text showing position and color values. | 201 // Used by the text showing position and color values. |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 void postAnimatingEvent(); | 233 void postAnimatingEvent(); |
233 int findByTitle(const char*); | 234 int findByTitle(const char*); |
234 void listTitles(); | 235 void listTitles(); |
235 SkSize tileSize() const; | 236 SkSize tileSize() const; |
236 bool sendAnimatePulse(); | 237 bool sendAnimatePulse(); |
237 | 238 |
238 typedef SkOSWindow INHERITED; | 239 typedef SkOSWindow INHERITED; |
239 }; | 240 }; |
240 | 241 |
241 #endif | 242 #endif |
OLD | NEW |