Monado OpenXR Runtime
|
Holds event related functions. More...
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "util/u_misc.h"
#include "oxr_objects.h"
#include "oxr_logger.h"
Data Structures | |
struct | oxr_event |
Macros | |
#define | ALLOC(log, inst, event, extra) |
Functions | |
void | lock (struct oxr_instance *inst) |
void | unlock (struct oxr_instance *inst) |
void * | oxr_event_extra (struct oxr_event *event) |
struct oxr_event * | pop (struct oxr_instance *inst) |
void | push (struct oxr_instance *inst, struct oxr_event *event) |
XrResult | oxr_event_push_XrEventDataSessionStateChanged (struct oxr_logger *log, struct oxr_session *sess, XrSessionState state, XrTime time) |
XrResult | oxr_poll_event (struct oxr_logger *log, struct oxr_instance *inst, XrEventDataBuffer *eventData) |
Holds event related functions.
#define ALLOC | ( | log, | |
inst, | |||
event, | |||
extra | |||
) |
Referenced by oxr_event_push_XrEventDataSessionStateChanged().
void lock | ( | struct oxr_instance * | inst | ) |
Referenced by oxr_poll_event().
void* oxr_event_extra | ( | struct oxr_event * | event | ) |
Referenced by oxr_poll_event().
struct oxr_event* pop | ( | struct oxr_instance * | inst | ) |
References oxr_instance::last_event, oxr_event::next, and oxr_instance::next_event.
Referenced by oxr_poll_event().
void push | ( | struct oxr_instance * | inst, |
struct oxr_event * | event | ||
) |
References oxr_instance::last_event, oxr_event::next, and oxr_instance::next_event.
void unlock | ( | struct oxr_instance * | inst | ) |
Referenced by oxr_poll_event().