Monado OpenXR Runtime
|
Implementation of native code for Android custom surface. More...
#include "android_custom_surface.h"
#include "android_globals.h"
#include "android_load_class.hpp"
#include "xrt/xrt_config_android.h"
#include "util/u_logging.h"
#include "wrap/android.content.h"
#include "wrap/android.hardware.display.h"
#include "wrap/android.provider.h"
#include "wrap/android.view.h"
#include "wrap/android.graphics.h"
#include "org.freedesktop.monado.auxiliary.hpp"
#include <android/native_window_jni.h>
Data Structures | |
struct | android_custom_surface |
Functions | |
struct android_custom_surface * | android_custom_surface_async_start (struct _JavaVM *vm, void *context, int32_t display_id, const char *surface_title, int32_t preferred_display_mode_id) |
void | android_custom_surface_destroy (struct android_custom_surface **ptr_custom_surface) |
ANativeWindow * | android_custom_surface_wait_get_surface (struct android_custom_surface *custom_surface, uint64_t timeout_ms) |
bool | android_custom_surface_get_display_metrics (struct _JavaVM *vm, void *context, struct xrt_android_display_metrics *out_metrics) |
bool | android_custom_surface_can_draw_overlays (struct _JavaVM *vm, void *context) |
float | android_custom_surface_get_display_refresh_rate (struct _JavaVM *vm, void *context) |
Implementation of native code for Android custom surface.