vrclient: Support v2.2.3.

CW-Bug-Id: #23412
This commit is contained in:
Paul Gofman 2024-02-14 14:06:15 -06:00 committed by Arkadiusz Hiler
parent 2d93d45926
commit 76369eb526
21 changed files with 8130 additions and 40 deletions

View file

@ -986,6 +986,58 @@ extern "C" const unixlib_entry_t __wine_unix_call_funcs[] =
IVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults,
IVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs,
IVRCompositor_IVRCompositor_027_GetPosesForFrame,
IVRCompositor_IVRCompositor_028_SetTrackingSpace,
IVRCompositor_IVRCompositor_028_GetTrackingSpace,
IVRCompositor_IVRCompositor_028_WaitGetPoses,
IVRCompositor_IVRCompositor_028_GetLastPoses,
IVRCompositor_IVRCompositor_028_GetLastPoseForTrackedDeviceIndex,
IVRCompositor_IVRCompositor_028_Submit,
IVRCompositor_IVRCompositor_028_SubmitWithArrayIndex,
IVRCompositor_IVRCompositor_028_ClearLastSubmittedFrame,
IVRCompositor_IVRCompositor_028_PostPresentHandoff,
IVRCompositor_IVRCompositor_028_GetFrameTiming,
IVRCompositor_IVRCompositor_028_GetFrameTimings,
IVRCompositor_IVRCompositor_028_GetFrameTimeRemaining,
IVRCompositor_IVRCompositor_028_GetCumulativeStats,
IVRCompositor_IVRCompositor_028_FadeToColor,
IVRCompositor_IVRCompositor_028_GetCurrentFadeColor,
IVRCompositor_IVRCompositor_028_FadeGrid,
IVRCompositor_IVRCompositor_028_GetCurrentGridAlpha,
IVRCompositor_IVRCompositor_028_SetSkyboxOverride,
IVRCompositor_IVRCompositor_028_ClearSkyboxOverride,
IVRCompositor_IVRCompositor_028_CompositorBringToFront,
IVRCompositor_IVRCompositor_028_CompositorGoToBack,
IVRCompositor_IVRCompositor_028_CompositorQuit,
IVRCompositor_IVRCompositor_028_IsFullscreen,
IVRCompositor_IVRCompositor_028_GetCurrentSceneFocusProcess,
IVRCompositor_IVRCompositor_028_GetLastFrameRenderer,
IVRCompositor_IVRCompositor_028_CanRenderScene,
IVRCompositor_IVRCompositor_028_ShowMirrorWindow,
IVRCompositor_IVRCompositor_028_HideMirrorWindow,
IVRCompositor_IVRCompositor_028_IsMirrorWindowVisible,
IVRCompositor_IVRCompositor_028_CompositorDumpImages,
IVRCompositor_IVRCompositor_028_ShouldAppRenderWithLowResources,
IVRCompositor_IVRCompositor_028_ForceInterleavedReprojectionOn,
IVRCompositor_IVRCompositor_028_ForceReconnectProcess,
IVRCompositor_IVRCompositor_028_SuspendRendering,
IVRCompositor_IVRCompositor_028_GetMirrorTextureD3D11,
IVRCompositor_IVRCompositor_028_ReleaseMirrorTextureD3D11,
IVRCompositor_IVRCompositor_028_GetMirrorTextureGL,
IVRCompositor_IVRCompositor_028_ReleaseSharedGLTexture,
IVRCompositor_IVRCompositor_028_LockGLSharedTextureForAccess,
IVRCompositor_IVRCompositor_028_UnlockGLSharedTextureForAccess,
IVRCompositor_IVRCompositor_028_GetVulkanInstanceExtensionsRequired,
IVRCompositor_IVRCompositor_028_GetVulkanDeviceExtensionsRequired,
IVRCompositor_IVRCompositor_028_SetExplicitTimingMode,
IVRCompositor_IVRCompositor_028_SubmitExplicitTimingData,
IVRCompositor_IVRCompositor_028_IsMotionSmoothingEnabled,
IVRCompositor_IVRCompositor_028_IsMotionSmoothingSupported,
IVRCompositor_IVRCompositor_028_IsCurrentSceneFocusAppLoading,
IVRCompositor_IVRCompositor_028_SetStageOverride_Async,
IVRCompositor_IVRCompositor_028_ClearStageOverride,
IVRCompositor_IVRCompositor_028_GetCompositorBenchmarkResults,
IVRCompositor_IVRCompositor_028_GetLastPosePredictionIDs,
IVRCompositor_IVRCompositor_028_GetPosesForFrame,
IVRControlPanel_IVRControlPanel_006_undoc1,
IVRControlPanel_IVRControlPanel_006_undoc2,
IVRControlPanel_IVRControlPanel_006_undoc3,
@ -3668,6 +3720,14 @@ C_ASSERT( sizeof(VREvent_ApplicationLaunch_t().pid) >= 4 );
C_ASSERT( offsetof(VREvent_ApplicationLaunch_t, unArgsHandle) == 4 );
C_ASSERT( sizeof(VREvent_ApplicationLaunch_t().unArgsHandle) >= 4 );
C_ASSERT( sizeof(VREvent_AudioMuteControl_t) >= 1 );
C_ASSERT( offsetof(VREvent_AudioMuteControl_t, bMute) == 0 );
C_ASSERT( sizeof(VREvent_AudioMuteControl_t().bMute) >= 1 );
C_ASSERT( sizeof(VREvent_AudioVolumeControl_t) >= 4 );
C_ASSERT( offsetof(VREvent_AudioVolumeControl_t, fVolumeLevel) == 0 );
C_ASSERT( sizeof(VREvent_AudioVolumeControl_t().fVolumeLevel) >= 4 );
C_ASSERT( sizeof(VREvent_Chaperone_t) >= 16 );
C_ASSERT( offsetof(VREvent_Chaperone_t, m_nPreviousUniverse) == 0 );
C_ASSERT( sizeof(VREvent_Chaperone_t().m_nPreviousUniverse) >= 8 );
@ -3998,6 +4058,70 @@ C_ASSERT( sizeof(TrackedDevicePose_t().bPoseIsValid) >= 1 );
C_ASSERT( offsetof(TrackedDevicePose_t, bDeviceIsConnected) == 77 );
C_ASSERT( sizeof(TrackedDevicePose_t().bDeviceIsConnected) >= 1 );
C_ASSERT( sizeof(VREvent_Data_t_223) >= 48 );
C_ASSERT( offsetof(VREvent_Data_t_223, reserved) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().reserved) >= 48 );
C_ASSERT( offsetof(VREvent_Data_t_223, controller) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().controller) >= 4 );
C_ASSERT( offsetof(VREvent_Data_t_223, mouse) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().mouse) >= 16 );
C_ASSERT( offsetof(VREvent_Data_t_223, scroll) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().scroll) >= 20 );
C_ASSERT( offsetof(VREvent_Data_t_223, process) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().process) >= 12 );
C_ASSERT( offsetof(VREvent_Data_t_223, notification) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().notification) >= 16 );
C_ASSERT( offsetof(VREvent_Data_t_223, overlay) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().overlay) >= 32 );
C_ASSERT( offsetof(VREvent_Data_t_223, status) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().status) >= 4 );
C_ASSERT( offsetof(VREvent_Data_t_223, keyboard) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().keyboard) >= 24 );
C_ASSERT( offsetof(VREvent_Data_t_223, ipd) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().ipd) >= 4 );
C_ASSERT( offsetof(VREvent_Data_t_223, chaperone) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().chaperone) >= 16 );
C_ASSERT( offsetof(VREvent_Data_t_223, performanceTest) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().performanceTest) >= 4 );
C_ASSERT( offsetof(VREvent_Data_t_223, touchPadMove) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().touchPadMove) >= 24 );
C_ASSERT( offsetof(VREvent_Data_t_223, seatedZeroPoseReset) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().seatedZeroPoseReset) >= 1 );
C_ASSERT( offsetof(VREvent_Data_t_223, screenshot) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().screenshot) >= 8 );
C_ASSERT( offsetof(VREvent_Data_t_223, screenshotProgress) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().screenshotProgress) >= 4 );
C_ASSERT( offsetof(VREvent_Data_t_223, applicationLaunch) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().applicationLaunch) >= 8 );
C_ASSERT( offsetof(VREvent_Data_t_223, cameraSurface) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().cameraSurface) >= 16 );
C_ASSERT( offsetof(VREvent_Data_t_223, messageOverlay) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().messageOverlay) >= 4 );
C_ASSERT( offsetof(VREvent_Data_t_223, property) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().property) >= 16 );
C_ASSERT( offsetof(VREvent_Data_t_223, hapticVibration) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().hapticVibration) >= 32 );
C_ASSERT( offsetof(VREvent_Data_t_223, webConsole) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().webConsole) >= 8 );
C_ASSERT( offsetof(VREvent_Data_t_223, inputBinding) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().inputBinding) >= 32 );
C_ASSERT( offsetof(VREvent_Data_t_223, actionManifest) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().actionManifest) >= 32 );
C_ASSERT( offsetof(VREvent_Data_t_223, spatialAnchor) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().spatialAnchor) >= 4 );
C_ASSERT( offsetof(VREvent_Data_t_223, progressUpdate) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().progressUpdate) >= 48 );
C_ASSERT( offsetof(VREvent_Data_t_223, showUi) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().showUi) >= 4 );
C_ASSERT( offsetof(VREvent_Data_t_223, showDevTools) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().showDevTools) >= 4 );
C_ASSERT( offsetof(VREvent_Data_t_223, hdcpError) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().hdcpError) >= 4 );
C_ASSERT( offsetof(VREvent_Data_t_223, audioVolumeControl) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().audioVolumeControl) >= 4 );
C_ASSERT( offsetof(VREvent_Data_t_223, audioMuteControl) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_223().audioMuteControl) >= 1 );
C_ASSERT( sizeof(VREvent_Data_t_2010) >= 48 );
C_ASSERT( offsetof(VREvent_Data_t_2010, reserved) == 0 );
C_ASSERT( sizeof(VREvent_Data_t_2010().reserved) >= 48 );
@ -10312,6 +10436,46 @@ u32_VRControllerState001_t::operator w32_VRControllerState001_t() const
}
#endif
C_ASSERT( sizeof(w64_VREvent_t_223) >= 64 );
C_ASSERT( offsetof(w64_VREvent_t_223, eventType) == 0 );
C_ASSERT( sizeof(w64_VREvent_t_223().eventType) >= 4 );
C_ASSERT( offsetof(w64_VREvent_t_223, trackedDeviceIndex) == 4 );
C_ASSERT( sizeof(w64_VREvent_t_223().trackedDeviceIndex) >= 4 );
C_ASSERT( offsetof(w64_VREvent_t_223, eventAgeSeconds) == 8 );
C_ASSERT( sizeof(w64_VREvent_t_223().eventAgeSeconds) >= 4 );
C_ASSERT( offsetof(w64_VREvent_t_223, data) == 16 );
C_ASSERT( sizeof(w64_VREvent_t_223().data) >= 48 );
C_ASSERT( sizeof(u64_VREvent_t_223) >= 60 );
C_ASSERT( offsetof(u64_VREvent_t_223, eventType) == 0 );
C_ASSERT( sizeof(u64_VREvent_t_223().eventType) >= 4 );
C_ASSERT( offsetof(u64_VREvent_t_223, trackedDeviceIndex) == 4 );
C_ASSERT( sizeof(u64_VREvent_t_223().trackedDeviceIndex) >= 4 );
C_ASSERT( offsetof(u64_VREvent_t_223, eventAgeSeconds) == 8 );
C_ASSERT( sizeof(u64_VREvent_t_223().eventAgeSeconds) >= 4 );
C_ASSERT( offsetof(u64_VREvent_t_223, data) == 12 );
C_ASSERT( sizeof(u64_VREvent_t_223().data) >= 48 );
C_ASSERT( sizeof(w32_VREvent_t_223) >= 64 );
C_ASSERT( offsetof(w32_VREvent_t_223, eventType) == 0 );
C_ASSERT( sizeof(w32_VREvent_t_223().eventType) >= 4 );
C_ASSERT( offsetof(w32_VREvent_t_223, trackedDeviceIndex) == 4 );
C_ASSERT( sizeof(w32_VREvent_t_223().trackedDeviceIndex) >= 4 );
C_ASSERT( offsetof(w32_VREvent_t_223, eventAgeSeconds) == 8 );
C_ASSERT( sizeof(w32_VREvent_t_223().eventAgeSeconds) >= 4 );
C_ASSERT( offsetof(w32_VREvent_t_223, data) == 16 );
C_ASSERT( sizeof(w32_VREvent_t_223().data) >= 48 );
C_ASSERT( sizeof(u32_VREvent_t_223) >= 60 );
C_ASSERT( offsetof(u32_VREvent_t_223, eventType) == 0 );
C_ASSERT( sizeof(u32_VREvent_t_223().eventType) >= 4 );
C_ASSERT( offsetof(u32_VREvent_t_223, trackedDeviceIndex) == 4 );
C_ASSERT( sizeof(u32_VREvent_t_223().trackedDeviceIndex) >= 4 );
C_ASSERT( offsetof(u32_VREvent_t_223, eventAgeSeconds) == 8 );
C_ASSERT( sizeof(u32_VREvent_t_223().eventAgeSeconds) >= 4 );
C_ASSERT( offsetof(u32_VREvent_t_223, data) == 12 );
C_ASSERT( sizeof(u32_VREvent_t_223().data) >= 48 );
C_ASSERT( sizeof(w64_VREvent_t_2010) >= 64 );
C_ASSERT( offsetof(w64_VREvent_t_2010, eventType) == 0 );
C_ASSERT( sizeof(w64_VREvent_t_2010().eventType) >= 4 );
@ -11352,6 +11516,50 @@ C_ASSERT( sizeof(u32_VREvent_t_090().data) >= 16 );
C_ASSERT( offsetof(u32_VREvent_t_090, eventAgeSeconds) == 24 );
C_ASSERT( sizeof(u32_VREvent_t_090().eventAgeSeconds) >= 4 );
#ifdef __x86_64__
w64_VREvent_t_223::operator u64_VREvent_t_223() const
{
u64_VREvent_t_223 ret;
ret.eventType = this->eventType;
ret.trackedDeviceIndex = this->trackedDeviceIndex;
ret.eventAgeSeconds = this->eventAgeSeconds;
ret.data = this->data;
return ret;
}
u64_VREvent_t_223::operator w64_VREvent_t_223() const
{
w64_VREvent_t_223 ret;
ret.eventType = this->eventType;
ret.trackedDeviceIndex = this->trackedDeviceIndex;
ret.eventAgeSeconds = this->eventAgeSeconds;
ret.data = this->data;
return ret;
}
#endif
#ifdef __i386__
w32_VREvent_t_223::operator u32_VREvent_t_223() const
{
u32_VREvent_t_223 ret;
ret.eventType = this->eventType;
ret.trackedDeviceIndex = this->trackedDeviceIndex;
ret.eventAgeSeconds = this->eventAgeSeconds;
ret.data = this->data;
return ret;
}
u32_VREvent_t_223::operator w32_VREvent_t_223() const
{
w32_VREvent_t_223 ret;
ret.eventType = this->eventType;
ret.trackedDeviceIndex = this->trackedDeviceIndex;
ret.eventAgeSeconds = this->eventAgeSeconds;
ret.data = this->data;
return ret;
}
#endif
#ifdef __x86_64__
w64_VREvent_t_2010::operator u64_VREvent_t_2010() const
{