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

Side by Side Diff: include/views/SkOSWindow_Win.h

Issue 1185303004: Allow skia_win.cpp to be compiled in CONSOLE or GUI mode. (Closed) Base URL: https://skia.googlesource.com/skia.git@vb
Patch Set: Created 5 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 | « gyp/visualbench.gyp ('k') | src/views/win/skia_win.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 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkOSWindow_Win_DEFINED 10 #ifndef SkOSWindow_Win_DEFINED
11 #define SkOSWindow_Win_DEFINED 11 #define SkOSWindow_Win_DEFINED
12 12
13 #include "SkWindow.h" 13 #include "SkWindow.h"
14 #include "../../src/core/SkFunction.h" 14 #include "../../src/core/SkFunction.h"
15 #include "../../src/core/SkTHash.h" 15 #include "../../src/core/SkTHash.h"
16 16
17 #if SK_ANGLE 17 #if SK_ANGLE
18 #include "EGL/egl.h" 18 #include "EGL/egl.h"
19 #endif 19 #endif
20 20
21 class SkOSWindow : public SkWindow { 21 class SkOSWindow : public SkWindow {
22 public: 22 public:
23 struct WindowInit { 23 struct WindowInit {
24 TCHAR* fClass; 24 const TCHAR* fClass;
25 HINSTANCE fInstance; 25 HINSTANCE fInstance;
26 }; 26 };
27 27
28 SkOSWindow(const void* winInit); 28 SkOSWindow(const void* winInit);
29 virtual ~SkOSWindow(); 29 virtual ~SkOSWindow();
30 30
31 static bool PostEvent(SkEvent* evt, SkEventSinkID, SkMSec delay); 31 static bool PostEvent(SkEvent* evt, SkEventSinkID, SkMSec delay);
32 32
33 enum SkBackEndTypes { 33 enum SkBackEndTypes {
34 kNone_BackEndType, 34 kNone_BackEndType,
35 #if SK_SUPPORT_GPU 35 #if SK_SUPPORT_GPU
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 bool attachANGLE(int msaaSampleCount, AttachmentInfo* info); 124 bool attachANGLE(int msaaSampleCount, AttachmentInfo* info);
125 void detachANGLE(); 125 void detachANGLE();
126 void presentANGLE(); 126 void presentANGLE();
127 #endif // SK_ANGLE 127 #endif // SK_ANGLE
128 #endif // SK_SUPPORT_GPU 128 #endif // SK_SUPPORT_GPU
129 129
130 typedef SkWindow INHERITED; 130 typedef SkWindow INHERITED;
131 }; 131 };
132 132
133 #endif 133 #endif
OLDNEW
« no previous file with comments | « gyp/visualbench.gyp ('k') | src/views/win/skia_win.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698