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

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

Issue 1547793004: Make gpu black list work again on Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
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 #include "base/macros.h" 5 #include "base/macros.h"
6 #include "ui/gl/gl_switches.h" 6 #include "ui/gl/gl_switches.h"
7 7
8 namespace gfx { 8 namespace gfx {
9 9
10 const char kGLImplementationDesktopName[] = "desktop"; 10 const char kGLImplementationDesktopName[] = "desktop";
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // the GL output will not be correct but tests will run faster. 86 // the GL output will not be correct but tests will run faster.
87 const char kDisableGLDrawingForTests[] = "disable-gl-drawing-for-tests"; 87 const char kDisableGLDrawingForTests[] = "disable-gl-drawing-for-tests";
88 88
89 // Forces the use of OSMesa instead of hardware gpu. 89 // Forces the use of OSMesa instead of hardware gpu.
90 const char kOverrideUseGLWithOSMesaForTests[] = 90 const char kOverrideUseGLWithOSMesaForTests[] =
91 "override-use-gl-with-osmesa-for-tests"; 91 "override-use-gl-with-osmesa-for-tests";
92 92
93 // Disables specified comma separated GL Extensions if found. 93 // Disables specified comma separated GL Extensions if found.
94 const char kDisableGLExtensions[] = "disable-gl-extensions"; 94 const char kDisableGLExtensions[] = "disable-gl-extensions";
95 95
96 // GL_VENDOR string.
97 const char kGLVendorString[] = "gl-vendor-string";
98
99 // GL_RENDERER string.
100 const char kGLRendererString[] = "gl-renderer-string";
101
102 // GL_VERSION string.
103 const char kGLVersionString[] = "gl-version-string";
104
96 // This is the list of switches passed from this file that are passed from the 105 // This is the list of switches passed from this file that are passed from the
97 // GpuProcessHost to the GPU Process. Add your switch to this list if you need 106 // GpuProcessHost to the GPU Process. Add your switch to this list if you need
98 // to read it in the GPU process, else don't add it. 107 // to read it in the GPU process, else don't add it.
99 const char* kGLSwitchesCopiedFromGpuProcessHost[] = { 108 const char* kGLSwitchesCopiedFromGpuProcessHost[] = {
100 kDisableGpuVsync, 109 kDisableGpuVsync,
101 kDisableD3D11, 110 kDisableD3D11,
102 kEnableGPUServiceLogging, 111 kEnableGPUServiceLogging,
103 kEnableGPUServiceTracing, 112 kEnableGPUServiceTracing,
104 kEnableUnsafeES3APIs, 113 kEnableUnsafeES3APIs,
105 kGpuNoContextLost, 114 kGpuNoContextLost,
106 kDisableGLDrawingForTests, 115 kDisableGLDrawingForTests,
107 kOverrideUseGLWithOSMesaForTests, 116 kOverrideUseGLWithOSMesaForTests,
108 kUseANGLE, 117 kUseANGLE,
109 kUseDirectComposition, 118 kUseDirectComposition,
119 kGLVendorString,
120 kGLRendererString,
121 kGLVersionString,
110 }; 122 };
111 const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches = 123 const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches =
112 arraysize(kGLSwitchesCopiedFromGpuProcessHost); 124 arraysize(kGLSwitchesCopiedFromGpuProcessHost);
113 125
114 } // namespace switches 126 } // namespace switches
115 127
OLDNEW
« content/browser/gpu/gpu_data_manager_impl_private.cc ('K') | « ui/gl/gl_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698