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
Simon Ser
be5e7d23e4
wlserver: fix missing commit events
...
Set role_data to a non-NULL pointer. A NULL pointer indicates to
wlroots that the role is destroyed, and wlroots skips invoking the
commit handler in that case.
2022-11-25 21:18:11 +01:00
Simon Ser
f4a33bd37e
build: use hwdata's pkg-config file
...
Ensures the system has the proper dependency, and avoids hardcoding
the path.
2022-11-24 19:58:38 +01:00
Joshua Ashton
91fbb22bda
wlserver, ime: Port to wlroots 0.16.0
...
Co-authored-by: Simon Ser <contact@emersion.fr>
2022-11-24 19:56:17 +01:00
Simon Ser
f1195b7439
build: remove wayland-protocols dep from executable
...
wayland-protocols is just a bunch of XML files, no point in trying
to link to it.
2022-11-23 13:09:36 +01:00
Joshua Ashton
4f422b7492
rendervulkan: Default to bt601 limited for mtx stuff
2022-11-22 01:19:07 +00:00
Joshua Ashton
a5a6d511d2
pipewire: Hook up colorspaces
2022-11-22 01:15:30 +00:00
Joshua Ashton
0e4d6b17f8
rendervulkan: Add stream colorspace property to CVulkanTexture
2022-11-22 01:13:47 +00:00
Joshua Ashton
0b8c53dcbd
rendervulkan: Add vulkan_acquire_screenshot_texture DRMFormat param
2022-11-22 01:08:35 +00:00
Joshua Ashton
b3205caec4
rendervulkan: Fix srgb-ness + use color space matrix for rgb to NV12 pass
2022-11-22 01:02:12 +00:00
Joshua Ashton
d85d0a1525
pipewire: Remove format assertion
...
No longer true
2022-11-22 00:07:08 +00:00
Joshua Ashton
8755aa0523
rendervulkan: Fix RGB blit path for screenshot textures
2022-11-21 23:52:58 +00:00
Joshua Ashton
57cba0107a
pipewire: NV12 path for pipewire
2022-11-21 22:12:34 +00:00