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

Side by Side Diff: tools/viewer/Viewer.h

Issue 1990893002: Revert of Add OpenGL context to Viewer. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 7 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 | « src/gpu/vk/GrVkBuffer.cpp ('k') | tools/viewer/Viewer.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 2016 Google Inc. 2 * Copyright 2016 Google Inc.
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 Viewer_DEFINED 8 #ifndef Viewer_DEFINED
9 #define Viewer_DEFINED 9 #define Viewer_DEFINED
10 10
(...skipping 29 matching lines...) Expand all
40 static const int kMeasurementCount = 64; // should be power of 2 for fast m od 40 static const int kMeasurementCount = 64; // should be power of 2 for fast m od
41 double fMeasurements[kMeasurementCount]; 41 double fMeasurements[kMeasurementCount];
42 int fCurrentMeasurement; 42 int fCurrentMeasurement;
43 43
44 SkAnimTimer fAnimTimer; 44 SkAnimTimer fAnimTimer;
45 SkTArray<sk_sp<Slide>> fSlides; 45 SkTArray<sk_sp<Slide>> fSlides;
46 int fCurrentSlide; 46 int fCurrentSlide;
47 47
48 bool fDisplayStats; 48 bool fDisplayStats;
49 49
50 sk_app::Window::BackendType fBackendType;
51
52 // transform data 50 // transform data
53 SkMatrix fLocalMatrix; 51 SkMatrix fLocalMatrix;
54 SkScalar fZoomCenterX; 52 SkScalar fZoomCenterX;
55 SkScalar fZoomCenterY; 53 SkScalar fZoomCenterY;
56 SkScalar fZoomLevel; 54 SkScalar fZoomLevel;
57 SkScalar fZoomScale; 55 SkScalar fZoomScale;
58 56
59 sk_app::CommandSet fCommands; 57 sk_app::CommandSet fCommands;
60 }; 58 };
61 59
62 60
63 #endif 61 #endif
OLDNEW
« no previous file with comments | « src/gpu/vk/GrVkBuffer.cpp ('k') | tools/viewer/Viewer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698