renderer/native: Allow forcing EGLStream backend

The GBM support in the NVIDIA driver is fairly new, and to make it
easier to identify whether a problem encountered is related to using GBM
instead of EGLStreams, add a debug environment variable to force using
EGLStream instead of GBM.

To force using EGLStream instead of GBM, use

    MUTTER_DEBUG_FORCE_EGL_STREAM=1

Related: #2045
15 jobs for !2132 with wip/allow-force-egl-stream in 64 minutes and 45 seconds (queued for 9 seconds)
detached
Status Name Job ID Coverage
  Review
passed check-commit-log #1653065

00:01:23

passed check-merge-request #1653066

00:00:38

 
  Prepare
passed build-fedora-container@aarch64 #1653068
aarch64

00:00:26

passed build-fedora-container@x86_64 #1653067

00:00:40

 
  Code Review
failed check-code-style #1653069
allowed to fail

00:00:58

 
  Build
passed build-mutter@aarch64 #1653071
aarch64

00:35:08

passed build-mutter@x86_64 #1653070

00:02:58

passed build-without-native-backend-and-wayland@x86_64 #1653073

00:01:30

passed build-without-opengl-and-glx@x86_64 #1653072

00:02:25

 
  Test
passed can-build-gnome-shell@x86_64 #1653076

00:01:22

passed test-mutter@aarch64 #1653075
aarch64

00:15:36

passed test-mutter@x86_64 #1653074

00:06:38

 
  Analyze
passed test-mutter-coverage@aarch64 #1653078
aarch64

00:12:07

48.0%
passed test-mutter-coverage@x86_64 #1653077

00:10:25

48.0%
manual test-mutter-coverity #1653079
allowed to fail manual
 
Name Stage Failure
failed
check-code-style Code Review
 #ifdef HAVE_EGL_DEVICE


Issue the following command in your local tree to apply the suggested changes (needs uncrustify installed):

$ git rebase origin/main --exec "./check-style.py -r"

Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1