-
-
Notifications
You must be signed in to change notification settings - Fork 585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Desktop Switch Triggers for different animations #1262
Commits on May 16, 2024
-
transition: add step and cubic bezier interpolator
Signed-off-by: Yuxuan Shui <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 61507b5 - Browse repository at this point
Copy the full SHA 61507b5View commit details -
transition: parse curve from string
Signed-off-by: Yuxuan Shui <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 614ebbb - Browse repository at this point
Copy the full SHA 614ebbbView commit details -
Allow the definition of customizable animations using expressions and transition curves. Signed-off-by: Yuxuan Shui <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0f82266 - Browse repository at this point
Copy the full SHA 0f82266View commit details -
config_libconfig: parse animation scripts
Signed-off-by: Yuxuan Shui <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e12e102 - Browse repository at this point
Copy the full SHA e12e102View commit details -
config_libconfig: generate animation for legacy fading options
Signed-off-by: Yuxuan Shui <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2f9e092 - Browse repository at this point
Copy the full SHA 2f9e092View commit details -
core: catch up with the X server always
We should always process all the X events in libxcb's queue with the server grabbed, not just when we have `pending_updates` flag set. This is the only way to make sure we always render with up-to-date server states. Signed-off-by: Yuxuan Shui <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6140ae8 - Browse repository at this point
Copy the full SHA 6140ae8View commit details
Commits on May 18, 2024
-
win: switch to use the new animation system
Remove the old fading machinary. As a side-effect, animation and time based shaders are now unified. Signed-off-by: Yuxuan Shui <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 49670be - Browse repository at this point
Copy the full SHA 49670beView commit details -
win: make window and shadow offsets animatable
Signed-off-by: Yuxuan Shui <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 39a9a71 - Browse repository at this point
Copy the full SHA 39a9a71View commit details -
transition: remove unused functions
Signed-off-by: Yuxuan Shui <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1e32ced - Browse repository at this point
Copy the full SHA 1e32cedView commit details -
core: remove fade_timer from session
Signed-off-by: Yuxuan Shui <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 05e5f48 - Browse repository at this point
Copy the full SHA 05e5f48View commit details -
tests: add animations to base config parsing test
Signed-off-by: Yuxuan Shui <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b7becd9 - Browse repository at this point
Copy the full SHA b7becd9View commit details -
options: disable animations on legacy backends
Signed-off-by: Yuxuan Shui <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 69835cb - Browse repository at this point
Copy the full SHA 69835cbView commit details -
backend: add scale to blit parameters
Signed-off-by: Yuxuan Shui <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a2525fb - Browse repository at this point
Copy the full SHA a2525fbView commit details -
backend: gl: support the scale parameter of blit
Signed-off-by: Yuxuan Shui <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d894e90 - Browse repository at this point
Copy the full SHA d894e90View commit details -
config: add debug option "consistent_buffer_age"
An attempt to make rendering with damage deterministic even when replayed from a trace. Signed-off-by: Yuxuan Shui <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a0b5d06 - Browse repository at this point
Copy the full SHA a0b5d06View commit details -
types: introduce a type to represent a simple rectangle
Signed-off-by: Yuxuan Shui <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for be82ec0 - Browse repository at this point
Copy the full SHA be82ec0View commit details -
win: make window and shadow scales animatable
Signed-off-by: Yuxuan Shui <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 659f009 - Browse repository at this point
Copy the full SHA 659f009View commit details -
Signed-off-by: Yuxuan Shui <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cf98d95 - Browse repository at this point
Copy the full SHA cf98d95View commit details -
win: support animatable cropping
Signed-off-by: Yuxuan Shui <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 811681a - Browse repository at this point
Copy the full SHA 811681aView commit details -
backend/xrender: implement support for scale
Signed-off-by: Yuxuan Shui <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bf6fc47 - Browse repository at this point
Copy the full SHA bf6fc47View commit details -
win: add animation suppressions setting
This can be used to prevent another animation from interrupting the current running animation. Signed-off-by: Yuxuan Shui <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2899c78 - Browse repository at this point
Copy the full SHA 2899c78View commit details -
Added Desktop Switch Triggers for different animations
This adds support for desktop switching animations by keeping track of _NET_CURRENT_DESKTOP atom on the root window. As far as I understand this atom is set by window managers and so if it changes we can know that it's a desktop switch happening. Unfortunately window manager may need to set this BEFORE hiding/showing windows so we can animate correctly, me personally using FluxBox and this quick change pijulius/fluxbox@83ee4db makes it work just fine. It adds the following animation triggers: * workspace-out * workspace-out-inverse * workspace-in * workspace-in-inverse Unfortunately had to add inverse variables too as you may navigate to the next workspace from for e.g. 1st to 2nd but you may also go to 2nd from 1st and in that case the animations have to be totally different. Here is a config example for switching workspace: animations = ({ triggers = ["workspace-out"]; offset-y = { timing = "0.2s cubic-bezier(0.21, 0.02, 0.76, 0.36)"; start = "0"; end = "-window-height"; }; shadow-offset-y = "offset-y"; opacity = { timing = "0.2s linear"; start = "window-raw-opacity-before"; end = "window-raw-opacity"; }; blur-opacity = "opacity"; shadow-opacity = "opacity"; }, { triggers = ["workspace-out-inverse"]; offset-y = { timing = "0.2s cubic-bezier(0.21, 0.02, 0.76, 0.36)"; start = "0"; end = "window-height + window-y"; }; shadow-offset-y = "offset-y"; opacity = { timing = "0.2s linear"; start = "window-raw-opacity-before"; end = "window-raw-opacity"; }; blur-opacity = "opacity"; shadow-opacity = "opacity"; }, { triggers = ["workspace-in"]; offset-y = { timing = "0.2s cubic-bezier(0.24, 0.64, 0.79, 0.98)"; start = "window-height + window-y"; end = "0"; }; shadow-offset-y = "offset-y"; opacity = { timing = "0.2s linear"; start = "0"; end = "window-raw-opacity"; }; blur-opacity = "opacity"; shadow-opacity = "opacity"; }, { triggers = ["workspace-in-inverse"]; offset-y = { timing = "0.2s cubic-bezier(0.24, 0.64, 0.79, 0.98)"; start = "-window-height"; end = "0"; }; shadow-offset-y = "offset-y"; opacity = { timing = "0.2s linear"; start = "0"; end = "window-raw-opacity"; }; blur-opacity = "opacity"; shadow-opacity = "opacity"; })
Configuration menu - View commit details
-
Copy full SHA for df6ccb5 - Browse repository at this point
Copy the full SHA df6ccb5View commit details
Commits on May 19, 2024
-
win: expose information about monitors to animation script
Define script context variables describing the monitor a window is on. Signed-off-by: Yuxuan Shui <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6624f09 - Browse repository at this point
Copy the full SHA 6624f09View commit details -
Configuration menu - View commit details
-
Copy full SHA for a092060 - Browse repository at this point
Copy the full SHA a092060View commit details