Tony Wasserka
e508f0900c
LibraryForwarding/wayland: Add method signatures required by steam-runtime-launch-options
2025-07-18 11:38:46 +02:00
Paulo Matos
5267cde60e
Whole-tree reformat with clang-format-19
2025-07-17 08:10:00 +02:00
Tony Wasserka
7f216ca02f
LibraryForwarding/wayland: Add new interface objects
2025-07-02 16:51:03 +02:00
Tony Wasserka
18360d4ccb
LibraryForwarding/wayland: Add more method signatures
2025-06-27 10:57:10 +02:00
Tony Wasserka
a691c3cd99
LibraryForwarding/wayland: Fix mprotect call when crossing page boundaries
2025-06-27 10:57:10 +02:00
Tony Wasserka
70bc561bbf
LibraryForwarding/wayland: Fix wl_proxy_marshal_array_constructor
2025-06-27 10:57:10 +02:00
Tony Wasserka
1f6b69573c
CI fix
2025-01-23 19:26:00 +01:00
Tony Wasserka
1c8c5b77f1
Library Forwarding/wayland: Fix regression caused by erroneous format
...
Auto-formatting turned this into "libwayland - client", making FEX fail to
load the host-side equivalent of this library.
2025-01-23 19:20:01 +01:00
Ryan Houdek
e409a0afec
Thunks: Shift namespace name
...
Moves from FEXCore to FEX::HLE. Also moves the ThunkFunctions that get
exposed to a namespace to make it more obvious that these are
thunkhandlers rather than just static functions.
2024-09-27 15:48:31 -07:00
Paulo Matos
2b4ec88dae
Whole-tree reformat
...
This follows discussions from #3413 .
Followup commits add clang-format file, script and blame ignore lists.
2024-04-12 16:26:02 +02:00
Tony Wasserka
67530171e6
Library Forwarding/wayland: Clean up wl_interface exchange
2024-02-21 11:44:55 +01:00
Tony Wasserka
6f00611892
Library Forwarding/wayland: Add functions required by zink + Super Meat Boy on 32-bit
2024-02-21 11:44:55 +01:00
Tony Wasserka
67941f04eb
Library Forwarding/wayland: Write arguments for callbacks to guest stack
2024-02-21 11:44:55 +01:00
Tony Wasserka
7edab7ee3b
Library Forwarding/wayland: For 32-bit guests, support repacking wl_interface/wl_message/wl_argument
2024-02-21 11:44:55 +01:00
Tony Wasserka
b9f2389d74
Library Forwarding/wayland: Avoid using global state to substitute callback tables
...
The pointer tracked internally by Wayland can be queried via
wl_proxy_get_listener, so we don't need our own bookkeeping.
This also changes the callback table's element type to a fixed-size uint64_t,
which makes it work for 32-bit guests.
2024-02-21 11:44:55 +01:00
Tony Wasserka
3c0b041c44
Library Forwarding/wayland: Support reading message signatures on 32-bit guests
2024-02-21 11:44:54 +01:00
Tony Wasserka
48c2e0689a
Thunks/gen: Specialize layout wrappers for pointer types
...
Pointer types inherently cause data layout compatibility issues, so they're
worth special-casing here. The wrappers will type-pun pointers to 32-bit or
64-bit integers (matching the guest architecture) to avoid direct host-side
use of guest pointers without consideration.
2023-12-26 16:02:08 +01:00
Tony Wasserka
7149da387a
Thunks: Annotate pointer parameters throughout all thunked libraries
2023-10-25 12:39:57 +02:00
Tony Wasserka
167fe85cc3
Thunks: Implement ptr_passthrough annotation
...
This annotation can be used for data types that can't be repacked
automatically even with custom repack annotations. With ptr_passthrough,
the types are wrapped in guest_layout and passed to the host like that.
2023-10-19 12:49:00 +02:00
Tony Wasserka
b00d413961
Thunks/wayland: Add more message signatures required by Super Meat Boy with zink
2023-09-19 17:33:24 +02:00
Tony Wasserka
6b54540756
Thunks/wayland: Add support for message signatures with nullable arguments
2023-09-19 17:33:24 +02:00
Tony Wasserka
356a42d330
Thunks/wayland: Reorder listener signatures alphabetically
2023-09-19 17:33:24 +02:00
Tony Wasserka
8fcf419183
Thunks/wayland: Add more functions required by Super Meat Boy via libdecor and SDL
2023-09-19 17:33:23 +02:00
Tony Wasserka
42e2a5421a
Thunks: Add wayland-client
2023-04-01 16:58:30 +02:00