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

Unified Diff: ui/gl/gl_switches.cc

Issue 2780073002: Disable DirectComposition underlays and complex transforms by default. (Closed)
Patch Set: fix tests Created 3 years, 9 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
« no previous file with comments | « ui/gl/gl_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_switches.cc
diff --git a/ui/gl/gl_switches.cc b/ui/gl/gl_switches.cc
index e06043e4fda98dd3d8c9371d4c5096ca5740db6f..ba72048a5a3319e8db0caded90590745407ed2ff 100644
--- a/ui/gl/gl_switches.cc
+++ b/ui/gl/gl_switches.cc
@@ -153,4 +153,15 @@ namespace features {
const base::Feature kD3DVsync{"D3DVsync", base::FEATURE_DISABLED_BY_DEFAULT};
#endif // defined(OS_WIN)
+// Allow putting a video swapchain underneath the main swapchain, so overlays
+// can be used even if there are controls on top of the video. This requires
+// the DirectCompositionOverlays feature to be enabled.
+const base::Feature kDirectCompositionUnderlays{
+ "DirectCompositionUnderlays", base::FEATURE_DISABLED_BY_DEFAULT};
+
+// Allow putting content with complex transforms (e.g. rotations) into an
+// overlay.
+const base::Feature kDirectCompositionComplexOverlays{
+ "DirectCompositionComplexOverlays", base::FEATURE_DISABLED_BY_DEFAULT};
+
} // namespace features
« 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