Monado OpenXR Runtime
Functions
u_frame.h File Reference

xrt_frame helpers. More...

#include "xrt/xrt_frame.h"
Include dependency graph for u_frame.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void u_frame_create_one_off (enum xrt_format f, uint32_t width, uint32_t height, struct xrt_frame **out_frame)
 Creates a single non-pooled frame, when the reference reaches zero it is freed. More...
 

Detailed Description

xrt_frame helpers.

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

Function Documentation

◆ u_frame_create_one_off()

void u_frame_create_one_off ( enum xrt_format  f,
uint32_t  width,
uint32_t  height,
struct xrt_frame **  out_frame 
)

Creates a single non-pooled frame, when the reference reaches zero it is freed.

References u_format_is_blocks(), and U_TYPED_CALLOC.