[mythtv-commits] mythtv commit: r18552 by greg
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Sun Oct 5 20:12:18 UTC 2008
Author: greg
Date: 2008-10-05 20:12:17 +0000 (Sun, 05 Oct 2008)
New Revision: 18552
Changeset: http://cvs.mythtv.org/trac/changeset/18552
Modified:
trunk/mythtv/libs/libmythui/mythimage.cpp
trunk/mythtv/libs/libmythui/mythimage.h
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:
This patch add on the fly disk caching of scaled images.
This allows us to no longer need to do the "prescale" check anymore
as we only write them as needed which leads to faster program startups.
As well loading images for things like video cover posters is
significantly faster as we are no longer scaling them each time we
load them. After the first load+scale we grab from the cache.
The prescaling code is still there, just commented out for now and the message
has been renamed to Initializing MythTV instead :)
This along with some upcoming changes to be commited by stuartm will
import performance on several screens.
More information about the mythtv-commits
mailing list