Commit graph

6458 commits

Author SHA1 Message Date
Jakob Bornecrantz ee2fe9fd40 c/[render|main]: Refactor scratch images
This commit does a few things:

* Makes the scratch images per view
* Introduces a new struct that is managed by the renderer
2023-09-20 16:41:30 +01:00
Jakob Bornecrantz fed360e98b c/[render|util|main]: Refactor layer squasher code
This commit does a couple of things in one go.

* The layer squasher now dispatches once per view.
  * Reducing the number of samplers needed.
  * Allows for per view target.
* Refactor the setup code to comp_util.
* The layout transition part now happens in new helper code.

On my system this change is very marginally slower,
around 0.05ms and 0.1ms slower on average.
2023-09-20 16:41:30 +01:00
Jakob Bornecrantz dd21f3c7ec c/render: Explain how we get the direction [NFC] 2023-09-20 16:41:30 +01:00
Jakob Bornecrantz 7996013e4d c/render: Rename defines to proper prefix [NFC] 2023-09-20 16:41:30 +01:00
Jakob Bornecrantz 7441a9bda6 c/render: Better names for descriptor sets [NFC] 2023-09-20 16:41:30 +01:00
Jakob Bornecrantz 50adb87d79 c/util: Tweak cmake [NFC] 2023-09-20 16:41:30 +01:00
Jakob Bornecrantz 322c652691 doc: Document !1920 2023-09-20 15:37:34 +01:00
Jakob Bornecrantz 6860fcc7ba c/client: Tidy D3D12 whitespace [NFC] 2023-09-20 15:37:34 +01:00
Jakob Bornecrantz 768cc06a8e c/client: Tidy call [NFC] 2023-09-20 15:37:34 +01:00
Fernando Velazquez Innella 9918e55fbf c/client: Use native d3d12 allocator.
Includes a workaround for D3D12 and Vulkan interop issues in NVidia
hardware. We want to directly allocate in D3D12 to be able to use all
resource flags during creation, such as multi-gpu ones.
2023-09-20 15:37:34 +01:00
Fernando Velazquez Innella 6342c72665 a/d3d: Add native d3d12 allocator and copy helpers.
Add a D3D12 allocator and helper code to copy from shadow images,
the copy is needed to work around a interop issue on NVIDIA hardware.

Co-authored-by: Ryan Pavlik <ryan.pavlik@collabora.com>
2023-09-20 14:10:40 +00:00
Jakob Bornecrantz 84ac7b14be doc: Document !1956 2023-09-17 16:00:44 +01:00
Jakob Bornecrantz 740ff1bcf5 c/render: Stop timewarp stretching by changing math
Tested-by: BabbleBones <BabbleBones@protonmail.com>
2023-09-17 16:00:27 +01:00
Jakob Bornecrantz bcccc0ff1f doc: Document !1953 2023-09-13 20:32:37 +01:00
Ryan Pavlik 5b0f7cb5ef c/main: Fix doxygen warning
Co-authored-by: Jakob Bornecrantz <jakob@collabora.com>
2023-09-13 20:29:36 +01:00
Ryan Pavlik a57c7a2408 xrt: Fix doxygen warnings 2023-09-13 20:21:57 +01:00
Ryan Pavlik 2398dc6ca4 t/common: Fix doxygen warnings 2023-09-13 20:21:57 +01:00
Ryan Pavlik aa2cc78396 st/oxr: Fix doxygen warnings 2023-09-13 20:21:57 +01:00
Ryan Pavlik 63b18384dc d/nreal_air: Fix doxygen warnings 2023-09-13 20:21:57 +01:00
Ryan Pavlik a66aeca91a c/client: Fix doxygen warnings 2023-09-13 20:21:57 +01:00
Ryan Pavlik c458ed6fee d/steamvr_lh: Fix doxygen warnings 2023-09-13 20:21:57 +01:00
Ryan Pavlik 3b1eb21e9f a/vk: Fix doxygen warnings 2023-09-13 20:21:57 +01:00
Ryan Pavlik 74914f35d5 a/util: Fix doxygen warnings 2023-09-13 20:21:57 +01:00
Ryan Pavlik 5fc532d23f a/tracking: Fix doxygen warnings 2023-09-13 20:21:57 +01:00
Jakob Bornecrantz 7fb06198cf doc: Document !1951 2023-09-13 20:13:20 +01:00
Jiali Zhang baf6c7f78d st/oxr: Implementation of XR_KHR_android_thread_settings 2023-09-13 20:13:20 +01:00
Jakob Bornecrantz 54017f6b3e c/multi: Add stub set thread hint function 2023-09-13 20:04:52 +01:00
Jiali Zhang 81a094f990 ipc: Add support for thread hint function 2023-09-13 20:04:49 +01:00
Jiali Zhang faec524709 xrt: Add thread hint function 2023-09-13 20:03:17 +01:00
Jakob Bornecrantz 3696586441 doc: Document !1917 2023-09-13 17:33:55 +00:00
Jakob Bornecrantz 3de99b63d9 ipc: Add a interface header for ipc_server_main[_android] 2023-09-13 17:33:55 +00:00
Jakob Bornecrantz 5be0767aa9 ipc: Add a interface header for ipc_instance_create 2023-09-13 17:33:55 +00:00
Jakob Bornecrantz 6c87d66edb doc: Document !1942 2023-09-13 17:18:25 +00:00
Jakob Bornecrantz fd31b432b0 doc: Document !1203
Better late then never.
2023-09-13 17:18:25 +00:00
Jakob Bornecrantz ad520c82c3 a/vk: Make sure to print the first GPU as well 2023-09-13 17:18:25 +00:00
Jakob Bornecrantz 7b3763650e a/vk: Also print device type when listing GPUs 2023-09-13 17:18:25 +00:00
Jakob Bornecrantz ccf232d4ac a/vk: Add vk_physical_device_type_string 2023-09-13 17:18:25 +00:00
Jakob Bornecrantz ceeeb2d136 a/vk: Make VkPhysicalDeviceProperties argument const 2023-09-13 17:18:25 +00:00
Jakob Bornecrantz 739d71a225 doc: Document !1908 2023-09-12 15:40:17 +01:00
Lubosz Sarnecki 040ad33188 t/libmonado: Add libmonado implementation
Work done by lots of different authors that did various pieces of the library.

Co-authored-by: Korcan Hussein <korcan.hussein@collabora.com>
Co-authored-by: Jakob Bornecrantz <jakob@collabora.com>
Co-authored-by: Ryan Pavlik <ryan.pavlik@collabora.com>
2023-09-12 15:38:31 +01:00
Zhongwang Zhang be0df71004 doc: Document !1939 2023-09-08 15:15:24 +00:00
Zhongwang Zhang f60c512cc9 external: Update android-jni-wrap, add Display.Mode 2023-09-08 15:15:24 +00:00
Mateo de Mayo 9dde11eff7 doc: Document !1937 2023-09-08 13:12:21 +00:00
Mateo de Mayo 1da029adaa t/slam: Turn timestamp asserts into warnings 2023-09-08 13:12:21 +00:00
Mateo de Mayo f8932fe879 t/slam: Add reset state button 2023-09-08 13:12:21 +00:00
Mateo de Mayo 5fd73ea70c external/slam: Update to 7.0.0 with RESET_TRACKER_STATE and ignore masks 2023-09-08 13:12:21 +00:00
Mateo de Mayo ae1de1f2b5 a/vive: Add FoV tweaks for another index HMD 2023-09-08 13:12:21 +00:00
Mateo de Mayo a4a6850094 h/mercury: Add min detection confidence option 2023-09-08 13:12:21 +00:00
Mateo de Mayo 14c1ecc96e t/euroc: Allow euroc recorder to start and stop recordings in the same session 2023-09-08 13:12:21 +00:00
Jakob Bornecrantz cdcb4fbc57 doc: Document !1948 2023-09-08 13:58:09 +01:00