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

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

Issue 2058763002: Cleanup VulkanWindowContext for use on Android (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Cleanup VulkanWindowContext for use on Android Created 4 years, 6 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 | « no previous file | tools/viewer/sk_app/VulkanWindowContext.h » ('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
11 #include "sk_app/Application.h" 11 #include "sk_app/Application.h"
12 #include "sk_app/CommandSet.h" 12 #include "sk_app/CommandSet.h"
13 #include "sk_app/Window.h" 13 #include "sk_app/Window.h"
14 #include "gm.h" 14 #include "gm.h"
15 #include "SkAnimTimer.h" 15 #include "SkAnimTimer.h"
16 #include "SkTouchGesture.h"
16 #include "Slide.h" 17 #include "Slide.h"
17 18
18 class SkCanvas; 19 class SkCanvas;
19 20
20 class Viewer : public sk_app::Application { 21 class Viewer : public sk_app::Application {
21 public: 22 public:
22 Viewer(int argc, char** argv, void* platformData); 23 Viewer(int argc, char** argv, void* platformData);
23 ~Viewer() override; 24 ~Viewer() override;
24 25
25 void onPaint(SkCanvas* canvas); 26 void onPaint(SkCanvas* canvas);
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 66
66 // identity unless the window initially scales the content to fit the screen . 67 // identity unless the window initially scales the content to fit the screen .
67 SkMatrix fDefaultMatrix; 68 SkMatrix fDefaultMatrix;
68 SkMatrix fDefaultMatrixInv; 69 SkMatrix fDefaultMatrixInv;
69 70
70 Json::Value fAllSlideNames; // cache all slide names for fast upd ateUIState 71 Json::Value fAllSlideNames; // cache all slide names for fast upd ateUIState
71 }; 72 };
72 73
73 74
74 #endif 75 #endif
OLDNEW
« no previous file with comments | « no previous file | tools/viewer/sk_app/VulkanWindowContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698