aboutsummaryrefslogtreecommitdiff
path: root/tinywl
diff options
context:
space:
mode:
authorzccrs <zccrs@live.com>2022-05-23 21:54:36 +0800
committerSimon Ser <contact@emersion.fr>2022-11-08 12:56:38 +0100
commit270914d379bd24aed1f5be219fa3469cc57d9d36 (patch)
tree41738cff99e7fbbfedf6c832a612bfc24da5bbb6 /tinywl
parent9fefeb69d6fc1136cfad7d690e1d7385c058fd72 (diff)
render/vulkan: add some interfaces to allow compositors to integrate
Added wlr_vk_renderer_get_* functions to allow get the VkInstance, VkPhysicalDevice, VkDevice, queue family 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 information (e.g. a VkImageLayout and VkImageFormat of the VkImage) from a wlr_texture.
Diffstat (limited to 'tinywl')
0 files changed, 0 insertions, 0 deletions