1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2025-11-06 22:54:14 -05:00

animation: add saved-image-blend

Allow animation to blend in saved window image before it was refresh.
Window images are refreshed when, for example, the window's size
changed. With this, animations can blend the window before and after the
size change to have a smoother transition.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2024-08-12 02:56:22 +01:00
parent 9dd075be52
commit 6e962470b0
No known key found for this signature in database
GPG key ID: D3A4405BE6CC17F4
11 changed files with 106 additions and 22 deletions

View file

@ -183,6 +183,7 @@ enum backend_command_op {
/// will later be filled in by the renderer using this symbolic reference.
enum backend_command_source {
BACKEND_COMMAND_SOURCE_WINDOW,
BACKEND_COMMAND_SOURCE_WINDOW_SAVED,
BACKEND_COMMAND_SOURCE_SHADOW,
BACKEND_COMMAND_SOURCE_BACKGROUND,
};