29 for (
size_t i = 0; i < count; i++) {
44 for (
size_t i = 0; i < count; i++) {
45 u_graphics_buffer_unref(&images[i].handle);
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 ...
Definition u_native_images.h:27
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_inval...
Definition u_native_images.h:42
#define U_ZERO(PTR)
Zeroes the correct amount of memory based on the type pointed-to by the argument.
Definition u_misc.h:68
A single image of a swapchain based on native buffer handles.
Definition xrt_compositor.h:2186
xrt_graphics_buffer_handle_t handle
Native buffer handle.
Definition xrt_compositor.h:2190
Functions for dealing generically with various handle types defined in xrt_handles....
Header declaring XRT graphics interfaces.
#define XRT_GRAPHICS_BUFFER_HANDLE_INVALID
An invalid value for a graphics buffer.
Definition xrt_handles.h:288