| 1 |
Some basic animation tests to help see what kinds of animation are possible on |
| 2 |
what architectures. |
| 3 |
|
| 4 |
Usage: |
| 5 |
CLUTTER_SHOW_FPS=1 gjs clutter.js [crossfade/slide] [1080/720] |
| 6 |
GDK_DEBUG=frames gjs gtk.js [crossfade/slide] [1080/720] |
| 7 |
|
| 8 |
You can choose between a cross fade and a slide, and a 1080 or 720 image asset |
| 9 |
to animate. (The screen resolution and not the asset size should really |
| 10 |
determine frame rate, but just in case.) |
| 11 |
|
| 12 |
Clutter will print out a proper frame rate, whereas GTK will print out |
| 13 |
a series of intervals between draw updates. During an animation these |
| 14 |
should be at 16 milliseconds for 60 FPS. |
| 15 |
|
| 16 |
Click to trigger a slide. Press any key to quit. |