From 0c01111a8086883c180d26240cdedd7342a3b7a4 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Fri, 24 Jan 2014 12:26:22 +0100 Subject: [PATCH] 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 --- src/platformsupport/eglconvenience/qeglplatformbackingstore.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/platformsupport/eglconvenience/qeglplatformbackingstore.cpp b/src/platformsupport/eglconvenience/qeglplatformbackingstore.cpp index 543cf2a9789..6a22c01a83c 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