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

Side by Side Diff: samplecode/SampleApp.h

Issue 1538343002: SampleApp: remove Picture_DeviceType (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « experimental/iOSSampleApp/SkSampleUIView.mm ('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 15 matching lines...) Expand all
26 class SkDocument; 26 class SkDocument;
27 class SkEvent; 27 class SkEvent;
28 class SkTypeface; 28 class SkTypeface;
29 class SkViewFactory; 29 class SkViewFactory;
30 30
31 class SampleWindow : public SkOSWindow { 31 class SampleWindow : public SkOSWindow {
32 SkTDArray<const SkViewFactory*> fSamples; 32 SkTDArray<const SkViewFactory*> fSamples;
33 public: 33 public:
34 enum DeviceType { 34 enum DeviceType {
35 kRaster_DeviceType, 35 kRaster_DeviceType,
36 kPicture_DeviceType,
37 #if SK_SUPPORT_GPU 36 #if SK_SUPPORT_GPU
38 kGPU_DeviceType, 37 kGPU_DeviceType,
39 #if SK_ANGLE 38 #if SK_ANGLE
40 kANGLE_DeviceType, 39 kANGLE_DeviceType,
41 #endif // SK_ANGLE 40 #endif // SK_ANGLE
42 #if SK_COMMAND_BUFFER 41 #if SK_COMMAND_BUFFER
43 kCommandBuffer_DeviceType, 42 kCommandBuffer_DeviceType,
44 #endif // SK_COMMAND_BUFFER 43 #endif // SK_COMMAND_BUFFER
45 #endif // SK_SUPPORT_GPU 44 #endif // SK_SUPPORT_GPU
46 kDeviceTypeCnt 45 kDeviceTypeCnt
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 SkScalar fZoomScale; 173 SkScalar fZoomScale;
175 174
176 DeviceType fDeviceType; 175 DeviceType fDeviceType;
177 DeviceManager* fDevManager; 176 DeviceManager* fDevManager;
178 177
179 bool fSaveToPdf; 178 bool fSaveToPdf;
180 bool fSaveToSKP; 179 bool fSaveToSKP;
181 SkAutoTUnref<SkDocument> fPDFDocument; 180 SkAutoTUnref<SkDocument> fPDFDocument;
182 181
183 bool fUseClip; 182 bool fUseClip;
183 bool fUseMPD;
184 bool fAnimating; 184 bool fAnimating;
185 bool fRotate; 185 bool fRotate;
186 bool fPerspAnim; 186 bool fPerspAnim;
187 bool fRequestGrabImage; 187 bool fRequestGrabImage;
188 bool fMeasureFPS; 188 bool fMeasureFPS;
189 WallTimer fTimer; 189 WallTimer fTimer;
190 double fMeasureFPS_Time; 190 double fMeasureFPS_Time;
191 bool fMagnify; 191 bool fMagnify;
192 int fTilingMode; 192 int fTilingMode;
193 193
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 void postAnimatingEvent(); 235 void postAnimatingEvent();
236 int findByTitle(const char*); 236 int findByTitle(const char*);
237 void listTitles(); 237 void listTitles();
238 SkSize tileSize() const; 238 SkSize tileSize() const;
239 bool sendAnimatePulse(); 239 bool sendAnimatePulse();
240 240
241 typedef SkOSWindow INHERITED; 241 typedef SkOSWindow INHERITED;
242 }; 242 };
243 243
244 #endif 244 #endif
OLDNEW
« no previous file with comments | « experimental/iOSSampleApp/SkSampleUIView.mm ('k') | samplecode/SampleApp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698