weston/libweston
Benjamin Herrenschmidt 89f3a8a71e Add support for FreeRDP 3.x
With this, Weston can build against either FreeRDP 3.x or 2.x depending
on what has been detected by meson (3.x takes priority).

The main source of changes is the settings are now opaque and require the
use of accessors. That was pretty mechanical and seems to work on 2.x as
well.

There are a few changes around constants getting a WINPR_ prefix, the UTF
conversion functions we used are obsolete, so use the proper "new" ones,
and other fairly minor things.

The key & cert management changed rather completely, libfreerdp won't load
files for us, we have to use the helpers to do so, and I *think* the RDP RSA
key and SSL key use the same setting location. Seems to work with SSL at
least.

There was also a minor glitch with keyboard input, KBD_FLAGS_DOWN is basically
never set. It appears to be an upstream FreeRDP change in 3.x, it was being
set incorrectly (always on any key down) while it should only be set on
repeats. However the fastpath input code has no way to set it from what I
can tell, so it's just loss. We instead ignore it.

Note that the screen size is odd (and different between freerdp client and
remmina), it also won't adjust dynamically when the window is resized. I
don't think this relates to my port though, I observe the same behaviour
with the packaged FreeRDP 2 based Weston, but I can try to look into it
later

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2024-08-14 12:29:28 +10:00
..
backend-drm backend-drm: get colorimetry mask from EDID 2024-07-25 13:20:52 +00:00
backend-headless libweston: Remove output->scale 2024-07-15 11:50:49 +00:00
backend-pipewire backend-pipewire: add fence to synchronize on finish of render 2024-08-05 09:09:51 +00:00
backend-rdp Add support for FreeRDP 3.x 2024-08-14 12:29:28 +10:00
backend-vnc backend-vnc: Remove the display when output is disabled 2024-07-04 14:07:41 +03:00
backend-wayland libweston: Remove output->scale 2024-07-15 11:50:49 +00:00
backend-x11 libweston: Remove output->scale 2024-07-15 11:50:49 +00:00
color-lcms color-lcms: print ICC profile class on error 2024-06-19 07:40:08 +00:00
desktop libweston/desktop: Use the weston_view_move_to_layer helper 2024-06-07 11:59:25 +00:00
renderer-gl gl-renderer: Clean up comments 2024-08-12 10:44:55 +00:00
shell-utils shell-utils: Use weston_coord in curtain params 2023-09-18 20:35:37 +00:00
animation.c libweston: Defer animation destruction to idle loop 2024-07-08 11:17:10 +00:00
auth.c libweston: Add user authentication support via PAM 2022-11-23 16:58:48 +01:00
backend.h libweston: Add a helper for retrieving backend type 2024-08-12 15:50:13 +00:00
bindings.c input: Fix uint/enum declaration mismatch 2023-04-11 11:44:34 +00:00
clipboard.c libweston: correct argument name in the handler of wl_data_source.accept 2022-04-14 12:05:57 +00:00
color-management.c color: update color-management protocol to xx-v4 2024-08-07 13:36:49 +00:00
color-management.h color: declare cm_image_desc_info 2024-02-23 16:46:39 +02:00
color-noop.c color: add get_color_profile_from_params() to color managers 2024-06-17 11:50:40 -03:00
color-profile-param-builder.c color: introduce API to create color profile from parameters 2024-06-17 11:50:41 -03:00
color-properties.c color: update color-management protocol to xx-v4 2024-08-07 13:36:49 +00:00
color-properties.h color: add WESTON_TF_POWER 2024-06-17 11:49:09 -03:00
color.c backend-drm: get KMS colorimetry modes 2024-05-06 10:39:42 +00:00
color.h color: add get_color_profile_from_params() to color managers 2024-06-17 11:50:40 -03:00
compositor.c frontend: Share a native output using 'mirror-of' keyword 2024-08-12 15:50:13 +00:00
content-protection.c content-protection: Don't leak update timer on shutdown 2021-12-08 13:38:18 +00:00
data-device.c build: Add generic compiler builtins support 2024-06-27 20:40:37 +00:00
drm-formats.c drm-formats: add weston_drm_format_array_count_pairs() 2021-11-25 10:47:45 -03:00
git-version.h.meson Add Meson build system 2018-12-09 14:50:54 +02:00
gl-borders.c libweston, backends: move GL renderer interface into weston_renderer 2023-01-16 20:40:34 +01:00
gl-borders.h libweston, backends: move GL renderer interface into weston_renderer 2023-01-16 20:40:34 +01:00
id-number-allocator.c libweston: fix indentation of a few files 2024-06-04 17:32:39 -03:00
id-number-allocator.h libweston: add unique id generator 2024-02-13 14:08:38 -03:00
input.c input: Fix release/debugoptimized build warning with gcc 2024-07-03 10:54:34 +00:00
launcher-impl.h launcher: Remove launcher-logind 2023-09-29 09:55:32 -05:00
launcher-libseat.c launcher-libseat: Don't depend on dbus 2023-09-29 09:47:43 -05:00
launcher-util.c launcher: Remove launcher-logind 2023-09-29 09:55:32 -05:00
launcher-util.h launchers: Remove --tty option 2022-03-03 17:00:15 -06:00
libinput-device.c libinput: hook up tablet events 2023-03-31 12:10:26 +00:00
libinput-device.h libinput: hook up tablet events 2023-03-31 12:10:26 +00:00
libinput-seat.c libweston: Use weston_coord in struct weston_pointer 2023-02-17 13:51:23 +00:00
libinput-seat.h Rename compositor.h to libweston/libweston.h 2019-04-18 12:31:46 +03:00
libweston-internal.h gl-renderer: add DMABUF allocator 2024-07-19 11:43:42 +02:00
linux-dmabuf.c linux-dmabuf: Add support for protocol version 5 2024-01-19 18:59:22 +01:00
linux-dmabuf.h linux-dmabuf: Add support for protocol version 5 2024-01-19 18:59:22 +01:00
linux-explicit-synchronization.c libweston: Advertise minor version 2 of zwp_linux_explicit_synchronization_v1 2019-08-02 15:00:08 +00:00
linux-explicit-synchronization.h libweston: Support zwp_surface_synchronization_v1.set_acquire_fence 2019-02-06 12:21:56 +00:00
linux-sync-file-uapi.h libweston: Introduce an internal linux sync file API 2019-02-06 12:21:56 +00:00
linux-sync-file.c libweston: export weston_linux_sync_file_read_timestamp() 2019-04-18 12:50:55 +03:00
linux-sync-file.h libweston: export weston_linux_sync_file_read_timestamp() 2019-04-18 12:50:55 +03:00
log.c libweston: Add weston_log_paced() 2022-11-08 08:32:26 -06:00
meson.build libweston: extract dep_gbm from backend-drm 2024-07-19 11:43:42 +02:00
noop-renderer.c libweston: Store shm buffer stride in weston_buffer 2024-07-04 13:07:54 +03:00
output-capture.c drm: allow to skip composition if pending capture is writeback 2023-03-31 10:36:31 +00:00
output-capture.h drm: allow to skip composition if pending capture is writeback 2023-03-31 10:36:31 +00:00
pixel-formats.c renderer-gl: Support more shm RGB formats 2024-06-19 15:42:59 +08:00
pixel-formats.h renderer-gl: Support more shm RGB formats 2024-06-19 15:42:59 +08:00
pixman-renderer.c renderers: Remove internal flush and attach 2024-07-19 16:41:05 +00:00
pixman-renderer.h pixman-renderer: use pixel_format_info instead of pixman_format_code_t 2023-01-28 12:59:16 +00:00
plugin-registry.c Rename plugin-registry.h to libweston/plugin-registry.h 2019-04-18 12:31:46 +03:00
screenshooter.c libweston: Store shm buffer stride in weston_buffer 2024-07-04 13:07:54 +03:00
spring-tool.c Rename compositor.h to libweston/libweston.h 2019-04-18 12:31:46 +03:00
timeline.c timeline: Fix order with sub-surface clients 2024-06-14 11:41:13 +00:00
timeline.h libweston: move TYPEVERIFY macro into shared 2021-02-17 12:52:33 +00:00
touch-calibration.c touch-calibrator: Regularise surface/view mapping 2023-12-06 12:16:27 +00:00
vertex-clipping.c gl-renderer: Do not expose clipper_clip() in header 2024-05-30 09:09:45 +00:00
vertex-clipping.h gl-renderer: Do not expose clipper_clip() in header 2024-05-30 09:09:45 +00:00
weston-direct-display.c libweston: Add weston-direct-display server side implementation 2019-11-18 19:33:09 +02:00
weston-log-file.c weston-log: destroy subscriptions with destruction of subscribers 2020-02-10 10:53:50 +00:00
weston-log-flight-rec.c weston-log-flight-rec: Map ring buffer using memset() 2023-03-10 11:35:04 +01:00
weston-log-internal.h weston-log-wayland: make stream_destroy() use weston_log_subscriber_release() 2020-02-10 10:53:50 +00:00
weston-log-wayland.c Fix indentation all through the project 2021-07-31 15:28:20 +00:00
weston-log.c libweston/weston-log: Add a iterator helper for debug scope 2023-05-30 11:05:14 +00:00