overte/plugins
Anthony J. Thibault d218ca4960 openvr: fix for crash on exit
Before this fix, a script could call into HMD.getHUDLookAtPosition2D() while the app was shutting down, which in turn would call
getHeadPose() on the currently active display plugin.  This call could cause a crash within the openvr plugin, because the SDK was either shutdown, or in the process of shutting down on the main thread.

This fixes this by spliting the previous DisplayPlugin::getHeadPose(int) into two parts:

* updateHeadPose(int) which is only called once a frame and only by the main thread.
* getHeadPose() which is thread-safe and will return a cached copy of the hmd pose sampled by the last updateHeadPose.
2016-03-18 12:26:11 -07:00
..
hifiNeuron Working on crash bugs 2016-03-09 14:00:05 -08:00
hifiSdl2 Working on crash bugs 2016-03-09 14:00:05 -08:00
hifiSixense Working on crash bugs 2016-03-09 14:00:05 -08:00
oculus openvr: fix for crash on exit 2016-03-18 12:26:11 -07:00
oculusLegacy Fixing legacy plugin 2016-03-17 10:13:52 -07:00
openvr openvr: fix for crash on exit 2016-03-18 12:26:11 -07:00
CMakeLists.txt Support for runtime plugins (DLLs) 2015-11-01 11:12:12 -08:00