Monado OpenXR Runtime
|
Common direct mode window code. More...
Functions | |
static struct vk_bundle * | get_vk (struct comp_target_swapchain *cts) |
static int | choose_best_vk_mode_auto (struct comp_target *ct, VkDisplayModePropertiesKHR *mode_properties, int mode_count) |
static void | print_modes (struct comp_target *ct, VkDisplayModePropertiesKHR *mode_properties, int mode_count) |
static VkDisplayModeKHR | get_primary_display_mode (struct comp_target_swapchain *cts, VkDisplayKHR display, uint32_t *out_width, uint32_t *out_height) |
static VkDisplayPlaneAlphaFlagBitsKHR | choose_alpha_mode (VkDisplayPlaneAlphaFlagsKHR flags) |
VkResult | comp_window_direct_create_surface (struct comp_target_swapchain *cts, VkDisplayKHR display, uint32_t width, uint32_t height) |
int | comp_window_direct_connect (struct comp_target_swapchain *cts, Display **dpy) |
VkResult | comp_window_direct_acquire_xlib_display (struct comp_target_swapchain *cts, Display *dpy, VkDisplayKHR display) |
bool | comp_window_direct_init_swapchain (struct comp_target_swapchain *cts, Display *dpy, VkDisplayKHR display, uint32_t width, uint32_t height) |
Common direct mode window code.
VkResult comp_window_direct_create_surface | ( | struct comp_target_swapchain * | cts, |
VkDisplayKHR | display, | ||
uint32_t | width, | ||
uint32_t | height | ||
) |