Commit graph

152 commits

Author SHA1 Message Date
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
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
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
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
Rémi Bernon
f5944b9ae5 vrclient: Generate wtou / utow struct conversion helpers.
CW-Bug-Id: #22729
2024-02-15 15:53:26 +02:00
Rémi Bernon
f1f483a443 vrclient: Generate struct definitions for all abis.
CW-Bug-Id: #22729
2024-02-15 15:53:26 +02:00
Rémi Bernon
cafc3fb8e7 vrclient: Classify struct compatibility over SDK versions.
CW-Bug-Id: #22729
2024-02-15 15:53:26 +02:00
Rémi Bernon
ee98a08f4c vrclient: Use Struct and Field class for conversions.
CW-Bug-Id: #22729
2024-02-15 15:53:26 +02:00
Rémi Bernon
d4cefca096 vrclient: Introduce new Struct generator class.
CW-Bug-Id: #22729
2024-02-15 15:53:26 +02:00
Rémi Bernon
f8cb502eea vrclient: Generate function types with ABI attributes.
CW-Bug-Id: #22729
2024-02-15 15:53:26 +02:00
Rémi Bernon
468731b011 vrclient: Generate linux interface structs.
CW-Bug-Id: #22729
2024-02-15 15:53:26 +02:00
Rémi Bernon
0a2a3c514f vrclient: Get rid of the remaining openvr typedefs.
CW-Bug-Id: #22729
2024-02-15 15:53:26 +02:00
Rémi Bernon
aaf9ba6e56 lsteamclient: Generate functions with calling convention.
CW-Bug-Id: #22729
2024-02-15 15:53:25 +02:00
Rémi Bernon
77d381cd1d vrclient: Use standard fixed size integer types.
CW-Bug-Id: #22729
2024-02-15 15:53:25 +02:00
Rémi Bernon
af68b26a9b vrclient: Use integer types instead of enums.
CW-Bug-Id: #22729
2024-02-15 15:53:25 +02:00
Rémi Bernon
4fee987bf6 vrclient: Correctly assign converted paths to params members.
CW-Bug-Id: #22729
2024-02-15 15:53:25 +02:00
Rémi Bernon
fc1f3d83ee vrclient: Wrap parameters in structures.
CW-Bug-Id: #22729
2024-02-15 15:53:25 +02:00
Rémi Bernon
e4d75b2fb0 vrclient: Simplify unix side parameter conversions.
CW-Bug-Id: #22729
2024-02-15 15:53:25 +02:00
Rémi Bernon
87a65c1993 vrclient: Allocate memory for every path conversion.
CW-Bug-Id: #22729
2024-02-15 15:53:25 +02:00
Rémi Bernon
c3495c7f25 vrclient: Simplify path convertion using separate dicts.
CW-Bug-Id: #22729
2024-02-15 15:53:25 +02:00
Rémi Bernon
e812ab48ee vrclient: Use manual methods instead of generated wrappers.
CW-Bug-Id: #22729
2024-02-15 15:53:25 +02:00
Rémi Bernon
c3ccae9d23 vrclient: Use manual methods for IVRCompositor overrides.
CW-Bug-Id: #22729
2024-02-15 15:53:24 +02:00
Rémi Bernon
d21441d3ef vrclient: Use manual methods for IVRInput overrides.
CW-Bug-Id: #22729
2024-02-15 15:53:24 +02:00
Rémi Bernon
5f787ff524 vrclient: Use manual methods for IVROverlay overrides.
CW-Bug-Id: #22729
2024-02-15 15:53:24 +02:00
Rémi Bernon
f0887911a3 vrclient: Use manual methods for IVRRenderModels overrides.
CW-Bug-Id: #22729
2024-02-15 15:53:24 +02:00
Rémi Bernon
17644c7bbf vrclient: Use manual methods for IVRSystem overrides.
CW-Bug-Id: #22729
2024-02-15 15:53:24 +02:00
Rémi Bernon
d2ef33eb25 vrclient: Use a generic interface wrapper struct.
CW-Bug-Id: #22729
2024-02-15 15:53:24 +02:00
Rémi Bernon
eb531f7764 vrclient: Remove unused wrapper generation case.
CW-Bug-Id: #22729
2024-02-15 15:53:24 +02:00
Rémi Bernon
08fe99382f vrclient: Use with statement to generate the .c files.
CW-Bug-Id: #22729
2024-02-15 15:53:24 +02:00
Rémi Bernon
f0cbd25230 vrclient: Generate the .h and .cpp files separately.
CW-Bug-Id: #22729
2024-02-15 15:53:24 +02:00
Rémi Bernon
37853f8469 vrclient: Pass write function as parameter to handle_method*.
CW-Bug-Id: #22729
2024-02-15 15:53:24 +02:00
Rémi Bernon
358f8f5841 vrclient: Consistently use the computed return type.
CW-Bug-Id: #22729
2024-02-15 15:53:24 +02:00
Rémi Bernon
bf156c5161 vrclient: Fix inconsistent const qualifier handling.
CW-Bug-Id: #22729
2024-02-15 15:53:24 +02:00
Rémi Bernon
ef91c04a22 vrclient: Always use a return result variable.
CW-Bug-Id: #22729
2024-02-15 15:53:24 +02:00
Rémi Bernon
cc38f0c8c1 vrclient: Fix incorrect size paramter passed to lin_to_win.
CW-Bug-Id: #22729
2024-02-15 15:53:24 +02:00
Rémi Bernon
5e415e552c vrclient: Cleanup C method generator.
CW-Bug-Id: #22729
2024-02-15 15:53:23 +02:00
Rémi Bernon
87cdc4fcad vrclient: Generate thiscall wrappers separately.
CW-Bug-Id: #22729
2024-02-15 15:53:23 +02:00
Rémi Bernon
0ffeec686f vrclient: Introduce a new Method cursor wrapper.
CW-Bug-Id: #22729
2024-02-15 15:53:23 +02:00