Monado OpenXR Runtime
|
Direct mode window code. More...
#include <xcb/xcb.h>
#include <xcb/randr.h>
#include <X11/Xlib-xcb.h>
#include <X11/extensions/Xrandr.h>
#include "util/u_misc.h"
#include "main/comp_window_direct.h"
Data Structures | |
struct | comp_window_direct_randr_display |
Probed display. More... | |
struct | comp_window_direct_randr |
Direct mode "window" into a device, using Vulkan direct mode extension and xcb. More... | |
Functions | |
static void | comp_window_direct_randr_destroy (struct comp_target *ct) |
static XRT_MAYBE_UNUSED void | comp_window_direct_randr_list_screens (struct comp_window_direct_randr *w) |
static bool | comp_window_direct_randr_init (struct comp_target *ct) |
static struct comp_window_direct_randr_display * | comp_window_direct_randr_current_display (struct comp_window_direct_randr *w) |
static bool | comp_window_direct_randr_init_swapchain (struct comp_target *ct, uint32_t width, uint32_t height) |
static VkDisplayKHR | comp_window_direct_randr_get_output (struct comp_window_direct_randr *w, RROutput output) |
static void | comp_window_direct_randr_get_outputs (struct comp_window_direct_randr *w) |
static struct vk_bundle * | get_vk (struct comp_window_direct_randr *cwdr) |
static void | _flush (struct comp_target *ct) |
static void | _update_window_title (struct comp_target *ct, const char *title) |
struct comp_target * | comp_window_direct_randr_create (struct comp_compositor *c) |
static void | append_randr_display (struct comp_window_direct_randr *w, xcb_randr_get_output_info_reply_t *output_reply, xcb_randr_get_screen_resources_reply_t *resources_reply, xcb_randr_output_t xcb_output) |
static bool | detect (const struct comp_target_factory *ctf, struct comp_compositor *c) |
static bool | create_target (const struct comp_target_factory *ctf, struct comp_compositor *c, struct comp_target **out_ct) |
Variables | |
static const char * | instance_extensions [] |
const struct comp_target_factory | comp_target_factory_direct_randr |
Direct mode window code.
const struct comp_target_factory comp_target_factory_direct_randr |
|
static |