render/vulkan: Guard hostmem import with env flag

Direct host memory import is experimental. Put it behind an environment
variable to allow easy testing.
This commit is contained in:
Kenny Levinsen 2024-06-25 12:52:09 +02:00
parent b385af41dc
commit dfbb819044
4 changed files with 11 additions and 1 deletions

View file

@ -49,6 +49,10 @@ wlroots reads these environment variables
* *WLR_RENDERER_ALLOW_SOFTWARE*: allows the gles2 renderer to use software
rendering
## Vulkan renderer
* *WLR_VK_DIRECT_SHM_IMPORT*: Allow importing shm buffers directly as host memory
## scenes
* *WLR_SCENE_DEBUG_DAMAGE*: specifies debug options for screen damage related