Monado OpenXR Runtime
|
Special code for managing a variable tracked swapchain. More...
Go to the source code of this file.
Data Structures | |
struct | u_native_images_debug |
A struct for debugging one or more native images. More... | |
struct | u_swapchain_debug |
Allows to debug image that is in GPU memory. More... | |
Functions | |
static void | u_native_images_debug_init (struct u_native_images_debug *unid) |
Must be called before variable is tracked. More... | |
static void | u_native_images_debug_destroy (struct u_native_images_debug *unid) |
Must not be called while variable longer tracked, after u_var_remove_root . More... | |
static void | u_native_images_debug_lock (struct u_native_images_debug *unid) |
Simple lock helper. More... | |
static void | u_native_images_debug_unlock (struct u_native_images_debug *unid) |
Simple lock helper. More... | |
static void | u_native_images_debug_set_locked (struct u_native_images_debug *unid, xrt_limited_unique_id_t limited_unique_id, struct xrt_image_native *native_images, uint32_t native_image_count, const struct xrt_swapchain_create_info *xscci, uint32_t active_index, bool flip_y) |
Helper function to update all variables, must be called with the lock held. More... | |
static void | u_native_images_debug_set (struct u_native_images_debug *unid, xrt_limited_unique_id_t limited_unique_id, struct xrt_image_native *native_images, uint32_t native_image_count, const struct xrt_swapchain_create_info *xscci, uint32_t active_index, bool flip_y) |
Updates all variables atomically by holding the lock. More... | |
static void | u_native_images_debug_clear_locked (struct u_native_images_debug *unid) |
Clear all variables, must be called with the lock held. More... | |
static void | u_native_images_debug_clear (struct u_native_images_debug *unid) |
Clear all variables atomically by holding the lock, still valid to use. More... | |
static void | u_swapchain_debug_init (struct u_swapchain_debug *uscd) |
Must be called before variable is tracked. More... | |
static void | u_swapchain_debug_set (struct u_swapchain_debug *uscd, struct xrt_swapchain_native *xscn, const struct xrt_swapchain_create_info *xscci, uint32_t active_index, bool flip_y) |
Updates all variables atomically by holding the lock. More... | |
static void | u_swapchain_debug_clear (struct u_swapchain_debug *uscd) |
Clear all variables atomically by holding the lock, still valid to use. More... | |
static void | u_swapchain_debug_destroy (struct u_swapchain_debug *uscd) |
Must not be called while variable longer tracked, after u_var_remove_root . More... | |
static void | u_swapchain_debug_lock (struct u_swapchain_debug *uscd) |
Simple lock helper. More... | |
static void | u_swapchain_debug_unlock (struct u_swapchain_debug *uscd) |
Simple lock helper. More... | |
Special code for managing a variable tracked swapchain.