Commit graph

223 commits

Author SHA1 Message Date
Rémi Bernon
bc037e3e86 vrclient: Use unixlib interface for C API functions.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
579073e75b vrclient: Move json conversion to the unix side.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
7d5b031b92 vrclient: Remove now unused PE-side unwrappers.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
c4ba0524dd vrclient: Unwrap Submit vulkan objects on the unix side.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
064af24964 vrclient: Unwrap SetSkyboxOverride vulkan objects on the unix side.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
cd561adae9 vrclient: Unwrap IVROverlay_SetOverlayTexture vulkan objects on the unix side.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
75d89dd534 vrclient: Unwrap vulkan objects outside of vrclient_translate_texture_dxvk.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
f611285f5d vrclient: Move physical device wrapping to the unix side.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
37d0f313ba vrclient: Generate unixlib interface in unixlib_generated.h.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
f33668fe81 vrclient: Generate C++ interfaces in unix_private_generated.h.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
3c7694bf7f vrclient: Update cxx.h to latest msvcp90 version.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
37a3e86fcf vrclient: Move vulkan wrapper / unwrapper loading to the unix side.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
e367a8c721 vrclient: Move initialization to the unix side.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
7128ea7fef vrclient: Generate iface constructor lookup function.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
619aa95d93 vrclient: Remove unused tests generation code.
CW-Bug-Id: #22729
2023-12-19 19:42:16 +01:00
Rémi Bernon
622e0dbb48 vrclient: Remove old struct conversion code.
CW-Bug-Id: #22729
2023-12-19 19:42:16 +01:00
Rémi Bernon
331966b667 vrclient: Use manual methods instead of wrap / unwrap.
CW-Bug-Id: #22729
2023-12-19 19:42:16 +01:00
Rémi Bernon
8ca3121d94 vrclient: Use the new structures in thunks.
CW-Bug-Id: #22729
2023-12-19 19:42:16 +01:00
Rémi Bernon
3cfa4ea9d3 vrclient: Generate wtou / utow struct conversion helpers.
CW-Bug-Id: #22729
2023-12-19 19:42:16 +01:00
Rémi Bernon
b6fba86ccc vrclient: Generate struct definitions for all abis.
CW-Bug-Id: #22729
2023-12-19 19:42:16 +01:00
Rémi Bernon
a0116531ad vrclient: Classify struct compatibility over SDK versions.
CW-Bug-Id: #22729
2023-12-19 19:42:16 +01:00
Rémi Bernon
b0aa728ca4 vrclient: Use Struct and Field class for conversions.
CW-Bug-Id: #22729
2023-12-19 19:42:16 +01:00
Rémi Bernon
39ecac12ea vrclient: Introduce new Struct generator class.
CW-Bug-Id: #22729
2023-12-19 19:42:16 +01:00
Rémi Bernon
c724713abe vrclient: Generate function types with ABI attributes.
CW-Bug-Id: #22729
2023-12-19 19:42:16 +01:00
Rémi Bernon
34f00015c4 vrclient: Generate linux interface structs.
CW-Bug-Id: #22729
2023-12-19 19:42:16 +01:00
Rémi Bernon
9a98c4ff35 vrclient: Remove unnecessary typedefs.
CW-Bug-Id: #22729
2023-12-19 19:42:16 +01:00
Rémi Bernon
f32ce232ca vrclient: Get rid of the remaining openvr typedefs.
CW-Bug-Id: #22729
2023-12-19 19:42:15 +01:00
Rémi Bernon
58b60f93f6 lsteamclient: Generate functions with calling convention.
CW-Bug-Id: #22729
2023-12-19 19:42:15 +01:00
Rémi Bernon
2ed2dfd7be vrclient: Use standard fixed size integer types.
CW-Bug-Id: #22729
2023-12-19 19:42:15 +01:00
Rémi Bernon
b2c5a27426 vrclient: Use integer types instead of enums.
CW-Bug-Id: #22729
2023-12-19 19:42:15 +01:00
Rémi Bernon
30548e1df7 vrclient: Update the params nSubmitFlags instead of the local variable.
CW-Bug-Id: #23000
CW-Bug-Id: #22729
2023-12-19 19:42:15 +01:00
Rémi Bernon
96bdb0850b vrclient: Wrap compositor data cleanup with parameter struct.
CW-Bug-Id: #22729
2023-12-19 19:42:15 +01:00
Rémi Bernon
7d4cdbe6a6 vrclient: Update the submit flags in load_compositor_texture_dxvk.
CW-Bug-Id: #22729
2023-12-19 19:42:15 +01:00
Rémi Bernon
97df41ad1e vrclient: Use SOURCES instead of C(XX)_SRCS. 2023-12-19 19:42:15 +01:00
Rémi Bernon
8ccbcb37da vrclient: Fix IVRCompositor_WaitGetPoses calls after struct wrapping.
And call the right versions of the interfaces.

CW-Bug-Id: #22729
2023-12-19 19:42:15 +01:00
Rémi Bernon
79a92742a1 vrclient: Correctly assign converted paths to params members.
CW-Bug-Id: #22729
2023-12-19 19:42:15 +01:00
Rémi Bernon
acb107d328 vrclient: Wrap parameters in structures.
CW-Bug-Id: #22729
2023-12-19 19:42:15 +01:00
Rémi Bernon
8d07121950 vrclient: Simplify unix side parameter conversions.
CW-Bug-Id: #22729
2023-12-19 19:42:15 +01:00
Rémi Bernon
d0552043a2 vrclient: Allocate memory for every path conversion.
CW-Bug-Id: #22729
2023-12-19 19:42:15 +01:00
Rémi Bernon
d3fbfcdafb vrclient: Simplify path convertion using separate dicts.
CW-Bug-Id: #22729
2023-12-19 19:42:15 +01:00
Rémi Bernon
bcd290d98c vrclient: Inline some IVRClientCore override code.
CW-Bug-Id: #22729
2023-12-19 19:42:15 +01:00
Rémi Bernon
0e5e3a726b vrclient: Use manual methods instead of generated wrappers.
CW-Bug-Id: #22729
2023-12-19 19:42:14 +01:00
Rémi Bernon
bf7266f80f vrclient: Inline some IVRCompositor override code.
CW-Bug-Id: #22729
2023-12-19 19:42:14 +01:00
Rémi Bernon
c961e5eeca vrclient: Use manual methods for IVRCompositor overrides.
CW-Bug-Id: #22729
2023-12-19 19:42:14 +01:00
Rémi Bernon
bf35f817b4 vrclient: Split IVRCompositor helpers to vrcompositor_manual.c.
CW-Bug-Id: #22729
2023-12-19 19:42:14 +01:00
Rémi Bernon
b0696e8629 vrclient: Inline some IVRInput override code.
CW-Bug-Id: #22729
2023-12-19 19:42:14 +01:00
Rémi Bernon
7b377a1e2b vrclient: Use manual methods for IVRInput overrides.
CW-Bug-Id: #22729
2023-12-19 19:42:14 +01:00
Rémi Bernon
a13de0f40c vrclient: Split IVRInput helpers to vrinput_manual.c.
CW-Bug-Id: #22729
2023-12-19 19:42:14 +01:00
Rémi Bernon
81de7a5881 vrclient: Inline some IVROverlay override code.
CW-Bug-Id: #22729
2023-12-19 19:42:14 +01:00
Rémi Bernon
2b32174062 vrclient: Use manual methods for IVROverlay overrides.
CW-Bug-Id: #22729
2023-12-19 19:42:14 +01:00