Geoffrey McRae
3b43dcb80d
[host] d12: fix type of function argument
2024-02-23 11:00:18 +11:00
Geoffrey McRae
9de047d9cb
[host] d12: implement damage aware copy
2024-02-23 10:54:08 +11:00
Geoffrey McRae
1098b7e6bd
[host] d12: cosmetics
2024-02-23 08:38:32 +11:00
Geoffrey McRae
055d5527ef
[host] d12: allow specifying adapter and output to capture
2024-02-23 08:14:24 +11:00
Geoffrey McRae
b1313980fb
[host] d12: make RGB24 optional, disabled by default
2024-02-05 05:17:55 +11:00
Geoffrey McRae
319241b597
[host] d12: use a GPU side fence instead of CPU side
2024-02-05 04:27:04 +11:00
Geoffrey McRae
b0b851dd4b
[host] d12: fix incorrect format presented to extra clients
2024-02-05 04:20:38 +11:00
Geoffrey McRae
60b01566e1
[host] d12: implement initial RGB24 support
2024-02-05 02:49:08 +11:00
Geoffrey McRae
4076377820
[host] win: add comRef helpers for leak identification and tracking
2024-02-05 02:49:08 +11:00
Geoffrey McRae
0b210a280d
[all] update the copyright to 2024
2024-02-01 17:16:31 +11:00
Geoffrey McRae
a4fede01f3
[host] d12: general cleanups
2024-02-01 17:13:18 +11:00
Geoffrey McRae
071e4323fa
[host] windows: make DXGI the default capture interface, D12 is not ready
2024-02-01 14:48:44 +11:00
Geoffrey McRae
be82b7e578
[host] d12: add wrappers for backend functions
2024-01-31 10:18:56 +11:00
Geoffrey McRae
c07b72883a
[host] d12: adjust backend API to allow multiple instances
2024-01-31 09:43:01 +11:00
Geoffrey McRae
462d8187b6
[host] d12: handle error when windows switches to the secure desktop
2024-01-31 05:42:30 +11:00
Geoffrey McRae
4523b9ba00
[host] d12: fix failure to send mouse shape updates
2024-01-31 05:28:03 +11:00
Geoffrey McRae
cae4b2f4f9
[host] windows: fix compilation under gcc
2024-01-31 01:33:43 +11:00
Geoffrey McRae
72b25b99bc
[host] add new D12 capture interface
...
Note, this capture interface is not yet feature complete but does seem
to be stable.
2024-01-31 00:29:55 +11:00
Geoffrey McRae
e376e6fb53
[host] app: revert unintended change from last commit
2024-01-27 23:19:42 +11:00
Geoffrey McRae
34e8a2255e
[host] dxgi: d3d12 now writes direclty into ivshmem
...
This is still incomplete as d3d12 doesn't have any proper sync with the
captured frame and as such is still not suggested for general usage. This
change though is monumental for this project as it removes a full memory
copy reducing bandwidth consumption enormously.
2024-01-27 22:57:13 +11:00
Geoffrey McRae
adaf40e2bf
[host] dxgi: Fix d3d12 32-bit output
...
Fixes #1100
2024-01-27 20:07:52 +11:00
Geoffrey McRae
84dd68dd2b
[host] dxgi: correct 24-bit packed output height calculation bug
2024-01-27 11:14:04 +11:00
Geoffrey McRae
738a04d0bc
[host] dxgi: fix packed texture height calculation
2024-01-27 10:56:23 +11:00
Geoffrey McRae
2316a5e64d
[host] dxgi: ensure 24-bit packed output is properly aligned
2024-01-27 10:11:01 +11:00
Geoffrey McRae
47ad93f48d
[host] common: fix compilation on clang
2024-01-27 10:10:48 +11:00
Geoffrey McRae
c5cbb8aa46
[host] dxgi: enable 24-bit mode by default
...
General community feedback with this enabled has been positive and we
can now transition to enabling by default.
2024-01-27 02:28:09 +11:00
Geoffrey McRae
ad00aaacd0
[obs] fix non-dmabuf 24-bit imports
...
OBS `GS_RGBA` maps to the sRGB color space which breaks our mapping
kludge, as such we need to use the UNORM variants to avoid this
2024-01-27 02:14:05 +11:00
Geoffrey McRae
1b75ae0762
[obs] fix 24-bit import support with dmabuf
2024-01-27 00:44:38 +11:00
Geoffrey McRae
5b3cc4cd48
[cmake] MakeObject: ensure embedded objects are null terminated
2024-01-27 00:44:38 +11:00
Geoffrey McRae
7247fadad8
[client] egl: fix post processing failure when converting pixel formats
2024-01-25 17:51:06 +11:00
Geoffrey McRae
c2237f29ae
[client] x11: fix typo
...
Closes #1105
2024-01-02 08:51:13 +11:00
Tudor Brindus
e5a9c0242f
[client] wayland: libdecor maximize request should maximize, not minimize
2023-12-24 15:30:19 +11:00
Quantum
537218d6ae
[client] wayland: honour fullscreen and maximize in libdecor
...
We never added the functionality when the parameters were passed to
libdecor_shellInit.
2023-12-22 14:08:48 +11:00
Geoffrey McRae
f05151c9a6
[host] nvfbc: fix compilation with new debug code
2023-12-07 16:33:54 +11:00
Geoffrey McRae
b776b00a67
[common] host: fix compliation on windows
2023-12-07 16:11:28 +11:00
Geoffrey McRae
4b4e07875d
[common] debug: fix compilation on windows
2023-12-07 15:46:31 +11:00
Geoffrey McRae
6104956a27
[common] reformat the debug output to be more useful
2023-12-07 15:37:54 +11:00
Geoffrey McRae
3668040892
[client] pipewire: correct pipewire_latency as per the docs
...
see: https://docs.pipewire.org/structpw__time.html
2023-12-06 22:26:20 +11:00
Geoffrey McRae
8cd002f1b2
[client] x11: fix incorrect pointer reference, fixes clipboard
...
Thanks to @JJRcop for bisecting to discover the fault
2023-12-01 09:12:38 +11:00
Geoffrey McRae
22d949c411
[client] egl: fix rgb24 regression
...
We need the alpha channel for this data type
2023-11-21 12:20:46 +11:00
Geoffrey McRae
43a3fb0db3
[client] egl: RGB24 improvements
...
This patch performs several changes.
* Alters the fourcc codes to types that ignore the alpha channel where
possible to allow the gpu to internally use 24-bit formats.
* Attempts to use DRM_FORMAT_RGB888 first as some GPUs may support this
* If DMABUF is not in use the data is now imported directly as RGB24
without the post-processing shader
2023-11-21 12:01:45 +11:00
Geoffrey McRae
8d27d9e2e2
[common] rect: fix avx alignment issue take 2
2023-11-19 18:01:34 +11:00
Geoffrey McRae
660b4b8ec8
[common] rects: fix avx implementation for unaligned accesses
2023-11-19 17:16:22 +11:00
Geoffrey McRae
4911e129f8
[common] time: improve flow with compiler hints
2023-11-19 16:31:45 +11:00
Geoffrey McRae
d3ee5bddde
[common] rect/framebuffer: improve avx implementations
2023-11-19 15:45:15 +11:00
Geoffrey McRae
0ce4c34c37
[client] egl: fix non-dma RGB24 import path
2023-11-19 09:42:37 +11:00
Geoffrey McRae
584de4133f
[common] fix compilation on clang
2023-11-19 03:20:34 +11:00
Geoffrey McRae
3330f83af6
[common] add runtime detection and selection of AVX/AVX2 support
2023-11-19 02:52:11 +11:00
Geoffrey McRae
5d4c1d348c
[all] refactor cpuInfo function names
2023-11-19 01:22:09 +11:00
Geoffrey McRae
750cab83a3
Revert "[common] add AVX/AVX2 memory copy implementations"
...
This reverts commit e61678ef1b
.
GCC only supports multi-versioning in C++
2023-11-19 00:18:48 +11:00