aboutsummaryrefslogtreecommitdiff
path: root/lib/gui
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2009-06-09 03:09:02 +0200
committerFelix Domke <tmbinc@elitedvb.net>2009-06-09 03:09:02 +0200
commitf34ad86a302613a2831c7b2080c20696be6a4dc9 (patch)
tree27f971f8b1178622f67a156281ae4c38de45e819 /lib/gui
parentbdd9e446243db1603e5ab6018ecbed3d4c8a59bd (diff)
downloadenigma2-f34ad86a302613a2831c7b2080c20696be6a4dc9.tar.gz
enigma2-f34ad86a302613a2831c7b2080c20696be6a4dc9.zip
optimize manual blits by not forcing them at gPainter::end, but instead call flush manually
Diffstat (limited to 'lib/gui')
-rw-r--r--lib/gui/ewidgetdesktop.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gui/ewidgetdesktop.cpp b/lib/gui/ewidgetdesktop.cpp
index fa532359..98bc1f7d 100644
--- a/lib/gui/ewidgetdesktop.cpp
+++ b/lib/gui/ewidgetdesktop.cpp
@@ -332,6 +332,10 @@ void eWidgetDesktop::paint()
if (m_comp_mode == cmBuffered)
{
// redrawComposition(0);
+ } else
+ {
+ gPainter painter(m_screen.m_dc);
+ painter.flush();
}
}