Commit Graph

205 Commits

Author SHA1 Message Date
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
4988734817 vrclient: Remove unnecessary typedefs.
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
5aefaf36d8 vrclient: Update the params nSubmitFlags instead of the local variable.
CW-Bug-Id: #23000
CW-Bug-Id: #22729
2024-02-15 15:53:25 +02:00
Rémi Bernon
92ac73e803 vrclient: Wrap compositor data cleanup with parameter struct.
CW-Bug-Id: #22729
2024-02-15 15:53:25 +02:00
Rémi Bernon
e8d83b6527 vrclient: Update the submit flags in load_compositor_texture_dxvk.
CW-Bug-Id: #22729
2024-02-15 15:53:25 +02:00
Rémi Bernon
750d2689a6 vrclient: Use SOURCES instead of C(XX)_SRCS. 2024-02-15 15:53:25 +02:00
Rémi Bernon
6d9762bfef vrclient: Fix IVRCompositor_WaitGetPoses calls after struct wrapping.
And call the right versions of the interfaces.

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
c67298dda0 vrclient: Inline some IVRClientCore override code.
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
eff166af7e vrclient: Inline some IVRCompositor override code.
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
192dc52fcd vrclient: Split IVRCompositor helpers to vrcompositor_manual.c.
CW-Bug-Id: #22729
2024-02-15 15:53:24 +02:00
Rémi Bernon
b48a38b688 vrclient: Inline some IVRInput override code.
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
d26ee86dcd vrclient: Split IVRInput helpers to vrinput_manual.c.
CW-Bug-Id: #22729
2024-02-15 15:53:24 +02:00
Rémi Bernon
51f76d68ab vrclient: Inline some IVROverlay override code.
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
09a92a1ce2 vrclient: Split IVROverlay helpers to vroverlay_manual.c.
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
ef849f4822 vrclient: Split IVRRenderModels helpers to vrrendermodels_manual.c.
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
6b50dd5920 vrclient: Split IVRSystem helpers to vrsystem_manual.c.
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
dcb11c0d4b vrclient: Fix some compilation warnings.
CW-Bug-Id: #22729
2024-02-15 15:53:24 +02:00
Rémi Bernon
dd34dad5a1 vrclient: Build using makedep rules.
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