The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

st/oxr: Add XR_FB_display_refresh_rate ext to script

authored by

Christoph Haag and committed by
Christoph Haag
eae7231f 3f98ea55

+15 -2
+2 -1
scripts/generate_oxr_ext_support.py
··· 30 30 ['XR_EXTX_overlay'], 31 31 ['XR_MNDX_egl_enable', 'XR_USE_PLATFORM_EGL', 'XR_USE_GRAPHICS_API_OPENGL'], 32 32 ['XR_MNDX_ball_on_a_stick_controller'], 33 - ['XR_EXT_hand_tracking'] 33 + ['XR_EXT_hand_tracking'], 34 + ['XR_FB_display_refresh_rate'], 34 35 ) 35 36 36 37 ROOT = Path(__file__).resolve().parent.parent
+13 -1
src/xrt/state_trackers/oxr/oxr_extension_support.h
··· 256 256 #define OXR_EXTENSION_SUPPORT_EXT_hand_tracking(_) 257 257 #endif 258 258 259 + 260 + /* 261 + * XR_FB_display_refresh_rate 262 + */ 263 + #if defined(XR_FB_display_refresh_rate) 264 + #define OXR_HAVE_FB_display_refresh_rate 265 + #define OXR_EXTENSION_SUPPORT_FB_display_refresh_rate(_) _(FB_display_refresh_rate, FB_DISPLAY_REFRESH_RATE) 266 + #else 267 + #define OXR_EXTENSION_SUPPORT_FB_display_refresh_rate(_) 268 + #endif 269 + 259 270 // end of GENERATED per-extension defines - do not modify - used by scripts 260 271 261 272 /*! ··· 300 311 OXR_EXTENSION_SUPPORT_EXTX_overlay(_) \ 301 312 OXR_EXTENSION_SUPPORT_MNDX_egl_enable(_) \ 302 313 OXR_EXTENSION_SUPPORT_MNDX_ball_on_a_stick_controller(_) \ 303 - OXR_EXTENSION_SUPPORT_EXT_hand_tracking(_) 314 + OXR_EXTENSION_SUPPORT_EXT_hand_tracking(_) \ 315 + OXR_EXTENSION_SUPPORT_FB_display_refresh_rate(_) 304 316 // clang-format on