Re: Icon scaling



On Sat, 2004-03-27 at 22:45, Soeren Sandmann wrote:
> Currently the list view spends a lot of time scaling down icons that
> have a greater nominal size than base size. 
> 
> Every time the list model is asked for an icon, and it finds out that
> that icon is too large, it scales it down. This means that every
> expose of the list view results in a lot icons getting scaled down
> which is showing up on profiles.
> 
> This patch adds the ability to cache these scaled icons. 
> 
> (It also adds a hash table to stop warnings from being displayed more
> than once, but that's not really related).

I commited something based on this.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a shy albino messiah on the wrong side of the law. She's a 
transdimensional extravagent pearl diver with a knack for trouble. They fight 
crime! 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]