RE: AnimationTimer and actual frame rate

2016-12-23 Thread Markus KARG
I assume it is OK for you to use internal APIs? Then you could go with: com.sun.javafx.perf.PerformanceTracker.getSceneTracker(scene) and let a timer fire one per second to request tracker.getAverageFPS(). Beware not to use any AnimationTimer handlers, as it will reduce FPS, even if the

[9] Review request: JDK-8154472: javapackager -createbss command is not working

2016-12-23 Thread Victor Drozdov
Chris, Kevin, Please review the changes about exporting com.sun.javafx.css.parser to module jdk.packager. JIRA: https://bugs.openjdk.java.net/browse/JDK-8154472 Webrev: http://cr.openjdk.java.net/~vdrozdov/JDK-8154472/webrev.00/ --Victor

Re: AnimationTimer and actual frame rate

2016-12-23 Thread Michael Paus
Thank you. That explains a lot of what I am observing but it also makes me wonder how you could effectively measure the actual frame rate because that's what you are normally interested in. Michael Am 23.12.16 um 09:15 schrieb Markus KARG: AnimationTimer is fired once per "planned" frame (i.

[webkit] [9] Review request for 8136847: DRT test fast/canvas/canvas-fillRect-shadow.html fails

2016-12-23 Thread Arunprasad Rajkumar
Hello Kevin, Guru, Murali, Please review the fix for JDK-8136847 . http://cr.openjdk.java.net/~arajkumar/8136847/webrev Analysis is updated in JBS. Thanks, Arun

RE: AnimationTimer and actual frame rate

2016-12-23 Thread Markus KARG
AnimationTimer is fired once per "planned" frame (i. e. running at maximum possible FPS), not per "actually rendered" frame. JavaFX contains a lot of optimizations. For example, a boolean property animated over time to switch from false to true will only imply a single modification, hence only