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] |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
uwac-clipboard.c | ||
uwac-display.c | ||
uwac-input.c | ||
uwac-os.c | ||
uwac-os.h | ||
uwac-output.c | ||
uwac-priv.h | ||
uwac-tools.c | ||
uwac-utils.c | ||
uwac-utils.h | ||
uwac-window.c |