efl/legacy
Jiyoun Park 56111d2b69 From: Jiyoun Park <jy0703.park@samsung.com>
Subject: [E-devel] [Patch] Evas gl shader use binary shader

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.

The basic flow is
 
1.     First running application which use gl engine check binary shader
directory, but it can't find binary shader. 
2.     After compiling shader, It saves compiled shaders..
3.     Other application checks shader directory, it can use binary
shaders.
 
In mobile target, using binary shader, I can save 150ms. (that time, there
is 11 shaders).

If there is more shaders and more applications, this flow maybe save more
total time. 

(the above is now in, changelog coming, with change to using ~/.cache,
some formatting fixes, make ity do the desktop gl one right with the
retrievable hint parameter ont he program etc. - doesn't break desktop
gl at least. yay. a,so fixes to mke it compile at all).



SVN revision: 59167
2011-05-04 06:15:00 +00:00
..
ecore chlog++ 2011-05-03 10:00:54 +00:00
edje Edje min_calc: Don't print the 4000x4000 err when there's a textblock. 2011-05-02 10:20:20 +00:00
eet dont use old evas.h in docs. 2011-04-27 11:20:42 +00:00
eeze autogen: unobrk things. 2011-04-14 14:51:36 +00:00
efreet autogen: unobrk things. 2011-04-14 14:51:36 +00:00
eina Eina lock: unused warning suppression is done with (void). 2011-05-02 18:19:41 +00:00
eio eio: add forgotten file. 2011-05-03 13:07:26 +00:00
embryo embryo: update autogen.sh to check configure cache consistency. 2011-04-22 14:04:42 +00:00
emotion autogen: unobrk things. 2011-04-14 14:51:36 +00:00
ethumb ethumb: use Eina_Refcount. 2011-04-29 16:09:45 +00:00
evas From: Jiyoun Park <jy0703.park@samsung.com> 2011-05-04 06:15:00 +00:00
evil Evil: evil_stdlib.c 2011-04-02 12:29:32 +00:00