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

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

Issue 2354423002: Enable ANGLE ES3 by default in Chromium (Windows) (Closed)
Patch Set: rebase Created 4 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 | « ui/gl/gl_switches.h ('k') | no next file » | 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 #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 gl { 8 namespace gl {
9 9
10 const char kGLImplementationDesktopName[] = "desktop"; 10 const char kGLImplementationDesktopName[] = "desktop";
(...skipping 10 matching lines...) Expand all
21 const char kANGLEImplementationOpenGLName[] = "gl"; 21 const char kANGLEImplementationOpenGLName[] = "gl";
22 const char kANGLEImplementationOpenGLESName[] = "gles"; 22 const char kANGLEImplementationOpenGLESName[] = "gles";
23 23
24 } // namespace gl 24 } // namespace gl
25 25
26 namespace switches { 26 namespace switches {
27 27
28 // Disables use of D3D11. 28 // Disables use of D3D11.
29 const char kDisableD3D11[] = "disable-d3d11"; 29 const char kDisableD3D11[] = "disable-d3d11";
30 30
31 // Disables use of ES3 backend (use ES2 backend instead).
32 const char kDisableES3GLContext[] = "disable-es3-gl-context";
33
31 // Stop the GPU from synchronizing on the vsync before presenting. 34 // Stop the GPU from synchronizing on the vsync before presenting.
32 // We can select from the options below: 35 // We can select from the options below:
33 // beginframe: Next frame can start without any delay on cc::scheduler in 36 // beginframe: Next frame can start without any delay on cc::scheduler in
34 // renderer compositors. 37 // renderer compositors.
35 // gpu: Disable display and browser vsync. 38 // gpu: Disable display and browser vsync.
36 // default: Set both flags. 39 // default: Set both flags.
37 const char kDisableGpuVsync[] = "disable-gpu-vsync"; 40 const char kDisableGpuVsync[] = "disable-gpu-vsync";
38 41
39 // Turns on GPU logging (debug build only). 42 // Turns on GPU logging (debug build only).
40 const char kEnableGPUServiceLogging[] = "enable-gpu-service-logging"; 43 const char kEnableGPUServiceLogging[] = "enable-gpu-service-logging";
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 kDisableGLDrawingForTests, 118 kDisableGLDrawingForTests,
116 kOverrideUseGLWithOSMesaForTests, 119 kOverrideUseGLWithOSMesaForTests,
117 kUseANGLE, 120 kUseANGLE,
118 kDisableDirectComposition, 121 kDisableDirectComposition,
119 kEnableSwapBuffersWithDamage, 122 kEnableSwapBuffersWithDamage,
120 }; 123 };
121 const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches = 124 const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches =
122 arraysize(kGLSwitchesCopiedFromGpuProcessHost); 125 arraysize(kGLSwitchesCopiedFromGpuProcessHost);
123 126
124 } // namespace switches 127 } // namespace switches
OLDNEW
« no previous file with comments | « ui/gl/gl_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698