OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2012 Google Inc. | 2 * Copyright 2012 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 | 7 |
9 #include "gl/GrGLInterface.h" | 8 #include "gl/GrGLInterface.h" |
10 #include "gl/GrGLAssembleInterface.h" | 9 #include "gl/GrGLAssembleInterface.h" |
11 #include "../ports/SkOSLibrary.h" | 10 #include "../ports/SkOSLibrary.h" |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 #endif | 48 #endif |
50 } | 49 } |
51 | 50 |
52 if (nullptr == gLibs.fGLLib || nullptr == gLibs.fEGLLib) { | 51 if (nullptr == gLibs.fGLLib || nullptr == gLibs.fEGLLib) { |
53 // We can't setup the interface correctly w/o the so | 52 // We can't setup the interface correctly w/o the so |
54 return nullptr; | 53 return nullptr; |
55 } | 54 } |
56 | 55 |
57 return GrGLAssembleGLESInterface(&gLibs, angle_get_gl_proc); | 56 return GrGLAssembleGLESInterface(&gLibs, angle_get_gl_proc); |
58 } | 57 } |
OLD | NEW |