Monado OpenXR Runtime
u_sink_simple_queue.c File Reference

An xrt_frame_sink queue. More...

#include "util/u_misc.h"
#include "util/u_sink.h"
#include "util/u_trace_marker.h"
#include <stdio.h>
#include <pthread.h>
Include dependency graph for u_sink_simple_queue.c:

Data Structures

struct  u_sink_queue
 An xrt_frame_sink queue, any frames received will be pushed to the downstream consumer on the queue thread. More...
 

Functions

static void * queue_mainloop (void *ptr)
 
static void queue_frame (struct xrt_frame_sink *xfs, struct xrt_frame *xf)
 
static void queue_break_apart (struct xrt_frame_node *node)
 
static void queue_destroy (struct xrt_frame_node *node)
 
bool u_sink_simple_queue_create (struct xrt_frame_context *xfctx, struct xrt_frame_sink *downstream, struct xrt_frame_sink **out_xfs)
 

Detailed Description