st/oxr: Add disabled XR_EXT_palm_pose

Disabled because no driver implements the needed pose.
This commit is contained in:
Korcan Hussein 2023-06-28 16:04:39 +01:00 committed by Jakob Bornecrantz
parent 9cb2671f51
commit ba6c35e605
2 changed files with 13 additions and 0 deletions

View file

@ -56,6 +56,7 @@ EXTENSIONS = (
['XR_EXT_eye_gaze_interaction'],
['XR_EXT_hand_tracking'],
['XR_EXT_hp_mixed_reality_controller'],
['XR_EXT_palm_pose', 'ALWAYS_DISABLED'],
['XR_EXT_samsung_odyssey_controller'],
['XR_FB_display_refresh_rate'],
['XR_ML_ml2_controller_interaction'],

View file

@ -280,6 +280,17 @@
#endif
/*
* XR_EXT_palm_pose
*/
#if defined(XR_EXT_palm_pose) && defined(ALWAYS_DISABLED)
#define OXR_HAVE_EXT_palm_pose
#define OXR_EXTENSION_SUPPORT_EXT_palm_pose(_) _(EXT_palm_pose, EXT_PALM_POSE)
#else
#define OXR_EXTENSION_SUPPORT_EXT_palm_pose(_)
#endif
/*
* XR_EXT_samsung_odyssey_controller
*/
@ -452,6 +463,7 @@
OXR_EXTENSION_SUPPORT_EXT_eye_gaze_interaction(_) \
OXR_EXTENSION_SUPPORT_EXT_hand_tracking(_) \
OXR_EXTENSION_SUPPORT_EXT_hp_mixed_reality_controller(_) \
OXR_EXTENSION_SUPPORT_EXT_palm_pose(_) \
OXR_EXTENSION_SUPPORT_EXT_samsung_odyssey_controller(_) \
OXR_EXTENSION_SUPPORT_FB_display_refresh_rate(_) \
OXR_EXTENSION_SUPPORT_ML_ml2_controller_interaction(_) \