Monado OpenXR Runtime
Loading...
Searching...
No Matches
u_native_images.h File Reference

Helpers for fixed arrays of xrt_image_native. More...

#include "xrt/xrt_compositor.h"
#include "util/u_handles.h"
#include "util/u_misc.h"
Include dependency graph for u_native_images.h:

Go to the source code of this file.

Functions

static void u_native_images_init_invalid (struct xrt_image_native *images, size_t count)
 Initialise every entry to cleared / invalid handles, the structs should not have been populated with valid values before calling this function.
 
static void u_native_images_unref_all (struct xrt_image_native *images, size_t count)
 Unref every buffer handle and clear each entry, recommended to have called u_native_images_init_invalid before calling this function.
 

Detailed Description

Helpers for fixed arrays of xrt_image_native.