Monado OpenXR Runtime
|
Common direct mode window code header. More...
#include "main/comp_window.h"
Go to the source code of this file.
Functions | |
VkDisplayModeKHR | comp_window_direct_get_primary_display_mode (struct comp_window *w, VkDisplayKHR display) |
VkResult | comp_window_direct_create_surface (struct comp_window *w, VkDisplayKHR display, uint32_t width, uint32_t height) |
int | comp_window_direct_connect (struct comp_window *w, Display **dpy) |
VkResult | comp_window_direct_acquire_xlib_display (struct comp_window *w, Display *dpy, VkDisplayKHR display) |
bool | comp_window_direct_init_swapchain (struct comp_window *w, Display *dpy, VkDisplayKHR display, uint32_t width, uint32_t height) |
Common direct mode window code header.
VkResult comp_window_direct_acquire_xlib_display | ( | struct comp_window * | w, |
Display * | dpy, | ||
VkDisplayKHR | display | ||
) |
References comp_window::c, COMP_ERROR, vk_bundle::physical_device, comp_window::swapchain, vk_swapchain::vk, vk_result_string(), and vk_bundle::vkAcquireXlibDisplayEXT.
Referenced by comp_window_direct_init_swapchain().
int comp_window_direct_connect | ( | struct comp_window * | w, |
Display ** | dpy | ||
) |
References comp_window::c, and COMP_ERROR.
VkResult comp_window_direct_create_surface | ( | struct comp_window * | w, |
VkDisplayKHR | display, | ||
uint32_t | width, | ||
uint32_t | height | ||
) |
References comp_window::c, COMP_DEBUG, COMP_ERROR, comp_window_direct_get_primary_display_mode(), vk_bundle::physical_device, comp_window::swapchain, U_TYPED_ARRAY_CALLOC, vk_swapchain::vk, vk_result_string(), vk_bundle::vkGetDisplayPlaneCapabilitiesKHR, and vk_bundle::vkGetPhysicalDeviceDisplayPlanePropertiesKHR.
Referenced by comp_window_direct_init_swapchain().
VkDisplayModeKHR comp_window_direct_get_primary_display_mode | ( | struct comp_window * | w, |
VkDisplayKHR | display | ||
) |
bool comp_window_direct_init_swapchain | ( | struct comp_window * | w, |
Display * | dpy, | ||
VkDisplayKHR | display, | ||
uint32_t | width, | ||
uint32_t | height | ||
) |