OLD | NEW |
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 |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 static SkTHashMap<void*, SkOSWindow*> gHwndToOSWindowMap; | 84 static SkTHashMap<void*, SkOSWindow*> gHwndToOSWindowMap; |
85 | 85 |
86 WindowInit fWinInit; | 86 WindowInit fWinInit; |
87 void* fHWND; | 87 void* fHWND; |
88 | 88 |
89 void doPaint(void* ctx); | 89 void doPaint(void* ctx); |
90 | 90 |
91 #if SK_SUPPORT_GPU | 91 #if SK_SUPPORT_GPU |
92 void* fHGLRC; | 92 void* fHGLRC; |
93 #if SK_ANGLE | 93 #if SK_ANGLE |
94 EGLDisplay fDisplay; | 94 EGLDisplay fDisplay; |
95 EGLContext fContext; | 95 EGLContext fContext; |
96 EGLSurface fSurface; | 96 EGLSurface fSurface; |
97 EGLConfig fConfig; | 97 EGLConfig fConfig; |
98 SkAutoTUnref<const GrGLInterface> fANGLEInterface; | 98 sk_sp<const GrGLInterface> fANGLEInterface; |
99 #endif // SK_ANGLE | 99 #endif // SK_ANGLE |
100 #endif // SK_SUPPORT_GPU | 100 #endif // SK_SUPPORT_GPU |
101 | 101 |
102 bool fFullscreen; | 102 bool fFullscreen; |
103 struct SavedWindowState { | 103 struct SavedWindowState { |
104 bool fZoomed; | 104 bool fZoomed; |
105 LONG fStyle; | 105 LONG fStyle; |
106 LONG fExStyle; | 106 LONG fExStyle; |
107 RECT fRect; | 107 RECT fRect; |
108 LONG fScreenWidth; | 108 LONG fScreenWidth; |
(...skipping 17 matching lines...) Expand all Loading... |
126 void detachANGLE(); | 126 void detachANGLE(); |
127 void presentANGLE(); | 127 void presentANGLE(); |
128 #endif // SK_ANGLE | 128 #endif // SK_ANGLE |
129 | 129 |
130 #endif // SK_SUPPORT_GPU | 130 #endif // SK_SUPPORT_GPU |
131 | 131 |
132 typedef SkWindow INHERITED; | 132 typedef SkWindow INHERITED; |
133 }; | 133 }; |
134 | 134 |
135 #endif | 135 #endif |
OLD | NEW |