[mythtv] Question on UIImageType::LoadImage()

Isaac Richards ijr at case.edu
Sat Apr 9 19:13:29 UTC 2005


On Saturday 09 April 2005 07:33 am, Herman Kuiper wrote:
> followed by code that checks to see if the requested image is in one of
> several other directories. However, I would think that after gContext has
> successfully loaded the image, there is no need to look any further. To
> test, I put a "return" just after the refresh() in the above if(). My load
> time decreased from 13 to 3.25 seconds, and mythmusic still looked just
> fine.
>
> As I'm probably missing something: what?

I don't think you're missing anything.. =)  I just commited the change you 
mention..  If anyone sees a problem, I can revert it, but, yeah, it was 
loading images twice, and not using the pre-scaled image cache to do the 
second load.

Isaac


More information about the mythtv-dev mailing list