On Fri, Apr 29, 2011 at 3:32 PM, Gustavo Sverzut Barbieri
<[email protected]> wrote:
> On Fri, Apr 29, 2011 at 7:38 AM, Jiyoun Park <[email protected]> wrote:
>> Hi.
>>
>>
>>
>> I make patch related with evas gl binary shader.
>>
>>
>>
>> The concept of binary shader is  compile shader only once.
>>
>> Some people want to use binary shader because of performance issue.
>>
>> In current evas gl engine, every application have to compile shader each
>> time.
>>
>> But I modify code , so only first running application need compile shader.
>>
>> Other application use already compiled shader(binary shader)
>>
>>
>>
>> The binary shader is made under HOME/.evas/gl_common_shaders directory.
>>
>> Binary shader is created according to GL vendor,GL renderer, GL version and
>> Module_arch.
>
> while I haven't checked the code, don't create yet another ~/.
> directory. This is bad and was acknowledged by everyone. Unfortunately
> e17 itself did not update to use proper XDG directories, but we can
> avoid introducing new problems to be later fixed.
>
> XDG specifies $XDG_CACHE_HOME with fallback to ~/.cache, thus you can
> use it with "/evas/gl_common_shaders" appended.
>
> Many desktops and distributions have cron jobs to clean these
> directories or maps them to some /var with cleanup jobs.


http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html


-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: [email protected]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to