summaryrefslogtreecommitdiffstats
path: root/chromium/ui/gl/gl_implementation_osmesa.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/gl/gl_implementation_osmesa.h')
-rw-r--r--chromium/ui/gl/gl_implementation_osmesa.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/chromium/ui/gl/gl_implementation_osmesa.h b/chromium/ui/gl/gl_implementation_osmesa.h
new file mode 100644
index 00000000000..595c24edc7a
--- /dev/null
+++ b/chromium/ui/gl/gl_implementation_osmesa.h
@@ -0,0 +1,19 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_GL_GL_IMPLEMENTATION_OSMESA_
+#define UI_GL_GL_IMPLEMENTATION_OSMESA_
+
+#include "base/files/file_path.h"
+#include "base/native_library.h"
+
+namespace gfx {
+
+bool InitializeStaticGLBindingsOSMesaGL();
+base::NativeLibrary LoadLibraryAndPrintError(const char* filename);
+base::NativeLibrary LoadLibraryAndPrintError(const base::FilePath& filename);
+
+} // namespace gfx
+
+#endif // UI_GL_GL_IMPLEMENTATION_OSMESA_