mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-18 06:47:31 -04:00
render/vulkan: add upload thread
TODO: - Update blocking stage submission as well - Allow multiple data ptr accesses - Stop abusing FDs for multi-thread queue
This commit is contained in:
parent
79cbbfb366
commit
fee8969955
6 changed files with 208 additions and 31 deletions
|
|
@ -18,7 +18,8 @@ struct wlr_vk_image_attribs {
|
|||
VkFormat format;
|
||||
};
|
||||
|
||||
struct wlr_renderer *wlr_vk_renderer_create_with_drm_fd(int drm_fd);
|
||||
struct wlr_renderer *wlr_vk_renderer_create_with_drm_fd(
|
||||
struct wl_event_loop *loop, int drm_fd);
|
||||
|
||||
VkInstance wlr_vk_renderer_get_instance(struct wlr_renderer *renderer);
|
||||
VkPhysicalDevice wlr_vk_renderer_get_physical_device(struct wlr_renderer *renderer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue