18#include <android/native_window.h>
27struct xrt_android_display_metrics
38 uint32_t refresh_rate_count;
73android_custom_surface_async_start(
struct _JavaVM *vm,
76 const char *surface_title,
77 int32_t preferred_display_mode_id);
102android_custom_surface_wait_get_surface(
struct android_custom_surface *custom_surface, uint64_t timeout_ms);
107 struct xrt_android_display_metrics *out_metrics);
110android_custom_surface_can_draw_overlays(
struct _JavaVM *vm,
void *context);
113android_custom_surface_get_display_refresh_rate(
struct _JavaVM *vm,
void *context);
bool android_custom_surface_get_display_metrics(struct _JavaVM *vm, void *context, struct xrt_android_display_metrics *out_metrics)
Definition: android_custom_surface.cpp:197
#define XRT_MAX_SUPPORTED_REFRESH_RATES
Max number of supported display refresh rates, artificial limit.
Definition: xrt_limits.h:49
Definition: android_custom_surface.cpp:38
Auto detect OS and certain features.
Header for limits of the XRT interfaces.