Joshua Ashton
b3347f32fa
layer: Use string views
...
Safer than strcmp
2022-12-30 03:21:55 +00:00
Joshua Ashton
a0222d4142
layer: Log swapchain format
2022-12-30 03:21:55 +00:00
Joshua Ashton
29d5f8d3f9
layer: Respect xserver's id when overriding contents
...
Uses override_window_content2 now.
2022-12-30 03:21:55 +00:00
Joshua Ashton
7fffcc813c
protocol, wlserver: Add override_window_content2
2022-12-30 03:21:55 +00:00
Joshua Ashton
71f7f1362f
layer: Hook up SetHDRMetadata
2022-12-30 03:21:55 +00:00
Joshua Ashton
87b75026f8
protocol: Add set_hdr_metadata to gamescope_xwayland
2022-12-30 03:21:55 +00:00
Joshua Ashton
384cd9ad7d
layer: Refactor SynchronizedMapObject usage
2022-12-30 03:21:55 +00:00
Joshua Ashton
99d3597600
layer: Minor formatting changes
2022-12-30 03:21:55 +00:00
Joshua Ashton
e4ab4ab5c9
layer: Consolidate extra surface format arrays
2022-12-30 03:21:55 +00:00
Joshua Ashton
703516c194
subprojects: Add libdisplay-info dependency
2022-12-30 03:21:55 +00:00
Joshua Ashton
440f85e8d9
layer: Handle nullptr pApplicationName
2022-12-30 03:21:55 +00:00
Joshua Ashton
b83516ed4e
rendervulkan: Expose R8G8B8A8 surfaces
2022-12-30 03:21:55 +00:00
Joshua Ashton
d4ff3b4213
layer: Log colorspace for Gamescope surfaces
2022-12-30 03:21:55 +00:00
Joshua Ashton
a1d5c0583d
shaders: Convert primaries for non-HDR10PQ formats when outputting to HDR10PQ
2022-12-30 03:21:55 +00:00
Joshua Ashton
47069426f7
rendervulkan: Handle manual sRGB->Linear for formats without SRGB views
...
We need these for 1010102 formats.
2022-12-30 03:21:55 +00:00
Joshua Ashton
83392e2afb
layer: Fixup currentExtent surface cap + minImageCount
2022-12-30 03:21:55 +00:00
Joshua Ashton
1d8ce1c634
layer: Improve logging
2022-12-30 03:21:55 +00:00
Joshua Ashton
c2665304c3
rendervulkan: Hook up colorspace mask
2022-12-30 03:21:55 +00:00
Joshua Ashton
49a6c0f451
wlserver, steamcompmgr: Track swapchain feedback per-commit
2022-12-30 03:21:55 +00:00
Joshua Ashton
31e9e4b345
wlserver: Use swapchain feedback for tearing
2022-12-30 03:21:55 +00:00
Joshua Ashton
2aa4791ba0
layer, wlserver: Implement swapchain feedback
2022-12-30 03:21:55 +00:00
Joshua Ashton
1064ddcce7
layer: Expose HDR10 formats
2022-12-30 03:21:55 +00:00
Joshua Ashton
49aeaf31b8
rendervulkan, shaders: Support PQ+scRGB colorspaces + HDR10 output
2022-12-30 03:21:55 +00:00
Joshua Ashton
d3aa886373
shaders: Add colorimetry helpers
2022-12-30 03:21:55 +00:00
Joshua Ashton
7009ff4a9a
rendervulkan: Expose 16161616F format
...
For scRGB.
2022-12-30 03:21:55 +00:00
Joshua Ashton
d80f0ce4b6
subprojects: Bump vkroots
2022-12-30 03:21:55 +00:00
Joshua Ashton
a162024467
rendervulkan: Expose 1010102 formats
2022-12-30 03:21:55 +00:00
Benjamin Cheng
67a908584d
sdlwindow: request HiDPI window
...
If we ask for a HiDPI SDL window on Wayland, we can output
higher-resolution buffers to support the HiDPI case.
Closes : #551
2022-12-28 06:22:12 +00:00
Joshua Ashton
10e4c8d1e7
main: Force disable AMDVLK switchable graphics layer
...
This layer sucks butts and has done nothing but cause constant problems to me for the past 2 years.
Goodbye!
Closes : #725
2022-12-27 18:28:27 +00:00
Joshua Ashton
f863708a1f
steamcompmgr: Disable NV12 screenshot hack
...
Closes : #716
2022-12-21 11:42:09 +00:00
Simon Ser
9f3e152d13
Wait for POLLIN instead of POLLOUT
...
POLLIN waits for the buffer to be ready for reading, POLLOUT waits
for writing.
In gamescope we're reading client buffers, so we need to use POLLIN.
We were using POLLOUT to workaround an amdgpu bug, but that got
fixed in kernel 5.15, so shouldn't be necessary anymore.
2022-12-20 10:12:52 +00:00
Simon Ser
bdd08a7b44
rendervulkan: print DRM format name
2022-12-09 13:32:18 +01:00
Joshua Ashton
7aef264dfc
wlserver: Fix crash on Steam startup sometimes
...
Don't leave the pending surface list entry on the x11_surface_info in a bad state when it's only destroyed on the wayland side.
2022-12-07 18:47:54 +00:00
Sam Lantinga
d5ea069dc3
Merge pull request #701 from slouken/master
...
Fixed NV12 format negotiation
2022-12-06 15:38:29 -08:00
Sam Lantinga
2d885378fd
Fixed stride calculation for NV12 pipewire stream
2022-12-06 10:39:06 -08:00
Sam Lantinga
5038f50f10
Make sure we don't set the pipewire state to running if there was an error during startup
2022-12-06 10:37:55 -08:00
Joshua Ashton
01998fedfb
layer: Add gamescope_wsi layer
2022-12-06 01:25:38 +00:00
Joshua Ashton
c0cb4c336c
steamcompmgr, drm: Add GAMESCOPE_DISPLAY_EDID_PATH atom
2022-12-06 01:25:38 +00:00
Joshua Ashton
dff1b3f390
wlserver: Allow late binding of content overrides
2022-12-06 01:25:38 +00:00
Joshua Ashton
d394ae402f
wlserver: Rename wlr in wlserver_x11_surface_info to main_surface
2022-12-06 01:25:38 +00:00
Joshua Ashton
eec3517fde
wlserver: Move commit handler to wl_surface_info
2022-12-06 01:25:38 +00:00
Joshua Ashton
dd3f14be83
protocol: Expose client protocol headers too
2022-12-06 01:25:38 +00:00
Joshua Ashton
ffffc87f6d
build: Add vkroots dep
2022-12-06 01:25:38 +00:00
llyyr
212638e9d0
wlserver: fix pointer scroll in nested mode
2022-12-05 11:56:53 +01:00
Simon Ser
5a9bf10c81
drm: make g_drmEffectiveOrientation atomic
...
It's accessed from multiple threads.
2022-11-29 11:19:05 +01:00
Simon Ser
3f03b0c392
drm: fix enum mixup in g_drmEffectiveOrientation
2022-11-29 11:15:48 +01:00
Simon Ser
bb67298e95
wlserver: stop using surface role
...
Instead use a regular commit listener.
Fixes the following error:
(EE)
Fatal server error:
(EE) [destroyed object]: error -1: surface was destroyed before its role object
(EE)
2022-11-29 11:09:09 +01:00
Joshua Ashton
48ba04f7f8
steamcompmgr: Bump down focus priority of disabled windows
2022-11-26 06:44:24 +00:00
Jason Aunkst
b7b41a7bf2
fix issue with sdl touch_ids being out of range
2022-11-25 21:21:58 +01:00
Jason Aunkst
fc71041c3e
fix issue with sdl touch_ids being out of range
2022-11-25 21:21:58 +01:00