[mythtv-commits] mythtv commit: r27033 by markk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Fri Oct 29 03:08:30 UTC 2010


      Author: markk
        Date: 2010-10-29 03:08:30 +0000 (Fri, 29 Oct 2010)
New Revision: 27033
   Changeset: http://svn.mythtv.org/trac/changeset/27033

Log:

Backport r27014 from trunk to release-0-24-fixes.

Improved MythImage? re-parenting.

We only need to reset a MythImage?'s parent when it has none (the
previous parent painter was deleted) - this fixes an issue where images
allocated by the main UI painter but then painted within the OSD were
reparented to the OSD painter, which caused a crash when the frontend
exited.

If an image is already parented to one painter and we are creating a
cached bitmap in another painter, it will either be expired as needed
when the cache size is exceeded or routinely deleted when the painter is
deleted.


Modified:

   branches/release-0-24-fixes/mythtv/libs/libmythui/mythimage.h
   branches/release-0-24-fixes/mythtv/libs/libmythui/mythpainter_d3d9.cpp
   branches/release-0-24-fixes/mythtv/libs/libmythui/mythpainter_ogl.cpp
   branches/release-0-24-fixes/mythtv/libs/libmythui/mythpainter_vdpau.cpp




More information about the mythtv-commits mailing list