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
Hello community, here is the log from the commit of package kdeclarative for openSUSE:Factory checked in at 2015-08-10 09:10:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kdeclarative (Old) and /work/SRC/openSUSE:Factory/.kdeclarative.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "kdeclarative" Changes: -------- --- /work/SRC/openSUSE:Factory/kdeclarative/kdeclarative.changes 2015-07-14 17:23:05.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kdeclarative.new/kdeclarative.changes 2015-08-10 09:10:31.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Jul 27 16:07:54 UTC 2015 - hrvoje.senjan@gmail.com + +- Added 0001-Don-t-refresh-the-entire-window-when-we-render-the-p.patch + (kde#348385) + +------------------------------------------------------------------- New: ---- 0001-Don-t-refresh-the-entire-window-when-we-render-the-p.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kdeclarative.spec ++++++ --- /var/tmp/diff_new_pack.ImiDvu/_old 2015-08-10 09:10:32.000000000 +0200 +++ /var/tmp/diff_new_pack.ImiDvu/_new 2015-08-10 09:10:32.000000000 +0200 @@ -51,6 +51,8 @@ Source1: baselibs.conf # PATCH-FIX-UPSTREAM 0001-Only-resize-plot-texture-if-size-actually-changes.patch Patch0: 0001-Only-resize-plot-texture-if-size-actually-changes.patch +# PATCH-FIX-UPSTREAM 0001-Don-t-refresh-the-entire-window-when-we-render-the-p.patch +Patch1: 0001-Don-t-refresh-the-entire-window-when-we-render-the-p.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -107,6 +109,7 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 %build %cmake_kf5 -d build ++++++ 0001-Don-t-refresh-the-entire-window-when-we-render-the-p.patch ++++++ 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