simon-git: puzzles (main): Ben Harris
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Sun May 18 21:45:11 BST 2025
TL;DR:
48a6f16 GTK: add support for using a GdkFrameClock where available
Repository: https://git.tartarus.org/simon/puzzles.git
On the web: https://git.tartarus.org/?p=simon/puzzles.git
Branch updated: main
Committer: Ben Harris <bjh21 at bjh21.me.uk>
Date: 2025-05-18 21:45:11
commit 48a6f169c8fc48e11090a6e86e1f676fb455fd44
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=48a6f169c8fc48e11090a6e86e1f676fb455fd44;hp=c747cbfbde9f4dd5eb21690aaddebde0c3ffffab
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date: Sun May 18 11:22:58 2025 +0100
GTK: add support for using a GdkFrameClock where available
GdkFrameClock was introduced in GDK 3.8. It should give us one callback
per video frame, which ought to give us precisely what we want for
animations. Testing shows that it does at does at least get us called
back at a suitable frequency, rather than dropping frames as the old
code does. I'm not sure it makes the animations visually any better,
though.
gtk.c | 42 +++++++++++++++++++++++++++++++++++++++---
1 file changed, 39 insertions(+), 3 deletions(-)
More information about the tartarus-commits
mailing list