JDK-8101000 : CPU usage increases heavily when using StageStyle TRANSPARENT
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: fx2.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2011-10-19
  • Updated: 2015-06-16
  • Resolved: 2011-10-19
Related Reports
Duplicate :  
Description
If StageStyle.TRANSPARENT is used for a Stage instead of StageStyle.UNDECORATED then the CPU usage increases heavily.

On my computer:
JavaFxStageUndecoratedPerformanceOk.java has a CPU usage average of about 2%
JavaFxStageTransparentPerformanceProblem.java has a CPU usage average of about 12%  (+ 600%)
Comments
Marking this as a duplicate of a more general optimization request that I just filed.
19-10-2011

This issue is really just an observation that transparent windows are more expensive to render. This is a correct observation, but isn't a bug. Improving the performance is something we can consider for a future release.
19-10-2011