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

Simple animation runs at lower FPS when embedded into JFXPanel

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • 7u6
    • javafx

      When I run AnimationTest.java from PERF-326 I notice that when embedded in a JFXPanel the application thread is held waiting for pixels to be read in EmbeddedPainter.run. All pulses are dropped during that period leading to lower FPS. When run in standalone mode, despite the fact that more time is spent in D3dSwapChain.present than in D3DRTTexture.readPixels the application thread can process more pulses as it doesn't wait during the present() call. Could the application thread be released before the readPixels call as well?

            Unassigned Unassigned
            omazurov Oleg Mazurov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Imported: