| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 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 #include "SkTypes.h" | 7 #include "SkTypes.h" |
| 8 | 8 |
| 9 #if defined(SK_BUILD_FOR_WIN) | 9 #if defined(SK_BUILD_FOR_WIN) |
| 10 | 10 |
| 11 #include "SkLeanWindows.h" |
| 12 |
| 11 #include <GL/gl.h> | 13 #include <GL/gl.h> |
| 12 #include <WindowsX.h> | 14 #include <WindowsX.h> |
| 13 #include "win/SkWGL.h" | 15 #include "win/SkWGL.h" |
| 14 #include "SkWindow.h" | 16 #include "SkWindow.h" |
| 15 #include "SkCanvas.h" | 17 #include "SkCanvas.h" |
| 16 #include "SkOSMenu.h" | 18 #include "SkOSMenu.h" |
| 17 #include "SkTime.h" | 19 #include "SkTime.h" |
| 18 #include "SkUtils.h" | 20 #include "SkUtils.h" |
| 19 | 21 |
| 20 #include "SkGraphics.h" | 22 #include "SkGraphics.h" |
| (...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 829 } | 831 } |
| 830 | 832 |
| 831 void SkOSWindow::closeWindow() { | 833 void SkOSWindow::closeWindow() { |
| 832 DestroyWindow((HWND)fHWND); | 834 DestroyWindow((HWND)fHWND); |
| 833 if (fFullscreen) { | 835 if (fFullscreen) { |
| 834 DestroyWindow((HWND)fSavedWindowState.fHWND); | 836 DestroyWindow((HWND)fSavedWindowState.fHWND); |
| 835 } | 837 } |
| 836 gHwndToOSWindowMap.remove(fHWND); | 838 gHwndToOSWindowMap.remove(fHWND); |
| 837 } | 839 } |
| 838 #endif | 840 #endif |
| OLD | NEW |