render: introduce WLR_RENDERER in wlr_renderer_autocreate_with_drm_fd

This env var forces the creation of a specific renderer. If no renderer
is specified, the function will try to create all of the renderers one
by one until one is created successfuly.
This commit is contained in:
Simon Zeni 2021-04-20 14:48:52 -04:00 committed by Simon Ser
parent 10c5199d85
commit cdacf4f632
2 changed files with 24 additions and 21 deletions

View file

@ -9,6 +9,8 @@ wlroots reads these environment variables
* *WLR_DIRECT_TTY*: specifies the tty to be used (instead of using /dev/tty)
* *WLR_XWAYLAND*: specifies the path to an Xwayland binary to be used (instead
of following shell search semantics for "Xwayland")
* *WLR_RENDERER*: forces the creation of a specified renderer (available
renderers: gles2, pixman)
## DRM backend