Joshua Ashton
bf119ee44b
steamcompmgr: Mark focus dirty on root window resize
2022-02-09 00:17:15 +00:00
Joshua Ashton
4f25eefbad
steamcompmgr: Resize Steam's xwayland mode to output mode
2022-02-09 00:17:15 +00:00
Joshua Ashton
d272cebb38
steamcompmgr: Resize nested height to match output aspect ratio in Steam mode
2022-02-09 00:17:15 +00:00
Joshua Ashton
5ed0753165
wlserver: Add wlserver_set_xwayland_server_mode
...
Sets the current mode and stuff for a specific xwayland server.
2022-02-09 00:17:15 +00:00
Joshua Ashton
aca867e60f
rendervulkan: Fix half-texel offset
...
Previously this was doing scale / 2 but it gets multiplied by scale, so this didn't work when it wasn't 1.0
Found when testing higher reses
2022-02-05 02:07:52 +00:00
Joshua Ashton
f1646c8f03
steamcompmgr: Fix nested max scale factor
2022-02-05 02:02:24 +00:00
Joshua Ashton
04e9eaebe3
drm: Be safe against blob destruction
2022-02-04 03:31:13 +00:00
Sam Lantinga
ab4684078c
Fixed pipewire stream stopping after a few seconds
...
With the latest version of pipewire, the process callback is no longer automatically called. Instead, you should call pw_stream_trigger_process() when frames are ready, to have the processing callback happen.
Since the only processing we're doing is requesting a buffer, I'm calling that directly from the callback, since that is thread-safe for a single reader.
2022-02-04 00:49:48 +00:00
Joshua Ashton
b4cf9d3203
wlserver: Use root server for content overrides
2022-02-04 00:49:26 +00:00
Joshua Ashton
7b75629040
steamcompmgr: Hide our cursor when forcing position for Steam touch stuff
2022-02-03 23:10:05 +00:00
Joshua Ashton
c1f9ec7ecf
steamcompmgr: Fix default gain when disabled
...
This was yellow for testing, somehow slipped in.
2022-02-03 18:52:46 +00:00
Florian
696771ba66
Update Readme with FSR options
2022-02-03 10:37:54 +01:00
Florian
2079de25e5
fixed missing newline after -U in help message
2022-02-03 10:37:44 +01:00
Joshua Ashton
c5ccd71ff6
drm: Implement linear color gain control via atoms
...
Adds GAMESCOPE_COLOR_LINEARGAIN to control the linear color gain.
2022-02-03 05:29:33 +00:00
Joshua Ashton
55cb27fd15
steamcompmgr: Fix X's idea of interactive focus
...
Always update X's idea of focus, but still dirty
the it being outdated so we can resolve that globally later.
Only affecting X and not the WL idea of focus here,
we always want to think the window is focused.
but our real presenting focus and input focus can be elsewhere.
2022-02-02 23:00:44 +00:00
Joshua Ashton
a953bd276e
drm: Fix leaking mode properties
2022-02-02 23:00:38 +00:00
Joshua Ashton
88852d187c
steamcompmgr: HACK! Always composite with a cursor
...
Cursor plane on AMDGPU is very broken with both rotation and overlay planes that are not screen sized. Workaround for now.
2022-02-02 23:00:30 +00:00
Joshua Ashton
a1d560e836
steamcompmgr: Handle cursor image width being different to surface width for rotation offset
...
The surface width for the cursor is 256, but the image width is 64 which means we have a bunch of blank space, so we need to account for this in DRM code for the CRTC offsets.
2022-02-02 22:58:11 +00:00
Joshua Ashton
8313853802
steamcompmgr: Fix clang build
2022-02-01 00:34:10 +00:00
Joshua Ashton
f4c3425a85
steamcompmgr: Add GAMESCOPE_FSR_SHARPNESS property
...
0 to 20, controls FSR sharpness
2022-02-01 00:30:59 +00:00
Joshua Ashton
d01363e35e
steamcompmgr: Implement GAMESCOPE_SCALING_MODE atom
...
0 = linear
1 = nearest
2 = integer
3 = fsr
2022-02-01 00:26:45 +00:00
Joshua Ashton
7755bb635d
steamcompmgr: Clean up code to determine if we need composite
2022-02-01 00:06:08 +00:00
Joshua Ashton
0b5368efe7
steamcompmgr: Force composite when we must force nearest filtering
...
SCALING_FILTER is not hooked up in AMDGPU.
2022-02-01 00:04:25 +00:00
Joshua Ashton
0bc3a2493d
steamcompmgr: Add tuneables for vblank red zone + decay rate
2022-01-31 23:49:39 +00:00
Joshua Ashton
797ee59cbb
vblankmanager: Estimate draw buffer time based on max rolling average draw time
...
Handles spikes much better and allows us to have a lower buffer when not needed.
2022-01-31 23:49:39 +00:00
Joshua Ashton
a659fef806
drm: Use vblank time from page flip handler
2022-01-31 23:49:39 +00:00
Joshua Ashton
779d8f1bee
wlserver: Handle tapping overrides off screen
...
This clamp was stopping us from clicking off the current surface, which we want now.
2022-01-31 23:45:45 +00:00
Joshua Ashton
15dc09adfb
steamcompmgr: Extend cursor barriers tto override
...
It's only fair we can click what we can now see!
2022-01-31 23:45:45 +00:00
Joshua Ashton
289a739358
steamcompmgr: Resize to fit dropdowns
2022-01-31 23:45:45 +00:00
Joshua Ashton
3416cde9f4
steamcompmgr: Raise override redirects
...
Don't give them explicit focus. Allows us to have the cursor off them and have taps and stuff work.
2022-01-31 23:45:45 +00:00
Georg Lehmann
b70ec1b1ad
rendervulkan: Restore force nearest optimization.
2022-01-31 23:41:04 +00:00
Georg Lehmann
3fbcb4d3cd
steamcompmgr: Force compositing for FSR.
2022-01-31 23:41:04 +00:00
Georg Lehmann
a9dac11f15
main: FSR sharpness setting.
2022-01-31 23:41:04 +00:00
Georg Lehmann
96acb9de7e
rendervulkan: Fp16 easu.
2022-01-31 23:41:04 +00:00
Georg Lehmann
3aec05925c
rendervulkan: Enable fp16 extension and feature.
2022-01-31 23:41:04 +00:00
Georg Lehmann
ead46a2db0
main: Add FSR command line option and shortcut.
2022-01-31 23:41:04 +00:00
Georg Lehmann
6cfe2fe09c
rendervulkan: Inital FSR support.
2022-01-31 23:41:04 +00:00
Georg Lehmann
3d3b9ad503
rendervulkan: Create FSR pipelines.
2022-01-31 23:41:04 +00:00
Georg Lehmann
d0605bef22
rendervulkan: Add fsr shaders.
2022-01-31 23:41:04 +00:00
Georg Lehmann
463dabe199
rendervulkan: Move descriptor set definition to separate header.
2022-01-31 23:41:04 +00:00
Georg Lehmann
9a8b3bd22c
rendervulkan: Import fsr headers.
2022-01-31 23:41:04 +00:00
Georg Lehmann
7f3aebbcc0
rendervulkan: Prepare for multiple descriptor sets.
2022-01-31 23:41:04 +00:00
Georg Lehmann
56fb91ea72
rendervulkan: Use drmformats everywhere, create srgb and linear image views
2022-01-31 23:41:04 +00:00
Georg Lehmann
861435aeba
rendervulkan: Allow readwrite images.
2022-01-31 23:41:04 +00:00
Georg Lehmann
5d20c56f2e
rendervulkan: Compile Pipelines on a separate thread.
2022-01-31 23:41:04 +00:00
Georg Lehmann
ebc159869e
rendervulkan: Move VkPipeline creation to its own function.
2022-01-31 23:41:04 +00:00
Joshua Ashton
3dc36c8799
wlserver: Redirect volume events to root xwayland
...
Avoids games being the ones to recieve our lower volume/raise volume keys -- Steam should handle these.
2022-01-31 20:39:35 +00:00
Joshua Ashton
3f4aa2a75f
sdlwindow: Do nothing for title or PushUpdate when nested
...
Waste of cycles.
2022-01-31 18:45:58 +00:00
Joshua Ashton
a5ec3728d9
steamcompmgr: Fix focusDirty tracking being lost when switching to windows without commits
2022-01-31 18:45:58 +00:00
Joshua Ashton
899f1c802e
steamcompmgr: Bring back stats to un-break CI
...
Don't know if we want to bring this back or not... We have better things for this now. But it's breaking CI.
2022-01-31 17:16:18 +00:00