|
Monado OpenXR Runtime
|
Microsoft Windows window code. More...
#include <stdlib.h>#include <string.h>#include "xrt/xrt_compiler.h"#include "main/comp_window.h"#include "util/u_misc.h"#include "os/os_threading.h"
Data Structures | |
| struct | comp_window_mswin |
| A Microsoft Windows window. More... | |
Macros | |
| #define | COMP_ERROR_GETLASTERROR(C, MSG_WITH_PLACEHOLDER, MSG_WITHOUT_PLACEHOLDER) |
Functions | |
| static void | draw_window (HWND hWnd, struct comp_window_mswin *cwm) |
| static LRESULT CALLBACK | WndProc (HWND hWnd, unsigned int message, WPARAM wParam, LPARAM lParam) |
| static struct vk_bundle * | get_vk (struct comp_window_mswin *cwm) |
| static void | comp_window_mswin_destroy (struct comp_target *ct) |
| static void | comp_window_mswin_update_window_title (struct comp_target *ct, const char *title) |
| static void | comp_window_mswin_fullscreen (struct comp_window_mswin *w) |
| static VkResult | comp_window_mswin_create_surface (struct comp_window_mswin *w, VkSurfaceKHR *out_surface) |
| static bool | comp_window_mswin_init_swapchain (struct comp_target *ct, uint32_t width, uint32_t height) |
| static void | comp_window_mswin_flush (struct comp_target *ct) |
| static void | comp_window_mswin_window_loop (struct comp_window_mswin *cwm) |
| static void | comp_window_mswin_mark_exited (struct comp_window_mswin *cwm) |
| static void | comp_window_mswin_thread (struct comp_window_mswin *cwm) |
| static void * | comp_window_mswin_thread_func (void *ptr) |
| static bool | comp_window_mswin_init (struct comp_target *ct) |
| static void | comp_window_mswin_configure (struct comp_window_mswin *w, int32_t width, int32_t height) |
| struct comp_target * | comp_window_mswin_create (struct comp_compositor *c) |
| 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 WCHAR | szWindowClass [] = L"Monado" |
| static WCHAR | szWindowData [] = L"MonadoWindow" |
| static const char * | instance_extensions [] |
| const struct comp_target_factory | comp_target_factory_mswin |
Microsoft Windows window code.
| #define COMP_ERROR_GETLASTERROR | ( | C, | |
| MSG_WITH_PLACEHOLDER, | |||
| MSG_WITHOUT_PLACEHOLDER | |||
| ) |
|
static |
|
static |
|
static |
|
static |
References comp_target_swapchain::base, U_ZERO, and comp_target::width.
|
static |
| const struct comp_target_factory comp_target_factory_mswin |
|
static |