Commits on Source (10)
-
Rather than using the same key entry for the DRM backend to cloned outputs, rename to 'clone-of'. This means that ini configuration files will break after this change, but this should be documented with the next Weston release. Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
d88782bf -
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
14cfb979 -
In order to allow passing additional pre/post callbacks. This allows further re-use of the simple_head_enable() function instead of creating a similar dedicated function. We can then re-use the same function for enabling remote outputs. Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
3842c1c7 -
This avoids dereferencing a possible stale pointer, and allows retrieving the modeline/refresh later on when one needs to retrieve those values. This is a temporary band-aid. Signed-off-by: Derek Foreman <derek.foreman@collabora.com> Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
c4eb15d4 -
This would allow to screen-share a particular output like the following: [output] name=vnc same-as=DP-5 [output] name=rdp-0 same-as=DP-4 [output] name=pipewire same-as=eDP-1 Both 'vnc', 'pipewire' 'rdp-0' remote outputs would then be a screen-share 'DP-5', respectively, 'e-DP1', or the 'DP-4' DRM output. Currently, this is intended only for VNC, RDP and PipeWire remote outputs. This patch exports weston_output_set_position(), and uses that for overlapping a remote output with a native DRM one, rather than using weston_output_move() as that has a side-effect when reflowing outputs from shells. Further more creating this remote output is driven entirely by compositor signal events such that enabling an DRM native output would enable the remote output, while disabling the native would have the same outcome for the remote one. Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
d553333d -
PipeWire/RDP/VNC were using by default scale 1, so allow configuration using the ini config file. Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
bd39f7ed -
If the DRM native output is changed propagate the changes to the mirror as well. Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
197c5e00 -
As we're mirroring other outputs we shouldn't allow clients to resize the output. Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
f43342cf -
Similar to the VNC backend do the same for the RDP backed, as this would allow to get a matching output, in dimensions, to the one we are mirroring. This also re-works a bit the no-clients-resize to be more inline with VNC one. Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
75280d2e -
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
e7ed5d20