OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 The Android Open Source Project |
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 | 7 |
8 #ifndef SkWindow_DEFINED | 8 #ifndef SkWindow_DEFINED |
9 #define SkWindow_DEFINED | 9 #define SkWindow_DEFINED |
10 | 10 |
11 #include "SkView.h" | 11 #include "SkView.h" |
12 #include "SkBitmap.h" | 12 #include "SkBitmap.h" |
13 #include "SkMatrix.h" | 13 #include "SkMatrix.h" |
14 #include "SkRegion.h" | 14 #include "SkRegion.h" |
15 #include "SkEvent.h" | 15 #include "SkEvent.h" |
16 #include "SkKey.h" | 16 #include "SkKey.h" |
17 #include "SkSurfaceProps.h" | 17 #include "SkSurfaceProps.h" |
18 #include "SkTDArray.h" | 18 #include "SkTDArray.h" |
19 | 19 |
20 #ifdef SK_BUILD_FOR_WINCEx | |
21 #define SHOW_FPS | |
22 #endif | |
23 //#define USE_GX_SCREEN | |
24 | |
25 class SkSurface; | 20 class SkSurface; |
26 class SkOSMenu; | 21 class SkOSMenu; |
27 | 22 |
28 #if SK_SUPPORT_GPU | 23 #if SK_SUPPORT_GPU |
29 struct GrGLInterface; | 24 struct GrGLInterface; |
30 class GrContext; | 25 class GrContext; |
31 class GrRenderTarget; | 26 class GrRenderTarget; |
32 #endif | 27 #endif |
33 | 28 |
34 class SkWindow : public SkView { | 29 class SkWindow : public SkView { |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 #include "SkOSWindow_Android.h" | 126 #include "SkOSWindow_Android.h" |
132 #elif defined(SK_BUILD_FOR_UNIX) | 127 #elif defined(SK_BUILD_FOR_UNIX) |
133 #include "SkOSWindow_Unix.h" | 128 #include "SkOSWindow_Unix.h" |
134 #elif defined(SK_BUILD_FOR_SDL) | 129 #elif defined(SK_BUILD_FOR_SDL) |
135 #include "SkOSWindow_SDL.h" | 130 #include "SkOSWindow_SDL.h" |
136 #elif defined(SK_BUILD_FOR_IOS) | 131 #elif defined(SK_BUILD_FOR_IOS) |
137 #include "SkOSWindow_iOS.h" | 132 #include "SkOSWindow_iOS.h" |
138 #endif | 133 #endif |
139 | 134 |
140 #endif | 135 #endif |
OLD | NEW |