Commit graph

1125 commits

Author SHA1 Message Date
Georg Lehmann
009d4959d1 Use array for descriptor bindings. 2022-05-26 23:11:25 +00:00
Georg Lehmann
3a1f4fbacd Move some code for a more logical order 2022-05-26 23:11:25 +00:00
Georg Lehmann
e2139bc0bb Use more designated initalizers. 2022-05-26 23:11:25 +00:00
Georg Lehmann
166395a619 Use VK_NO_PROTOTYPES 2022-05-26 23:11:25 +00:00
Georg Lehmann
11760e8bd8 rewrite compositing with CVulkanCmdBuffer 2022-05-26 23:11:25 +00:00
Georg Lehmann
7f1e55dd96 Introduce CVulkanCmdBuffer 2022-05-26 23:11:25 +00:00
Georg Lehmann
0a0a000a89 Use vulkan_create_texture_from_bits for NIS images. 2022-05-26 23:11:25 +00:00
Georg Lehmann
b406bba47e Only use two descriptors for samplers 2022-05-26 23:11:25 +00:00
Georg Lehmann
9a2c4af585 fix shader generator 2022-05-26 23:11:25 +00:00
Georg Lehmann
326d7e1f96 Use CVulkanTexture for swapchain images 2022-05-26 23:11:25 +00:00
Georg Lehmann
fa26f16fa9 Introduce CVulkanDevice. 2022-05-26 23:11:25 +00:00
Joshua Ashton
549d22094b drm: Implement gamma and degamma exponent 2022-05-26 23:08:34 +00:00
sad-goldfish
e4892543a0 Add realtime flag for SCHED_RR
Use sched_get_priority_min for priority

Accommodates other unixes with odd minimum priorities.

Manually handle save/restore of scheduling.

Add space. (formatting)

Exit on failure to get scheduler parameters.

Add missing braces.

Copy and edit existing sched_parm rather than new.

May be relevant on some exotic unixes.
2022-05-25 19:01:18 +02:00
Simon Ser
ef234d1a80 reamde: clarify and move up instructions for NVIDIA proprietary driver 2022-05-25 14:28:17 +02:00
Eric
a515153a93 rendervulkan: Add support for NVIDIA image scaling 2022-05-18 01:41:01 +00:00
Eric
0dac3ceac4 nis: Import NIS SDK
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.2.tar.gz
2022-05-18 01:41:01 +00:00
Joshua Ashton
3c59167b67 steamcompmgr, drm: Add GAMESCOPE_COLOR_MATRIX to control CTM matrix 2022-05-18 01:20:49 +00:00
Joshua Ashton
231f4fb221 readme: Document what is needed to run on NVIDIA 2022-05-18 01:19:00 +00:00
Georg Lehmann
97288b8b1a remove unused wlr egl/gles includes 2022-05-12 11:32:05 +00:00
Georg Lehmann
867308b010 remove dead code 2022-05-12 11:32:05 +00:00
Georg Lehmann
9ba37d923c Make actual cursor extent a CVulkanTexture property 2022-05-12 11:32:05 +00:00
Georg Lehmann
2c47fc57f0 Remove CVulkanTexture::m_bTransitioned
No real reason to overcompilicate things.
2022-05-12 11:32:05 +00:00
Georg Lehmann
2f111b0b98 Stop accessing CVulkanTexture members directly. 2022-05-12 11:32:05 +00:00
Georg Lehmann
d29d83f792 Remove those two terrible structs 2022-05-12 11:32:05 +00:00
Joshua Ashton
d760586543 main: Set XWAYLAND_FORCE_ENABLE_EXTRA_MODES 2022-05-12 09:44:57 +00:00
Joshua Ashton
1c731b61c8 steamcompmgr: When window_wants_no_focus_when_mouse_hidden, move to width -1, height -1 instead 2022-05-12 08:29:15 +00:00
Joshua Ashton
ff14b6a5dd steamcompmgr: Add workaround for Warframe (230410) launcher's language dialog 2022-05-09 01:12:14 +00:00
Joshua Ashton
27eaf5f926 steamcompmgr: Add support for retrieving motif hints 2022-05-09 01:12:14 +00:00
Joshua Ashton
964a9b15cf steamcompmgr: Initialize maybe_a_dropdown 2022-05-09 01:12:14 +00:00
James Jones
22660ce088 drm: Skip gamma LUT on CRTCs that don't support it
On hardware and drivers that don't support a gamma
LUT property, don't attempt to generate or set
one. Log the lack of gamma LUT support at the
informational level.
2022-05-06 22:45:44 +02:00
James Jones
e24348da39 main: Raise the file descriptor limit at launch
Gamescope currently uses 1024 VkFence objects to
synchronize CPU and GPU work. The NVIDIA Vulkan
driver currently creates a file descriptor for
each VKFence object created. To ensure there are
sufficient file descriptors, attempt to raise the
limit to 2048 file descriptors if it is currently
lower than that. Failure to raise the limit for
any reason is non-fatal, as the increased limit
is not required on some drivers.
2022-05-06 22:45:44 +02:00
Sam Lantinga
a32244de62 Switched the default YUV color conversion to full range BT.709
This matches the hardware color conversion on Steam Deck
2022-05-05 01:03:46 +00:00
Joshua Ashton
2855219311 wlserver: Add WLSERVER_TOUCH_CLICK_DISABLED 2022-05-03 23:55:08 +00:00
Joshua Ashton
4a153094b5 steamcompmgr: Fix setting dynamic refresh without FPS limit 2022-04-28 01:40:53 +00:00
Sam Lantinga
d4bdeb71e2
ime: fix typing the EURO symbol using the on-screen keyboard 2022-04-27 19:03:28 +02:00
Simon Ser
1b54be4aca pipewire: add support for DMA-BUFs 2022-04-27 14:04:43 +02:00
Simon Ser
3c2235dadc pipewire: acquire textures in stream_handle_add_buffer 2022-04-27 14:04:43 +02:00
Simon Ser
0c5dcc5ba3 rendervulkan: add exportable flag to vulkan_acquire_screenshot_texture 2022-04-27 14:04:43 +02:00
Simon Ser
b5c0a0f7fe pipewire: group shm-specific fields 2022-04-27 14:04:43 +02:00
Simon Ser
6b59f377ce rendervulkan: make caller responsible for providing screenshot texture 2022-04-27 14:04:43 +02:00
Joshua Ashton
4d631e240e steamcompmgr: Fix a regression in FO4 with win_maybe_a_dropdown and document 2022-04-26 04:16:43 +00:00
Joshua Ashton
0865717165 steamcompmgr: Don't follow transients if we have a focusControlWindow 2022-04-26 04:06:56 +00:00
Joshua Ashton
3e81a24171 steamcompmgr: Only set GAMESCOPE_FOCUSED_APP in steam mode
Closes: #416
2022-04-26 00:51:06 +00:00
Simon Ser
f810a8563d Add exportable flag to CVulkanTexture 2022-04-23 23:13:17 +00:00
Alistair Findlay
accadbb291 Fixed typo - "renegociating" changed to "renegotiating" 2022-04-23 10:01:25 +02:00
Alex Maras
b5aa05ae8f
sdlwindow: Handle SDL_WINDOWEVENT_CLOSE 2022-04-20 17:16:36 +02:00
Joshua Ashton
34957bc383 rendervulkan: Don't enable VK_KHR_image_format_list
This is in 1.2 now
2022-04-18 16:09:20 +01:00
Joshua Ashton
ce1c428788 rendervulkan: Use float16 in Vulkan 1.2 now 2022-04-18 16:09:20 +01:00
Joshua Ashton
76aad316ce rendervulkan: Use timeline semaphores for scratch cmd buffers (used for imports, etc) 2022-04-18 16:09:20 +01:00
Joshua Ashton
e478a746a5 rendervulkan: Create Vulkan 1.2 device
For timeline semaphores. It's common enough for us to do that now.
2022-04-18 16:09:20 +01:00