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

Side by Side Diff: samplecode/SampleApp.h

Issue 2120333002: deferred canvas (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: override drawTextRSXform Created 4 years, 5 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 | « gyp/utils.gypi ('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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « gyp/utils.gypi ('k') | samplecode/SampleApp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698