| 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 |
| 11 #define SkOSWindow_Win_DEFINED | 11 #define SkOSWindow_Win_DEFINED |
| 12 | 12 |
| 13 #include "SkWindow.h" | 13 #include "SkWindow.h" |
| 14 #include "../private/SkFunction.h" | 14 #include "../../src/core/SkFunction.h" |
| 15 #include "../private/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 const TCHAR* fClass; | 24 const TCHAR* fClass; |
| 25 HINSTANCE fInstance; | 25 HINSTANCE fInstance; |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 |
| OLD | NEW |