Commit graph

6455 commits

Author SHA1 Message Date
Charlton Rodda f4980d35ea c/render: Fix typos [NFC] 2023-10-23 21:56:58 +01:00
Jakob Bornecrantz 1d37aefae3 doc: Document !1996 2023-10-23 19:55:23 +01:00
Gabriele Boccone ce90c0a1c7 t/common: Fix creation on no driver available
Only say we can create a system if we have a driver in legacy builder.
2023-10-23 19:52:19 +01:00
Gabriele Boccone b500272c0b st/prober: Quit without crashing if no driver is available 2023-10-23 19:51:44 +01:00
Jakob Bornecrantz e221f836a8 doc: Document !1993 2023-10-20 14:26:28 +01:00
Zhongwang Zhang 85fcbfaefe c/client: Make vulkan log configurable 2023-10-20 14:18:30 +01:00
Jakob Bornecrantz 17f4a8ce71 doc: Document !1991 2023-10-19 16:59:12 +01:00
Christoph Haag ef47498137 ipc: Fix session deactivation negative array index access
It is possible for s->global_state.active_client_index to be -1 when
update_server_state_locked is called:

ipc_server_activate_session is only called from
ipc_handle_compositor_predict_frame, which is only called from
ipc_compositor_wait_frame.

So it is possible to deactivate a session that was never activated.
2023-10-19 15:37:01 +02:00
Jakob Bornecrantz 2c48daff5d doc: Document !1987 2023-10-19 11:28:22 +01:00
Jakob Bornecrantz eee17ee2ff u/builders: Refactor space overseer creation helper 2023-10-19 11:28:22 +01:00
Jakob Bornecrantz e805209fcd d/opengloves: Refactor creation 2023-10-19 11:28:22 +01:00
Jakob Bornecrantz 8b30819b35 t/common: Refactor WinMR builder [NFC] 2023-10-19 11:28:22 +01:00
Jakob Bornecrantz 0a8fa312d6 t/common: Refactor SimulaVR builder [NFC] 2023-10-19 11:28:22 +01:00
Jakob Bornecrantz 201ea799ac t/common: Refactor Simulated builder [NFC] 2023-10-19 11:28:22 +01:00
Jakob Bornecrantz fb8c941257 t/common: Refactor Rift-S builder [NFC] 2023-10-19 11:28:22 +01:00
Jakob Bornecrantz 09c75b6aaf t/common: Refactor RGB builder [NFC] 2023-10-19 11:28:22 +01:00
Jakob Bornecrantz 841fc7c644 t/common: Refactor QWERTY builder [NFC] 2023-10-19 11:28:22 +01:00
Jakob Bornecrantz d9329d1c7c t/common: Refactor Nreal Air builder [NFC] 2023-10-19 11:28:22 +01:00
Jakob Bornecrantz 9a27a32b9c t/common: Refactor North Star builder [NFC] 2023-10-19 11:28:22 +01:00
Jakob Bornecrantz 1d8bfc7532 t/common: Refactor Lighthouse builder [NFC] 2023-10-19 11:28:22 +01:00
Jakob Bornecrantz d2ceb81070 t/common: Refactor Legacy builder [NFC] 2023-10-19 11:28:22 +01:00
Jakob Bornecrantz e58926662f t/common: Don't destroy frame context on failure
This is handled later in the builder.
2023-10-19 11:28:22 +01:00
Jakob Bornecrantz 0b9a8ea860 t/common: Return error message proper failure in legacy builder 2023-10-19 11:28:22 +01:00
Jakob Bornecrantz 08ec4e0259 u/system_helpers: Refactor hand-tracker helper getters 2023-10-19 11:28:22 +01:00
Jakob Bornecrantz 464a95abed u/system_helpers: Tidy functions [NFC] 2023-10-19 11:28:22 +01:00
Jakob Bornecrantz a9933c4314 doc: Document !1989 2023-10-18 18:10:50 +01:00
Jakob Bornecrantz 3184941c09 d/rs: Fix warnings [NFC] 2023-10-18 17:30:00 +01:00
Jakob Bornecrantz f5021dcf5a d/nreal_air: Silence warning [NFC] 2023-10-18 17:30:00 +01:00
Jakob Bornecrantz 8110fceb39 d/nreal_air: Tidy [NFC] 2023-10-18 17:28:24 +01:00
Jakob Bornecrantz 8279441486 doc: Document !1964 2023-10-18 15:23:41 +01:00
Jiali Zhang 8f70291cad c/client: Expose size limit for swapchains 2023-10-18 15:20:26 +01:00
Jiali Zhang 900c43a6e2 st/oxr: Verify max swapchain size 2023-10-18 15:14:21 +01:00
Jiali Zhang bbb1de1b0f xrt: Add size limit for swapchain 2023-10-18 15:14:21 +01:00
Jakob Bornecrantz 668a7a8bb9 doc: Document !1985 2023-10-13 17:12:23 +01:00
Jakob Bornecrantz 93f1c0e288 st/oxr: Refactor device role getters 2023-10-13 17:12:23 +01:00
Korcan Hussein 44a2562acd st/oxr: Increase use of action ref in binding code
Make `oxr_action_attachment_bind` only use `oxr_action_ref` params.
2023-10-13 17:12:23 +01:00
Jakob Bornecrantz 53d1bdbe5e doc: Document !1983 2023-10-13 01:15:20 +01:00
Jakob Bornecrantz 1a720c4814 c/util: Add graphics render helpers 2023-10-13 01:15:20 +01:00
Jakob Bornecrantz 8427a33196 c/util: Rename render compute file 2023-10-13 00:45:20 +01:00
Jakob Bornecrantz 0bbbd1b507 c/util: Refactor out render helpers to header 2023-10-13 00:45:20 +01:00
Jakob Bornecrantz b97ca79b5e c/util: Prefix compute helpers with cs 2023-10-13 00:45:20 +01:00
Jakob Bornecrantz 8f7c58e70a c/render: Add graphics layer rendering code 2023-10-13 00:45:20 +01:00
Jakob Bornecrantz 73639f7b37 c/render: Add graphics layer shaders 2023-10-13 00:45:20 +01:00
Jakob Bornecrantz bcccfc2f21 c/render: Make it possible to set clear colour when starting render pass 2023-10-13 00:45:20 +01:00
Jakob Bornecrantz a3f228af35 doc: Document !1981 2023-10-10 16:22:56 +01:00
Jakob Bornecrantz a9cdba2ce5 c/main: Enable timewarp for gfx fast path 2023-10-10 15:33:57 +01:00
Jakob Bornecrantz 4a8a36f620 c/render: Enable timewarp to be used on mesh shader 2023-10-10 15:33:57 +01:00
Jakob Bornecrantz 899f02e17c c/render: Add timewarp to mesh shader
Currently disabled.
2023-10-10 15:33:57 +01:00
Jakob Bornecrantz 09c7aaf97a doc: Document !1980 2023-10-10 14:33:07 +00:00
Jakob Bornecrantz 52b93a5a29 c/render: Make ubo upload and descriptor setting shareable 2023-10-10 14:33:07 +00:00