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

Print this page

        

*** 297,307 **** // now would be a great time to vsync! if (needsHint && !toolkit.hasNativeSystemVsync()) { toolkit.vsyncHint(); } ! Application.GetApplication().notifyRenderingFinished(); // 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(); --- 297,310 ---- // now would be a great time to vsync! if (needsHint && !toolkit.hasNativeSystemVsync()) { toolkit.vsyncHint(); } ! Application application = Application.GetApplication(); ! if (application != null) { ! application.notifyRenderingFinished(); ! } // 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();