diff options
Diffstat (limited to 'include/wlr/render')
-rw-r--r-- | include/wlr/render/vulkan.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/wlr/render/vulkan.h b/include/wlr/render/vulkan.h new file mode 100644 index 00000000..0302d85b --- /dev/null +++ b/include/wlr/render/vulkan.h @@ -0,0 +1,18 @@ +/* + * This an unstable interface of wlroots. No guarantees are made regarding the + * future consistency of this API. + */ +#ifndef WLR_USE_UNSTABLE +#error "Add -DWLR_USE_UNSTABLE to enable unstable wlroots features" +#endif + +#ifndef WLR_RENDER_VULKAN_H +#define WLR_RENDER_VULKAN_H + +#include <wlr/render/wlr_renderer.h> + +struct wlr_renderer *wlr_vk_renderer_create_with_drm_fd(int drm_fd); +bool wlr_texture_is_vk(struct wlr_texture *texture); + +#endif + |