This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch tymux-13-tick-fix
in repository terminology.
View the commit online.
commit 962f004c0c8da717d4c4817eb4ee83e080237e91
Author: Cedric BAIL <[email protected]>
AuthorDate: Wed Nov 25 16:57:55 2026 -0600
termio, sel: queue updates on the window's own animator
The text grid updates and the tab selector animation used the
process-wide ecore_animator, which ticks at the refresh rate of one
display. With EFL ticking each window from its own monitor, a window on
a 30 Hz screen still updated its grid 144 times a second while showing
30 frames.
ecore_evas_animator_add() follows the window's own tick, and falls back
to the global animator on engines without one.
Measured against the patched EFL with a pty writer emitting DOOM-fire
frames, fps sampled every 0.25 s, medians over 6 screen moves across 3
runs:
HDMI 30 Hz: about 1070 -> about 1800-1870 fps
eDP 144 Hz: about 1085 -> about 1030 fps (within about 5%)
---
src/bin/sel.c | 2 +-
src/bin/termio.c | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/bin/sel.c b/src/bin/sel.c
index 26d5a475..639aafd9 100644
--- a/src/bin/sel.c
+++ b/src/bin/sel.c
@@ -520,7 +520,7 @@ _transit(Sel *sd, double tim)
sd->interp = 0.0;
if (!sd->anim)
{
- sd->anim = ecore_animator_add(_anim_cb, sd);
+ sd->anim = ecore_evas_animator_add(sd->self, _anim_cb, sd);
}
}
diff --git a/src/bin/termio.c b/src/bin/termio.c
index a7ae9ccb..23e12734 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -3909,7 +3909,8 @@ termio_smart_update_queue(Termio *sd)
{
if (sd->anim)
return;
- sd->anim = ecore_animator_add(_smart_cb_change, sd->self);
+ sd->anim = ecore_evas_animator_add(sd->self, _smart_cb_change,
+ sd->self);
}
void
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.