upgrade to latest OpenVR 1.0.9 (https://github.com/ValveSoftware/openvr)
enable experimental Mac OSX OpenVR, tested using Apple External Graphics Development Kit.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
,{"typedef": "vr::glInt_t","type": "int32_t"}
|
||||
,{"typedef": "vr::glUInt_t","type": "uint32_t"}
|
||||
,{"typedef": "vr::SharedTextureHandle_t","type": "uint64_t"}
|
||||
,{"typedef": "vr::DriverId_t","type": "uint32_t"}
|
||||
,{"typedef": "vr::TrackedDeviceIndex_t","type": "uint32_t"}
|
||||
,{"typedef": "vr::PropertyContainerHandle_t","type": "uint64_t"}
|
||||
,{"typedef": "vr::PropertyTypeTag_t","type": "uint32_t"}
|
||||
@@ -153,6 +154,10 @@
|
||||
,{"name": "Prop_DisplayMCImageNumChannels_Int32","value": "2040"}
|
||||
,{"name": "Prop_DisplayMCImageData_Binary","value": "2041"}
|
||||
,{"name": "Prop_SecondsFromPhotonsToVblank_Float","value": "2042"}
|
||||
,{"name": "Prop_DriverDirectModeSendsVsyncEvents_Bool","value": "2043"}
|
||||
,{"name": "Prop_DisplayDebugMode_Bool","value": "2044"}
|
||||
,{"name": "Prop_GraphicsAdapterLuid_Uint64","value": "2045"}
|
||||
,{"name": "Prop_DriverProvidedChaperonePath_String","value": "2048"}
|
||||
,{"name": "Prop_AttachedDeviceId_String","value": "3000"}
|
||||
,{"name": "Prop_SupportedButtons_Uint64","value": "3001"}
|
||||
,{"name": "Prop_Axis0Type_Int32","value": "3002"}
|
||||
@@ -234,6 +239,8 @@
|
||||
,{"name": "VREvent_WatchdogWakeUpRequested","value": "109"}
|
||||
,{"name": "VREvent_LensDistortionChanged","value": "110"}
|
||||
,{"name": "VREvent_PropertyChanged","value": "111"}
|
||||
,{"name": "VREvent_WirelessDisconnect","value": "112"}
|
||||
,{"name": "VREvent_WirelessReconnect","value": "113"}
|
||||
,{"name": "VREvent_ButtonPress","value": "200"}
|
||||
,{"name": "VREvent_ButtonUnpress","value": "201"}
|
||||
,{"name": "VREvent_ButtonTouch","value": "202"}
|
||||
@@ -302,6 +309,7 @@
|
||||
,{"name": "VREvent_ModelSkinSettingsHaveChanged","value": "853"}
|
||||
,{"name": "VREvent_EnvironmentSettingsHaveChanged","value": "854"}
|
||||
,{"name": "VREvent_PowerSettingsHaveChanged","value": "855"}
|
||||
,{"name": "VREvent_EnableHomeAppSettingsHaveChanged","value": "856"}
|
||||
,{"name": "VREvent_StatusUpdate","value": "900"}
|
||||
,{"name": "VREvent_MCImageUpdated","value": "1000"}
|
||||
,{"name": "VREvent_FirmwareUpdateStarted","value": "1100"}
|
||||
@@ -473,6 +481,8 @@
|
||||
,{"name": "VRInitError_Init_WatchdogDisabledInSettings","value": "132"}
|
||||
,{"name": "VRInitError_Init_VRDashboardNotFound","value": "133"}
|
||||
,{"name": "VRInitError_Init_VRDashboardStartupFailed","value": "134"}
|
||||
,{"name": "VRInitError_Init_VRHomeNotFound","value": "135"}
|
||||
,{"name": "VRInitError_Init_VRHomeStartupFailed","value": "136"}
|
||||
,{"name": "VRInitError_Driver_Failed","value": "200"}
|
||||
,{"name": "VRInitError_Driver_Unknown","value": "201"}
|
||||
,{"name": "VRInitError_Driver_HmdUnknown","value": "202"}
|
||||
@@ -499,6 +509,7 @@
|
||||
,{"name": "VRInitError_Compositor_FirmwareRequiresUpdate","value": "402"}
|
||||
,{"name": "VRInitError_Compositor_OverlayInitFailed","value": "403"}
|
||||
,{"name": "VRInitError_Compositor_ScreenshotsInitFailed","value": "404"}
|
||||
,{"name": "VRInitError_Compositor_UnableToCreateDevice","value": "405"}
|
||||
,{"name": "VRInitError_VendorSpecific_UnableToConnectToOculusRuntime","value": "1000"}
|
||||
,{"name": "VRInitError_VendorSpecific_HmdFound_CantOpenDevice","value": "1101"}
|
||||
,{"name": "VRInitError_VendorSpecific_HmdFound_UnableToRequestConfigStart","value": "1102"}
|
||||
@@ -569,6 +580,7 @@
|
||||
,{"name": "VRApplicationError_OldApplicationQuitting","value": "112"}
|
||||
,{"name": "VRApplicationError_TransitionAborted","value": "113"}
|
||||
,{"name": "VRApplicationError_IsTemplate","value": "114"}
|
||||
,{"name": "VRApplicationError_SteamVRIsExiting","value": "115"}
|
||||
,{"name": "VRApplicationError_BufferTooSmall","value": "200"}
|
||||
,{"name": "VRApplicationError_PropertyNotSet","value": "201"}
|
||||
,{"name": "VRApplicationError_UnknownProperty","value": "202"}
|
||||
@@ -589,6 +601,7 @@
|
||||
,{"name": "VRApplicationProperty_IsTemplate_Bool","value": "61"}
|
||||
,{"name": "VRApplicationProperty_IsInstanced_Bool","value": "62"}
|
||||
,{"name": "VRApplicationProperty_IsInternal_Bool","value": "63"}
|
||||
,{"name": "VRApplicationProperty_WantsCompositorPauseInStandby_Bool","value": "64"}
|
||||
,{"name": "VRApplicationProperty_LastLaunchTime_Uint64","value": "70"}
|
||||
]}
|
||||
, {"enumname": "vr::EVRApplicationTransitionState","values": [
|
||||
@@ -628,6 +641,7 @@
|
||||
,{"name": "VRCompositorError_SharedTexturesNotSupported","value": "106"}
|
||||
,{"name": "VRCompositorError_IndexOutOfRange","value": "107"}
|
||||
,{"name": "VRCompositorError_AlreadySubmitted","value": "108"}
|
||||
,{"name": "VRCompositorError_InvalidBounds","value": "109"}
|
||||
]}
|
||||
, {"enumname": "vr::VROverlayInputMethod","values": [
|
||||
{"name": "VROverlayInputMethod_None","value": "0"}
|
||||
@@ -738,6 +752,8 @@
|
||||
]}
|
||||
],
|
||||
"consts":[{
|
||||
"constname": "k_nDriverNone","consttype": "const uint32_t", "constval": "4294967295"}
|
||||
,{
|
||||
"constname": "k_unMaxDriverDebugResponseSize","consttype": "const uint32_t", "constval": "32768"}
|
||||
,{
|
||||
"constname": "k_unTrackedDeviceIndex_Hmd","consttype": "const uint32_t", "constval": "0"}
|
||||
@@ -784,7 +800,7 @@
|
||||
,{
|
||||
"constname": "k_unScreenshotHandleInvalid","consttype": "const uint32_t", "constval": "0"}
|
||||
,{
|
||||
"constname": "IVRSystem_Version","consttype": "const char *const", "constval": "IVRSystem_015"}
|
||||
"constname": "IVRSystem_Version","consttype": "const char *const", "constval": "IVRSystem_016"}
|
||||
,{
|
||||
"constname": "IVRExtendedDisplay_Version","consttype": "const char *const", "constval": "IVRExtendedDisplay_001"}
|
||||
,{
|
||||
@@ -886,7 +902,7 @@
|
||||
,{
|
||||
"constname": "k_pch_SteamVR_NeverKillProcesses_Bool","consttype": "const char *const", "constval": "neverKillProcesses"}
|
||||
,{
|
||||
"constname": "k_pch_SteamVR_RenderTargetMultiplier_Float","consttype": "const char *const", "constval": "renderTargetMultiplier"}
|
||||
"constname": "k_pch_SteamVR_SupersampleScale_Float","consttype": "const char *const", "constval": "supersampleScale"}
|
||||
,{
|
||||
"constname": "k_pch_SteamVR_AllowAsyncReprojection_Bool","consttype": "const char *const", "constval": "allowAsyncReprojection"}
|
||||
,{
|
||||
@@ -911,14 +927,14 @@
|
||||
"constname": "k_pch_SteamVR_StartOverlayAppsFromDashboard_Bool","consttype": "const char *const", "constval": "startOverlayAppsFromDashboard"}
|
||||
,{
|
||||
"constname": "k_pch_SteamVR_EnableHomeApp","consttype": "const char *const", "constval": "enableHomeApp"}
|
||||
,{
|
||||
"constname": "k_pch_SteamVR_SetInitialDefaultHomeApp","consttype": "const char *const", "constval": "setInitialDefaultHomeApp"}
|
||||
,{
|
||||
"constname": "k_pch_SteamVR_CycleBackgroundImageTimeSec_Int32","consttype": "const char *const", "constval": "CycleBackgroundImageTimeSec"}
|
||||
,{
|
||||
"constname": "k_pch_SteamVR_RetailDemo_Bool","consttype": "const char *const", "constval": "retailDemo"}
|
||||
,{
|
||||
"constname": "k_pch_SteamVR_IpdOffset_Float","consttype": "const char *const", "constval": "ipdOffset"}
|
||||
,{
|
||||
"constname": "k_pch_SteamVR_AllowSupersampleFiltering_Bool","consttype": "const char *const", "constval": "allowSupersampleFiltering"}
|
||||
,{
|
||||
"constname": "k_pch_Lighthouse_Section","consttype": "const char *const", "constval": "driver_lighthouse"}
|
||||
,{
|
||||
@@ -997,6 +1013,8 @@
|
||||
"constname": "k_pch_Perf_SaveTimingsOnExit_Bool","consttype": "const char *const", "constval": "saveTimingsOnExit"}
|
||||
,{
|
||||
"constname": "k_pch_Perf_TestData_Float","consttype": "const char *const", "constval": "perfTestData"}
|
||||
,{
|
||||
"constname": "k_pch_Perf_LinuxGPUProfiling_Bool","consttype": "const char *const", "constval": "linuxGPUProfiling"}
|
||||
,{
|
||||
"constname": "k_pch_CollisionBounds_Section","consttype": "const char *const", "constval": "collisionBounds"}
|
||||
,{
|
||||
@@ -1063,6 +1081,8 @@
|
||||
"constname": "k_pch_Power_ReturnToWatchdogTimeout_Float","consttype": "const char *const", "constval": "returnToWatchdogTimeout"}
|
||||
,{
|
||||
"constname": "k_pch_Power_AutoLaunchSteamVROnButtonPress","consttype": "const char *const", "constval": "autoLaunchSteamVROnButtonPress"}
|
||||
,{
|
||||
"constname": "k_pch_Power_PauseCompositorOnStandby_Bool","consttype": "const char *const", "constval": "pauseCompositorOnStandby"}
|
||||
,{
|
||||
"constname": "k_pch_Dashboard_Section","consttype": "const char *const", "constval": "dashboard"}
|
||||
,{
|
||||
@@ -1077,6 +1097,8 @@
|
||||
"constname": "IVRScreenshots_Version","consttype": "const char *const", "constval": "IVRScreenshots_001"}
|
||||
,{
|
||||
"constname": "IVRResources_Version","consttype": "const char *const", "constval": "IVRResources_001"}
|
||||
,{
|
||||
"constname": "IVRDriverManager_Version","consttype": "const char *const", "constval": "IVRDriverManager_001"}
|
||||
],
|
||||
"structs":[{"struct": "vr::HmdMatrix34_t","fields": [
|
||||
{ "fieldname": "m", "fieldtype": "float [3][4]"}]}
|
||||
@@ -1363,7 +1385,8 @@
|
||||
{ "fieldname": "m_pVRSettings", "fieldtype": "class vr::IVRSettings *"},
|
||||
{ "fieldname": "m_pVRApplications", "fieldtype": "class vr::IVRApplications *"},
|
||||
{ "fieldname": "m_pVRTrackedCamera", "fieldtype": "class vr::IVRTrackedCamera *"},
|
||||
{ "fieldname": "m_pVRScreenshots", "fieldtype": "class vr::IVRScreenshots *"}]}
|
||||
{ "fieldname": "m_pVRScreenshots", "fieldtype": "class vr::IVRScreenshots *"},
|
||||
{ "fieldname": "m_pVRDriverManager", "fieldtype": "class vr::IVRDriverManager *"}]}
|
||||
],
|
||||
"methods":[{
|
||||
"classname": "vr::IVRSystem",
|
||||
@@ -1437,6 +1460,15 @@
|
||||
{ "paramname": "pnAdapterIndex" ,"paramtype": "int32_t *"}
|
||||
]
|
||||
}
|
||||
,{
|
||||
"classname": "vr::IVRSystem",
|
||||
"methodname": "GetOutputDevice",
|
||||
"returntype": "void",
|
||||
"params": [
|
||||
{ "paramname": "pnDevice" ,"paramtype": "uint64_t *"},
|
||||
{ "paramname": "textureType" ,"paramtype": "vr::ETextureType"}
|
||||
]
|
||||
}
|
||||
,{
|
||||
"classname": "vr::IVRSystem",
|
||||
"methodname": "IsDisplayOnDesktop",
|
||||
@@ -3844,5 +3876,20 @@
|
||||
{ "paramname": "unBufferLen" ,"paramtype": "uint32_t"}
|
||||
]
|
||||
}
|
||||
,{
|
||||
"classname": "vr::IVRDriverManager",
|
||||
"methodname": "GetDriverCount",
|
||||
"returntype": "uint32_t"
|
||||
}
|
||||
,{
|
||||
"classname": "vr::IVRDriverManager",
|
||||
"methodname": "GetDriverName",
|
||||
"returntype": "uint32_t",
|
||||
"params": [
|
||||
{ "paramname": "nDriver" ,"paramtype": "vr::DriverId_t"},
|
||||
{ "paramname": "pchValue" ,"out_string": " " ,"paramtype": "char *"},
|
||||
{ "paramname": "unBufferSize" ,"paramtype": "uint32_t"}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user