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

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

Issue 2482923003: gl_context_glx: add workaround to create default context (Closed)
Patch Set: 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_context_glx.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"
(...skipping 12 matching lines...) Expand all
23 GL_EXPORT extern const char kANGLEImplementationDefaultName[]; 23 GL_EXPORT extern const char kANGLEImplementationDefaultName[];
24 GL_EXPORT extern const char kANGLEImplementationD3D9Name[]; 24 GL_EXPORT extern const char kANGLEImplementationD3D9Name[];
25 GL_EXPORT extern const char kANGLEImplementationD3D11Name[]; 25 GL_EXPORT extern const char kANGLEImplementationD3D11Name[];
26 GL_EXPORT extern const char kANGLEImplementationOpenGLName[]; 26 GL_EXPORT extern const char kANGLEImplementationOpenGLName[];
27 GL_EXPORT extern const char kANGLEImplementationOpenGLESName[]; 27 GL_EXPORT extern const char kANGLEImplementationOpenGLESName[];
28 28
29 } // namespace gl 29 } // namespace gl
30 30
31 namespace switches { 31 namespace switches {
32 32
33 GL_EXPORT extern const char kCreateDefaultGLContext[];
33 GL_EXPORT extern const char kDisableD3D11[]; 34 GL_EXPORT extern const char kDisableD3D11[];
34 GL_EXPORT extern const char kDisableES3GLContext[]; 35 GL_EXPORT extern const char kDisableES3GLContext[];
35 GL_EXPORT extern const char kDisableGpuVsync[]; 36 GL_EXPORT extern const char kDisableGpuVsync[];
36 GL_EXPORT extern const char kEnableGPUServiceLogging[]; 37 GL_EXPORT extern const char kEnableGPUServiceLogging[];
37 GL_EXPORT extern const char kEnableGPUServiceTracing[]; 38 GL_EXPORT extern const char kEnableGPUServiceTracing[];
38 GL_EXPORT extern const char kGpuNoContextLost[]; 39 GL_EXPORT extern const char kGpuNoContextLost[];
39 GL_EXPORT extern const char kDisableDirectComposition[]; 40 GL_EXPORT extern const char kDisableDirectComposition[];
40 41
41 GL_EXPORT extern const char kSupportsDualGpus[]; 42 GL_EXPORT extern const char kSupportsDualGpus[];
42 43
(...skipping 10 matching lines...) Expand all
53 // These flags are used by the test harness code, not passed in by users. 54 // These flags are used by the test harness code, not passed in by users.
54 GL_EXPORT extern const char kDisableGLDrawingForTests[]; 55 GL_EXPORT extern const char kDisableGLDrawingForTests[];
55 GL_EXPORT extern const char kOverrideUseGLWithOSMesaForTests[]; 56 GL_EXPORT extern const char kOverrideUseGLWithOSMesaForTests[];
56 57
57 GL_EXPORT extern const char* kGLSwitchesCopiedFromGpuProcessHost[]; 58 GL_EXPORT extern const char* kGLSwitchesCopiedFromGpuProcessHost[];
58 GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches; 59 GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches;
59 60
60 } // namespace switches 61 } // namespace switches
61 62
62 #endif // UI_GL_GL_SWITCHES_H_ 63 #endif // UI_GL_GL_SWITCHES_H_
OLDNEW
« no previous file with comments | « ui/gl/gl_context_glx.cc ('k') | ui/gl/gl_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698