On 11/26/2010 11:05 AM, Gustavo Sverzut Barbieri wrote:
> On Friday, November 26, 2010, Cedric BAIL<cedric.b...@free.fr>  wrote:
>> On Fri, Nov 26, 2010 at 10:37 AM, Gustavo Sverzut Barbieri
>> <barbi...@profusion.mobi>  wrote:
>>> On Friday, November 26, 2010, Enlightenment SVN
>>> <no-re...@enlightenment.org>  wrote:
>>>> Log:
>>>>    Search for icon theme in elm_need_efreet
>>>>
>>>>    When searching for an icon in a theme, efreet needs to load the specific
>>>>    cache for the theme. So if an icon doesn't exist, this will be a huge
>>>>    overhead. So it is better to find a theme on init, and then stick with
>>>>    it.
>>>
>>> Nooooo!!!!
>>>
>>> Don't make app startup slower please, I'm already pissed off with
>>> current situation and planning to move edbus setup to a thread and you
>>> add this :/
>>>
>>> Need to make this a thread or async, or delay this with a timer after
>>> de window is visible and with something graphical visible
>>
>> Or just do it once in elm_icon.c.
>>
>> But isn't elm_icon.c called every time you use an icon in a toolbar ?
>> Most app will be hit by slowness in that path and efreet API is not
>> async, nor threadable at all. So I don't see how we could make that
>> startup dependency faster right now.
>
> Icons may be set to use theme instead of FDO and thus very fast as
> it's EET/hash-only
>

Then read the code. elm_need_efreet is only called if you add want to 
use a fdo icon.

Sebastian

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to