This commit is contained in:
parent
47e5adc819
commit
16fbf7b4b1
@ -0,0 +1,33 @@
|
||||
From 7a6a2cda780784e504960c96b4b41241ddf10531 Mon Sep 17 00:00:00 2001
|
||||
From: David Edmundson <kde@davidedmundson.co.uk>
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
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)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 8 18:58:24 UTC 2015 - hrvoje.senjan@gmail.com
|
||||
|
||||
|
@ -51,6 +51,8 @@ Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%
|
||||
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 @@ Development files.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%cmake_kf5 -d build
|
||||
|
Loading…
Reference in New Issue
Block a user