Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(504)

Side by Side Diff: ui/gl/gl_implementation_osmesa.h

Issue 1946873005: Move LoadLibraryAndPrintError helpers to common gl_implementation.h/.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and use base::FilePath::CharType to fix build failure on win os Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/gl/gl_implementation.cc ('k') | ui/gl/gl_implementation_osmesa.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_
OLDNEW
« no previous file with comments | « ui/gl/gl_implementation.cc ('k') | ui/gl/gl_implementation_osmesa.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698