Monado OpenXR Runtime
u_native_images_debug Struct Reference

A struct for debugging one or more native images. More...

#include <util/u_native_images_debug.h>

Collaboration diagram for u_native_images_debug:

Data Fields

struct os_mutex mutex
 Is initialised/destroyed when added or root is removed. More...
 
xrt_limited_unique_id_t limited_unique_id
 Process unique id for the set of images, protected by mutex, allows caching of imports. More...
 
struct xrt_image_nativenative_images
 List to current set of native images, protected by mutex. More...
 
uint32_t native_image_count
 Count of native_images, protected by mutex. More...
 
const struct xrt_swapchain_create_infoxscci
 Information needed to import the native images, information in the struct is immutable, the pointer is protected by mutex. More...
 
uint32_t active_index
 The native image that was last filled in by the source, only valid if native_images is non-null, protected by mutex. More...
 
bool flip_y
 Should the image be flipped in y direction. More...
 

Detailed Description

A struct for debugging one or more native images.

Field Documentation

◆ active_index

uint32_t u_native_images_debug::active_index

The native image that was last filled in by the source, only valid if native_images is non-null, protected by mutex.

Referenced by u_native_images_debug_clear_locked(), u_native_images_debug_destroy(), u_native_images_debug_set_locked(), and u_swapchain_debug_destroy().

◆ flip_y

bool u_native_images_debug::flip_y

Should the image be flipped in y direction.

Referenced by u_native_images_debug_destroy(), and u_native_images_debug_set_locked().

◆ limited_unique_id

xrt_limited_unique_id_t u_native_images_debug::limited_unique_id

Process unique id for the set of images, protected by mutex, allows caching of imports.

Created by u_limited_unique_id_get.

Referenced by gui_widget_native_images_update(), u_native_images_debug_clear_locked(), and u_native_images_debug_set_locked().

◆ mutex

struct os_mutex u_native_images_debug::mutex

◆ native_image_count

uint32_t u_native_images_debug::native_image_count

Count of native_images, protected by mutex.

Referenced by u_native_images_debug_clear_locked(), u_native_images_debug_destroy(), and u_native_images_debug_set_locked().

◆ native_images

struct xrt_image_native* u_native_images_debug::native_images

List to current set of native images, protected by mutex.

Referenced by u_native_images_debug_clear_locked(), u_native_images_debug_destroy(), and u_native_images_debug_set_locked().

◆ xscci

const struct xrt_swapchain_create_info* u_native_images_debug::xscci

Information needed to import the native images, information in the struct is immutable, the pointer is protected by mutex.

Referenced by u_native_images_debug_clear_locked(), u_native_images_debug_destroy(), and u_native_images_debug_set_locked().


The documentation for this struct was generated from the following file: