efl/legacy/evas/src/modules/engines
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
..
buffer an initial test at trying pixman instead of evas software rendering. 2011-04-22 11:47:14 +00:00
direct3d Evas font-engine: Remove passing of strings to font_draw. 2011-05-02 15:33:46 +00:00
directfb Evas font-engine: Remove passing of strings to font_draw. 2011-05-02 15:33:46 +00:00
fb an initial test at trying pixman instead of evas software rendering. 2011-04-22 11:47:14 +00:00
gl_common From: Jiyoun Park <jy0703.park@samsung.com> 2011-05-04 06:15:00 +00:00
gl_sdl Evas font-engine: Remove passing of strings to font_draw. 2011-05-02 15:33:46 +00:00
gl_x11 From: Jiyoun Park <jy0703.park@samsung.com> 2011-05-04 06:15:00 +00:00
software_8 Evas font-engine: Remove passing of strings to font_draw. 2011-05-02 15:33:46 +00:00
software_8_x11 an initial test at trying pixman instead of evas software rendering. 2011-04-22 11:47:14 +00:00
software_16 Evas font-engine: Remove passing of strings to font_draw. 2011-05-02 15:33:46 +00:00
software_16_ddraw an initial test at trying pixman instead of evas software rendering. 2011-04-22 11:47:14 +00:00
software_16_sdl an initial test at trying pixman instead of evas software rendering. 2011-04-22 11:47:14 +00:00
software_16_wince an initial test at trying pixman instead of evas software rendering. 2011-04-22 11:47:14 +00:00
software_16_x11 an initial test at trying pixman instead of evas software rendering. 2011-04-22 11:47:14 +00:00
software_ddraw an initial test at trying pixman instead of evas software rendering. 2011-04-22 11:47:14 +00:00
software_gdi an initial test at trying pixman instead of evas software rendering. 2011-04-22 11:47:14 +00:00
software_generic wrn-- 2011-05-03 03:11:08 +00:00
software_sdl Evas font-engine: Remove passing of strings to font_draw. 2011-05-02 15:33:46 +00:00
software_x11 an initial test at trying pixman instead of evas software rendering. 2011-04-22 11:47:14 +00:00
.cvsignore Presenting the Indian Rope Trick. Watch in awe as these young files climb 2006-01-16 03:57:33 +00:00
Makefile.am evas: and now, the last one to die today, Evas Xrender backend. 2011-04-05 14:16:18 +00:00