| 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 30 matching lines...) Expand all Loading... |
| 41 #if SK_ANGLE | 41 #if SK_ANGLE |
| 42 kANGLE_BackEndType, | 42 kANGLE_BackEndType, |
| 43 #endif // SK_ANGLE | 43 #endif // SK_ANGLE |
| 44 #if SK_COMMAND_BUFFER | 44 #if SK_COMMAND_BUFFER |
| 45 kCommandBuffer_BackEndType, | 45 kCommandBuffer_BackEndType, |
| 46 #endif // SK_COMMAND_BUFFER | 46 #endif // SK_COMMAND_BUFFER |
| 47 #endif // SK_SUPPORT_GPU | 47 #endif // SK_SUPPORT_GPU |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 bool attach(SkBackEndTypes attachType, int msaaSampleCount, AttachmentInfo*)
; | 50 bool attach(SkBackEndTypes attachType, int msaaSampleCount, AttachmentInfo*)
; |
| 51 void detach(); | 51 void release(); |
| 52 void present(); | 52 void present(); |
| 53 | 53 |
| 54 bool wndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); | 54 bool wndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); |
| 55 static bool QuitOnDeactivate(HWND hWnd); | 55 static bool QuitOnDeactivate(HWND hWnd); |
| 56 | 56 |
| 57 enum { | 57 enum { |
| 58 SK_WM_SkEvent = WM_APP + 1000, | 58 SK_WM_SkEvent = WM_APP + 1000, |
| 59 SK_WM_SkTimerID = 0xFFFF // just need a non-zero value | 59 SK_WM_SkTimerID = 0xFFFF // just need a non-zero value |
| 60 }; | 60 }; |
| 61 | 61 |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 bool attachCommandBuffer(int msaaSampleCount, AttachmentInfo* info); | 140 bool attachCommandBuffer(int msaaSampleCount, AttachmentInfo* info); |
| 141 void detachCommandBuffer(); | 141 void detachCommandBuffer(); |
| 142 void presentCommandBuffer(); | 142 void presentCommandBuffer(); |
| 143 #endif // SK_COMMAND_BUFFER | 143 #endif // SK_COMMAND_BUFFER |
| 144 #endif // SK_SUPPORT_GPU | 144 #endif // SK_SUPPORT_GPU |
| 145 | 145 |
| 146 typedef SkWindow INHERITED; | 146 typedef SkWindow INHERITED; |
| 147 }; | 147 }; |
| 148 | 148 |
| 149 #endif | 149 #endif |
| OLD | NEW |