The open source OpenXR runtime
0
fork

Configure Feed

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

d/simulated: implement get_visibility_mask

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2403>

authored by

Simon Zeni and committed by
Marge Bot
6dc491be e236a472

+5 -5
+5 -5
src/xrt/drivers/simulated/simulated_hmd.c
··· 14 14 #include "math/m_api.h" 15 15 #include "math/m_mathinclude.h" 16 16 17 - #include "util/u_var.h" 18 - #include "util/u_misc.h" 19 - #include "util/u_time.h" 20 17 #include "util/u_debug.h" 21 18 #include "util/u_device.h" 19 + #include "util/u_distortion_mesh.h" 22 20 #include "util/u_logging.h" 21 + #include "util/u_misc.h" 23 22 #include "util/u_pretty_print.h" 24 - #include "util/u_distortion_mesh.h" 23 + #include "util/u_time.h" 24 + #include "util/u_var.h" 25 25 26 26 #include "simulated_interface.h" 27 27 ··· 174 174 return XRT_SUCCESS; 175 175 } 176 176 177 - 178 177 /* 179 178 * 180 179 * 'Exported' functions. ··· 196 195 hmd->base.update_inputs = u_device_noop_update_inputs; 197 196 hmd->base.get_tracked_pose = simulated_hmd_get_tracked_pose; 198 197 hmd->base.get_view_poses = u_device_get_view_poses; 198 + hmd->base.get_visibility_mask = u_device_get_visibility_mask; 199 199 hmd->base.ref_space_usage = simulated_ref_space_usage; 200 200 hmd->base.destroy = simulated_hmd_destroy; 201 201 hmd->base.name = XRT_DEVICE_GENERIC_HMD;