Monado OpenXR Runtime
u_index_fifo.h File Reference

A FIFO for indices. More...

#include "xrt/xrt_compiler.h"
#include <stdint.h>
#include <stddef.h>
Include dependency graph for u_index_fifo.h:

Go to the source code of this file.

Data Structures

struct  u_index_fifo
 

Macros

#define U_MAX_FIFO_INDICES   16
 

Functions

static int u_index_fifo_is_empty (struct u_index_fifo *uif)
 
static int u_index_fifo_is_full (struct u_index_fifo *uif)
 
static int u_index_fifo_peek (struct u_index_fifo *uif, uint32_t *out_index)
 
static int u_index_fifo_pop (struct u_index_fifo *uif, uint32_t *out_index)
 
static int u_index_fifo_push (struct u_index_fifo *uif, uint32_t index)
 

Detailed Description

A FIFO for indices.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m