Commit Graph

254 Commits

Author SHA1 Message Date
Paul Gofman
8c3e86c52c vrclient: Substitute Win32 extensions in GetVulkanDeviceExtensionsRequired().
CW-Bug-Id: #24553
2024-12-05 14:47:05 -06:00
Paul Gofman
322e0489c2 vrclient: Factor out get_vulkan_extensions_required().
CW-Bug-Id: #24553
2024-12-05 14:47:05 -06:00
Paul Gofman
80287ab0cf vrclient: Remove FIXME for Vulkan textures in set_skybox_override_init().
Nothing needs to be done with those on the PE side.

CW-Bug-Id: #24553
2024-12-05 14:47:05 -06:00
Paul Gofman
a50dbef090 vrclient: Revert "vrclient: HACK: Fixup digital action 'bChange' parameter on 32 bit."
By removing manual handling of IVRInput::GetDigitalActionData().

CW-Bug-Id: #19067
CW-Bug-Id: #24440
2024-11-06 11:29:12 -06:00
Paul Gofman
baa056bd08 vrclient: Fix flatapi calls on 32 bit.
CW-Bug-Id: #24429
2024-11-04 13:21:16 -06:00
Paul Gofman
a2ca4a8181 vrclient_x64: Fix source length for ntdll_umbstowcs().
CW-Bug-Id: #23962
2024-06-26 19:26:29 -06:00
Yuxuan Shui
a3711d4747 vrclient_x64: Support submitting D3D12 textures.
CW-Bug-Id: #23542
2024-05-23 10:54:49 +03:00
Paul Gofman
76369eb526 vrclient: Support v2.2.3.
CW-Bug-Id: #23412
2024-05-23 10:54:49 +03:00
Paul Gofman
2d93d45926 vrclient: Support v2.0.10.
CW-Bug-Id: #23412
2024-05-23 10:54:49 +03:00
Paul Gofman
5ec8d4dcfb vrclient: Remove upper version limit for IVRCompositor_WaitGetPoses manual override.
CW-Bug-Id: #23412
2024-05-23 10:54:49 +03:00
Paul Gofman
8f03470527 vrclient_x64: Unload native vrclient shared library on process detach.
CW-Bug-Id: #23390
2024-02-15 15:53:29 +02:00
Paul Gofman
250242f66a vrclient: Return STATUS_SUCCESS from vrclient_init() on initialization failures.
Initialization status is returned in parameters, returning non-zero
NTSTATUS causes unneeded assertion failure.

CW-Bug-Id: #23354
2024-02-15 15:53:29 +02:00
Paul Gofman
ff94f04eca steam_helper, vrclient, openxr: Use Unix ABI for winevulkan unwrappers.
CW-Bug-Id: #23180
2024-02-15 15:53:29 +02:00
Paul Gofman
9e6011147d vrclient: Fail initialization if winevulkan unwrappers cannot be loaded.
CW-Bug-Id: #23180
2024-02-15 15:53:29 +02:00
Rémi Bernon
29e9357b09 vrclient: Fix incorrect sized int type for VRInputValueHandle_t.
Fixes a regression in Racket: NX from 9b0930f925.

CW-Bug-Id: #22729
CW-Bug-Id: #23147
2024-02-15 15:53:29 +02:00
Rémi Bernon
3784d63a26 vrclient: Remove unnecessary struct_needs_size_adjustment.
CW-Bug-Id: #22729
CW-Bug-Id: #23147
2024-02-15 15:53:29 +02:00
Rémi Bernon
77c5345632 vrclient: Respect provided struct sizes when returning structures.
CW-Bug-Id: #22729
CW-Bug-Id: #23147
2024-02-15 15:53:29 +02:00
Rémi Bernon
e24f98aa3b vrclient: Add warnings and asserts to unixlib calls.
CW-Bug-Id: #22729
2024-02-15 15:53:29 +02:00
Rémi Bernon
37785cfbd3 vrclient: Split unixlib and build with msvcrt.
CW-Bug-Id: #22729
2024-02-15 15:53:28 +02:00
Rémi Bernon
1e55f9de08 vrclient: Get rid of DECLSPEC_HIDDEN. 2024-02-15 15:53:28 +02:00
Rémi Bernon
dcc841cab0 vrclient: Default calling convention is cdecl.
CW-Bug-Id: #22729
CW-Bug-Id: #23085
2024-02-15 15:53:28 +02:00
Tyson Whitehead
ae89737911 vrclient: Ignore Submit_TextureWithDepth for TextureType_DirectX
Don't bother passing as SteamVR compositor ignores depth textures.

Link: https://github.com/ValveSoftware/Proton/pull/7286
2024-02-15 15:53:28 +02:00
Tyson Whitehead
8c44c9e9ee vrclient: Handle Submit_TextureWithPose for TextureType_DirectX
This resolves a black HMD with the log message
"fixme:vrclient:ivrcompositor_submit_dxvk Unhandled flags 0x8".

Link: https://github.com/ValveSoftware/Proton/pull/7286
2024-02-15 15:53:28 +02:00
Rémi Bernon
8de58db409 vrclient: Trace IVRCompositor_Submit parameters.
CW-Bug-Id: #22729
CW-Bug-Id: #23000
2024-02-15 15:53:28 +02:00
Rémi Bernon
8ff2cf5e8e vrclient: Make sure the param structs are consistently aligned.
CW-Bug-Id: #22729
2024-02-15 15:53:28 +02:00
Rémi Bernon
fd574a64ca vrclient: Use int8_t instead of ambiguous sized bool.
CW-Bug-Id: #22729
2024-02-15 15:53:28 +02:00
Rémi Bernon
5190d26e7e vrclient: Remove unnecessary return value cast.
CW-Bug-Id: #22729
2024-02-15 15:53:28 +02:00
Rémi Bernon
f5ef49cf29 vrclient: Use manual method for IVRTrackedCamera_GetVideoStreamFrame. 2024-02-15 15:53:28 +02:00
Rémi Bernon
e9aeba85f2 vrclient: Move sources out of vrclient_x64 subfolder.
CW-Bug-Id: #22729
2024-02-15 15:53:28 +02:00
Rémi Bernon
d8574d35a5 vrclient: Add traces to path conversion helpers.
CW-Bug-Id: #22729
2024-02-15 15:53:28 +02:00
Rémi Bernon
1e8d243065 vrclient: Move unix to dos path conversions to the unix side.
CW-Bug-Id: #22729
2024-02-15 15:53:28 +02:00
Rémi Bernon
43481a24ff vrclient: Move dos to unix path conversion to the unix side.
CW-Bug-Id: #22729
2024-02-15 15:53:28 +02:00
Rémi Bernon
fd5711e93b vrclient: Use unixlib interface for C API functions.
CW-Bug-Id: #22729
2024-02-15 15:53:27 +02:00
Rémi Bernon
4e8556ae62 vrclient: Move json conversion to the unix side.
CW-Bug-Id: #22729
2024-02-15 15:53:27 +02:00
Rémi Bernon
13fa4c9b13 vrclient: Remove now unused PE-side unwrappers.
CW-Bug-Id: #22729
2024-02-15 15:53:27 +02:00
Rémi Bernon
9219ad9490 vrclient: Unwrap Submit vulkan objects on the unix side.
CW-Bug-Id: #22729
2024-02-15 15:53:27 +02:00
Rémi Bernon
59205c21ee vrclient: Unwrap SetSkyboxOverride vulkan objects on the unix side.
CW-Bug-Id: #22729
2024-02-15 15:53:27 +02:00
Rémi Bernon
0e092b3940 vrclient: Unwrap IVROverlay_SetOverlayTexture vulkan objects on the unix side.
CW-Bug-Id: #22729
2024-02-15 15:53:27 +02:00
Rémi Bernon
5ef99b39a3 vrclient: Unwrap vulkan objects outside of vrclient_translate_texture_dxvk.
CW-Bug-Id: #22729
2024-02-15 15:53:27 +02:00
Rémi Bernon
ec9b2692c7 vrclient: Move physical device wrapping to the unix side.
CW-Bug-Id: #22729
2024-02-15 15:53:27 +02:00
Rémi Bernon
a185561e88 vrclient: Generate unixlib interface in unixlib_generated.h.
CW-Bug-Id: #22729
2024-02-15 15:53:27 +02:00
Rémi Bernon
7449bca90b vrclient: Generate C++ interfaces in unix_private_generated.h.
CW-Bug-Id: #22729
2024-02-15 15:53:27 +02:00
Rémi Bernon
53e65e1ffd vrclient: Update cxx.h to latest msvcp90 version.
CW-Bug-Id: #22729
2024-02-15 15:53:27 +02:00
Rémi Bernon
03366c4d33 vrclient: Move vulkan wrapper / unwrapper loading to the unix side.
CW-Bug-Id: #22729
2024-02-15 15:53:27 +02:00
Rémi Bernon
c6a9e4ce99 vrclient: Move initialization to the unix side.
CW-Bug-Id: #22729
2024-02-15 15:53:27 +02:00
Rémi Bernon
4823be943d vrclient: Generate iface constructor lookup function.
CW-Bug-Id: #22729
2024-02-15 15:53:27 +02:00
Rémi Bernon
70629f4d71 vrclient: Remove unused tests generation code.
CW-Bug-Id: #22729
2024-02-15 15:53:27 +02:00
Rémi Bernon
c31c7b7144 vrclient: Remove old struct conversion code.
CW-Bug-Id: #22729
2024-02-15 15:53:26 +02:00
Rémi Bernon
3defc39189 vrclient: Use manual methods instead of wrap / unwrap.
CW-Bug-Id: #22729
2024-02-15 15:53:26 +02:00
Rémi Bernon
3bfdfc205f vrclient: Use the new structures in thunks.
CW-Bug-Id: #22729
2024-02-15 15:53:26 +02:00