modules/graphics/src/main/java/com/sun/javafx/tk/quantum/PaintCollector.java

Print this page
rev 6142 : RT-35355 [Monocle] Software rendering ports of Monocle need notification of pixel upload end

*** 297,306 **** --- 297,311 ---- // now would be a great time to vsync! if (needsHint && !toolkit.hasNativeSystemVsync()) { toolkit.vsyncHint(); } + Runnable renderEndNotifier = Application.GetApplication().getRenderEndNotifier(); + if (renderEndNotifier != null) { + Application.invokeLater(renderEndNotifier); + } + // If pulse logging is enabled, then we must call renderEnd now // that we know that all of the scene's being rendered are finished if (PULSE_LOGGING_ENABLED) { PULSE_LOGGER.renderEnd(); }