[mythtv-commits] mythtv commit: r27014 by markk
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Thu Oct 28 07:58:59 UTC 2010
Author: markk
Date: 2010-10-28 07:58:59 +0000 (Thu, 28 Oct 2010)
New Revision: 27014
Changeset: http://svn.mythtv.org/trac/changeset/27014
Log:
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:
trunk/mythtv/libs/libmythui/mythimage.h
trunk/mythtv/libs/libmythui/mythpainter_d3d9.cpp
trunk/mythtv/libs/libmythui/mythpainter_ogl.cpp
trunk/mythtv/libs/libmythui/mythpainter_vdpau.cpp
More information about the mythtv-commits
mailing list