Monado OpenXR Runtime
|
Android window code. More...
#include "xrt/xrt_compiler.h"
#include "util/u_misc.h"
#include "android/android_globals.h"
#include "android/android_custom_surface.h"
#include "main/comp_window.h"
#include <android/native_window.h>
#include <poll.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <linux/input.h>
Data Structures | |
struct | comp_window_android |
An Android window. More... | |
Macros | |
#define | WINDOW_TITLE "Monado" |
Functions | |
static struct vk_bundle * | get_vk (struct comp_window_android *cwa) |
static bool | comp_window_android_init (struct comp_target *ct) |
static void | comp_window_android_destroy (struct comp_target *ct) |
static void | comp_window_android_update_window_title (struct comp_target *ct, const char *title) |
static struct ANativeWindow * | _create_android_window (struct comp_window_android *cwa) |
static VkResult | comp_window_android_create_surface (struct comp_window_android *cwa, struct ANativeWindow *window, VkSurfaceKHR *out_surface) |
static bool | comp_window_android_init_swapchain (struct comp_target *ct, uint32_t width, uint32_t height) |
static void | comp_window_android_flush (struct comp_target *ct) |
struct comp_target * | comp_window_android_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 const char * | instance_extensions [] |
const struct comp_target_factory | comp_target_factory_android |
Android window code.
const struct comp_target_factory comp_target_factory_android |
|
static |