Monado OpenXR Runtime
Functions
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:
This graph shows which files directly or indirectly include this file:

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)
 

Detailed Description

Common direct mode window code header.

Author
Lubosz Sarnecki lubos.nosp@m.z.sa.nosp@m.rneck.nosp@m.i@co.nosp@m.llabo.nosp@m.ra.c.nosp@m.om
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m

Function Documentation

◆ comp_window_direct_acquire_xlib_display()

VkResult comp_window_direct_acquire_xlib_display ( struct comp_window w,
Display dpy,
VkDisplayKHR  display 
)

◆ comp_window_direct_connect()

int comp_window_direct_connect ( struct comp_window w,
Display **  dpy 
)

References comp_window::c, and COMP_ERROR.

◆ comp_window_direct_create_surface()

VkResult comp_window_direct_create_surface ( struct comp_window w,
VkDisplayKHR  display,
uint32_t  width,
uint32_t  height 
)

◆ comp_window_direct_get_primary_display_mode()

VkDisplayModeKHR comp_window_direct_get_primary_display_mode ( struct comp_window w,
VkDisplayKHR  display 
)

◆ comp_window_direct_init_swapchain()

bool comp_window_direct_init_swapchain ( struct comp_window w,
Display dpy,
VkDisplayKHR  display,
uint32_t  width,
uint32_t  height 
)