[mythtv-commits] mythtv commit: r27027 by markk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Fri Oct 29 02:57:21 UTC 2010


      Author: markk
        Date: 2010-10-29 02:57:21 +0000 (Fri, 29 Oct 2010)
New Revision: 27027
   Changeset: http://svn.mythtv.org/trac/changeset/27027

Log:

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

Improved tracking of allocated images in the Painter classes.

    * add a QList to the base painter class to keep a record of all
image objects allocated by the painter and subsequently de-allocated by
the parent UI object.

    * Move painter specific image deletion into private methods and
ensure that DeleteFormatImage is only called by the parent object when
it no longer has a need for the allocated image, with all other internal
deletion using the private method.


Modified:

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




More information about the mythtv-commits mailing list