diff options
Diffstat (limited to 'chromium/ui/gl/gl_switches.cc')
-rw-r--r-- | chromium/ui/gl/gl_switches.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/chromium/ui/gl/gl_switches.cc b/chromium/ui/gl/gl_switches.cc index c047cd9a82b..f50a1528af6 100644 --- a/chromium/ui/gl/gl_switches.cc +++ b/chromium/ui/gl/gl_switches.cc @@ -141,6 +141,10 @@ const char kEnableDirectCompositionVideoOverlays[] = const char kDisableDirectCompositionVideoOverlays[] = "disable-direct-composition-video-overlays"; +// Initialize the GPU process using the adapter with the specified LUID. This is +// only used on Windows, as LUID is a Windows specific structure. +const char kUseAdapterLuid[] = "use-adapter-luid"; + // This is the list of switches passed from this file that are passed from the // GpuProcessHost to the GPU Process. Add your switch to this list if you need // to read it in the GPU process, else don't add it. @@ -201,6 +205,12 @@ const base::Feature kDirectCompositionPresentationFeedback{ const base::Feature kDirectCompositionSoftwareOverlays{ "DirectCompositionSoftwareOverlays", base::FEATURE_DISABLED_BY_DEFAULT}; +// Allow putting a video swapchain underneath the main swapchain, so overlays +// can be used even if there are controls on top of the video. It can be +// enabled only when overlay is supported. +const base::Feature kDirectCompositionUnderlays{ + "DirectCompositionUnderlays", base::FEATURE_ENABLED_BY_DEFAULT}; + // Use decode swap chain created from compatible video decoder buffers. const base::Feature kDirectCompositionUseNV12DecodeSwapChain{ "DirectCompositionUseNV12DecodeSwapChain", |