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

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

Issue 2629633003: Refactor GL bindings so there is no global GLApi or DriverGL. (Closed)
Patch Set: rebase Created 3 years, 10 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_stub_api.cc ('k') | ui/gl/gl_switches.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 (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_SWITCHES_H_ 5 #ifndef UI_GL_GL_SWITCHES_H_
6 #define UI_GL_GL_SWITCHES_H_ 6 #define UI_GL_GL_SWITCHES_H_
7 7
8 // Defines all the command-line switches used by ui/gl. 8 // Defines all the command-line switches used by ui/gl.
9 9
10 #include "ui/gl/gl_export.h" 10 #include "ui/gl/gl_export.h"
11 11
12 namespace gl { 12 namespace gl {
13 13
14 // The GL implementation names that can be passed to --use-gl. 14 // The GL implementation names that can be passed to --use-gl.
15 GL_EXPORT extern const char kGLImplementationDesktopName[]; 15 GL_EXPORT extern const char kGLImplementationDesktopName[];
16 GL_EXPORT extern const char kGLImplementationOSMesaName[]; 16 GL_EXPORT extern const char kGLImplementationOSMesaName[];
17 GL_EXPORT extern const char kGLImplementationAppleName[]; 17 GL_EXPORT extern const char kGLImplementationAppleName[];
18 GL_EXPORT extern const char kGLImplementationEGLName[]; 18 GL_EXPORT extern const char kGLImplementationEGLName[];
19 GL_EXPORT extern const char kGLImplementationANGLEName[]; 19 GL_EXPORT extern const char kGLImplementationANGLEName[];
20 GL_EXPORT extern const char kGLImplementationSwiftShaderName[]; 20 GL_EXPORT extern const char kGLImplementationSwiftShaderName[];
21 extern const char kGLImplementationMockName[]; 21 extern const char kGLImplementationMockName[];
22 extern const char kGLImplementationStubName[];
22 23
23 GL_EXPORT extern const char kANGLEImplementationDefaultName[]; 24 GL_EXPORT extern const char kANGLEImplementationDefaultName[];
24 GL_EXPORT extern const char kANGLEImplementationD3D9Name[]; 25 GL_EXPORT extern const char kANGLEImplementationD3D9Name[];
25 GL_EXPORT extern const char kANGLEImplementationD3D11Name[]; 26 GL_EXPORT extern const char kANGLEImplementationD3D11Name[];
26 GL_EXPORT extern const char kANGLEImplementationOpenGLName[]; 27 GL_EXPORT extern const char kANGLEImplementationOpenGLName[];
27 GL_EXPORT extern const char kANGLEImplementationOpenGLESName[]; 28 GL_EXPORT extern const char kANGLEImplementationOpenGLESName[];
28 GL_EXPORT extern const char kANGLEImplementationNullName[]; 29 GL_EXPORT extern const char kANGLEImplementationNullName[];
29 30
30 } // namespace gl 31 } // namespace gl
31 32
(...skipping 24 matching lines...) Expand all
56 // These flags are used by the test harness code, not passed in by users. 57 // These flags are used by the test harness code, not passed in by users.
57 GL_EXPORT extern const char kDisableGLDrawingForTests[]; 58 GL_EXPORT extern const char kDisableGLDrawingForTests[];
58 GL_EXPORT extern const char kOverrideUseGLWithOSMesaForTests[]; 59 GL_EXPORT extern const char kOverrideUseGLWithOSMesaForTests[];
59 60
60 GL_EXPORT extern const char* kGLSwitchesCopiedFromGpuProcessHost[]; 61 GL_EXPORT extern const char* kGLSwitchesCopiedFromGpuProcessHost[];
61 GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches; 62 GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches;
62 63
63 } // namespace switches 64 } // namespace switches
64 65
65 #endif // UI_GL_GL_SWITCHES_H_ 66 #endif // UI_GL_GL_SWITCHES_H_
OLDNEW
« no previous file with comments | « ui/gl/gl_stub_api.cc ('k') | ui/gl/gl_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698