59 #ifdef VK_USE_PLATFORM_XCB_KHR 69 #ifdef VK_USE_PLATFORM_WAYLAND_KHR 79 #ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT Main compositor written using Vulkan header.
struct comp_window * comp_window_direct_nvidia_create(struct comp_compositor *c)
Create a direct surface to a HMD on NVIDIA.
Definition: comp_window_direct_nvidia.c:79
Wraps and manage VkSwapchainKHR and VkSurfaceKHR, used by Compositor code.
Definition: comp_vk_swapchain.h:49
Main compositor struct tying everything in the compositor together.
Definition: comp_compositor.h:73
struct comp_compositor * c
Owning compositor.
Definition: comp_window.h:35
const char * name
Name of the window system.
Definition: comp_window.h:38
struct vk_swapchain swapchain
Helper struct.
Definition: comp_window.h:41
void(* destroy)(struct comp_window *w)
Definition: comp_window.h:43
void(* flush)(struct comp_window *w)
Definition: comp_window.h:44
bool(* init_swapchain)(struct comp_window *w, uint32_t width, uint32_t height)
Definition: comp_window.h:46
void(* update_window_title)(struct comp_window *w, const char *title)
Definition: comp_window.h:49
A output device or a window, often directly connected to the device.
Definition: comp_window.h:32
Vulkan swapchain code header.
struct comp_window * comp_window_xcb_create(struct comp_compositor *c)
Create a xcb window.
Definition: comp_window_xcb.c:124
bool(* init)(struct comp_window *w)
Definition: comp_window.h:45
struct comp_window * comp_window_wayland_create(struct comp_compositor *c)
Create a wayland window.
Definition: comp_window_wayland.c:99
struct comp_window * comp_window_direct_randr_create(struct comp_compositor *c)
Create a direct surface to a HMD over RandR.
Definition: comp_window_direct_randr.c:100