mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 18:46:18 +00:00
st/oxr: Add XR_FB_display_refresh_rate ext to script
This commit is contained in:
parent
3f98ea5595
commit
eae7231f83
|
@ -30,7 +30,8 @@ EXTENSIONS = (
|
|||
['XR_EXTX_overlay'],
|
||||
['XR_MNDX_egl_enable', 'XR_USE_PLATFORM_EGL', 'XR_USE_GRAPHICS_API_OPENGL'],
|
||||
['XR_MNDX_ball_on_a_stick_controller'],
|
||||
['XR_EXT_hand_tracking']
|
||||
['XR_EXT_hand_tracking'],
|
||||
['XR_FB_display_refresh_rate'],
|
||||
)
|
||||
|
||||
ROOT = Path(__file__).resolve().parent.parent
|
||||
|
|
|
@ -256,6 +256,17 @@
|
|||
#define OXR_EXTENSION_SUPPORT_EXT_hand_tracking(_)
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* XR_FB_display_refresh_rate
|
||||
*/
|
||||
#if defined(XR_FB_display_refresh_rate)
|
||||
#define OXR_HAVE_FB_display_refresh_rate
|
||||
#define OXR_EXTENSION_SUPPORT_FB_display_refresh_rate(_) _(FB_display_refresh_rate, FB_DISPLAY_REFRESH_RATE)
|
||||
#else
|
||||
#define OXR_EXTENSION_SUPPORT_FB_display_refresh_rate(_)
|
||||
#endif
|
||||
|
||||
// end of GENERATED per-extension defines - do not modify - used by scripts
|
||||
|
||||
/*!
|
||||
|
@ -300,5 +311,6 @@
|
|||
OXR_EXTENSION_SUPPORT_EXTX_overlay(_) \
|
||||
OXR_EXTENSION_SUPPORT_MNDX_egl_enable(_) \
|
||||
OXR_EXTENSION_SUPPORT_MNDX_ball_on_a_stick_controller(_) \
|
||||
OXR_EXTENSION_SUPPORT_EXT_hand_tracking(_)
|
||||
OXR_EXTENSION_SUPPORT_EXT_hand_tracking(_) \
|
||||
OXR_EXTENSION_SUPPORT_FB_display_refresh_rate(_)
|
||||
// clang-format on
|
||||
|
|
Loading…
Reference in a new issue