OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_GL_GL_IMPLEMENTATION_OSMESA_ | 5 #ifndef UI_GL_GL_IMPLEMENTATION_OSMESA_ |
6 #define UI_GL_GL_IMPLEMENTATION_OSMESA_ | 6 #define UI_GL_GL_IMPLEMENTATION_OSMESA_ |
7 | 7 |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/native_library.h" | 9 #include "base/native_library.h" |
10 | 10 |
11 namespace gfx { | 11 namespace gfx { |
12 | 12 |
13 bool InitializeStaticGLBindingsOSMesaGL(); | 13 bool InitializeStaticGLBindingsOSMesaGL(); |
14 base::NativeLibrary LoadLibraryAndPrintError(const char* filename); | |
15 base::NativeLibrary LoadLibraryAndPrintError(const base::FilePath& filename); | |
16 | 14 |
17 } // namespace gfx | 15 } // namespace gfx |
18 | 16 |
19 #endif // UI_GL_GL_IMPLEMENTATION_OSMESA_ | 17 #endif // UI_GL_GL_IMPLEMENTATION_OSMESA_ |
OLD | NEW |