[mythtv-commits] mythtv commit: r22169 by cpinkham

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Fri Oct 2 05:11:24 UTC 2009


      Author: cpinkham
        Date: 2009-10-02 05:11:23 +0000 (Fri, 02 Oct 2009)
New Revision: 22169
   Changeset: http://cvs.mythtv.org/trac/changeset/22169

Modified:

   trunk/mythtv/libs/libmythui/mythuihelper.cpp
   trunk/mythtv/libs/libmythui/mythuihelper.h
   trunk/mythtv/libs/libmythui/mythuiimage.cpp
   trunk/mythtv/libs/libmythui/mythuiimage.h

Log:

Thread off the loading of images in MythUIImage.  The
default is to create a thread to load the image unless
MythUIImage::Load() is called with an argument of 'false'
or the desired image already exists in the in-memory
image cache.

This is part of a few patches to speed up loading of
artwork, but also affects other MythUIImage use.

If this causes issues, the default value of 'true' in
MythUIImage's Load(bool allowLoadInBackground = true)
can be set to false to disable background loading.

Again, this will require a 'make clean' since libmythui
is being touched, but I'm waiting to update the binary
version until after one more libmyth related change.






More information about the mythtv-commits mailing list