Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8100719

align Pulse to VBlank time to enable smooth, stutter-free animations

XMLWordPrintable

      In the current demos, e.g. the Path Animation demo, a lot of stutter in the animation is visible on all Windows OS'es. Just like with the older JavaFX releases, the screen paints appear not to be aligned with the VBlank interval of the monitor. This causes ugly hickups in the animation. That is an important drawback for a media framework.

      The stuttering is (very likely) caused by jitter, judder and temporal aliasing, all due to the mis-alignment in time of the repaints.

      Detecting VBlank can be done by waiting on the buffer-swap with OpenGL, or using the dedicated OS functions for it.

      It's advisable to also create the possibility for other people to create their own Pulse-emitters, to keep things flexible.

            morris Morris Meyer (Inactive)
            lurjfx Lur (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: