Monado OpenXR Runtime
comp_window_direct.h File Reference

Common direct mode window code header. More...

#include "main/comp_window.h"
Include dependency graph for comp_window_direct.h:

Go to the source code of this file.

Functions

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)
 

Detailed Description

Function Documentation

◆ comp_window_direct_create_surface()

VkResult comp_window_direct_create_surface ( struct comp_target_swapchain cts,
VkDisplayKHR  display,
uint32_t  width,
uint32_t  height 
)
Todo:
actually select the plane.