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

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

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month 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_glx_api_implementation.h ('k') | ui/gl/gl_osmesa_api_implementation.h » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_H_ 5 #ifndef UI_GL_GL_IMPLEMENTATION_H_
6 #define UI_GL_GL_IMPLEMENTATION_H_ 6 #define UI_GL_GL_IMPLEMENTATION_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/native_library.h" 12 #include "base/native_library.h"
13 #include "build/build_config.h" 13 #include "build/build_config.h"
14 #include "ui/gl/gl_export.h" 14 #include "ui/gl/gl_export.h"
15 #include "ui/gl/gl_switches.h" 15 #include "ui/gl/gl_switches.h"
16 16
17 namespace gl { 17 namespace gl {
18 18
19 class GLContext;
20
21 // The GL implementation currently in use. 19 // The GL implementation currently in use.
22 enum GLImplementation { 20 enum GLImplementation {
23 kGLImplementationNone, 21 kGLImplementationNone,
24 kGLImplementationDesktopGL, 22 kGLImplementationDesktopGL,
25 kGLImplementationDesktopGLCoreProfile, 23 kGLImplementationDesktopGLCoreProfile,
26 kGLImplementationOSMesaGL, 24 kGLImplementationOSMesaGL,
27 kGLImplementationAppleGL, 25 kGLImplementationAppleGL,
28 kGLImplementationEGLGLES2, 26 kGLImplementationEGLGLES2,
29 kGLImplementationMockGL 27 kGLImplementationMockGL
30 }; 28 };
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 116
119 // Helpers to load a library and log error on failure. 117 // Helpers to load a library and log error on failure.
120 GL_EXPORT base::NativeLibrary LoadLibraryAndPrintError( 118 GL_EXPORT base::NativeLibrary LoadLibraryAndPrintError(
121 const base::FilePath::CharType* filename); 119 const base::FilePath::CharType* filename);
122 GL_EXPORT base::NativeLibrary LoadLibraryAndPrintError( 120 GL_EXPORT base::NativeLibrary LoadLibraryAndPrintError(
123 const base::FilePath& filename); 121 const base::FilePath& filename);
124 122
125 } // namespace gl 123 } // namespace gl
126 124
127 #endif // UI_GL_GL_IMPLEMENTATION_H_ 125 #endif // UI_GL_GL_IMPLEMENTATION_H_
OLDNEW
« no previous file with comments | « ui/gl/gl_glx_api_implementation.h ('k') | ui/gl/gl_osmesa_api_implementation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698