|
|
@ -75,7 +75,9 @@ const char *IStereoDisplay::getLibraryName(CStereoDeviceInfo::TStereoDeviceLibra
|
|
|
|
|
|
|
|
|
|
|
|
void IStereoDisplay::listDevices(std::vector<CStereoDeviceInfo> &devicesOut)
|
|
|
|
void IStereoDisplay::listDevices(std::vector<CStereoDeviceInfo> &devicesOut)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
#ifdef WITH_LIBOVR
|
|
|
|
CStereoOVR::listDevices(devicesOut);
|
|
|
|
CStereoOVR::listDevices(devicesOut);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#if !FINAL_VERSION
|
|
|
|
#if !FINAL_VERSION
|
|
|
|
CStereoDebugger::listDevices(devicesOut);
|
|
|
|
CStereoDebugger::listDevices(devicesOut);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
@ -88,13 +90,17 @@ IStereoDisplay *IStereoDisplay::createDevice(const CStereoDeviceInfo &deviceInfo
|
|
|
|
|
|
|
|
|
|
|
|
void IStereoDisplay::releaseUnusedLibraries()
|
|
|
|
void IStereoDisplay::releaseUnusedLibraries()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
#ifdef WITH_LIBOVR
|
|
|
|
if (!CStereoOVR::isLibraryInUse())
|
|
|
|
if (!CStereoOVR::isLibraryInUse())
|
|
|
|
CStereoOVR::releaseLibrary();
|
|
|
|
CStereoOVR::releaseLibrary();
|
|
|
|
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void IStereoDisplay::releaseAllLibraries()
|
|
|
|
void IStereoDisplay::releaseAllLibraries()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
#ifdef WITH_LIBOVR
|
|
|
|
CStereoOVR::releaseLibrary();
|
|
|
|
CStereoOVR::releaseLibrary();
|
|
|
|
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
} /* namespace NL3D */
|
|
|
|
} /* namespace NL3D */
|
|
|
|