From 7a6a2cda780784e504960c96b4b41241ddf10531 Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Mon, 27 Jul 2015 12:54:17 +0200 Subject: [PATCH 1/1] Don't refresh the entire window when we render the plotter This means the window is only updated when the plotter changes, rather than effectively every possible frame. Reviewed by: Marco Martin CCBUG: 348385 --- src/qmlcontrols/kquickcontrolsaddons/plotter.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/qmlcontrols/kquickcontrolsaddons/plotter.cpp b/src/qmlcontrols/kquickcontrolsaddons/plotter.cpp index 93da3c75e87aa21f6c5356b35764ded03f01d2e7..233dd6b9bc0dbeddcbeb8ee02ebc500bf10282b3 100644 --- a/src/qmlcontrols/kquickcontrolsaddons/plotter.cpp +++ b/src/qmlcontrols/kquickcontrolsaddons/plotter.cpp @@ -709,9 +709,6 @@ void Plotter::render() // Delete the VBO glDeleteBuffers(1, &vbo); - if (window()) { - window()->update(); - } } QSGNode *Plotter::updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *updatePaintNodeData) -- 2.4.6