mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-29 16:05:59 +01:00
bb2946f737
Now that the DRM backend no longer depends on GBM, we can make it optional. The GLES2 renderer still depends on it because of our EGL device selection. This is useful for compositors with their own renderers, and for compositors using the Vulkan renderer.
15 lines
296 B
C
15 lines
296 B
C
#ifndef WLR_CONFIG_H
|
|
#define WLR_CONFIG_H
|
|
|
|
#mesondefine WLR_HAS_DRM_BACKEND
|
|
#mesondefine WLR_HAS_LIBINPUT_BACKEND
|
|
#mesondefine WLR_HAS_X11_BACKEND
|
|
|
|
#mesondefine WLR_HAS_GLES2_RENDERER
|
|
#mesondefine WLR_HAS_VULKAN_RENDERER
|
|
|
|
#mesondefine WLR_HAS_GBM_ALLOCATOR
|
|
|
|
#mesondefine WLR_HAS_XWAYLAND
|
|
|
|
#endif
|