Tony Wasserka
d99b4a80c8
Library Forwarding/GL: Add glX support for 32-bit
2024-06-11 17:14:23 +02:00
Tony Wasserka
a114850c2a
Library Forwarding: Support GL forwarding with guest-libX11
2024-05-02 17:59:28 +02: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
cc8ef16240
Thunks/gen: Consolidate all generated code to one file per library per platform
2022-09-05 15:03:49 +02:00
Ryan Houdek
80a209d6dc
Thunks: Make glXGetProcAddress self-query work
...
We can just have it return itself.
Unknown why some games do this, but it happens and is expected to work.
2022-08-09 03:42:27 -07:00
Ryan Houdek
ff1a5dd4c2
Thunks: Make unknown glXGetProcAddress non-fatal
...
Multiple games will query symbols that are leaked but we don't support.
It is safe to return nullptr in these cases.
Print a warning message still just in-case someone fails hard at GL.
2022-08-09 01:55:25 -07:00
Tony Wasserka
329d624a99
Thunks/gen: Use signature-based thunking of host function pointers
2022-08-08 16:08:46 +02:00
Tony Wasserka
cd05cdaa57
Thunks: Make GL guest thunks implicitly load libX11.so
...
Steam's gameoverlayrenderer.so relies on libX11 symbols to be available
without actually loading that library directly. This works on an unthunked
system since libGL.so depends on libGLX.so, which in turn pulls in libX11.so
at load-time. Adding a fake libX11 dependency to the libGL-guest thunks
reproduces this behavior.
2022-08-04 11:46:26 +02:00
Tony Wasserka
fe2f54fc3d
Thunks/GL: Use guest-callable host function pointers to implement glXGetProcAddress
2022-06-24 11:56:36 +02:00
Tony Wasserka
f4dd1a895e
Thunks: Use libclang-based code generation for libGL
2021-12-10 11:24:58 +01:00
Stefanos Kornilios Mitsis Poiitidis
942b8549c6
Docs: Add tags to the source code
2021-03-30 12:21:18 +03:00
Stefanos Kornilios Mitsis Poiitidis
2425ab994b
Thunks: Generation script refactor, generic callbacks
2020-09-22 14:35:38 +03:00
Stefanos Kornilios Mitsis Poiitidis
db633b8394
Thunklibs: Add partial X11, SDL, GL, EGL, asound, cmake integration
2020-08-08 14:48:20 +03:00