| 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 19 matching lines...) Expand all Loading... |
| 30 #include "SkTime.h" | 30 #include "SkTime.h" |
| 31 #include "SkTypeface.h" | 31 #include "SkTypeface.h" |
| 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 "SkGr.h" |
| 41 # if SK_ANGLE | 41 # if SK_ANGLE |
| 42 # include "gl/angle/GLTestContext_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; |
| (...skipping 2350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2401 #ifdef SK_BUILD_FOR_MAC | 2401 #ifdef SK_BUILD_FOR_MAC |
| 2402 setenv("ANDROID_ROOT", "/android/device/data", 0); | 2402 setenv("ANDROID_ROOT", "/android/device/data", 0); |
| 2403 #endif | 2403 #endif |
| 2404 SkGraphics::Init(); | 2404 SkGraphics::Init(); |
| 2405 SkEvent::Init(); | 2405 SkEvent::Init(); |
| 2406 } | 2406 } |
| 2407 | 2407 |
| 2408 void application_term() { | 2408 void application_term() { |
| 2409 SkEvent::Term(); | 2409 SkEvent::Term(); |
| 2410 } | 2410 } |
| OLD | NEW |