Tudor Brindus
eeefc15e46
[host] build with -Wstrict-prototypes
2022-02-25 20:38:44 +11:00
Quantum
f01489720f
[host] linux: build with PipeWire by default
...
Since the client already depends on PipeWire by default, there is no
reason why the host shouldn't.
2022-02-12 22:13:31 +11:00
Geoffrey McRae
952ebea2c5
[all] refresh copyright dates
2022-01-05 19:42:46 +11:00
Quantum
e7fdf7e77a
[host] pipewire: report stream state
...
This should provide some useful debug information and report stream
errors.
2021-12-28 19:23:14 +11:00
Quantum
a21e897bb5
[host] pipewire: use new format for 10-bit colour
...
I recently added little-endian 10-bit colour formats to PipeWire, which
is what we actually use. The old r210 format is big endian.
2021-12-28 18:50:29 +11:00
vmfortress
8ab130deba
xcb: added basic cursor support via xcb_fixes
...
xcb interface now properly supports cursor integration through
a `pointerThread` similar to the nvfbc implementation.
2021-12-27 11:10:07 +11:00
vmfortress
fbf294efd9
xcb: Fixed return value of xcb_deinit
...
`xcb_deinit` returns `true` to fit the capture interface standard.
2021-12-27 11:10:07 +11:00
vmfortress
2824238b4d
xcb: added xcb_stop and xcb_initOptions support
...
Added basic functions and the necessary variables for the
`.initOptions` and `.stop` items in the capture interface.
2021-12-27 11:10:07 +11:00
Quantum
1e2caf4c9f
[host] pipewire: implement basic capture
...
It works, with the following limitations:
1. user is forced to select the monitor through platform-specific mechanisms
every time the client starts.
2. cursor is composed onto the screen, and no position can be reported.
2021-08-21 23:01:11 +10:00
Quantum
28eae3bd86
[host] linux: add skeleton pipewire capture backend
2021-08-21 23:01:11 +10:00
Quantum
4ecf749f7e
[host] remove all casts around malloc
2021-08-16 16:26:58 +10:00
Quantum
cdda89cef7
[host] use correct argument order for calloc
2021-08-16 16:25:59 +10:00
Tudor Brindus
982b4e6625
[host] use variable-relative sizeof where possible
2021-08-16 16:22:55 +10:00
Quantum
4f7ce91e7f
[host] capture: switch all asserts to DEBUG_ASSERT
2021-08-14 12:19:07 +10:00
Quantum
51b9cd4e5a
[all] copyright: use unicode copyright sign ©
...
This is done for consistency with the license strings in appstrings.c.
2021-08-04 21:16:35 +10:00
Quantum
9ab85fd0b8
[host] capture: stop sending DPI information
...
The client doesn't need DPI information anymore, so there is no point
fetching it.
2021-07-18 10:50:57 +10:00
Quantum
9ce4990793
[host] capture: pass frameIndex to capture backends
...
This allows capture backends to track damage made to each frame.
2021-07-18 10:41:50 +10:00
Geoffrey McRae
e477663a7e
[host] app: allow the capture interface to select async or sync mode
...
While it's correct for DXGI to use a asyncronous waitFrame model, other
capture interfaces such as NvFBC it is not correct. This change allows
the capture interface to specify which is more correct for it and moves
the waitFrame/post into the main thread if async is not desired.
2021-07-12 16:57:22 +10:00
Geoffrey McRae
2160dee23a
[host] linux: implement new truncated frame support
2021-06-12 19:10:32 +10:00
Quantum
24d0aa0c18
[all] normalize copyright on all source files
2021-06-06 11:53:05 +10:00
Quantum
a4290b290b
[host] cmake: link correctly against libxcb-xfixes.so
...
We are using <xcb/xfixes.h>, so it makes sense to link against the
xcb library instead of libXfixes.so directly.
2021-03-15 12:12:48 +11:00
Quantum
f2c0b8c0b4
[host] allow user to select capture backend
...
This commit introduces a new option, app:capture, which can be set to
either DXGI or NvFBC to force the host application to use that backend.
This is very useful for testing DXGI on Quadro cards, which would default
to running with NvFBC.
2021-02-27 17:41:44 +11:00
Geoffrey McRae
f5587b6b6b
[host] all: pass back the desktop rotation to the client
2021-01-18 13:53:29 +11:00
Quantum
dd2d69fa37
[host] xcb: remove undefined getPointer member from Capture_XCB
2021-01-15 08:49:30 +11:00
Quantum
ed9e3d253b
[host] xcb: fix xcb_create signature error
...
Should have two arguments instead of zero.
2021-01-15 08:49:30 +11:00
Quantum
2723b4b7c0
[host] xcb: fix xcb_getFrame compile error
...
The argument should have been a pointer.
2021-01-15 08:49:30 +11:00
Tudor Brindus
a46a3a2668
[all] use explicit void parameter lists
...
This makes it a compile-time error to call a function that semantically
takes no parameters with a nonzero number of arguments.
Previously, such code would still compile, but risk blowing up the stack
if a compiler chose to use something other than caller-cleanup calling
conventions.
2021-01-14 17:29:37 +11:00
Quantum
7e4d323427
get display DPI info to scale mouse movement
2021-01-05 09:03:29 +11:00
Geoffrey McRae
bc7871f630
[c-host] renamed finall to just plain host
2020-05-25 13:42:43 +10:00