mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
st/oxr: debug utils extension cleanup
This commit is contained in:
parent
077d0c39c5
commit
2389c207f5
|
@ -13,7 +13,6 @@
|
|||
#include "oxr_api_funcs.h"
|
||||
#include "oxr_api_verify.h"
|
||||
|
||||
#ifdef XR_EXT_debug_utils
|
||||
|
||||
|
||||
XrResult
|
||||
|
@ -121,5 +120,3 @@ oxr_xrSessionInsertDebugUtilsLabelEXT(XrSession session,
|
|||
|
||||
return oxr_error(&log, XR_ERROR_RUNTIME_FAILURE, " not implemented");
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -381,8 +381,6 @@ oxr_xrReleaseSwapchainImage(XrSwapchain swapchain,
|
|||
*
|
||||
*/
|
||||
|
||||
#ifdef XR_EXT_debug_utils
|
||||
|
||||
//! OpenXR API function @ep{xrSetDebugUtilsObjectNameEXT}
|
||||
XrResult
|
||||
oxr_xrSetDebugUtilsObjectNameEXT(XrInstance instance,
|
||||
|
@ -420,7 +418,6 @@ oxr_xrSessionEndDebugUtilsLabelRegionEXT(XrSession session);
|
|||
XrResult
|
||||
oxr_xrSessionInsertDebugUtilsLabelEXT(XrSession session,
|
||||
const XrDebugUtilsLabelEXT* labelInfo);
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
#include "oxr_logger.h"
|
||||
#include "oxr_handle.h"
|
||||
|
||||
#ifdef XR_EXT_debug_utils
|
||||
|
||||
static XrResult
|
||||
oxr_messenger_destroy(struct oxr_logger *log, struct oxr_handle_base *hb)
|
||||
{
|
||||
|
@ -75,6 +73,3 @@ oxr_create_messenger(struct oxr_logger *log,
|
|||
*out_mssngr = mssngr;
|
||||
return XR_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
#endif // XR_EXT_debug_utils
|
||||
|
|
|
@ -498,7 +498,6 @@ oxr_create_swapchain(struct oxr_logger *,
|
|||
*
|
||||
*/
|
||||
|
||||
#ifdef XR_EXT_debug_utils
|
||||
/*!
|
||||
* To go back to a OpenXR object.
|
||||
*/
|
||||
|
@ -516,7 +515,8 @@ oxr_create_messenger(struct oxr_logger *,
|
|||
XrResult
|
||||
oxr_destroy_messenger(struct oxr_logger *log,
|
||||
struct oxr_debug_messenger *mssngr);
|
||||
#endif // XR_EXT_debug_utils
|
||||
|
||||
|
||||
/*
|
||||
*
|
||||
* oxr_system.c
|
||||
|
@ -826,10 +826,8 @@ struct oxr_instance
|
|||
XrPath gamepad;
|
||||
} path_cache;
|
||||
|
||||
#ifdef XR_EXT_debug_utils
|
||||
//! Debug messengers
|
||||
struct oxr_debug_messenger *messengers[XRT_MAX_HANDLE_CHILDREN];
|
||||
#endif // XR_EXT_debug_utils
|
||||
};
|
||||
|
||||
/*!
|
||||
|
@ -1114,7 +1112,6 @@ struct oxr_debug_messenger
|
|||
//! Onwer of this messenger.
|
||||
struct oxr_instance *inst;
|
||||
|
||||
#ifdef XR_EXT_debug_utils
|
||||
//! Severities to submit to this messenger
|
||||
XrDebugUtilsMessageSeverityFlagsEXT message_severities;
|
||||
|
||||
|
@ -1126,8 +1123,6 @@ struct oxr_debug_messenger
|
|||
|
||||
//! Opaque user data
|
||||
void *XR_MAY_ALIAS user_data;
|
||||
|
||||
#endif // XR_EXT_debug_utils
|
||||
};
|
||||
|
||||
/*!
|
||||
|
|
Loading…
Reference in a new issue