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

Unified Diff: ui/gl/gl_switches.h

Issue 2626413002: Route D3D VSync signal to Compositor (Closed)
Patch Set: Limit GPU VSync to Win8+ 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 side-by-side diff with in-line comments
Download patch
Index: ui/gl/gl_switches.h
diff --git a/ui/gl/gl_switches.h b/ui/gl/gl_switches.h
index a6c398a37351cf2e57337b42c1ec56bb55983769..0e7c2d7fe169fb6d43c2ca39804cee7c2a69f664 100644
--- a/ui/gl/gl_switches.h
+++ b/ui/gl/gl_switches.h
@@ -7,6 +7,7 @@
// Defines all the command-line switches used by ui/gl.
+#include "base/feature_list.h"
#include "ui/gl/gl_export.h"
namespace gl {
@@ -64,4 +65,12 @@ GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches;
} // namespace switches
+namespace features {
+
+#if defined(OS_WIN)
+GL_EXPORT extern const base::Feature kD3DVsync;
+#endif // defined(OS_WIN)
+
+} // namespace features
+
#endif // UI_GL_GL_SWITCHES_H_

Powered by Google App Engine
This is Rietveld 408576698