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

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

Issue 603273003: Prevent static mojo builds from pulling //ui/gl into mojo_shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address James' comments Created 6 years, 2 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 | « mojo/shell/desktop/mojo_main.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 gfx { 12 namespace gfx {
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 kGLImplementationSwiftShaderName[]; 19 GL_EXPORT extern const char kGLImplementationSwiftShaderName[];
20 extern const char kGLImplementationMockName[]; 20 extern const char kGLImplementationMockName[];
21 21
22 } // namespace gfx 22 } // namespace gfx
23 23
24 namespace switches { 24 namespace switches {
25 25
26 GL_EXPORT extern const char kDisableD3D11[]; 26 GL_EXPORT extern const char kDisableD3D11[];
27 GL_EXPORT extern const char kDisableGpuVsync[]; 27 GL_EXPORT extern const char kDisableGpuVsync[];
28 GL_EXPORT extern const char kEnableGPUServiceLogging[]; 28 GL_EXPORT extern const char kEnableGPUServiceLogging[];
29 GL_EXPORT extern const char kEnableGPUClientLogging[];
30 GL_EXPORT extern const char kEnableGPUServiceTracing[]; 29 GL_EXPORT extern const char kEnableGPUServiceTracing[];
31 GL_EXPORT extern const char kGpuNoContextLost[]; 30 GL_EXPORT extern const char kGpuNoContextLost[];
32 31
33 GL_EXPORT extern const char kSupportsDualGpus[]; 32 GL_EXPORT extern const char kSupportsDualGpus[];
34 33
35 GL_EXPORT extern const char kUseGL[]; 34 GL_EXPORT extern const char kUseGL[];
36 GL_EXPORT extern const char kSwiftShaderPath[]; 35 GL_EXPORT extern const char kSwiftShaderPath[];
37 GL_EXPORT extern const char kTestGLLib[]; 36 GL_EXPORT extern const char kTestGLLib[];
38 GL_EXPORT extern const char kUseGpuInTests[]; 37 GL_EXPORT extern const char kUseGpuInTests[];
39 GL_EXPORT extern const char kUseWarp[]; 38 GL_EXPORT extern const char kUseWarp[];
40 39
41 // These flags are used by the test harness code, not passed in by users. 40 // These flags are used by the test harness code, not passed in by users.
42 GL_EXPORT extern const char kDisableGLDrawingForTests[]; 41 GL_EXPORT extern const char kDisableGLDrawingForTests[];
43 GL_EXPORT extern const char kOverrideUseGLWithOSMesaForTests[]; 42 GL_EXPORT extern const char kOverrideUseGLWithOSMesaForTests[];
44 43
45 GL_EXPORT extern const char* kGLSwitchesCopiedFromGpuProcessHost[]; 44 GL_EXPORT extern const char* kGLSwitchesCopiedFromGpuProcessHost[];
46 GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches; 45 GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches;
47 46
48 } // namespace switches 47 } // namespace switches
49 48
50 #endif // UI_GL_GL_SWITCHES_H_ 49 #endif // UI_GL_GL_SWITCHES_H_
OLDNEW
« no previous file with comments | « mojo/shell/desktop/mojo_main.cc ('k') | ui/gl/gl_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698