Skip to content

render/vulkan: allow compositors to integrate

JiDe Zhang requested to merge jide/wlroots:master into master

Added wlr_vk_renderer_get_attribs function to allow get the attribs of a wlr_vk_renderer.

Added wlr_vk_renderer_get_current_image_attribs function to allow get the VkImage of current renderer buffer to use on compositors.

Added wlr_renderer_is_vk function, it's like the wlr_renderer_is_gles2, returns true if the wlr_renderer is a wlr_vk_renderer.

Added wlr_vk_image_get_attribs function to get a VkImage and it's extras informations(eg, a VkImageLayout and VkImageFormat of the VkImage) form a wlr_texture.

Edited by JiDe Zhang

Merge request reports