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 | 7 |
8 #include "SampleApp.h" | 8 #include "SampleApp.h" |
9 | 9 |
10 #include "OverView.h" | 10 #include "OverView.h" |
(...skipping 21 matching lines...) Expand all Loading... |
32 #include "SkWindow.h" | 32 #include "SkWindow.h" |
33 #include "sk_tool_utils.h" | 33 #include "sk_tool_utils.h" |
34 | 34 |
35 #if SK_SUPPORT_GPU | 35 #if SK_SUPPORT_GPU |
36 # include "gl/GrGLInterface.h" | 36 # include "gl/GrGLInterface.h" |
37 # include "gl/GrGLUtil.h" | 37 # include "gl/GrGLUtil.h" |
38 # include "GrRenderTarget.h" | 38 # include "GrRenderTarget.h" |
39 # include "GrContext.h" | 39 # include "GrContext.h" |
40 # include "SkGpuDevice.h" | 40 # include "SkGpuDevice.h" |
41 # if SK_ANGLE | 41 # if SK_ANGLE |
42 # include "gl/angle/GLContext_angle.h" | 42 # include "gl/angle/GLTestContext_angle.h" |
43 # endif | 43 # endif |
44 #else | 44 #else |
45 class GrContext; | 45 class GrContext; |
46 #endif | 46 #endif |
47 | 47 |
48 const struct { | 48 const struct { |
49 SkColorType fColorType; | 49 SkColorType fColorType; |
50 SkColorProfileType fProfileType; | 50 SkColorProfileType fProfileType; |
51 const char* fName; | 51 const char* fName; |
52 } gConfig[] = { | 52 } gConfig[] = { |
(...skipping 2324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2377 #ifdef SK_BUILD_FOR_MAC | 2377 #ifdef SK_BUILD_FOR_MAC |
2378 setenv("ANDROID_ROOT", "/android/device/data", 0); | 2378 setenv("ANDROID_ROOT", "/android/device/data", 0); |
2379 #endif | 2379 #endif |
2380 SkGraphics::Init(); | 2380 SkGraphics::Init(); |
2381 SkEvent::Init(); | 2381 SkEvent::Init(); |
2382 } | 2382 } |
2383 | 2383 |
2384 void application_term() { | 2384 void application_term() { |
2385 SkEvent::Term(); | 2385 SkEvent::Term(); |
2386 } | 2386 } |
OLD | NEW |