| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
| 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 #include "Test.h" | 8 #include "Test.h" |
| 9 | 9 |
| 10 #include "SkError.h" |
| 10 #include "SkString.h" | 11 #include "SkString.h" |
| 11 #include "SkTArray.h" | 12 #include "SkTArray.h" |
| 12 #include "SkTime.h" | 13 #include "SkTime.h" |
| 13 #include "SkError.h" | |
| 14 | 14 |
| 15 #if SK_SUPPORT_GPU | 15 #if SK_SUPPORT_GPU |
| 16 #include "GrContext.h" | 16 #include "GrContext.h" |
| 17 #include "gl/SkNativeGLContext.h" | 17 #include "gl/SkNativeGLContext.h" |
| 18 #else | 18 #else |
| 19 class GrContext; | 19 class GrContext; |
| 20 #endif | 20 #endif |
| 21 | 21 |
| 22 using namespace skiatest; | 22 using namespace skiatest; |
| 23 | 23 |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 #else | 127 #else |
| 128 return NULL; | 128 return NULL; |
| 129 #endif | 129 #endif |
| 130 } | 130 } |
| 131 | 131 |
| 132 void GpuTest::DestroyContexts() { | 132 void GpuTest::DestroyContexts() { |
| 133 #if SK_SUPPORT_GPU | 133 #if SK_SUPPORT_GPU |
| 134 gGrContextFactory.destroyContexts(); | 134 gGrContextFactory.destroyContexts(); |
| 135 #endif | 135 #endif |
| 136 } | 136 } |
| OLD | NEW |