mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 18:30:08 +00:00
gdk: Cosmetics
Add a define for each renderer.
This commit is contained in:
parent
abac891bd2
commit
8607312fef
@ -16,6 +16,8 @@ G_BEGIN_DECLS
|
|||||||
#mesondefine GDK_WINDOWING_WAYLAND
|
#mesondefine GDK_WINDOWING_WAYLAND
|
||||||
#mesondefine GDK_WINDOWING_WIN32
|
#mesondefine GDK_WINDOWING_WIN32
|
||||||
|
|
||||||
|
#mesondefine GDK_RENDERING_CAIRO
|
||||||
|
#mesondefine GDK_RENDERING_GL
|
||||||
#mesondefine GDK_RENDERING_VULKAN
|
#mesondefine GDK_RENDERING_VULKAN
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -161,6 +161,8 @@ gdkconfig_cdata.set('GDK_WINDOWING_WAYLAND', wayland_enabled)
|
|||||||
gdkconfig_cdata.set('GDK_WINDOWING_WIN32', win32_enabled)
|
gdkconfig_cdata.set('GDK_WINDOWING_WIN32', win32_enabled)
|
||||||
gdkconfig_cdata.set('GDK_WINDOWING_BROADWAY', broadway_enabled)
|
gdkconfig_cdata.set('GDK_WINDOWING_BROADWAY', broadway_enabled)
|
||||||
gdkconfig_cdata.set('GDK_WINDOWING_MACOS', macos_enabled)
|
gdkconfig_cdata.set('GDK_WINDOWING_MACOS', macos_enabled)
|
||||||
|
gdkconfig_cdata.set('GDK_RENDERING_CAIRO', true)
|
||||||
|
gdkconfig_cdata.set('GDK_RENDERING_GL', true)
|
||||||
gdkconfig_cdata.set('GDK_RENDERING_VULKAN', have_vulkan)
|
gdkconfig_cdata.set('GDK_RENDERING_VULKAN', have_vulkan)
|
||||||
|
|
||||||
gdkconfig = configure_file(
|
gdkconfig = configure_file(
|
||||||
|
Loading…
Reference in New Issue
Block a user