Commit graph

1480 commits

Author SHA1 Message Date
Joshua Ashton
f14dc8cfb8 rendervulkan: Fix vulkan_create_texture_from_wlr_buffer for cpu ptr path 2023-01-25 14:45:58 +00:00
Joshua Ashton
95dec879eb steamcompmgr: Move xwayland-specific window properties to structure 2023-01-25 14:45:58 +00:00
Simon Ser
82775c0c15 drm: use libdisplay-info to parse make/model 2023-01-24 12:40:42 +00:00
Joshua Ashton
02134f3b63 wlserver: Fix crash on shutdown 2023-01-24 12:38:11 +00:00
Joshua Ashton
0c80f65e67 steamcompmgr: Remove unused 'mode' var from steamcompmgr_win_t 2023-01-23 02:22:36 +00:00
Joshua Ashton
facdc072fc steamcompmgr: rename win to steamcompmgr_win_t 2023-01-23 02:19:13 +00:00
Joshua Ashton
d6c1df4e52 shaders: Add force wide gammut support to itm 2023-01-20 06:21:16 +00:00
Joshua Ashton
39e75c80ef subprojects: Update openvr submodule 2023-01-19 22:07:36 +00:00
Joshua Ashton
9629d7f6cd steamcompmgr: Fix drawing cursor in VR 2023-01-19 06:30:57 +00:00
Lilium
7bd30dd6d8
add the ability to use inverse tone mapping on apps that output SDR (#751) 2023-01-17 05:37:09 +00:00
Joshua Ashton
5113fa225d vr_session: Hook up icon 2023-01-17 02:35:09 +00:00
Joshua Ashton
9718999e9a steamcompmgr: Only call updatePosition for the active cursor
Avoids a bunch of pointless churn waking up other Xwaylands to query their position.
2023-01-16 23:41:12 +00:00
Joshua Ashton
5347e94226 sdlwindow: Implement icon passthru
Also refactor cursor/title to use shared ptr to avoid dup-ing allocations across to sdlwindow thread.
2023-01-16 23:41:12 +00:00
Joshua Ashton
daf4037b1b sdlwindow: Make sure to free cursor surface 2023-01-16 23:41:12 +00:00
Joshua Ashton
dc498638c3 drm: Hook up "content type" property 2023-01-16 21:49:05 +00:00
Joshua Ashton
5fd65fd5f5 steamcompmgr: Implement --cursor-scale-height 2023-01-16 05:03:08 +00:00
Joshua Ashton
4668680555 steamcompmgr: Initial groundwork for cursor scale 2023-01-16 05:03:08 +00:00
Alex Maese
81a32b85fb Add support for grabbing the keyboard 2023-01-15 23:34:17 +00:00
Joshua Ashton
eff0ac001e wlserver: Add some locking assertions 2023-01-12 17:56:06 +00:00
Joshua Ashton
4281cea0e4 sdlwindow: Add missing lock around wlserver_touchmotion
Closes: #745
2023-01-12 17:46:28 +00:00
Joshua Ashton
bf61af1f82 ime: Fix local_ime segfault
Error in rebasing
2023-01-12 15:07:12 +00:00
Joshua Ashton
c2e9b5f50f sdlwindow: Use fake timestamp instead of passing thru
Fixes Wayland value too large errors.
2023-01-12 01:40:03 +00:00
Joshua Ashton
4cc3367ccf ci: Add libxmu 2023-01-12 01:29:54 +00:00
Joshua Ashton
2d7ec208c4 sdlwindow: Forward cursor in absolute mode to host compositor 2023-01-12 01:29:25 +00:00
Joshua Ashton
86ff9cfc58 main: Fix compilation 2023-01-12 00:55:02 +00:00
Joshua Ashton
054458fdaf sdlwindow: Default to non-relative mouse when a cursor image exists
Add --force-grab-cursor to keep old behaviour
2023-01-12 00:52:38 +00:00
Joshua Ashton
f8e66bf4fb sdlwindow: Refactor user events
Allows us to have more user events, and submit them nicely instead of ugly derping into one big user event.
2023-01-12 00:33:21 +00:00
Joshua Ashton
d3424703a8 steamcompmgr: Load host cursor by default in nested 2023-01-12 00:17:20 +00:00
Joshua Ashton
b124200e36 steamcompmgr: Default to left_ptr from cursor font
Avoids having ugly X cursor by default.

Based in part on #280.
2023-01-12 00:11:04 +00:00
Joshua Ashton
f2a4533cce steamcompmgr: Avoid leaking title in get_win_title 2023-01-11 22:43:19 +00:00
Joshua Ashton
45552dfdec ci: Add novr build 2023-01-11 21:20:24 +00:00
Joshua Ashton
cae9b3efb7 vr: Fix usage of HAVE_OPENVR macro 2023-01-11 21:20:24 +00:00
Joshua Ashton
8b01fbefd9 build: Use openvr_api as subproject 2023-01-11 21:20:24 +00:00
Joshua Ashton
33f1103155 vr_session: Add Steam UI integration 2023-01-11 21:20:24 +00:00
Joshua Ashton
48d726c72b steamcompmgr: Make get_appid_from_pid more robust
Was some undefined value ptrs going on here, and not checking if the PID stat opened successfully.
2023-01-11 21:20:24 +00:00
Joshua Ashton
f4f0239b31 vr_session: Initial implementation 2023-01-11 21:20:24 +00:00
Joshua Ashton
b0f2b7e89f ime: Add support for local IMEs 2023-01-11 21:20:24 +00:00
Joshua Ashton
1c186cd286 ime: Fix warnings on newer compilers
Should unbreak CI.
2023-01-11 19:19:03 +00:00
Joshua Ashton
201d5feb39 steamcompmgr: Add --force-windows-fullscreen
Useful for browsers or nested desktop environments.

Also adds GAMESCOPE_FORCE_WINDOWS_FULLSCREEN atom per-xwayland.
2023-01-11 19:14:12 +00:00
Joshua Ashton
041ee8dcd8 drm: Simplify some hdr_output_metadata logic 2023-01-11 00:22:47 +00:00
Joshua Ashton
a9541332b7 drm: Set Colorspace+HDR_OUTPUT_METADATA on non-modeset path too 2023-01-11 00:21:58 +00:00
Joshua Ashton
bb523af686 build: Remove stb submodule that somehow got here 2023-01-07 12:26:31 +00:00
Joshua Ashton
501cb45150 layer: Handle lack of gamescope socket with grace 2023-01-07 12:09:12 +00:00
Joshua Ashton
79ce85b4cb layer: Check if VkFormat is supported for underlying surface in CreateSwapchainKHR 2023-01-07 10:35:38 +00:00
Joshua Ashton
d19872963e steamcompmgr: Support Xwayland resizing in nested 2023-01-07 10:09:46 +00:00
Joshua Ashton
10ca15cc1c steamcompmgr: Handle commit size != window size for layer 2023-01-07 10:02:45 +00:00
Joshua Ashton
5054054768 drm, steamcompmgr: Implement 3DLUT + SHAPERLUT support 2023-01-06 15:54:31 +00:00
Joshua Ashton
dc6d755ada drm: Use 'contains' on map to simplify property code
May as well use C++20 for everything now we need it for the
layer.
2023-01-06 15:25:04 +00:00
Joshua Ashton
67d79cfee7 steamcompmgr: Always composite when debug heatmap is enabled. 2023-01-06 14:21:50 +00:00
Joshua Ashton
d2c14e78b7 steamcompmgr: Fix GAMESCOPE_DEBUG_HDR_HEATMAP 2023-01-06 14:21:50 +00:00