summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@digia.com>2014-01-24 12:26:22 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-24 15:20:14 +0100
commit0c01111a8086883c180d26240cdedd7342a3b7a4 (patch)
treeeb73154cee5c35460046c9c3accf34ff0d5f4797
parent8c3e0953a44953a73dacc051956e062b94494e6d (diff)
eglfs: Upload only damaged areas into the textures
Uploading the pixel data for the entire window on every update is not nice. Not sure why the line in question was added, it is most likely a leftover from some debugging session. Change-Id: I161af536c42ac24b299fc674039f2318f0fb8c4f Reviewed-by: Andy Nichols <andy.nichols@digia.com>
-rw-r--r--src/platformsupport/eglconvenience/qeglplatformbackingstore.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/platformsupport/eglconvenience/qeglplatformbackingstore.cpp b/src/platformsupport/eglconvenience/qeglplatformbackingstore.cpp
index 543cf2a978..6a22c01a83 100644
--- a/src/platformsupport/eglconvenience/qeglplatformbackingstore.cpp
+++ b/src/platformsupport/eglconvenience/qeglplatformbackingstore.cpp
@@ -93,7 +93,6 @@ void QEGLPlatformBackingStore::updateTexture()
if (!m_dirty.isNull()) {
QRegion fixed;
QRect imageRect = m_image.rect();
- m_dirty |= imageRect;
foreach (const QRect &rect, m_dirty.rects()) {
// intersect with image rect to be sure