Commit graph

194 commits

Author SHA1 Message Date
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
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
Rémi Bernon
957ce193f9 vrclient: Introduce a new Class cursor wrapper.
CW-Bug-Id: #22729
2024-02-15 15:53:23 +02:00
Rémi Bernon
5990126dad vrclient: Use the generated names in the C++ method.
CW-Bug-Id: #22729
2024-02-15 15:53:23 +02:00
Rémi Bernon
1909c6d441 vrclient: Simplify next-is-size handling a bit.
CW-Bug-Id: #22729
2024-02-15 15:53:23 +02:00
Rémi Bernon
f8a14dfd27 vrclient: Use declspec to generate C++ method signature.
CW-Bug-Id: #22729
2024-02-15 15:53:23 +02:00
Rémi Bernon
992384b88f vrclient: Use method.get_arguments instead of get_params.
CW-Bug-Id: #22729
2024-02-15 15:53:23 +02:00
Rémi Bernon
5e89fb156a vrclient: Split C++/C method generation helpers.
CW-Bug-Id: #22729
2024-02-15 15:53:23 +02:00
Rémi Bernon
f3eb7b9491 vrclient: Split cpp_h generation to a dedicated method.
CW-Bug-Id: #22729
2024-02-15 15:53:23 +02:00
Rémi Bernon
30e873331c vrclient: Return all struct abis from find_struct.
CW-Bug-Id: #22729
2024-02-15 15:53:23 +02:00
Rémi Bernon
c5a4bc1729 vrclient: Filter structs and classes while parsing.
CW-Bug-Id: #22729
2024-02-15 15:53:23 +02:00