JDK-8091129 : Simple animation runs at lower FPS when embedded into JFXPanel
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 7u6
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2012-06-19
  • Updated: 2018-09-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Blocks :  
Relates :  
Relates :  
Description
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?
Comments
The problem is still there after RT-15195 has been fixed.
30-08-2012

We will look into this for Lombard, at which time it will probably be fixed when we enable running the app thread and prism rendering thread in parallel (RT-15195).
20-06-2012