mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-11-23 09:54:26 +08:00
72b6c7096d
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] |
||
---|---|---|
.. | ||
include | ||
libuwac | ||
protocols | ||
templates | ||
CMakeLists.txt |