Commit graph

1770 commits

Author SHA1 Message Date
Joshua Ashton
10d28b9cb3 steamcompmgr: Make out of screenshot images not fatal
This shouldn't crash...
2023-11-07 16:19:48 +00:00
Joshua Ashton
1d468679da rendervulkan: Bump pScreenshotImages to 9
8 pw buffers + 1 screenshot

Should fix crash on recording and screenshot at the same time
2023-11-07 16:18:33 +00:00
brndd
36ba0e2579 Fix KEY_102ND not working on ISO keyboards.
Signed-off-by: brndd <burneddi@protonmail.com>
2023-11-07 03:41:45 -08:00
Xaver Hugl
9d496c8b14 rendervulkan: apply hdr-debug-force-output option in nested mode 2023-10-30 22:21:44 +01:00
Joshua Ashton
04eb72b5f5 drm: [DEBUG] Set patched debug max frame avg luminance != max luminance for debugging 2023-10-25 23:40:50 +01:00
Joshua Ashton
5916bb2ce5 steamcompmgr: Fix race when sending refresh cycle 2023-10-25 07:52:00 +01:00
Joshua Ashton
8cee4f2e63 rendervulkan: Fix blend_tf 2023-10-25 07:05:30 +01:00
Joshua Ashton
d57b1026a3 drm: Add g_bForceAsyncFlips 2023-10-25 07:04:13 +01:00
Joshua Ashton
f52bd158e0 rendervulkan: Respect applyOutputColorMgmt for composite 2023-10-25 07:04:03 +01:00
Joshua Ashton
6b362ac5ff rendervulkan: Add passthru colorspace 2023-10-25 07:03:56 +01:00
Joshua Ashton
50190f63c8 rendervulkan: Make CTM for alpha behaviour match AMDGPU 2023-10-25 07:03:51 +01:00
Joshua Ashton
812077adb0 rendervulkan: Fix typo somehow 2023-10-25 05:20:50 +01:00
Joshua Ashton
1ea301e070 color_helpers: Fix native whitepoint accuracy 2023-10-25 05:14:40 +01:00
Joshua Ashton
00ab272e2f steamcompmgr: Unset SDL_VIDEODRIVER for child apps 2023-10-25 04:55:16 +01:00
Joshua Ashton
efee23b23a rendervulkan: Be more explicit about setTextureSrgb 2023-10-25 04:53:12 +01:00
Joshua Ashton
d6f2ecdf62 rendervulkan, drm: Apply 709 -> 2020 CTM for scRGB
Get this in the right space!
2023-10-25 04:52:27 +01:00
Joshua Ashton
06532b071c rendervulkan: Implement CTM 2023-10-25 04:06:48 +01:00
Joshua Ashton
039caccfea rendervulkan: Move away from push constants
CTM data is too big to fit in push constants
2023-10-25 03:40:18 +01:00
Joshua Ashton
62a9ba4c78 rendervulkan: Refactor uploadBufferData 2023-10-25 02:46:01 +01:00
Joshua Ashton
1a1050e86e drm: Add CTM support 2023-10-25 02:05:36 +01:00
Joshua Ashton
01c1685883 drm: Remove allowBlending
We didn't use this for anything really anyway...
2023-10-25 01:35:26 +01:00
Joshua Ashton
37c6e169a8 drm: Fix metadata blob for nested 2023-10-18 08:37:46 -07:00
Joshua Ashton
2f8edebd1a wlserver: Forward HDR metadata in nested 2023-10-18 08:33:27 -07:00
Joshua Ashton
62e2d45eed rendervulkan: Add log for nested swapchain created 2023-10-18 08:00:23 -07:00
Joshua Ashton
171a6498c0 rendervulkan: Plumb preferred colorspace for nested 2023-10-18 07:56:34 -07:00
Joshua Ashton
42b1aa024d rendervulkan: Plumb HDR support for nested 2023-10-18 07:53:57 -07:00
Joshua Ashton
5529b4e561 rendervulkan: Prefer 10-bit in nested 2023-10-18 07:53:57 -07:00
Joshua Ashton
728edb69ce rendervulkan: Fix compute only present test 2023-10-18 07:40:21 -07:00
Joshua Ashton
2a16508054 rendervulkan: Forward HDR metadata in nested 2023-10-18 05:56:22 -07:00
tcoyvwac
3401da5469 layer: Prefer C++20 ranges::any_of over '11 idioms 2023-10-17 06:39:29 -07:00
Dlanis
c2e198d337 Indentation fix in help message
I've replaced tabs with spaces because tabs are usually have width of 8 characters in terminals.
2023-10-16 22:23:29 +02:00
tcoyvwac
6028ebcf8a layer: Prefer C++11 std::any_of over '03 idiom 2023-10-16 13:07:44 -07:00
Jan Beich
dd851e58b7 rendervulkan: add missing header for libc++ 16 after 191a85da04
In file included from src/drm.cpp:21:
In file included from src/drm.hpp:89:
src/rendervulkan.hpp:774:7: error: no type named 'mutex' in namespace 'std'
        std::mutex m_pipelineMutex;
        ~~~~~^
2023-10-11 16:12:42 +02:00
Simon Ser
8a7fa50bb2 build: make benchmark optional 2023-10-11 16:00:23 +02:00
Eric Long
bc503b3206 Lock stb to last revision with stb_image_resize.h
Newer revisions of nothings/stb have switched to stb_image_resize2.h and
moved the original header to deprecated/stb_image_resize.h since [1].
Pin down the version to prevent future breaking changes.

[1]: c4bbb6e75f
2023-10-11 15:54:50 +02:00
Joshua Ashton
d1eb70bb1a steamcompmgr: Overwrite SDL_VIDEODRIVER before nested app launch 2023-10-09 10:21:11 +01:00
Joshua Ashton
7b1d0507a7 main: Make not having presentation time not fatal
Plasma doesn't support this yet... Soon(tm)!
2023-10-09 10:19:56 +01:00
Joshua Ashton
8ace192f97 main: Default back to SDL_VIDEODRIVER x11 if not exposing wayland
Fixes launching native SDL2 apps since the layer work
2023-10-09 10:18:07 +01:00
Joshua Ashton
7ee7002466 wlserver: Enable xwayland force_xrandr_emulation option
We have newer wlroots, so we can do this now. I frogot.
2023-10-09 10:13:13 +01:00
Joshua Ashton
6c2a7ab83b wlserver: Handle pending surfaces in set_wl_id when we already have an existing surface 2023-10-08 06:12:45 +01:00
Joshua Ashton
7f067de652 wlserver: Add feature bit for pixel filter 2023-10-06 16:12:46 -07:00
Joshua Ashton
766f9b459c rendervulkan: Add PIXEL filter (band-limited pixel filter)
Adds a "pixel" filter which is a band-limited pixel filter based on
https://github.com/Themaister/Granite/blob/master/assets/shaders/inc/bandlimited_pixel_filter.h
by Hans-Kristian.

Closes: #712
2023-10-06 16:12:46 -07:00
Joshua Ashton
e17627beef rendervulkan: Emulate bilinear sampling when we need to do custom degammas
Fixes blending of PQ/HDR10 and 10-bit sRGB surfaces
2023-10-06 16:12:46 -07:00
Joshua Ashton
23d2f8745c wlserver: Fix rare crash on shutdown 2023-10-06 07:08:04 +01:00
Joshua Ashton
3b7580c579 sdlwindow: Fix crash on shutdown with session 2023-10-06 07:07:55 +01:00
Joshua Ashton
b7f319aea1 protocol: Add display_info to gamescope-control protocol 2023-10-05 23:03:21 -07:00
Joshua Ashton
6f7e0c916c drm: Fix not locking wlserver around wlserver_set_output_info 2023-10-05 23:03:21 -07:00
Joshua Ashton
434ca2be1c steamcompmgr: Fix crash on refresh rate switch
If target fps > refresh, we can crash here.
2023-10-02 21:22:46 +01:00
Joshua Ashton
c707e15137 layer: Fix locking in presentation timing funcs 2023-10-01 04:05:26 +01:00
Joshua Ashton
3f7768f406 vr_session: Raise SIGTERM on close 2023-10-01 02:07:16 +01:00