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
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