render/egl: fail to create wlr_egl on software renderer

The creation of `wlr_egl` will fail is the device extension
EGL_MESA_device_software is defined. The creation process is allowed to
continue only if the environment variable `WLR_RENDERER_ALLOW_SOFTWARE`
is defined to the value 1.
This commit is contained in:
Simon Zeni 2021-01-26 21:13:28 -05:00 committed by Simon Ser
parent 5a2ef794dc
commit 6becc69ec9
2 changed files with 17 additions and 0 deletions

View file

@ -39,6 +39,11 @@ wlroots reads these environment variables
* *WLR_X11_OUTPUTS*: when using the X11 backend specifies the number of outputs
## gles2 renderer
* *WLR_RENDERER_ALLOW_SOFTWARE*: allows the gles2 renderer to use software
rendering
# Generic
* *DISPLAY*: if set probe X11 backend in `wlr_backend_autocreate`