[mythtv-commits] mythtv branch master updated by stuartm. v0.27-pre-43-g39984eb

Git Repo Owner noreply at mythtv.org
Mon Oct 8 18:58:14 UTC 2012

The branch, master has been updated on the
mythtv repository by gitolite user stuartm.
       via  39984eb579369f6cb25cd8f57acb8b23ebcccfc6 (commit)
      from  9059a4e08d9c48fa91a8d251b3d3329e195ca48c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 39984eb579369f6cb25cd8f57acb8b23ebcccfc6
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sun, 6 May 2012 12:33:35 +0200
Committer: Stuart Morgan <smorgan at mythtv.org> at Mon, 8 Oct 2012 19:31:38 +0100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=39984eb579369f6cb25cd8f57acb8b23ebcccfc6

libmythui: Fix a redraw bug in MythUIType
While evaluating the ATI Catalyst 'TearFree Desktop' option I noticed
that sometimes a keypress was apparently being held up until the time
on the main menu was updated.  Initially I thought that this was a lirc
or fglrx issue, but on investigation it turned out that MythMainWindow::animate
was requesting updates for empty repaint regions.  Delving further
showed that MythUIType::Draw was resetting m_DirtyRegion to empty
even if the clipRect was smaller, thus leaving unpainted regions.

m_DirtyRegion may be extended by HandleMovementPulse, SetRedraw
or SetChildNeedsRedraw etc AFTER GetDirtyArea is called.
So when MythUIType::Draw is called, clipRect may not include the whole
of m_DirtyRegion.

This patch subtracts the Draw clipRect from m_DirtyRegion instead of
simply emtying it.

Fixes #10695

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Stuart Morgan <smorgan at mythtv.org>


Summary of changes:
 mythtv/libs/libmythui/mythuitype.cpp |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)


More information about the mythtv-commits mailing list