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

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

Issue 1151093006: Added disabling EGL extensions support with --disable-extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed some strange formatting Created 5 years, 6 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 "ui/gl/gl_switches.h" 5 #include "ui/gl/gl_switches.h"
6 #include "base/basictypes.h" 6 #include "base/basictypes.h"
7 7
8 namespace gfx { 8 namespace gfx {
9 9
10 const char kGLImplementationDesktopName[] = "desktop"; 10 const char kGLImplementationDesktopName[] = "desktop";
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 77
78 // Disables GL drawing operations which produce pixel output. With this 78 // Disables GL drawing operations which produce pixel output. With this
79 // the GL output will not be correct but tests will run faster. 79 // the GL output will not be correct but tests will run faster.
80 const char kDisableGLDrawingForTests[] = "disable-gl-drawing-for-tests"; 80 const char kDisableGLDrawingForTests[] = "disable-gl-drawing-for-tests";
81 81
82 // Forces the use of OSMesa instead of hardware gpu. 82 // Forces the use of OSMesa instead of hardware gpu.
83 const char kOverrideUseGLWithOSMesaForTests[] = 83 const char kOverrideUseGLWithOSMesaForTests[] =
84 "override-use-gl-with-osmesa-for-tests"; 84 "override-use-gl-with-osmesa-for-tests";
85 85
86 // Disables specified comma separated GL Extensions if found. 86 // Disables specified comma separated GL Extensions if found.
87 const char kDisableGLExtensions[] = "disable-gl-extensions"; 87 const char kDisableExtensions[] = "disable-extensions";
88 88
89 // This is the list of switches passed from this file that are passed from the 89 // This is the list of switches passed from this file that are passed from the
90 // GpuProcessHost to the GPU Process. Add your switch to this list if you need 90 // GpuProcessHost to the GPU Process. Add your switch to this list if you need
91 // to read it in the GPU process, else don't add it. 91 // to read it in the GPU process, else don't add it.
92 const char* kGLSwitchesCopiedFromGpuProcessHost[] = { 92 const char* kGLSwitchesCopiedFromGpuProcessHost[] = {
93 kDisableGpuVsync, 93 kDisableGpuVsync,
94 kDisableD3D11, 94 kDisableD3D11,
95 kEnableGPUServiceLogging, 95 kEnableGPUServiceLogging,
96 kEnableGPUServiceTracing, 96 kEnableGPUServiceTracing,
97 kEnableUnsafeES3APIs, 97 kEnableUnsafeES3APIs,
98 kGpuNoContextLost, 98 kGpuNoContextLost,
99 kDisableGLDrawingForTests, 99 kDisableGLDrawingForTests,
100 kOverrideUseGLWithOSMesaForTests, 100 kOverrideUseGLWithOSMesaForTests,
101 kUseANGLE, 101 kUseANGLE,
102 }; 102 };
103 const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches = 103 const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches =
104 arraysize(kGLSwitchesCopiedFromGpuProcessHost); 104 arraysize(kGLSwitchesCopiedFromGpuProcessHost);
105 105
106 } // namespace switches 106 } // namespace switches
107 107
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698