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

Unified Diff: ui/gl/gl_switches.h

Issue 2626413002: Route D3D VSync signal to Compositor (Closed)
Patch Set: Implement GPU VSync provider as gl::VSyncProvider Created 3 years, 11 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 5edf397857a25ada260d633cee111b17a0edb312..d2429cdbaed2ee6a5b89738e06ff88aed6d4a5ee 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 {
@@ -62,4 +63,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