FreeRDP/uwac/libuwac
Mariusz Bialonczyk 72b6c7096d [uwac] scaling: fix damage surface
Some detailed overview of this change:
I was trying to use the wl_surface_damage_buffer() [1] function, like in
this [2] code, but there were some problems with calling it; even more,
we also need to check the compositor version before calling it.
Next approach was using full damage like described here [3]. This was
working fine, but it was of course suboptimal. Finally: looking at
chromium/ozone code [4] I ended up with correctly calculating the damage
region within surface coordinates.

Refs:
[1] https://wayland-client-d.dpldocs.info/wayland.client.protocol.wl_surface_damage_buffer.html
[2] b01c31b24f/clients/simple-damage.c (L585)
[3] https://bugzilla.mozilla.org/show_bug.cgi?id=1648872#c21
[4] 6763b7710c/ui/ozone/platform/wayland/host/wayland_surface.cc (118)
2024-01-05 14:17:38 +01:00
..
CMakeLists.txt [uwac] add viewporter protocol 2024-01-05 14:17:38 +01:00
uwac-clipboard.c Fixed #7521: Ensure '\0' termination of clipboard strings 2022-01-10 11:19:28 +01:00
uwac-display.c [uwac] display: add viewporter 2024-01-05 14:17:38 +01:00
uwac-input.c [uwac] input: fix cursor scaling 2024-01-05 14:17:38 +01:00
uwac-os.c [freerdp] use FREERDP_/UWAC_/RDTK_ prefix for conditional headers 2023-01-10 17:38:00 +01:00
uwac-os.h Reformatted to new style 2019-11-07 10:53:54 +01:00
uwac-output.c [uwac] output: assign actual_scale to display 2024-01-05 14:17:38 +01:00
uwac-priv.h [uwac] add scaling support using viewporter protocol 2024-01-05 14:17:38 +01:00
uwac-tools.c Fixed shadowing and type errors 2021-08-24 10:45:57 +02:00
uwac-utils.c Reorganized UWAC headers 2022-03-03 11:26:48 +01:00
uwac-utils.h [warnings] fix -Wcast-qual 2023-11-24 18:19:03 +01:00
uwac-window.c [uwac] scaling: fix damage surface 2024-01-05 14:17:38 +01:00