-
Enhancement
-
Resolution: Unresolved
-
P3
-
7u6
FX/Swing interoperability performance is now a critical issue. There are several ideas how it can be improved, for example, merge AWT and FX event dispatch threads or share graphics resources between Java2D and Prism. However, any significant changes like this require a lot of investigation and can only be implemented in JDK 8 / JavaFX 3.0
At the same time, there are several "minor" issues with the current JFXPanel implementation, which can be improved in 2.2:
1. BufferedImage tweaks (format, "manageable" status, etc.)
2. Avoid extra pixels copy from EmbeddedScene to JFXPanel
3. Doesn't call to EmbeddedScene from paintComponent(), if FX scene has not changed
4. Respect JFXPanel dirty regions, so we don't repaint the whole scene every time
At the same time, there are several "minor" issues with the current JFXPanel implementation, which can be improved in 2.2:
1. BufferedImage tweaks (format, "manageable" status, etc.)
2. Avoid extra pixels copy from EmbeddedScene to JFXPanel
3. Doesn't call to EmbeddedScene from paintComponent(), if FX scene has not changed
4. Respect JFXPanel dirty regions, so we don't repaint the whole scene every time
- relates to
-
JDK-8087938 JFXPanel with simple animation consumes entire CPU core (see PERF-326)
- Open
-
JDK-8091129 Simple animation runs at lower FPS when embedded into JFXPanel
- Open