screen-cast: Add 'dma-buf-screen-sharing' experimental feature

It's enabled by default when using the i915 driver, but disabled
everywhere else until it can be made reliably an improvement. Until
then, for anyone want to force-enable it, add the string
'dma-buf-screen-sharing' to the experimental features list in GSettings.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1442
This commit is contained in:
Jonas Ådahl
2020-09-14 18:23:10 +02:00
committed by Georges Basile Stavracas Neto
parent 6c0440697d
commit af9df1e5b6
3 changed files with 8 additions and 0 deletions

View File

@ -273,6 +273,8 @@ experimental_features_handler (GVariant *features_variant,
feature = META_EXPERIMENTAL_FEATURE_RT_SCHEDULER;
else if (g_str_equal (feature_str, "autostart-xwayland"))
feature = META_EXPERIMENTAL_FEATURE_AUTOSTART_XWAYLAND;
else if (g_str_equal (feature_str, "dma-buf-screen-sharing"))
feature = META_EXPERIMENTAL_FEATURE_DMA_BUF_SCREEN_SHARING;
if (feature)
g_message ("Enabling experimental feature '%s'", feature_str);