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

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

Issue 2471853002: remove 'unsafe' from ES3 apis in gpu process (Closed)
Patch Set: forgot to save file 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 | « gpu/command_buffer/tests/gl_request_extension_unittest.cc ('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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 const char kEnableSwapBuffersWithDamage[] = "enable-swap-buffers-with-damage"; 109 const char kEnableSwapBuffersWithDamage[] = "enable-swap-buffers-with-damage";
110 110
111 // This is the list of switches passed from this file that are passed from the 111 // This is the list of switches passed from this file that are passed from the
112 // GpuProcessHost to the GPU Process. Add your switch to this list if you need 112 // GpuProcessHost to the GPU Process. Add your switch to this list if you need
113 // to read it in the GPU process, else don't add it. 113 // to read it in the GPU process, else don't add it.
114 const char* kGLSwitchesCopiedFromGpuProcessHost[] = { 114 const char* kGLSwitchesCopiedFromGpuProcessHost[] = {
115 kDisableGpuVsync, 115 kDisableGpuVsync,
116 kDisableD3D11, 116 kDisableD3D11,
117 kEnableGPUServiceLogging, 117 kEnableGPUServiceLogging,
118 kEnableGPUServiceTracing, 118 kEnableGPUServiceTracing,
119 kEnableUnsafeES3APIs,
120 kDisableES3APIs,
121 kEnableSgiVideoSync, 119 kEnableSgiVideoSync,
122 kGpuNoContextLost, 120 kGpuNoContextLost,
123 kDisableGLDrawingForTests, 121 kDisableGLDrawingForTests,
124 kOverrideUseGLWithOSMesaForTests, 122 kOverrideUseGLWithOSMesaForTests,
125 kUseANGLE, 123 kUseANGLE,
126 kDisableDirectComposition, 124 kDisableDirectComposition,
127 kEnableSwapBuffersWithDamage, 125 kEnableSwapBuffersWithDamage,
128 }; 126 };
129 const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches = 127 const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches =
130 arraysize(kGLSwitchesCopiedFromGpuProcessHost); 128 arraysize(kGLSwitchesCopiedFromGpuProcessHost);
131 129
132 } // namespace switches 130 } // namespace switches
OLDNEW
« no previous file with comments | « gpu/command_buffer/tests/gl_request_extension_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698