Commit graph

62 commits

Author SHA1 Message Date
Andrew Eikum
8e26729a1c vrclient: Support openvr v1.1.3b 2018-12-20 10:53:32 -06:00
hdmap
f260a2cb30 vrclient: Support intermediate version 1.0.3a
Used by The Lab.
2018-12-20 10:53:32 -06:00
Andrew Eikum
b14b9ed721 vrclient: Fix IVRRenderModels usage 2018-11-05 11:25:28 -06:00
Andrew Eikum
3f44c228fe vrclient: Add openvr v1.0.16 and v1.0.17 support 2018-10-31 07:48:33 -05:00
Andrew Eikum
cc3e4210cd Revert "build dxvk as native .so"
This reverts commits aef98f1e7d and f85b734f66.

The Steam Runtime is too old to build DXVK, so we have to continue
building it as a Windows DLL.
2018-10-16 07:50:33 -05:00
Andrew Eikum
f85b734f66 Update DXVK to v0.80 and build as native .so 2018-10-11 08:21:09 -05:00
Józef Kucia
cf2be60a67 vrclient: Implement LoadIntoTextureD3D11_Async(). 2018-10-11 08:21:09 -05:00
Józef Kucia
b44c226242 vrclient: Log IVRClientCore initialization errors. 2018-10-11 08:21:09 -05:00
Józef Kucia
7ea55b4679 vrclient: Avoid unnecessary casts. 2018-10-11 08:21:09 -05:00
Józef Kucia
8f57eb1487 vrclient/wined3d: Handle depth textures in synchronous mode. 2018-10-11 08:21:09 -05:00
Józef Kucia
7902969fd7 vrclient/wined3d: Use synchronous mode for older versions. 2018-10-11 08:21:09 -05:00
Józef Kucia
60a45d33b6 vrclient/dxvk: Add FIXME() for unhandled flags. 2018-10-11 08:21:09 -05:00
Józef Kucia
a7eec2b6e9 vrclient: Remove dead code. 2018-10-11 08:21:09 -05:00
Józef Kucia
c0f2627396 vrclient: Introduce VRCLIENT_HAVE_DXVK. 2018-10-11 08:21:09 -05:00
Józef Kucia
cad4edfed8 vrclient: Factor out ivrcompositor_submit_vulkan(). 2018-10-11 08:21:09 -05:00
Józef Kucia
53b798a62f vrclient: Factor out ivrcompositor_submit_dxvk(). 2018-10-11 08:21:08 -05:00
Józef Kucia
66e149f87f vrclient: Factor out ivrcompositor_submit_wined3d(). 2018-10-11 08:21:08 -05:00
Józef Kucia
3f2b30d351 vrclient: Make get_our_compositor() thread-safe.
get_our_compositor() is also called from the wined3d command stream
thread.
2018-10-11 08:21:08 -05:00
Józef Kucia
5d073d3f40 vrclient: Add CFI directives to asm functions.
Fixes backtraces.
2018-10-11 08:21:08 -05:00
Józef Kucia
f7ffa9c395 vrclient: Use movaps to shift XMM registers.
Follow what GCC does.
2018-10-11 08:21:08 -05:00
Józef Kucia
824d0765aa vrclient/gen_wrapper: Reduce code duplication slightly. 2018-10-11 08:21:08 -05:00
Andrew Eikum
58ec0b8b97 lsteamclient: Fix order of overloaded methods in vtable
msvc++ groups overloaded methods and places them in reverse order of
declaration in the vtable.
2018-09-06 14:22:36 -05:00
Mayeul Cantan
0f80f2f52c Import print_function from __future__ for python compatibility
This alters the behaviour of python2's print statement to be compatible
with python3's print function. While not strictly necessary for now,
this might help future compatibility.
Thanks to Seppo Yli-Olli (@nanonyme) for suggesting this.
2018-08-24 09:28:52 +02:00
Mayeul Cantan
9c3667c083 Make proton, gen_wrapper and user_settings python scripts version-agnostic 2018-08-23 14:24:39 +02:00
Seppo Yli-Olli
d162bda989
Sanitize hashbang 2018-08-22 16:49:20 +03:00
Józef Kucia
9344fea359 vclient: Add tests for C API thunks. 2018-07-30 18:04:25 +02:00
Józef Kucia
d8f1c49922 vrclient: Move source files to separate directory.
In preparation for the next commit.
2018-07-30 17:43:32 +02:00
Józef Kucia
cef5122550 vrclient: Fix x64 C API thunks for methods returning records. 2018-07-30 17:43:32 +02:00
Józef Kucia
304a3d8b76 vrclient: Fix float parameters in x64 C API thunks. 2018-07-30 17:43:19 +02:00
Józef Kucia
92f395ddd5 vrclient/gen_wrapper: Introduce get_params() helper function. 2018-07-30 12:49:50 +02:00
Józef Kucia
d687b83fcb vrclient: Generate call_flat_method() functions.
In order to remove hardcoded limit for parameter count in C API
functions.
2018-07-30 09:34:15 +02:00
Józef Kucia
23ffdc5ec8 vrclient: Fix x64 thunks for C API.
* Clean up the stack properly.
* Do not push parameters after shadow register space.
2018-07-26 12:19:15 -05:00
Andrew Eikum
97cb5639d7 vrclient: Fix building on macos 2018-06-07 10:16:52 -05:00
Andrew Eikum
fb1c2686a2 vrclient: Support IVRInput and IVRIOBuffer 2018-06-05 10:02:07 -05:00
Andrew Eikum
af59703d41 vrclient: Import openvr v1.0.13, v1.0.14, and v1.0.15 2018-06-05 09:39:20 -05:00
Andrew Eikum
d472d536cf vrclient: Call SetExplicitTimingMode even on older vrclient versions 2018-06-05 09:34:21 -05:00
Zebediah Figura
f7510f2a7b vrclient: Add support for flat (FnTable) API 2018-06-04 14:50:18 -05:00
Andrew Eikum
565041c0e7 vrclient: Don't build DXVK support on 32-bit Mac
MoltenVK is 64-bit only, so DXVK will not be supported on 32-bit.
2018-05-23 14:34:53 -05:00
Philip Rebohle
e01a5a2855 vrclient: Add DXVK support for D3D11 submissions 2018-05-10 17:40:33 -07:00
Philip Rebohle
bc88c17a36 vrclient: Add DXVK interop header 2018-05-10 17:39:23 -07:00
Andrew Eikum
f8acbc68a9 vrclient: Support TextureWithPose and TextureWithDepth 2018-05-02 08:40:26 -05:00
Andrew Eikum
3c3c08a850 vrclient: Fix building on mac 2018-04-19 14:34:51 -05:00
Andrew Eikum
fa7accb724 Update license info 2018-04-19 12:52:55 -05:00
Józef Kucia
bd96c106ce vrclient: Wait for pending command stream operations before IVRClientCore::Cleanup()
Command stream callbacks may try to access VR client objects.
2018-04-19 16:11:58 +02:00
Józef Kucia
a1031dbce4 vrclient: Add destructors for win objects 2018-04-19 15:55:28 +02:00
Józef Kucia
832108fc39 vrclient: Cleanup includes in vrclient_main.c 2018-04-19 11:26:54 +02:00
Andrew Eikum
5aa155edb2 vrclient: Use Vulkan unwrappers in IVRSystem::GetOutputDevice 2018-04-11 11:38:16 -05:00
Andrew Eikum
f386e16db8 vrclient: Use Vulkan unwrappers in IVRCompositor::GetVulkanDeviceExtensionsRequired 2018-04-11 11:38:05 -05:00
Andrew Eikum
73ba2b3471 vrclient: Use Vulkan unwrappers for IVRCompositor::Submit 2018-04-11 11:37:26 -05:00
Józef Kucia
f83a2f393c vrclient: Call IVRCompositor::SubmitExplicitTimingData() for wined3d D3D11 2018-04-11 08:10:59 -05:00