| OLD | NEW |
| 1 | |
| 2 /* | 1 /* |
| 3 * Copyright 2014 Google Inc. | 2 * Copyright 2014 Google Inc. |
| 4 * | 3 * |
| 5 * 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 |
| 6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 7 */ | 6 */ |
| 8 #include "SkTypes.h" | 7 #include "SkTypes.h" |
| 9 #if defined(SK_BUILD_FOR_ANDROID) | 8 #if defined(SK_BUILD_FOR_ANDROID) |
| 10 | 9 |
| 11 #include "gl/GrGLInterface.h" | 10 #include "gl/GrGLInterface.h" |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 return (GrGLFuncPtr) eglGetCurrentDisplay; | 228 return (GrGLFuncPtr) eglGetCurrentDisplay; |
| 230 } | 229 } |
| 231 return eglGetProcAddress(name); | 230 return eglGetProcAddress(name); |
| 232 } | 231 } |
| 233 | 232 |
| 234 const GrGLInterface* GrGLCreateNativeInterface() { | 233 const GrGLInterface* GrGLCreateNativeInterface() { |
| 235 return GrGLAssembleInterface(nullptr, android_get_gl_proc); | 234 return GrGLAssembleInterface(nullptr, android_get_gl_proc); |
| 236 } | 235 } |
| 237 | 236 |
| 238 #endif//defined(SK_BUILD_FOR_ANDROID) | 237 #endif//defined(SK_BUILD_FOR_ANDROID) |
| OLD | NEW |