| 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
|
|
|