Joshua Ashton
aeffc39ab0
rendervulkan: Make mappedData() return a uint8_t
2022-11-21 21:08:23 +00:00
Joshua Ashton
f7a23ef808
rendervulkan: Add lumaPitch/chromaPitch to CVulkanTexture
2022-11-21 21:06:50 +00:00
Joshua Ashton
b5b1589d45
drm: Add some nullptr checks for drm->connector
2022-11-20 20:26:58 +00:00
Georg Lehmann
ed48ef3b05
rendervulkan: Fix a typo
...
How did I not see this before 🐸 .
2022-11-19 17:46:19 +01:00
Georg Lehmann
a038985ee4
rendervulkan: Update push sizes.
2022-11-19 16:14:08 +00:00
Joshua Ashton
50d385d326
rendervulkan: Introduce CaptureConvertBlitData_t
...
Stores the half-extent for the NV12 blit
2022-11-19 00:46:21 +00:00
Joshua Ashton
98220bdf3f
steamcompmgr: Fix build
...
Typo before committing >.>
2022-11-19 00:45:28 +00:00
Joshua Ashton
30519fd9ec
rendervulkan: Add NV12 capture blit infra
...
Performs blit + rgb -> nv12 in one.
2022-11-19 00:39:05 +00:00
Joshua Ashton
dba8480d18
main: Set GamescopeUpscaleFilter::LINEAR to 0
2022-11-15 20:01:51 +00:00
Joshua Ashton
2791466692
wlserver: Handle default in apply_touchscreen_orientation
...
We use this for VR now!
2022-11-10 04:34:17 +00:00
Joshua Ashton
c10eb7dcd7
rendervulkan: Eliminate blur radius spec constant
2022-11-10 04:34:11 +00:00
Joshua Ashton
c61db3c49c
rendervulkan: Limit number of pre-compiled ycbcr masks
2022-11-10 04:33:49 +00:00
Joshua Ashton
989806791f
main: Add --adaptive-sync commandline arg
...
Enables VRR if the display is capable if this flag is set.
Closes : #199
2022-11-08 03:14:24 +00:00
Simon Ser
f374689a4e
drm: use drmModeConnectorGetPossibleCrtcs
...
This function has been upstreamed in libdrm.
2022-11-04 12:48:18 +01:00
Simon Ser
7b5a338e7e
drm: remove connector type table
...
We can just rely on libdrm instead.
2022-11-04 12:48:18 +01:00
Georg Lehmann
5ef7d0cb66
rendervulkan: Enable VK_KHR_swapchain_mutable_format when nessecary.
2022-11-03 20:36:02 +00:00
Georg Lehmann
c1fd2d7f7a
rendervulkan: Fix validation errors for linear swapchain view.
...
VK_FORMAT_B8G8R8A8_SRGB doesn't support STORAGE usage.
Otherwise we hit asserts in mesa.
2022-11-03 20:36:02 +00:00
Joshua Ashton
a7f8b26833
wlserver: Add thread name to wlserver
2022-10-31 01:35:31 +00:00
Joshua Ashton
7f9a685515
sdlwindow: Add thread name to sdlwindow input thread
2022-10-31 01:35:27 +00:00
Joshua Ashton
f65092a441
rendervulkan: Add thread name to shader compile
2022-10-31 01:35:18 +00:00
Sam Lantinga
f072cbd58b
gamescope: Implemented scaling support for pipeware capture
...
Co-authored-by: Joshua Ashton <joshua@froggi.es>
2022-10-28 03:35:55 +01:00
Sam Lantinga
fbceed2ab5
pipewire: Add metadata to note how the capture image was scaled
2022-10-28 03:34:31 +01:00
Sam Lantinga
a316418c89
pipwire: Added protocol requesting scaling on the pipewire capture
...
The capture texture will scaled to fit the requested capture size while
maintaining correct aspect ratio. The actual scaling will be implemented
in a separate commit.
2022-10-28 03:34:00 +01:00
Joshua Ashton
c20e14ee74
steamcompmgr: Force Steam to use FIT + LINEAR
2022-10-28 02:57:00 +01:00
Joshua Ashton
62775c765b
steamcompmgr: Account for globalScaleRatio for STRETCH
2022-10-28 02:25:37 +01:00
Joshua Ashton
a7203603fe
steamcompmgr: Add STRETCH scaling mode
2022-10-28 02:20:19 +01:00
Joshua Ashton
f302a23069
steamcompmgr: Add FILL upscaler
2022-10-28 02:18:11 +01:00
Joshua Ashton
9b86a797a8
steamcompmgr: Refactor out to calc_scale_factor helper
2022-10-28 02:17:01 +01:00
Joshua Ashton
f5f0fc8c24
steamcompmgr: Rename SMART_FIT to AUTO
2022-10-28 02:02:29 +01:00
Joshua Ashton
c9c0044250
steamcompmgr: Add regular FIT as an option
2022-10-28 02:02:06 +01:00
Joshua Ashton
4a4178075e
steamcompmgr: Refactor scaling
...
Split out scalers and scaling filters.
2022-10-28 02:01:15 +01:00
Eric Sullivan
2f95c0fa5d
nis: Update to v1.0.3
...
The docs, and samples directories have been removed along with the third_party_licenses.txt file.
Source downloaded from: https://github.com/NVIDIAGameWorks/NVIDIAImageScaling/archive/refs/tags/v1.0.3.tar.gz
2022-10-22 00:11:13 +01:00
Joshua Ashton
677e3b6624
vblankmanager: Fix build
2022-10-19 18:59:09 +01:00
Joshua Ashton
ec6bd30bb6
drm, steamcompmgr: Support for VRR
...
Exposes GAMESCOPE_VRR_ENABLED, GAMESCOPE_VRR_CAPABLE and GAMESCOPE_VRR_FEEDBACK
2022-10-19 18:57:14 +01:00
Joshua Ashton
4e748ba1e5
main: Set XDG_CURRENT_DESKTOP to gamescope
...
A proper session will already do this from eg. SDDM, but when running nested, we want this to still be present.
2022-10-19 15:41:04 +01:00
Joshua Ashton
98d61844d8
main: Reset XDG_SESSION_TYPE to x11
...
We don't support Wayland clients, so let's convince any child apps that are launched that we are just X11.
Fixes QT apps misbehaving.
2022-10-19 15:40:20 +01:00
Simon Ser
0626c7c8f8
Add note that --force-orientation is for internal display only
2022-10-17 13:26:26 +02:00
Simon Ser
45061ad3e3
drm: drop trailing whitespace
2022-10-13 15:50:41 +02:00
Simon Ser
14f0b78f61
drm: cleanup orientation code
2022-10-13 15:49:23 +02:00
ruineka
12bff31008
drm: fix an issue where g_nOutputWidth and g_nOutputHeight weren't updated
2022-10-13 15:43:47 +02:00
Simon Ser
f51b7229ae
drm: de-duplicate connector type logic
2022-10-11 19:05:44 +02:00
ruineka
cf89b2fbae
drm: add support for the panel orientation property
2022-10-11 18:20:14 +02:00
ruineka
647e1d96d0
Add --force-orientation option
...
Co-authored-by: Joaquín Ignacio Aramendía <samsagax@gmail.com>
Co-authored-by: alphonsez1 <alphonsez743@gmail.com>
Co-authored-by: Ruineka <ruineka@pop-os.localdomain>
2022-10-07 15:29:52 +02:00
Joshua Ashton
b87660561f
drm: Fix respecting custom mode refresh rates
...
This was being overwritten by some dynamic refresh code.
2022-10-01 21:10:34 -02:30
Joshua Ashton
20062ec645
steamcompmgr: Add GAMESCOPE_STEAM_MAX_HEIGHT
...
0 to disable, any other value sets the max height of Steam
2022-10-01 20:33:37 -02:30
Simon Ser
79ad108c41
wlserver: fix output global not exposed
...
Fixes: 7c0f65e62d
("wlserver: stop re-creating wl_output global")
2022-10-01 19:11:52 +02:00
Simon Ser
870d54c54e
Force repaint on SDL_WINDOWEVENT_EXPOSED
...
Co-authored-by: Bad Sector <badsector@runtimeterror.com>
2022-10-01 18:42:44 +02:00
Simon Ser
7c0f65e62d
wlserver: stop re-creating wl_output global
2022-09-27 19:03:00 +01:00
Simon Ser
576041c2b3
wlserver: remove trailing whitespace
2022-09-27 19:38:29 +02:00
Joshua Ashton
7f2db65c00
steamcompmgr: Add GAMESCOPE_CURSOR_VISIBLE_FEEDBACK
2022-09-23 20:44:51 +00:00