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

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

Issue 2626413002: Route D3D VSync signal to Compositor (Closed)
Patch Set: Merged with recent BeginFrameSource changes Created 3 years, 10 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 kDisableGLDrawingForTests, 128 kDisableGLDrawingForTests,
129 kOverrideUseSoftwareGLForTests, 129 kOverrideUseSoftwareGLForTests,
130 kUseANGLE, 130 kUseANGLE,
131 kDisableDirectComposition, 131 kDisableDirectComposition,
132 kEnableSwapBuffersWithBounds, 132 kEnableSwapBuffersWithBounds,
133 }; 133 };
134 const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches = 134 const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches =
135 arraysize(kGLSwitchesCopiedFromGpuProcessHost); 135 arraysize(kGLSwitchesCopiedFromGpuProcessHost);
136 136
137 } // namespace switches 137 } // namespace switches
138
139 namespace features {
140
141 #if defined(OS_WIN)
142 // Wait for D3D VSync signals in GPU process (as opposed to delay based VSync
143 // generated in Browser process based on VSync parameters).
144 const base::Feature kD3DVsync{"D3DVsync", base::FEATURE_DISABLED_BY_DEFAULT};
145 #endif // defined(OS_WIN)
146
147 } // namespace features
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