Documentation for <wlr/render/vulkan.h>

Back to index

Table of contents

wlr_renderer_is_vk()

bool wlr_renderer_is_vk(​struct wlr_renderer *wlr_renderer);

wlr_texture_is_vk()

bool wlr_texture_is_vk(​struct wlr_texture *texture);

struct wlr_vk_image_attribs

struct wlr_vk_image_attribs {
	VkImage image;
	VkImageLayout layout;
	VkFormat format;
};

wlr_vk_renderer_create_with_drm_fd()

struct wlr_renderer *wlr_vk_renderer_create_with_drm_fd(​int drm_fd);

wlr_vk_renderer_get_device()

VkDevice wlr_vk_renderer_get_device(​struct wlr_renderer *renderer);

wlr_vk_renderer_get_instance()

VkInstance wlr_vk_renderer_get_instance(​struct wlr_renderer *renderer);

wlr_vk_renderer_get_physical_device()

VkPhysicalDevice wlr_vk_renderer_get_physical_device(​struct wlr_renderer *renderer);

wlr_vk_renderer_get_queue_family()

uint32_t wlr_vk_renderer_get_queue_family(​struct wlr_renderer *renderer);

wlr_vk_texture_get_image_attribs()

void wlr_vk_texture_get_image_attribs(​struct wlr_texture *texture, struct wlr_vk_image_attribs *attribs);

wlr_vk_texture_has_alpha()

bool wlr_vk_texture_has_alpha(​struct wlr_texture *texture);