Monado OpenXR Runtime
android_instance_base.c File Reference

Basic xrt_instance_base implementation. More...

#include "android_instance_base.h"
#include "android/android_globals.h"
#include "android/android_lifecycle_callbacks.h"
#include "util/u_logging.h"
#include "xrt/xrt_instance.h"
#include "xrt/xrt_android.h"
#include "xrt/xrt_results.h"
#include <jni.h>
#include <assert.h>
Include dependency graph for android_instance_base.c:

Functions

static struct android_instance_baseandroid_instance_base (struct xrt_instance_android *xinst_android)
 
static const struct android_instance_baseandroid_instance_base_const (const struct xrt_instance_android *xinst_android)
 
static struct _JavaVM * base_get_vm (const struct xrt_instance_android *xinst_android)
 
static void * base_get_context (const struct xrt_instance_android *xinst_android)
 
static xrt_result_t base_register_activity_lifecycle_callback (struct xrt_instance_android *xinst_android, xrt_android_lifecycle_event_handler_t callback, enum xrt_android_lifecycle_event event_mask, void *userdata)
 
static xrt_result_t base_remove_activity_lifecycle_callback (struct xrt_instance_android *xinst_android, xrt_android_lifecycle_event_handler_t callback, enum xrt_android_lifecycle_event event_mask, void *userdata)
 
xrt_result_t android_instance_base_init (struct android_instance_base *aib, struct xrt_instance *xinst, const struct xrt_instance_info *ii)
 
void android_instance_base_cleanup (struct android_instance_base *aib, struct xrt_instance *xinst)
 

Detailed Description

Basic xrt_instance_base implementation.

Author
Jarvis Huang
Rylie Pavlik rylie.nosp@m..pav.nosp@m.lik@c.nosp@m.olla.nosp@m.bora..nosp@m.com