diff options
Diffstat (limited to 'libraries/evas/src/modules/engines/gl_common/shader')
119 files changed, 0 insertions, 2122 deletions
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/compile-s3c6410.sh b/libraries/evas/src/modules/engines/gl_common/shader/compile-s3c6410.sh deleted file mode 100755 index 450e5de..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/compile-s3c6410.sh +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | ORIONEXE=/home/raster/Data/orion/orion.exe | ||
3 | OPTS="-O --nolodcalc -lp" | ||
4 | |||
5 | function compile() | ||
6 | { | ||
7 | F=$1 | ||
8 | |||
9 | make-c-str.sh $F"_frag.shd" > $F"_frag.h" | ||
10 | if test -f $F"_frag_s3c6410.asm"; then | ||
11 | wine $ORIONEXE -a $OPTS -f $F"_frag_s3c6410.asm" | ||
12 | make-c-bin.sh $F"_frag_s3c6410.bin" > $F"_frag_bin_s3c6410.h" | ||
13 | rm -f $F"_frag_s3c6410.bin" $F"_frag_s3c6410.h" | ||
14 | else | ||
15 | wine $ORIONEXE $OPTS -f $F"_frag.shd" | ||
16 | make-c-bin.sh $F"_frag.shd.bin" > $F"_frag_bin_s3c6410.h" | ||
17 | rm -f $F"_frag.shd.bin" $F"_frag.shd.asm" $F"_frag.shd.h" | ||
18 | fi | ||
19 | |||
20 | make-c-str.sh $F"_vert.shd" > $F"_vert.h" | ||
21 | if test -f $F"_vert_s3c6410.asm"; then | ||
22 | wine $ORIONEXE -a $OPTS -v $F"_vert_s3c6410.asm" | ||
23 | make-c-bin.sh $F"_vert_s3c6410.bin" > $F"_vert_bin_s3c6410.h" | ||
24 | rm -f $F"_vert_s3c6410.bin" $F"_vert_s3c6410.h" | ||
25 | else | ||
26 | wine $ORIONEXE $OPTS -v $F"_vert.shd" | ||
27 | make-c-bin.sh $F"_vert.shd.bin" > $F"_vert_bin_s3c6410.h" | ||
28 | rm -f $F"_vert.shd.bin" $F"_vert.shd.asm" $F"_vert.shd.h" | ||
29 | fi | ||
30 | } | ||
31 | |||
32 | compile rect | ||
33 | compile font | ||
34 | compile img | ||
35 | compile img_nomul | ||
36 | compile img_bgra | ||
37 | compile img_bgra_nomul | ||
38 | compile img_mask | ||
39 | compile yuv | ||
40 | compile yuv_nomul | ||
41 | compile tex | ||
42 | compile tex_nomul | ||
43 | compile nv12 | ||
44 | compile nv12_nomul | ||
45 | compile yuy2 | ||
46 | compile yuy2_nomul | ||
47 | ## FIXME: compile filter_* | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/compile-sgx.sh b/libraries/evas/src/modules/engines/gl_common/shader/compile-sgx.sh deleted file mode 100755 index a96b58c..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/compile-sgx.sh +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | #!/bin/bash | ||
2 | function compile() | ||
3 | { | ||
4 | F=$1 | ||
5 | |||
6 | if [ -f $F".shd" ]; then | ||
7 | make-c-str.sh $F".shd" > $F".h" | ||
8 | fi | ||
9 | if [ -f $F"_frag.shd" ]; then | ||
10 | make-c-str.sh $F"_frag.shd" > $F"_frag.h" | ||
11 | fi | ||
12 | if [ -f $F"_vert.shd" ]; then | ||
13 | make-c-str.sh $F"_vert.shd" > $F"_vert.h" | ||
14 | fi | ||
15 | } | ||
16 | |||
17 | compile rect | ||
18 | compile font | ||
19 | compile img | ||
20 | compile img_nomul | ||
21 | compile img_bgra | ||
22 | compile img_bgra_nomul | ||
23 | compile img_mask | ||
24 | compile yuv | ||
25 | compile yuv_nomul | ||
26 | compile tex | ||
27 | compile tex_nomul | ||
28 | compile filter_blur_bgra | ||
29 | compile filter_blur_bgra_nomul | ||
30 | compile filter_blur | ||
31 | compile filter_blur_nomul | ||
32 | compile filter_greyscale_bgra | ||
33 | compile filter_greyscale_bgra_nomul | ||
34 | compile filter_greyscale | ||
35 | compile filter_greyscale_nomul | ||
36 | compile filter_invert_bgra | ||
37 | compile filter_invert_bgra_nomul | ||
38 | compile filter_invert | ||
39 | compile filter_invert_nomul | ||
40 | compile filter_sepia_bgra | ||
41 | compile filter_sepia_bgra_nomul | ||
42 | compile filter_sepia | ||
43 | compile filter_sepia_nomul | ||
44 | compile nv12 | ||
45 | compile nv12_nomul | ||
46 | compile yuy2 | ||
47 | compile yuy2_nomul | ||
48 | |||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_blur.h b/libraries/evas/src/modules/engines/gl_common/shader/filter_blur.h deleted file mode 100644 index 7c3a369..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_blur.h +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex;\n" | ||
9 | "uniform sampler1D gaussian;\n" | ||
10 | "varying vec4 col;\n" | ||
11 | "varying vec2 tex_c;\n" | ||
12 | "varying weight;\n" | ||
13 | "uniform radius;\n" | ||
14 | "void main()\n" | ||
15 | "{\n" | ||
16 | " int i;\n" | ||
17 | " vec4 fc = vec4(0,0,0,0);\n" | ||
18 | " \n" | ||
19 | " for (i = 0 ; i < radius ; i ++){\n" | ||
20 | " fc += texture2D(tex, tex_c.xy).rgba *\n" | ||
21 | " texture1D(gaussian,i/radius).aaaa;\n" | ||
22 | " }\n" | ||
23 | " gl_FragColor = fc / 4 * col;\n" | ||
24 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_blur.shd b/libraries/evas/src/modules/engines/gl_common/shader/filter_blur.shd deleted file mode 100644 index 5f13a47..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_blur.shd +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex; | ||
9 | uniform sampler1D gaussian; | ||
10 | varying vec4 col; | ||
11 | varying vec2 tex_c; | ||
12 | varying weight; | ||
13 | uniform radius; | ||
14 | void main() | ||
15 | { | ||
16 | int i; | ||
17 | vec4 fc = vec4(0,0,0,0); | ||
18 | |||
19 | for (i = 0 ; i < radius ; i ++){ | ||
20 | fc += texture2D(tex, tex_c.xy).rgba * | ||
21 | texture1D(gaussian,i/radius).aaaa; | ||
22 | } | ||
23 | gl_FragColor = fc / 4 * col; | ||
24 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_blur_bgra.h b/libraries/evas/src/modules/engines/gl_common/shader/filter_blur_bgra.h deleted file mode 100644 index 0862e4f..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_blur_bgra.h +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex;\n" | ||
9 | "uniform sampler1D gaussian;\n" | ||
10 | "varying vec4 col;\n" | ||
11 | "varying vec2 tex_c;\n" | ||
12 | "varying weight;\n" | ||
13 | "uniform radius;\n" | ||
14 | "void main()\n" | ||
15 | "{\n" | ||
16 | " int i;\n" | ||
17 | " vec4 fc = vec4(0,0,0,0);\n" | ||
18 | " \n" | ||
19 | " for (i = 0 ; i < radius ; i ++){\n" | ||
20 | " fc += texture2D(tex, tex_c.xy).rgba *\n" | ||
21 | " texture1D(gaussian,i/radius).aaaa;\n" | ||
22 | " }\n" | ||
23 | " gl_FragColor = fc / 4;\n" | ||
24 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_blur_bgra.shd b/libraries/evas/src/modules/engines/gl_common/shader/filter_blur_bgra.shd deleted file mode 100644 index a9134df..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_blur_bgra.shd +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex; | ||
9 | uniform sampler1D gaussian; | ||
10 | varying vec4 col; | ||
11 | varying vec2 tex_c; | ||
12 | varying weight; | ||
13 | uniform radius; | ||
14 | void main() | ||
15 | { | ||
16 | int i; | ||
17 | vec4 fc = vec4(0,0,0,0); | ||
18 | |||
19 | for (i = 0 ; i < radius ; i ++){ | ||
20 | fc += texture2D(tex, tex_c.xy).rgba * | ||
21 | texture1D(gaussian,i/radius).aaaa; | ||
22 | } | ||
23 | gl_FragColor = fc / 4; | ||
24 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_blur_bgra_nomul.h b/libraries/evas/src/modules/engines/gl_common/shader/filter_blur_bgra_nomul.h deleted file mode 100644 index 0862e4f..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_blur_bgra_nomul.h +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex;\n" | ||
9 | "uniform sampler1D gaussian;\n" | ||
10 | "varying vec4 col;\n" | ||
11 | "varying vec2 tex_c;\n" | ||
12 | "varying weight;\n" | ||
13 | "uniform radius;\n" | ||
14 | "void main()\n" | ||
15 | "{\n" | ||
16 | " int i;\n" | ||
17 | " vec4 fc = vec4(0,0,0,0);\n" | ||
18 | " \n" | ||
19 | " for (i = 0 ; i < radius ; i ++){\n" | ||
20 | " fc += texture2D(tex, tex_c.xy).rgba *\n" | ||
21 | " texture1D(gaussian,i/radius).aaaa;\n" | ||
22 | " }\n" | ||
23 | " gl_FragColor = fc / 4;\n" | ||
24 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_blur_bgra_nomul.shd b/libraries/evas/src/modules/engines/gl_common/shader/filter_blur_bgra_nomul.shd deleted file mode 100644 index a9134df..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_blur_bgra_nomul.shd +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex; | ||
9 | uniform sampler1D gaussian; | ||
10 | varying vec4 col; | ||
11 | varying vec2 tex_c; | ||
12 | varying weight; | ||
13 | uniform radius; | ||
14 | void main() | ||
15 | { | ||
16 | int i; | ||
17 | vec4 fc = vec4(0,0,0,0); | ||
18 | |||
19 | for (i = 0 ; i < radius ; i ++){ | ||
20 | fc += texture2D(tex, tex_c.xy).rgba * | ||
21 | texture1D(gaussian,i/radius).aaaa; | ||
22 | } | ||
23 | gl_FragColor = fc / 4; | ||
24 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_blur_nomul.h b/libraries/evas/src/modules/engines/gl_common/shader/filter_blur_nomul.h deleted file mode 100644 index 0862e4f..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_blur_nomul.h +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex;\n" | ||
9 | "uniform sampler1D gaussian;\n" | ||
10 | "varying vec4 col;\n" | ||
11 | "varying vec2 tex_c;\n" | ||
12 | "varying weight;\n" | ||
13 | "uniform radius;\n" | ||
14 | "void main()\n" | ||
15 | "{\n" | ||
16 | " int i;\n" | ||
17 | " vec4 fc = vec4(0,0,0,0);\n" | ||
18 | " \n" | ||
19 | " for (i = 0 ; i < radius ; i ++){\n" | ||
20 | " fc += texture2D(tex, tex_c.xy).rgba *\n" | ||
21 | " texture1D(gaussian,i/radius).aaaa;\n" | ||
22 | " }\n" | ||
23 | " gl_FragColor = fc / 4;\n" | ||
24 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_blur_nomul.shd b/libraries/evas/src/modules/engines/gl_common/shader/filter_blur_nomul.shd deleted file mode 100644 index a9134df..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_blur_nomul.shd +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex; | ||
9 | uniform sampler1D gaussian; | ||
10 | varying vec4 col; | ||
11 | varying vec2 tex_c; | ||
12 | varying weight; | ||
13 | uniform radius; | ||
14 | void main() | ||
15 | { | ||
16 | int i; | ||
17 | vec4 fc = vec4(0,0,0,0); | ||
18 | |||
19 | for (i = 0 ; i < radius ; i ++){ | ||
20 | fc += texture2D(tex, tex_c.xy).rgba * | ||
21 | texture1D(gaussian,i/radius).aaaa; | ||
22 | } | ||
23 | gl_FragColor = fc / 4; | ||
24 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_greyscale.h b/libraries/evas/src/modules/engines/gl_common/shader/filter_greyscale.h deleted file mode 100644 index 850538a..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_greyscale.h +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex;\n" | ||
9 | "varying vec4 col;\n" | ||
10 | "varying vec2 tex_c;\n" | ||
11 | "void main()\n" | ||
12 | "{\n" | ||
13 | " float inten = dot(texture2D(tex,tex_c.xy).agb,vec3(.3, .59, .11));\n" | ||
14 | " gl_FragColor = vec4(inten, inten, inten, texture2D(tex,tex_c.xy).r) * col;\n" | ||
15 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_greyscale.shd b/libraries/evas/src/modules/engines/gl_common/shader/filter_greyscale.shd deleted file mode 100644 index 78ecf08..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_greyscale.shd +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex; | ||
9 | varying vec4 col; | ||
10 | varying vec2 tex_c; | ||
11 | void main() | ||
12 | { | ||
13 | float inten = dot(texture2D(tex,tex_c.xy).agb,vec3(.3, .59, .11)); | ||
14 | gl_FragColor = vec4(inten, inten, inten, texture2D(tex,tex_c.xy).r) * col; | ||
15 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_greyscale_bgra.h b/libraries/evas/src/modules/engines/gl_common/shader/filter_greyscale_bgra.h deleted file mode 100644 index 3caef35..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_greyscale_bgra.h +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex;\n" | ||
9 | "varying vec4 col;\n" | ||
10 | "varying vec2 tex_c;\n" | ||
11 | "void main()\n" | ||
12 | "{\n" | ||
13 | " float inten = dot(texture2D(tex,tex_c.xy).rgb,vec3(.3, .59, .11));\n" | ||
14 | " gl_FragColor = vec4(inten, inten, inten, texture2D(tex,tex_c.xy).a) * col;\n" | ||
15 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_greyscale_bgra.shd b/libraries/evas/src/modules/engines/gl_common/shader/filter_greyscale_bgra.shd deleted file mode 100644 index 5dca381..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_greyscale_bgra.shd +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex; | ||
9 | varying vec4 col; | ||
10 | varying vec2 tex_c; | ||
11 | void main() | ||
12 | { | ||
13 | float inten = dot(texture2D(tex,tex_c.xy).rgb,vec3(.3, .59, .11)); | ||
14 | gl_FragColor = vec4(inten, inten, inten, texture2D(tex,tex_c.xy).a) * col; | ||
15 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_greyscale_bgra_nomul.h b/libraries/evas/src/modules/engines/gl_common/shader/filter_greyscale_bgra_nomul.h deleted file mode 100644 index 4cb36a8..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_greyscale_bgra_nomul.h +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex;\n" | ||
9 | "varying vec2 tex_c;\n" | ||
10 | "void main()\n" | ||
11 | "{\n" | ||
12 | " float inten = dot(texture2D(tex,tex_c.xy).rgb,vec3(.3, .59, .11));\n" | ||
13 | " gl_FragColor = vec4(inten, inten, inten, texture2D(tex,tex_c.xy).a);\n" | ||
14 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_greyscale_bgra_nomul.shd b/libraries/evas/src/modules/engines/gl_common/shader/filter_greyscale_bgra_nomul.shd deleted file mode 100644 index a077eea..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_greyscale_bgra_nomul.shd +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex; | ||
9 | varying vec2 tex_c; | ||
10 | void main() | ||
11 | { | ||
12 | float inten = dot(texture2D(tex,tex_c.xy).rgb,vec3(.3, .59, .11)); | ||
13 | gl_FragColor = vec4(inten, inten, inten, texture2D(tex,tex_c.xy).a); | ||
14 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_greyscale_nomul.h b/libraries/evas/src/modules/engines/gl_common/shader/filter_greyscale_nomul.h deleted file mode 100644 index f501a02..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_greyscale_nomul.h +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex;\n" | ||
9 | "varying vec2 tex_c;\n" | ||
10 | "void main()\n" | ||
11 | "{\n" | ||
12 | " float inten = dot(texture2D(tex,tex_c.xy).abg,vec3(.3, .59, .11));\n" | ||
13 | " gl_FragColor = vec4(inten, inten, inten, texture2D(tex,tex_c.xy).r);\n" | ||
14 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_greyscale_nomul.shd b/libraries/evas/src/modules/engines/gl_common/shader/filter_greyscale_nomul.shd deleted file mode 100644 index b5b8ec6..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_greyscale_nomul.shd +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex; | ||
9 | varying vec2 tex_c; | ||
10 | void main() | ||
11 | { | ||
12 | float inten = dot(texture2D(tex,tex_c.xy).abg,vec3(.3, .59, .11)); | ||
13 | gl_FragColor = vec4(inten, inten, inten, texture2D(tex,tex_c.xy).r); | ||
14 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_invert.h b/libraries/evas/src/modules/engines/gl_common/shader/filter_invert.h deleted file mode 100644 index 46373e0..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_invert.h +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex;\n" | ||
9 | "varying vec4 col;\n" | ||
10 | "varying vec2 tex_c;\n" | ||
11 | "void main()\n" | ||
12 | "{\n" | ||
13 | " gl_FragColor = (vec4(0, 1.0, 1.0, 1.0) - texture2D(tex, tex_c.xy).bgra)*col;\n" | ||
14 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_invert.shd b/libraries/evas/src/modules/engines/gl_common/shader/filter_invert.shd deleted file mode 100644 index a75b058..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_invert.shd +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex; | ||
9 | varying vec4 col; | ||
10 | varying vec2 tex_c; | ||
11 | void main() | ||
12 | { | ||
13 | gl_FragColor = (vec4(0, 1.0, 1.0, 1.0) - texture2D(tex, tex_c.xy).bgra)*col; | ||
14 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_invert_bgra.h b/libraries/evas/src/modules/engines/gl_common/shader/filter_invert_bgra.h deleted file mode 100644 index 3e3011d..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_invert_bgra.h +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex;\n" | ||
9 | "varying vec4 col;\n" | ||
10 | "varying vec2 tex_c;\n" | ||
11 | "void main()\n" | ||
12 | "{\n" | ||
13 | " gl_FragColor = (vec4(1.0, 1.0, 1.0, 1.0) - texture2D(tex, tex_c.xy))*col;\n" | ||
14 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_invert_bgra.shd b/libraries/evas/src/modules/engines/gl_common/shader/filter_invert_bgra.shd deleted file mode 100644 index 8d7df2d..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_invert_bgra.shd +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex; | ||
9 | varying vec4 col; | ||
10 | varying vec2 tex_c; | ||
11 | void main() | ||
12 | { | ||
13 | gl_FragColor = (vec4(1.0, 1.0, 1.0, 1.0) - texture2D(tex, tex_c.xy))*col; | ||
14 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_invert_bgra_nomul.h b/libraries/evas/src/modules/engines/gl_common/shader/filter_invert_bgra_nomul.h deleted file mode 100644 index b9f1e25..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_invert_bgra_nomul.h +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex;\n" | ||
9 | "varying vec4 col;\n" | ||
10 | "varying vec2 tex_c;\n" | ||
11 | "void main()\n" | ||
12 | "{\n" | ||
13 | " vec3 inv = vec3(1.0, 1.0, 1.0) - texture2D(tex,tex_c.xy).rgb;\n" | ||
14 | " gl_FragColor = vec4(inv.r, inv.g, inv.b, 1.0);\n" | ||
15 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_invert_bgra_nomul.shd b/libraries/evas/src/modules/engines/gl_common/shader/filter_invert_bgra_nomul.shd deleted file mode 100644 index 682acb2..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_invert_bgra_nomul.shd +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex; | ||
9 | varying vec4 col; | ||
10 | varying vec2 tex_c; | ||
11 | void main() | ||
12 | { | ||
13 | vec3 inv = vec3(1.0, 1.0, 1.0) - texture2D(tex,tex_c.xy).rgb; | ||
14 | gl_FragColor = vec4(inv.r, inv.g, inv.b, 1.0); | ||
15 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_invert_nomul.h b/libraries/evas/src/modules/engines/gl_common/shader/filter_invert_nomul.h deleted file mode 100644 index 46373e0..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_invert_nomul.h +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex;\n" | ||
9 | "varying vec4 col;\n" | ||
10 | "varying vec2 tex_c;\n" | ||
11 | "void main()\n" | ||
12 | "{\n" | ||
13 | " gl_FragColor = (vec4(0, 1.0, 1.0, 1.0) - texture2D(tex, tex_c.xy).bgra)*col;\n" | ||
14 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_invert_nomul.shd b/libraries/evas/src/modules/engines/gl_common/shader/filter_invert_nomul.shd deleted file mode 100644 index a75b058..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_invert_nomul.shd +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex; | ||
9 | varying vec4 col; | ||
10 | varying vec2 tex_c; | ||
11 | void main() | ||
12 | { | ||
13 | gl_FragColor = (vec4(0, 1.0, 1.0, 1.0) - texture2D(tex, tex_c.xy).bgra)*col; | ||
14 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_sepia.h b/libraries/evas/src/modules/engines/gl_common/shader/filter_sepia.h deleted file mode 100644 index 50fbf12..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_sepia.h +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex;\n" | ||
9 | "varying vec4 col;\n" | ||
10 | "varying vec2 tex_c;\n" | ||
11 | "void main()\n" | ||
12 | "{\n" | ||
13 | " vec3 inp = texture2D(tex,tex_c.xy).abg;\n" | ||
14 | " vec4 sep;\n" | ||
15 | " sep.r = dot(inp, vec3(.393, .769, .189));\n" | ||
16 | " sep.g = dot(inp, vec3(.349, .686, .168));\n" | ||
17 | " sep.b = dot(inp, vec3(.272, .534, .131));\n" | ||
18 | " sep.a = texture2D(tex,tex_c.xy).r;\n" | ||
19 | " gl_FragColor = sep * col;\n" | ||
20 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_sepia.shd b/libraries/evas/src/modules/engines/gl_common/shader/filter_sepia.shd deleted file mode 100644 index 027ecfb..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_sepia.shd +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex; | ||
9 | varying vec4 col; | ||
10 | varying vec2 tex_c; | ||
11 | void main() | ||
12 | { | ||
13 | vec3 inp = texture2D(tex,tex_c.xy).abg; | ||
14 | vec4 sep; | ||
15 | sep.r = dot(inp, vec3(.393, .769, .189)); | ||
16 | sep.g = dot(inp, vec3(.349, .686, .168)); | ||
17 | sep.b = dot(inp, vec3(.272, .534, .131)); | ||
18 | sep.a = texture2D(tex,tex_c.xy).r; | ||
19 | gl_FragColor = sep * col; | ||
20 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_sepia_bgra.h b/libraries/evas/src/modules/engines/gl_common/shader/filter_sepia_bgra.h deleted file mode 100644 index 41e4283..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_sepia_bgra.h +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex;\n" | ||
9 | "varying vec4 col;\n" | ||
10 | "varying vec2 tex_c;\n" | ||
11 | "void main()\n" | ||
12 | "{\n" | ||
13 | " vec3 inp = texture2D(tex,tex_c.xy).rgb;\n" | ||
14 | " vec4 sep;\n" | ||
15 | " sep.r = dot(inp, vec3(.393, .769, .189));\n" | ||
16 | " sep.g = dot(inp, vec3(.349, .686, .168));\n" | ||
17 | " sep.b = dot(inp, vec3(.272, .534, .131));\n" | ||
18 | " sep.a = texture2D(tex,tex_c.xy).a;\n" | ||
19 | " gl_FragColor = sep * col;\n" | ||
20 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_sepia_bgra.shd b/libraries/evas/src/modules/engines/gl_common/shader/filter_sepia_bgra.shd deleted file mode 100644 index caed378..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_sepia_bgra.shd +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex; | ||
9 | varying vec4 col; | ||
10 | varying vec2 tex_c; | ||
11 | void main() | ||
12 | { | ||
13 | vec3 inp = texture2D(tex,tex_c.xy).rgb; | ||
14 | vec4 sep; | ||
15 | sep.r = dot(inp, vec3(.393, .769, .189)); | ||
16 | sep.g = dot(inp, vec3(.349, .686, .168)); | ||
17 | sep.b = dot(inp, vec3(.272, .534, .131)); | ||
18 | sep.a = texture2D(tex,tex_c.xy).a; | ||
19 | gl_FragColor = sep * col; | ||
20 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_sepia_bgra_nomul.h b/libraries/evas/src/modules/engines/gl_common/shader/filter_sepia_bgra_nomul.h deleted file mode 100644 index 0c4fe1b..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_sepia_bgra_nomul.h +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex;\n" | ||
9 | "varying vec4 col;\n" | ||
10 | "varying vec2 tex_c;\n" | ||
11 | "void main()\n" | ||
12 | "{\n" | ||
13 | " vec3 inp = texture2D(tex,tex_c.xy).rgb;\n" | ||
14 | " gl_FragColor.r = dot(inp, vec3(.393, .769, .189));\n" | ||
15 | " gl_FragColor.g = dot(inp, vec3(.349, .686, .168));\n" | ||
16 | " gl_FragColor.b = dot(inp, vec3(.272, .534, .131));\n" | ||
17 | " gl_FragColor.a = texture2D(tex,tex_c.xy).a;\n" | ||
18 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_sepia_bgra_nomul.shd b/libraries/evas/src/modules/engines/gl_common/shader/filter_sepia_bgra_nomul.shd deleted file mode 100644 index 9c6c1d4..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_sepia_bgra_nomul.shd +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex; | ||
9 | varying vec4 col; | ||
10 | varying vec2 tex_c; | ||
11 | void main() | ||
12 | { | ||
13 | vec3 inp = texture2D(tex,tex_c.xy).rgb; | ||
14 | gl_FragColor.r = dot(inp, vec3(.393, .769, .189)); | ||
15 | gl_FragColor.g = dot(inp, vec3(.349, .686, .168)); | ||
16 | gl_FragColor.b = dot(inp, vec3(.272, .534, .131)); | ||
17 | gl_FragColor.a = texture2D(tex,tex_c.xy).a; | ||
18 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_sepia_nomul.h b/libraries/evas/src/modules/engines/gl_common/shader/filter_sepia_nomul.h deleted file mode 100644 index 23af9ec..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_sepia_nomul.h +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex;\n" | ||
9 | "varying vec4 col;\n" | ||
10 | "varying vec2 tex_c;\n" | ||
11 | "void main()\n" | ||
12 | "{\n" | ||
13 | " vec3 inp = texture2D(tex,tex_c.xy).abg;\n" | ||
14 | " gl_FragColor.r = dot(inp, vec3(.393, .769, .189));\n" | ||
15 | " gl_FragColor.g = dot(inp, vec3(.349, .686, .168));\n" | ||
16 | " gl_FragColor.b = dot(inp, vec3(.272, .534, .131));\n" | ||
17 | " gl_FragColor.a = texture2D(tex,tex_c.xy).r;\n" | ||
18 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/filter_sepia_nomul.shd b/libraries/evas/src/modules/engines/gl_common/shader/filter_sepia_nomul.shd deleted file mode 100644 index f9871bd..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/filter_sepia_nomul.shd +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex; | ||
9 | varying vec4 col; | ||
10 | varying vec2 tex_c; | ||
11 | void main() | ||
12 | { | ||
13 | vec3 inp = texture2D(tex,tex_c.xy).abg; | ||
14 | gl_FragColor.r = dot(inp, vec3(.393, .769, .189)); | ||
15 | gl_FragColor.g = dot(inp, vec3(.349, .686, .168)); | ||
16 | gl_FragColor.b = dot(inp, vec3(.272, .534, .131)); | ||
17 | gl_FragColor.a = texture2D(tex,tex_c.xy).r; | ||
18 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/font_frag.h b/libraries/evas/src/modules/engines/gl_common/shader/font_frag.h deleted file mode 100644 index f27dcdc..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/font_frag.h +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex;\n" | ||
9 | "varying vec4 col;\n" | ||
10 | "varying vec2 tex_c;\n" | ||
11 | "void main()\n" | ||
12 | "{\n" | ||
13 | " gl_FragColor = texture2D(tex, tex_c.xy).aaaa * col;\n" | ||
14 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/font_frag.shd b/libraries/evas/src/modules/engines/gl_common/shader/font_frag.shd deleted file mode 100644 index a8eb9b7..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/font_frag.shd +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex; | ||
9 | varying vec4 col; | ||
10 | varying vec2 tex_c; | ||
11 | void main() | ||
12 | { | ||
13 | gl_FragColor = texture2D(tex, tex_c.xy).aaaa * col; | ||
14 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/font_frag_bin_s3c6410.h b/libraries/evas/src/modules/engines/gl_common/shader/font_frag_bin_s3c6410.h deleted file mode 100644 index daca692..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/font_frag_bin_s3c6410.h +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | 0x20205350, 0xffff0008, 0x00000048, 0x01020000, 0x00000003, 0x00000000, | ||
2 | 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000000, 0x00000001, | ||
3 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000e, 0x00000000, | ||
4 | 0x00000000, 0x0000e407, 0x307820e4, 0x00000000, 0x01000000, 0x0100e400, | ||
5 | 0x237a10ff, 0x00000000, 0x00000000, 0x00000000, 0x1e000000, 0x00000000, | ||
6 | 0x00000004, 0x00000003, 0x00000009, 0x00000000, 0x00000004, 0x00000008, | ||
7 | 0x00000005, 0x00000003, 0x00000000, 0x00000000, 0x00000000, 0x00000003, | ||
8 | 0x0000000f, 0x00030005, 0x00000000, 0x00786574, 0x006c6f63, 0x5f786574, | ||
9 | 0x00000063, \ No newline at end of file | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/font_frag_s3c6410.asm b/libraries/evas/src/modules/engines/gl_common/shader/font_frag_s3c6410.asm deleted file mode 100644 index 4ed116f..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/font_frag_s3c6410.asm +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | #------------------------------------------------- | ||
2 | # ORION - OpenGL ES 2.0 Shading Language Compiler | ||
3 | # SAMSUNG INDIA SOFTWARE OPERATIONS PVT. LTD. | ||
4 | # Compiler Version : v04.00.09 | ||
5 | # Release Date : 19.01.2009 | ||
6 | # FIMG VERSION : FIMGv1.5 | ||
7 | # Optimizer Options : -O --nolodcalc | ||
8 | #------------------------------------------------- | ||
9 | |||
10 | # hand optimised - removed useless ops | ||
11 | |||
12 | ps_3_0 | ||
13 | |||
14 | fimg_version 0x01020000 | ||
15 | |||
16 | dcl_s2_tex s0 | ||
17 | dcl_f4_col v1.x | ||
18 | dcl_f2_tex_c v0.x | ||
19 | |||
20 | label start | ||
21 | label main_ | ||
22 | texld r0.xyzw, v0.xyzw, s0 # tex=s0 | ||
23 | mul_sat oColor.xyzw, r0.wwww, v1.xyzw # gl_FragColor=oColor.xyzw, col=v1.xyzw | ||
24 | label main_end | ||
25 | ret | ||
26 | # 4 instructions, 4 C regs, 1 R regs | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/font_vert.h b/libraries/evas/src/modules/engines/gl_common/shader/font_vert.h deleted file mode 100644 index 8921d9d..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/font_vert.h +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "precision highp float;\n" | ||
3 | "#endif\n" | ||
4 | "attribute vec4 vertex;\n" | ||
5 | "attribute vec4 color;\n" | ||
6 | "attribute vec2 tex_coord;\n" | ||
7 | "uniform mat4 mvp;\n" | ||
8 | "varying vec4 col;\n" | ||
9 | "varying vec2 tex_c;\n" | ||
10 | "void main()\n" | ||
11 | "{\n" | ||
12 | " gl_Position = mvp * vertex;\n" | ||
13 | " col = color;\n" | ||
14 | " tex_c = tex_coord;\n" | ||
15 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/font_vert.shd b/libraries/evas/src/modules/engines/gl_common/shader/font_vert.shd deleted file mode 100644 index 606c297..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/font_vert.shd +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | precision highp float; | ||
3 | #endif | ||
4 | attribute vec4 vertex; | ||
5 | attribute vec4 color; | ||
6 | attribute vec2 tex_coord; | ||
7 | uniform mat4 mvp; | ||
8 | varying vec4 col; | ||
9 | varying vec2 tex_c; | ||
10 | void main() | ||
11 | { | ||
12 | gl_Position = mvp * vertex; | ||
13 | col = color; | ||
14 | tex_c = tex_coord; | ||
15 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/font_vert_bin_s3c6410.h b/libraries/evas/src/modules/engines/gl_common/shader/font_vert_bin_s3c6410.h deleted file mode 100644 index 1402448..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/font_vert_bin_s3c6410.h +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | 0x20205356, 0xffff0008, 0x00000048, 0x01020000, 0x00000007, 0x00000006, | ||
2 | 0x00000000, 0x00000000, 0x00000003, 0x00000003, 0x00000001, 0x00000000, | ||
3 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000031, 0x00000000, | ||
4 | 0x00000000, 0x02020000, 0x237820e4, 0x00000000, 0x00e40100, 0x02035500, | ||
5 | 0x2ef820e4, 0x00000000, 0x00e40100, 0x0204aa00, 0x2ef820e4, 0x00000000, | ||
6 | 0x00e40100, 0x0205ff00, 0x2ef800e4, 0x00000000, 0x00000000, 0x00010000, | ||
7 | 0x20f801e4, 0x00000000, 0x00000000, 0x00020000, 0x20980254, 0x00000000, | ||
8 | 0x00000000, 0x00000000, 0x1e000000, 0x00000000, 0x00000000, 0x00000000, | ||
9 | 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x3f800000, | ||
10 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, | ||
11 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, | ||
12 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000c, 0x00000006, | ||
13 | 0x00000009, 0x00000000, 0x00000000, 0x00000013, 0x00000005, 0x00000009, | ||
14 | 0x00000000, 0x00000004, 0x00000019, 0x00000009, 0x00000003, 0x00000000, | ||
15 | 0x00000008, 0x00000000, 0x0000000b, 0x00000009, 0x00010004, 0x00000000, | ||
16 | 0x00000027, 0x00000003, 0x00000009, 0x00010004, 0x00000004, 0x0000002b, | ||
17 | 0x00000005, 0x00000003, 0x00010004, 0x00000008, 0x00000023, 0x00000003, | ||
18 | 0x0000000e, 0x00020001, 0x00000008, 0x505f6c67, 0x7469736f, 0x006e6f69, | ||
19 | 0x74726576, 0x63007865, 0x726f6c6f, 0x78657400, 0x6f6f635f, 0x6d006472, | ||
20 | 0x63007076, 0x74006c6f, 0x635f7865, 0x00000000, \ No newline at end of file | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_frag.h b/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_frag.h deleted file mode 100644 index 1ced5e0..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_frag.h +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex;\n" | ||
9 | "varying vec4 col;\n" | ||
10 | "varying vec2 tex_c;\n" | ||
11 | "void main()\n" | ||
12 | "{\n" | ||
13 | " gl_FragColor = texture2D(tex, tex_c.xy) * col;\n" | ||
14 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_frag.shd b/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_frag.shd deleted file mode 100644 index 2bc8d79..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_frag.shd +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex; | ||
9 | varying vec4 col; | ||
10 | varying vec2 tex_c; | ||
11 | void main() | ||
12 | { | ||
13 | gl_FragColor = texture2D(tex, tex_c.xy) * col; | ||
14 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_frag_bin_s3c6410.h b/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_frag_bin_s3c6410.h deleted file mode 100644 index feb5bf5..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_frag_bin_s3c6410.h +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | 0x20205350, 0xffff0008, 0x00000048, 0x01020000, 0x00000004, 0x00000003, | ||
2 | 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000000, 0x00000001, | ||
3 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000e, 0x00000000, | ||
4 | 0x00000000, 0x02025400, 0x23782050, 0x00000000, 0x00000000, 0x0100e407, | ||
5 | 0x307820e4, 0x00000000, 0x01000000, 0x0100e400, 0x237a10e4, 0x00000000, | ||
6 | 0x00000000, 0x00000000, 0x1e000000, 0x00000000, 0x00000000, 0x00000000, | ||
7 | 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x3f800000, | ||
8 | 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000004, 0x00000003, | ||
9 | 0x00000009, 0x00000000, 0x00000004, 0x00000008, 0x00000005, 0x00000003, | ||
10 | 0x00000000, 0x00000000, 0x00000000, 0x00000003, 0x0000000f, 0x00030005, | ||
11 | 0x00000000, 0x00786574, 0x006c6f63, 0x5f786574, 0x00000063, | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_nomul_frag.h b/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_nomul_frag.h deleted file mode 100644 index 459611f..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_nomul_frag.h +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex;\n" | ||
9 | "varying vec2 tex_c;\n" | ||
10 | "void main()\n" | ||
11 | "{\n" | ||
12 | " gl_FragColor = texture2D(tex, tex_c.xy);\n" | ||
13 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_nomul_frag.shd b/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_nomul_frag.shd deleted file mode 100644 index 877df62..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_nomul_frag.shd +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex; | ||
9 | varying vec2 tex_c; | ||
10 | void main() | ||
11 | { | ||
12 | gl_FragColor = texture2D(tex, tex_c.xy); | ||
13 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_nomul_frag_bin_s3c6410.h b/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_nomul_frag_bin_s3c6410.h deleted file mode 100644 index b89eeb1..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_nomul_frag_bin_s3c6410.h +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | 0x20205350, 0xffff0008, 0x00000048, 0x01020000, 0x00000003, 0x00000003, | ||
2 | 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000001, | ||
3 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000a, 0x00000000, | ||
4 | 0x00000000, 0x02025400, 0x23782050, 0x00000000, 0x00000000, 0x0100e407, | ||
5 | 0x307a10e4, 0x00000000, 0x00000000, 0x00000000, 0x1e000000, 0x00000000, | ||
6 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, | ||
7 | 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000, | ||
8 | 0x00000004, 0x00000005, 0x00000003, 0x00000000, 0x00000000, 0x00000000, | ||
9 | 0x00000003, 0x0000000f, 0x00030005, 0x00000000, 0x00786574, 0x5f786574, | ||
10 | 0x00000063, \ No newline at end of file | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_nomul_vert.h b/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_nomul_vert.h deleted file mode 100644 index 13d5edd..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_nomul_vert.h +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "precision highp float;\n" | ||
3 | "#endif\n" | ||
4 | "attribute vec4 vertex;\n" | ||
5 | "attribute vec2 tex_coord;\n" | ||
6 | "uniform mat4 mvp;\n" | ||
7 | "varying vec2 tex_c;\n" | ||
8 | "void main()\n" | ||
9 | "{\n" | ||
10 | " gl_Position = mvp * vertex;\n" | ||
11 | " tex_c = tex_coord;\n" | ||
12 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_nomul_vert.shd b/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_nomul_vert.shd deleted file mode 100644 index 74f3207..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_nomul_vert.shd +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | precision highp float; | ||
3 | #endif | ||
4 | attribute vec4 vertex; | ||
5 | attribute vec2 tex_coord; | ||
6 | uniform mat4 mvp; | ||
7 | varying vec2 tex_c; | ||
8 | void main() | ||
9 | { | ||
10 | gl_Position = mvp * vertex; | ||
11 | tex_c = tex_coord; | ||
12 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_nomul_vert_bin_s3c6410.h b/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_nomul_vert_bin_s3c6410.h deleted file mode 100644 index 314b5f3..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_nomul_vert_bin_s3c6410.h +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | 0x20205356, 0xffff0008, 0x00000048, 0x01020000, 0x00000006, 0x00000006, | ||
2 | 0x00000000, 0x00000000, 0x00000002, 0x00000002, 0x00000001, 0x00000000, | ||
3 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000027, 0x00000000, | ||
4 | 0x00000000, 0x02020000, 0x237820e4, 0x00000000, 0x00e40100, 0x02035500, | ||
5 | 0x2ef820e4, 0x00000000, 0x00e40100, 0x0204aa00, 0x2ef820e4, 0x00000000, | ||
6 | 0x00e40100, 0x0205ff00, 0x2ef800e4, 0x00000000, 0x00000000, 0x00010000, | ||
7 | 0x20980154, 0x00000000, 0x00000000, 0x00000000, 0x1e000000, 0x00000000, | ||
8 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, | ||
9 | 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, | ||
10 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, | ||
11 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, | ||
12 | 0x0000000c, 0x00000006, 0x00000009, 0x00000000, 0x00000000, 0x00000013, | ||
13 | 0x00000009, 0x00000003, 0x00000000, 0x00000004, 0x00000000, 0x0000000b, | ||
14 | 0x00000009, 0x00010004, 0x00000000, 0x00000021, 0x00000005, 0x00000003, | ||
15 | 0x00010004, 0x00000004, 0x0000001d, 0x00000003, 0x0000000e, 0x00020001, | ||
16 | 0x00000008, 0x505f6c67, 0x7469736f, 0x006e6f69, 0x74726576, 0x74007865, | ||
17 | 0x635f7865, 0x64726f6f, 0x70766d00, 0x78657400, 0x0000635f, | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_vert.h b/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_vert.h deleted file mode 100644 index 8921d9d..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_vert.h +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "precision highp float;\n" | ||
3 | "#endif\n" | ||
4 | "attribute vec4 vertex;\n" | ||
5 | "attribute vec4 color;\n" | ||
6 | "attribute vec2 tex_coord;\n" | ||
7 | "uniform mat4 mvp;\n" | ||
8 | "varying vec4 col;\n" | ||
9 | "varying vec2 tex_c;\n" | ||
10 | "void main()\n" | ||
11 | "{\n" | ||
12 | " gl_Position = mvp * vertex;\n" | ||
13 | " col = color;\n" | ||
14 | " tex_c = tex_coord;\n" | ||
15 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_vert.shd b/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_vert.shd deleted file mode 100644 index 606c297..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_vert.shd +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | precision highp float; | ||
3 | #endif | ||
4 | attribute vec4 vertex; | ||
5 | attribute vec4 color; | ||
6 | attribute vec2 tex_coord; | ||
7 | uniform mat4 mvp; | ||
8 | varying vec4 col; | ||
9 | varying vec2 tex_c; | ||
10 | void main() | ||
11 | { | ||
12 | gl_Position = mvp * vertex; | ||
13 | col = color; | ||
14 | tex_c = tex_coord; | ||
15 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_vert_bin_s3c6410.h b/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_vert_bin_s3c6410.h deleted file mode 100644 index 1402448..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/img_bgra_vert_bin_s3c6410.h +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | 0x20205356, 0xffff0008, 0x00000048, 0x01020000, 0x00000007, 0x00000006, | ||
2 | 0x00000000, 0x00000000, 0x00000003, 0x00000003, 0x00000001, 0x00000000, | ||
3 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000031, 0x00000000, | ||
4 | 0x00000000, 0x02020000, 0x237820e4, 0x00000000, 0x00e40100, 0x02035500, | ||
5 | 0x2ef820e4, 0x00000000, 0x00e40100, 0x0204aa00, 0x2ef820e4, 0x00000000, | ||
6 | 0x00e40100, 0x0205ff00, 0x2ef800e4, 0x00000000, 0x00000000, 0x00010000, | ||
7 | 0x20f801e4, 0x00000000, 0x00000000, 0x00020000, 0x20980254, 0x00000000, | ||
8 | 0x00000000, 0x00000000, 0x1e000000, 0x00000000, 0x00000000, 0x00000000, | ||
9 | 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x3f800000, | ||
10 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, | ||
11 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, | ||
12 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000c, 0x00000006, | ||
13 | 0x00000009, 0x00000000, 0x00000000, 0x00000013, 0x00000005, 0x00000009, | ||
14 | 0x00000000, 0x00000004, 0x00000019, 0x00000009, 0x00000003, 0x00000000, | ||
15 | 0x00000008, 0x00000000, 0x0000000b, 0x00000009, 0x00010004, 0x00000000, | ||
16 | 0x00000027, 0x00000003, 0x00000009, 0x00010004, 0x00000004, 0x0000002b, | ||
17 | 0x00000005, 0x00000003, 0x00010004, 0x00000008, 0x00000023, 0x00000003, | ||
18 | 0x0000000e, 0x00020001, 0x00000008, 0x505f6c67, 0x7469736f, 0x006e6f69, | ||
19 | 0x74726576, 0x63007865, 0x726f6c6f, 0x78657400, 0x6f6f635f, 0x6d006472, | ||
20 | 0x63007076, 0x74006c6f, 0x635f7865, 0x00000000, \ No newline at end of file | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/img_frag.h b/libraries/evas/src/modules/engines/gl_common/shader/img_frag.h deleted file mode 100644 index 0a95502..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/img_frag.h +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex;\n" | ||
9 | "varying vec4 col;\n" | ||
10 | "varying vec2 tex_c;\n" | ||
11 | "void main()\n" | ||
12 | "{\n" | ||
13 | " gl_FragColor = texture2D(tex, tex_c.xy).bgra * col;\n" | ||
14 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/img_frag.shd b/libraries/evas/src/modules/engines/gl_common/shader/img_frag.shd deleted file mode 100644 index 9faa414..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/img_frag.shd +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex; | ||
9 | varying vec4 col; | ||
10 | varying vec2 tex_c; | ||
11 | void main() | ||
12 | { | ||
13 | gl_FragColor = texture2D(tex, tex_c.xy).bgra * col; | ||
14 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/img_frag_bin_s3c6410.h b/libraries/evas/src/modules/engines/gl_common/shader/img_frag_bin_s3c6410.h deleted file mode 100644 index 3518e8d..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/img_frag_bin_s3c6410.h +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | 0x20205350, 0xffff0008, 0x00000048, 0x01020000, 0x00000003, 0x00000000, | ||
2 | 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000000, 0x00000001, | ||
3 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000e, 0x00000000, | ||
4 | 0x00000000, 0x0000e407, 0x307820e4, 0x00000000, 0x01000000, 0x0100e400, | ||
5 | 0x237a10c6, 0x00000000, 0x00000000, 0x00000000, 0x1e000000, 0x00000000, | ||
6 | 0x00000004, 0x00000003, 0x00000009, 0x00000000, 0x00000004, 0x00000008, | ||
7 | 0x00000005, 0x00000003, 0x00000000, 0x00000000, 0x00000000, 0x00000003, | ||
8 | 0x0000000f, 0x00030005, 0x00000000, 0x00786574, 0x006c6f63, 0x5f786574, | ||
9 | 0x00000063, \ No newline at end of file | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/img_frag_s3c6410.asm b/libraries/evas/src/modules/engines/gl_common/shader/img_frag_s3c6410.asm deleted file mode 100644 index 3716bce..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/img_frag_s3c6410.asm +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | |||
2 | #------------------------------------------------- | ||
3 | # ORION - OpenGL ES 2.0 Shading Language Compiler | ||
4 | # SAMSUNG INDIA SOFTWARE OPERATIONS PVT. LTD. | ||
5 | # Compiler Version : v04.00.09 | ||
6 | # Release Date : 19.01.2009 | ||
7 | # FIMG VERSION : FIMGv1.5 | ||
8 | # Optimizer Options : -O --nolodcalc | ||
9 | #------------------------------------------------- | ||
10 | |||
11 | # hand optimised - removed useless ops | ||
12 | |||
13 | ps_3_0 | ||
14 | |||
15 | fimg_version 0x01020000 | ||
16 | |||
17 | dcl_s2_tex s0 | ||
18 | dcl_f4_col v1.x | ||
19 | dcl_f2_tex_c v0.x | ||
20 | |||
21 | label start | ||
22 | label main_ | ||
23 | texld r0.xyzw, v0.xyzw, s0 # tex=s0 | ||
24 | mul_sat oColor.xyzw, r0.zyxw, v1.xyzw # gl_FragColor=oColor.xyzw, col=v1.xyzw | ||
25 | label main_end | ||
26 | ret | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/img_mask_frag.h b/libraries/evas/src/modules/engines/gl_common/shader/img_mask_frag.h deleted file mode 100644 index 1b28128..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/img_mask_frag.h +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex, texm;\n" | ||
9 | "varying vec4 col;\n" | ||
10 | "varying vec2 tex_c, tex_cm;\n" | ||
11 | "void main()\n" | ||
12 | "{\n" | ||
13 | " gl_FragColor = texture2D(texm, tex_cm.xy).aaaa * texture2D(tex, tex_c.xy).rgba * col;\n" | ||
14 | "}\n" | ||
15 | "\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/img_mask_vert.h b/libraries/evas/src/modules/engines/gl_common/shader/img_mask_vert.h deleted file mode 100644 index 7508c98..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/img_mask_vert.h +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "precision highp float;\n" | ||
3 | "#endif\n" | ||
4 | "attribute vec4 vertex;\n" | ||
5 | "attribute vec4 color;\n" | ||
6 | "attribute vec2 tex_coord, tex_coordm;\n" | ||
7 | "uniform mat4 mvp;\n" | ||
8 | "varying vec4 col;\n" | ||
9 | "varying vec2 tex_c, tex_cm;\n" | ||
10 | "void main()\n" | ||
11 | "{\n" | ||
12 | " gl_Position = mvp * vertex;\n" | ||
13 | " col = color;\n" | ||
14 | " tex_c = tex_coord;\n" | ||
15 | " tex_cm = tex_coordm;\n" | ||
16 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/img_nomul_frag.h b/libraries/evas/src/modules/engines/gl_common/shader/img_nomul_frag.h deleted file mode 100644 index 0343b34..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/img_nomul_frag.h +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex;\n" | ||
9 | "varying vec2 tex_c;\n" | ||
10 | "void main()\n" | ||
11 | "{\n" | ||
12 | " gl_FragColor = texture2D(tex, tex_c.xy).bgra;\n" | ||
13 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/img_nomul_frag.shd b/libraries/evas/src/modules/engines/gl_common/shader/img_nomul_frag.shd deleted file mode 100644 index 222d635..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/img_nomul_frag.shd +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex; | ||
9 | varying vec2 tex_c; | ||
10 | void main() | ||
11 | { | ||
12 | gl_FragColor = texture2D(tex, tex_c.xy).bgra; | ||
13 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/img_nomul_frag_bin_s3c6410.h b/libraries/evas/src/modules/engines/gl_common/shader/img_nomul_frag_bin_s3c6410.h deleted file mode 100644 index 61662c8..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/img_nomul_frag_bin_s3c6410.h +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | 0x20205350, 0xffff0008, 0x00000048, 0x01020000, 0x00000003, 0x00000003, | ||
2 | 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000001, | ||
3 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000a, 0x00000000, | ||
4 | 0x00000000, 0x02025400, 0x23782050, 0x00000000, 0x00000000, 0x0100e407, | ||
5 | 0x307a10c6, 0x00000000, 0x00000000, 0x00000000, 0x1e000000, 0x00000000, | ||
6 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, | ||
7 | 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000, | ||
8 | 0x00000004, 0x00000005, 0x00000003, 0x00000000, 0x00000000, 0x00000000, | ||
9 | 0x00000003, 0x0000000f, 0x00030005, 0x00000000, 0x00786574, 0x5f786574, | ||
10 | 0x00000063, \ No newline at end of file | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/img_nomul_vert.h b/libraries/evas/src/modules/engines/gl_common/shader/img_nomul_vert.h deleted file mode 100644 index 13d5edd..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/img_nomul_vert.h +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "precision highp float;\n" | ||
3 | "#endif\n" | ||
4 | "attribute vec4 vertex;\n" | ||
5 | "attribute vec2 tex_coord;\n" | ||
6 | "uniform mat4 mvp;\n" | ||
7 | "varying vec2 tex_c;\n" | ||
8 | "void main()\n" | ||
9 | "{\n" | ||
10 | " gl_Position = mvp * vertex;\n" | ||
11 | " tex_c = tex_coord;\n" | ||
12 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/img_nomul_vert.shd b/libraries/evas/src/modules/engines/gl_common/shader/img_nomul_vert.shd deleted file mode 100644 index 74f3207..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/img_nomul_vert.shd +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | precision highp float; | ||
3 | #endif | ||
4 | attribute vec4 vertex; | ||
5 | attribute vec2 tex_coord; | ||
6 | uniform mat4 mvp; | ||
7 | varying vec2 tex_c; | ||
8 | void main() | ||
9 | { | ||
10 | gl_Position = mvp * vertex; | ||
11 | tex_c = tex_coord; | ||
12 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/img_nomul_vert_bin_s3c6410.h b/libraries/evas/src/modules/engines/gl_common/shader/img_nomul_vert_bin_s3c6410.h deleted file mode 100644 index 314b5f3..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/img_nomul_vert_bin_s3c6410.h +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | 0x20205356, 0xffff0008, 0x00000048, 0x01020000, 0x00000006, 0x00000006, | ||
2 | 0x00000000, 0x00000000, 0x00000002, 0x00000002, 0x00000001, 0x00000000, | ||
3 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000027, 0x00000000, | ||
4 | 0x00000000, 0x02020000, 0x237820e4, 0x00000000, 0x00e40100, 0x02035500, | ||
5 | 0x2ef820e4, 0x00000000, 0x00e40100, 0x0204aa00, 0x2ef820e4, 0x00000000, | ||
6 | 0x00e40100, 0x0205ff00, 0x2ef800e4, 0x00000000, 0x00000000, 0x00010000, | ||
7 | 0x20980154, 0x00000000, 0x00000000, 0x00000000, 0x1e000000, 0x00000000, | ||
8 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, | ||
9 | 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, | ||
10 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, | ||
11 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, | ||
12 | 0x0000000c, 0x00000006, 0x00000009, 0x00000000, 0x00000000, 0x00000013, | ||
13 | 0x00000009, 0x00000003, 0x00000000, 0x00000004, 0x00000000, 0x0000000b, | ||
14 | 0x00000009, 0x00010004, 0x00000000, 0x00000021, 0x00000005, 0x00000003, | ||
15 | 0x00010004, 0x00000004, 0x0000001d, 0x00000003, 0x0000000e, 0x00020001, | ||
16 | 0x00000008, 0x505f6c67, 0x7469736f, 0x006e6f69, 0x74726576, 0x74007865, | ||
17 | 0x635f7865, 0x64726f6f, 0x70766d00, 0x78657400, 0x0000635f, | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/img_vert.h b/libraries/evas/src/modules/engines/gl_common/shader/img_vert.h deleted file mode 100644 index 8921d9d..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/img_vert.h +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "precision highp float;\n" | ||
3 | "#endif\n" | ||
4 | "attribute vec4 vertex;\n" | ||
5 | "attribute vec4 color;\n" | ||
6 | "attribute vec2 tex_coord;\n" | ||
7 | "uniform mat4 mvp;\n" | ||
8 | "varying vec4 col;\n" | ||
9 | "varying vec2 tex_c;\n" | ||
10 | "void main()\n" | ||
11 | "{\n" | ||
12 | " gl_Position = mvp * vertex;\n" | ||
13 | " col = color;\n" | ||
14 | " tex_c = tex_coord;\n" | ||
15 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/img_vert.shd b/libraries/evas/src/modules/engines/gl_common/shader/img_vert.shd deleted file mode 100644 index 606c297..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/img_vert.shd +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | precision highp float; | ||
3 | #endif | ||
4 | attribute vec4 vertex; | ||
5 | attribute vec4 color; | ||
6 | attribute vec2 tex_coord; | ||
7 | uniform mat4 mvp; | ||
8 | varying vec4 col; | ||
9 | varying vec2 tex_c; | ||
10 | void main() | ||
11 | { | ||
12 | gl_Position = mvp * vertex; | ||
13 | col = color; | ||
14 | tex_c = tex_coord; | ||
15 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/img_vert_bin_s3c6410.h b/libraries/evas/src/modules/engines/gl_common/shader/img_vert_bin_s3c6410.h deleted file mode 100644 index 1402448..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/img_vert_bin_s3c6410.h +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | 0x20205356, 0xffff0008, 0x00000048, 0x01020000, 0x00000007, 0x00000006, | ||
2 | 0x00000000, 0x00000000, 0x00000003, 0x00000003, 0x00000001, 0x00000000, | ||
3 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000031, 0x00000000, | ||
4 | 0x00000000, 0x02020000, 0x237820e4, 0x00000000, 0x00e40100, 0x02035500, | ||
5 | 0x2ef820e4, 0x00000000, 0x00e40100, 0x0204aa00, 0x2ef820e4, 0x00000000, | ||
6 | 0x00e40100, 0x0205ff00, 0x2ef800e4, 0x00000000, 0x00000000, 0x00010000, | ||
7 | 0x20f801e4, 0x00000000, 0x00000000, 0x00020000, 0x20980254, 0x00000000, | ||
8 | 0x00000000, 0x00000000, 0x1e000000, 0x00000000, 0x00000000, 0x00000000, | ||
9 | 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x3f800000, | ||
10 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, | ||
11 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, | ||
12 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000c, 0x00000006, | ||
13 | 0x00000009, 0x00000000, 0x00000000, 0x00000013, 0x00000005, 0x00000009, | ||
14 | 0x00000000, 0x00000004, 0x00000019, 0x00000009, 0x00000003, 0x00000000, | ||
15 | 0x00000008, 0x00000000, 0x0000000b, 0x00000009, 0x00010004, 0x00000000, | ||
16 | 0x00000027, 0x00000003, 0x00000009, 0x00010004, 0x00000004, 0x0000002b, | ||
17 | 0x00000005, 0x00000003, 0x00010004, 0x00000008, 0x00000023, 0x00000003, | ||
18 | 0x0000000e, 0x00020001, 0x00000008, 0x505f6c67, 0x7469736f, 0x006e6f69, | ||
19 | 0x74726576, 0x63007865, 0x726f6c6f, 0x78657400, 0x6f6f635f, 0x6d006472, | ||
20 | 0x63007076, 0x74006c6f, 0x635f7865, 0x00000000, \ No newline at end of file | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/make-c-bin.sh b/libraries/evas/src/modules/engines/gl_common/shader/make-c-bin.sh deleted file mode 100755 index 2902df6..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/make-c-bin.sh +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | od --width=4 -t x4 -v $1 | \ | ||
3 | awk '{ if (NF > 1) printf("0x%s, ", $2); L = L + 1; if (L > 5) { L = 0; printf("\n");}}' | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/make-c-str.sh b/libraries/evas/src/modules/engines/gl_common/shader/make-c-str.sh deleted file mode 100755 index fe7e80a..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/make-c-str.sh +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | awk '{printf("\"%s\\n\"\n", $0);}' $1 | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/nv12_frag.h b/libraries/evas/src/modules/engines/gl_common/shader/nv12_frag.h deleted file mode 100644 index fec4b23..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/nv12_frag.h +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex, texuv;\n" | ||
9 | "varying vec4 col;\n" | ||
10 | "varying vec2 tex_c, tex_cuv;\n" | ||
11 | "void main()\n" | ||
12 | "{\n" | ||
13 | " float y,u,v,vmu,r,g,b;\n" | ||
14 | " y=texture2D(tex,tex_c).g;\n" | ||
15 | " u=texture2D(texuv,tex_cuv).g;\n" | ||
16 | " v=texture2D(texuv,tex_cuv).a;\n" | ||
17 | "\n" | ||
18 | " u=u-0.5;\n" | ||
19 | " v=v-0.5;\n" | ||
20 | " vmu=v*0.813+u*0.391;\n" | ||
21 | " u=u*2.018;\n" | ||
22 | " v=v*1.596;\n" | ||
23 | " y=(y-0.062)*1.164;\n" | ||
24 | "\n" | ||
25 | " r=y+v;\n" | ||
26 | " g=y-vmu;\n" | ||
27 | " b=y+u;\n" | ||
28 | "\n" | ||
29 | " gl_FragColor=vec4(r,g,b,1.0) * col;\n" | ||
30 | "}\n" | ||
31 | "\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/nv12_frag.shd b/libraries/evas/src/modules/engines/gl_common/shader/nv12_frag.shd deleted file mode 100644 index 34748fc..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/nv12_frag.shd +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex, texuv; | ||
9 | varying vec4 col; | ||
10 | varying vec2 tex_c, tex_cuv; | ||
11 | void main() | ||
12 | { | ||
13 | float y,u,v,vmu,r,g,b; | ||
14 | y=texture2D(tex,tex_c).g; | ||
15 | u=texture2D(texuv,tex_cuv).g; | ||
16 | v=texture2D(texuv,tex_cuv).a; | ||
17 | |||
18 | u=u-0.5; | ||
19 | v=v-0.5; | ||
20 | vmu=v*0.813+u*0.391; | ||
21 | u=u*2.018; | ||
22 | v=v*1.596; | ||
23 | y=(y-0.062)*1.164; | ||
24 | |||
25 | r=y+v; | ||
26 | g=y-vmu; | ||
27 | b=y+u; | ||
28 | |||
29 | gl_FragColor=vec4(r,g,b,1.0) * col; | ||
30 | } | ||
31 | |||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/nv12_nomul_frag.h b/libraries/evas/src/modules/engines/gl_common/shader/nv12_nomul_frag.h deleted file mode 100644 index df52d19..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/nv12_nomul_frag.h +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex, texuv;\n" | ||
9 | "varying vec2 tex_c, tex_cuv;\n" | ||
10 | "void main()\n" | ||
11 | "{\n" | ||
12 | " float y,u,v,vmu,r,g,b;\n" | ||
13 | " y=texture2D(tex,tex_c).g;\n" | ||
14 | " u=texture2D(texuv,tex_cuv).g;\n" | ||
15 | " v=texture2D(texuv,tex_cuv).a;\n" | ||
16 | "\n" | ||
17 | " u=u-0.5;\n" | ||
18 | " v=v-0.5;\n" | ||
19 | " vmu=v*0.813+u*0.391;\n" | ||
20 | " u=u*2.018;\n" | ||
21 | " v=v*1.596;\n" | ||
22 | " y=(y-0.062)*1.164;\n" | ||
23 | "\n" | ||
24 | " r=y+v;\n" | ||
25 | " g=y-vmu;\n" | ||
26 | " b=y+u;\n" | ||
27 | "\n" | ||
28 | " gl_FragColor=vec4(r,g,b,1.0);\n" | ||
29 | "}\n" | ||
30 | "\n" | ||
31 | "\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/nv12_nomul_frag.shd b/libraries/evas/src/modules/engines/gl_common/shader/nv12_nomul_frag.shd deleted file mode 100644 index 6910933..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/nv12_nomul_frag.shd +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex, texuv; | ||
9 | varying vec2 tex_c, tex_cuv; | ||
10 | void main() | ||
11 | { | ||
12 | float y,u,v,vmu,r,g,b; | ||
13 | y=texture2D(tex,tex_c).g; | ||
14 | u=texture2D(texuv,tex_cuv).g; | ||
15 | v=texture2D(texuv,tex_cuv).a; | ||
16 | |||
17 | u=u-0.5; | ||
18 | v=v-0.5; | ||
19 | vmu=v*0.813+u*0.391; | ||
20 | u=u*2.018; | ||
21 | v=v*1.596; | ||
22 | y=(y-0.062)*1.164; | ||
23 | |||
24 | r=y+v; | ||
25 | g=y-vmu; | ||
26 | b=y+u; | ||
27 | |||
28 | gl_FragColor=vec4(r,g,b,1.0); | ||
29 | } | ||
30 | |||
31 | |||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/nv12_nomul_vert.h b/libraries/evas/src/modules/engines/gl_common/shader/nv12_nomul_vert.h deleted file mode 100644 index 6ff1040..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/nv12_nomul_vert.h +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "precision highp float;\n" | ||
3 | "#endif\n" | ||
4 | "attribute vec4 vertex;\n" | ||
5 | "attribute vec4 color;\n" | ||
6 | "attribute vec2 tex_coord, tex_coord2;\n" | ||
7 | "uniform mat4 mvp;\n" | ||
8 | "varying vec2 tex_c, tex_cuv;\n" | ||
9 | "void main()\n" | ||
10 | "{\n" | ||
11 | " gl_Position = mvp * vertex;\n" | ||
12 | " tex_c = tex_coord;\n" | ||
13 | " tex_cuv = tex_coord2 * 0.25;\n" | ||
14 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/nv12_nomul_vert.shd b/libraries/evas/src/modules/engines/gl_common/shader/nv12_nomul_vert.shd deleted file mode 100644 index 994f5e6..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/nv12_nomul_vert.shd +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | precision highp float; | ||
3 | #endif | ||
4 | attribute vec4 vertex; | ||
5 | attribute vec4 color; | ||
6 | attribute vec2 tex_coord, tex_coord2; | ||
7 | uniform mat4 mvp; | ||
8 | varying vec2 tex_c, tex_cuv; | ||
9 | void main() | ||
10 | { | ||
11 | gl_Position = mvp * vertex; | ||
12 | tex_c = tex_coord; | ||
13 | tex_cuv = tex_coord2 * 0.25; | ||
14 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/nv12_vert.h b/libraries/evas/src/modules/engines/gl_common/shader/nv12_vert.h deleted file mode 100644 index 38d6d9e..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/nv12_vert.h +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "precision highp float;\n" | ||
3 | "#endif\n" | ||
4 | "attribute vec4 vertex;\n" | ||
5 | "attribute vec4 color;\n" | ||
6 | "attribute vec2 tex_coord, tex_coord2;\n" | ||
7 | "uniform mat4 mvp;\n" | ||
8 | "varying vec4 col;\n" | ||
9 | "varying vec2 tex_c, tex_cuv;\n" | ||
10 | "void main()\n" | ||
11 | "{\n" | ||
12 | " gl_Position = mvp * vertex;\n" | ||
13 | " col = color;\n" | ||
14 | " tex_c = tex_coord;\n" | ||
15 | " tex_cuv = tex_coord2 * 0.25;\n" | ||
16 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/nv12_vert.shd b/libraries/evas/src/modules/engines/gl_common/shader/nv12_vert.shd deleted file mode 100644 index eb7cc36..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/nv12_vert.shd +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | precision highp float; | ||
3 | #endif | ||
4 | attribute vec4 vertex; | ||
5 | attribute vec4 color; | ||
6 | attribute vec2 tex_coord, tex_coord2; | ||
7 | uniform mat4 mvp; | ||
8 | varying vec4 col; | ||
9 | varying vec2 tex_c, tex_cuv; | ||
10 | void main() | ||
11 | { | ||
12 | gl_Position = mvp * vertex; | ||
13 | col = color; | ||
14 | tex_c = tex_coord; | ||
15 | tex_cuv = tex_coord2 * 0.25; | ||
16 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/rect_frag.h b/libraries/evas/src/modules/engines/gl_common/shader/rect_frag.h deleted file mode 100644 index 4a102a4..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/rect_frag.h +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex;\n" | ||
9 | "varying vec4 col;\n" | ||
10 | "void main()\n" | ||
11 | "{\n" | ||
12 | " gl_FragColor = col;\n" | ||
13 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/rect_frag.shd b/libraries/evas/src/modules/engines/gl_common/shader/rect_frag.shd deleted file mode 100644 index 02251ee..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/rect_frag.shd +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex; | ||
9 | varying vec4 col; | ||
10 | void main() | ||
11 | { | ||
12 | gl_FragColor = col; | ||
13 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/rect_frag_bin_s3c6410.h b/libraries/evas/src/modules/engines/gl_common/shader/rect_frag_bin_s3c6410.h deleted file mode 100644 index ee94467..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/rect_frag_bin_s3c6410.h +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | 0x20205350, 0xffff0008, 0x00000048, 0x01020000, 0x00000002, 0x00000000, | ||
2 | 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, | ||
3 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000004, 0x00000000, | ||
4 | 0x00000000, 0x00000000, 0x20fa10e4, 0x00000000, 0x00000000, 0x00000000, | ||
5 | 0x1e000000, 0x00000000, 0x00000000, 0x00000003, 0x00000009, 0x00000000, | ||
6 | 0x00000000, 0x006c6f63, \ No newline at end of file | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/rect_frag_s3c6410.asm b/libraries/evas/src/modules/engines/gl_common/shader/rect_frag_s3c6410.asm deleted file mode 100644 index 24c47ac..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/rect_frag_s3c6410.asm +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | |||
2 | #------------------------------------------------- | ||
3 | # ORION - OpenGL ES 2.0 Shading Language Compiler | ||
4 | # SAMSUNG INDIA SOFTWARE OPERATIONS PVT. LTD. | ||
5 | # Compiler Version : v04.00.09 | ||
6 | # Release Date : 19.01.2009 | ||
7 | # FIMG VERSION : FIMGv1.5 | ||
8 | # Optimizer Options : -O --nolodcalc | ||
9 | #------------------------------------------------- | ||
10 | |||
11 | # hand optimised - removed useless ops | ||
12 | |||
13 | ps_3_0 | ||
14 | |||
15 | fimg_version 0x01020000 | ||
16 | |||
17 | dcl_f4_col v0.x | ||
18 | |||
19 | label start | ||
20 | label main_ | ||
21 | label main_end | ||
22 | mov_sat oColor.xyzw, v0.xyzw | ||
23 | ret | ||
24 | |||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/rect_vert.h b/libraries/evas/src/modules/engines/gl_common/shader/rect_vert.h deleted file mode 100644 index 51d41aa..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/rect_vert.h +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "precision highp float;\n" | ||
3 | "#endif\n" | ||
4 | "attribute vec4 vertex;\n" | ||
5 | "attribute vec4 color;\n" | ||
6 | "uniform mat4 mvp;\n" | ||
7 | "varying vec4 col;\n" | ||
8 | "void main()\n" | ||
9 | "{\n" | ||
10 | " gl_Position = mvp * vertex;\n" | ||
11 | " col = color;\n" | ||
12 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/rect_vert.shd b/libraries/evas/src/modules/engines/gl_common/shader/rect_vert.shd deleted file mode 100644 index 63fea5d..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/rect_vert.shd +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | precision highp float; | ||
3 | #endif | ||
4 | attribute vec4 vertex; | ||
5 | attribute vec4 color; | ||
6 | uniform mat4 mvp; | ||
7 | varying vec4 col; | ||
8 | void main() | ||
9 | { | ||
10 | gl_Position = mvp * vertex; | ||
11 | col = color; | ||
12 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/rect_vert_bin_s3c6410.h b/libraries/evas/src/modules/engines/gl_common/shader/rect_vert_bin_s3c6410.h deleted file mode 100644 index 3130684..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/rect_vert_bin_s3c6410.h +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | 0x20205356, 0xffff0008, 0x00000048, 0x01020000, 0x00000006, 0x00000006, | ||
2 | 0x00000000, 0x00000000, 0x00000002, 0x00000002, 0x00000001, 0x00000000, | ||
3 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000021, 0x00000000, | ||
4 | 0x00000000, 0x02020000, 0x237820e4, 0x00000000, 0x00e40100, 0x02035500, | ||
5 | 0x2ef820e4, 0x00000000, 0x00e40100, 0x0204aa00, 0x2ef820e4, 0x00000000, | ||
6 | 0x00e40100, 0x0205ff00, 0x2ef800e4, 0x00000000, 0x00000000, 0x00010000, | ||
7 | 0x20f801e4, 0x00000000, 0x00000000, 0x00000000, 0x1e000000, 0x00000000, | ||
8 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, | ||
9 | 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, | ||
10 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, | ||
11 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, | ||
12 | 0x0000000c, 0x00000006, 0x00000009, 0x00000000, 0x00000000, 0x00000013, | ||
13 | 0x00000005, 0x00000009, 0x00000000, 0x00000004, 0x00000000, 0x0000000b, | ||
14 | 0x00000009, 0x00010004, 0x00000000, 0x0000001d, 0x00000003, 0x00000009, | ||
15 | 0x00010004, 0x00000004, 0x00000019, 0x00000003, 0x0000000e, 0x00020001, | ||
16 | 0x00000008, 0x505f6c67, 0x7469736f, 0x006e6f69, 0x74726576, 0x63007865, | ||
17 | 0x726f6c6f, 0x70766d00, 0x6c6f6300, 0x00000000, \ No newline at end of file | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/tex_frag.h b/libraries/evas/src/modules/engines/gl_common/shader/tex_frag.h deleted file mode 100644 index 1ced5e0..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/tex_frag.h +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex;\n" | ||
9 | "varying vec4 col;\n" | ||
10 | "varying vec2 tex_c;\n" | ||
11 | "void main()\n" | ||
12 | "{\n" | ||
13 | " gl_FragColor = texture2D(tex, tex_c.xy) * col;\n" | ||
14 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/tex_frag.shd b/libraries/evas/src/modules/engines/gl_common/shader/tex_frag.shd deleted file mode 100644 index 2bc8d79..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/tex_frag.shd +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex; | ||
9 | varying vec4 col; | ||
10 | varying vec2 tex_c; | ||
11 | void main() | ||
12 | { | ||
13 | gl_FragColor = texture2D(tex, tex_c.xy) * col; | ||
14 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/tex_frag_bin_s3c6410.h b/libraries/evas/src/modules/engines/gl_common/shader/tex_frag_bin_s3c6410.h deleted file mode 100644 index 24af537..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/tex_frag_bin_s3c6410.h +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | 0x20205350, 0xffff0008, 0x00000048, 0x01020000, 0x00000003, 0x00000000, | ||
2 | 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000000, 0x00000001, | ||
3 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000e, 0x00000000, | ||
4 | 0x00000000, 0x0000e407, 0x307820e4, 0x00000000, 0x01000000, 0x0100e400, | ||
5 | 0x237a10e4, 0x00000000, 0x00000000, 0x00000000, 0x1e000000, 0x00000000, | ||
6 | 0x00000004, 0x00000003, 0x00000009, 0x00000000, 0x00000004, 0x00000008, | ||
7 | 0x00000005, 0x00000003, 0x00000000, 0x00000000, 0x00000000, 0x00000003, | ||
8 | 0x0000000f, 0x00030005, 0x00000000, 0x00786574, 0x006c6f63, 0x5f786574, | ||
9 | 0x00000063, \ No newline at end of file | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/tex_frag_s3c6410.asm b/libraries/evas/src/modules/engines/gl_common/shader/tex_frag_s3c6410.asm deleted file mode 100644 index 14bbfa1..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/tex_frag_s3c6410.asm +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | |||
2 | #------------------------------------------------- | ||
3 | # ORION - OpenGL ES 2.0 Shading Language Compiler | ||
4 | # SAMSUNG INDIA SOFTWARE OPERATIONS PVT. LTD. | ||
5 | # Compiler Version : v04.00.09 | ||
6 | # Release Date : 19.01.2009 | ||
7 | # FIMG VERSION : FIMGv1.5 | ||
8 | # Optimizer Options : -O --nolodcalc | ||
9 | #------------------------------------------------- | ||
10 | |||
11 | # hand optimised - removed useless ops | ||
12 | |||
13 | ps_3_0 | ||
14 | |||
15 | fimg_version 0x01020000 | ||
16 | |||
17 | dcl_s2_tex s0 | ||
18 | dcl_f4_col v1.x | ||
19 | dcl_f2_tex_c v0.x | ||
20 | |||
21 | label start | ||
22 | label main_ | ||
23 | texld r0.xyzw, v0.xyzw, s0 # tex=s0 | ||
24 | mul_sat oColor.xyzw, r0.xyzw, v1.xyzw # gl_FragColor=oColor.xyzw, col=v1.xyzw | ||
25 | label main_end | ||
26 | ret | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/tex_nomul_frag.h b/libraries/evas/src/modules/engines/gl_common/shader/tex_nomul_frag.h deleted file mode 100644 index 459611f..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/tex_nomul_frag.h +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex;\n" | ||
9 | "varying vec2 tex_c;\n" | ||
10 | "void main()\n" | ||
11 | "{\n" | ||
12 | " gl_FragColor = texture2D(tex, tex_c.xy);\n" | ||
13 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/tex_nomul_frag.shd b/libraries/evas/src/modules/engines/gl_common/shader/tex_nomul_frag.shd deleted file mode 100644 index 877df62..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/tex_nomul_frag.shd +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex; | ||
9 | varying vec2 tex_c; | ||
10 | void main() | ||
11 | { | ||
12 | gl_FragColor = texture2D(tex, tex_c.xy); | ||
13 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/tex_nomul_frag_bin_s3c6410.h b/libraries/evas/src/modules/engines/gl_common/shader/tex_nomul_frag_bin_s3c6410.h deleted file mode 100644 index b89eeb1..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/tex_nomul_frag_bin_s3c6410.h +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | 0x20205350, 0xffff0008, 0x00000048, 0x01020000, 0x00000003, 0x00000003, | ||
2 | 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000001, | ||
3 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000a, 0x00000000, | ||
4 | 0x00000000, 0x02025400, 0x23782050, 0x00000000, 0x00000000, 0x0100e407, | ||
5 | 0x307a10e4, 0x00000000, 0x00000000, 0x00000000, 0x1e000000, 0x00000000, | ||
6 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, | ||
7 | 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000, | ||
8 | 0x00000004, 0x00000005, 0x00000003, 0x00000000, 0x00000000, 0x00000000, | ||
9 | 0x00000003, 0x0000000f, 0x00030005, 0x00000000, 0x00786574, 0x5f786574, | ||
10 | 0x00000063, \ No newline at end of file | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/tex_nomul_vert.h b/libraries/evas/src/modules/engines/gl_common/shader/tex_nomul_vert.h deleted file mode 100644 index 13d5edd..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/tex_nomul_vert.h +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "precision highp float;\n" | ||
3 | "#endif\n" | ||
4 | "attribute vec4 vertex;\n" | ||
5 | "attribute vec2 tex_coord;\n" | ||
6 | "uniform mat4 mvp;\n" | ||
7 | "varying vec2 tex_c;\n" | ||
8 | "void main()\n" | ||
9 | "{\n" | ||
10 | " gl_Position = mvp * vertex;\n" | ||
11 | " tex_c = tex_coord;\n" | ||
12 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/tex_nomul_vert.shd b/libraries/evas/src/modules/engines/gl_common/shader/tex_nomul_vert.shd deleted file mode 100644 index 74f3207..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/tex_nomul_vert.shd +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | precision highp float; | ||
3 | #endif | ||
4 | attribute vec4 vertex; | ||
5 | attribute vec2 tex_coord; | ||
6 | uniform mat4 mvp; | ||
7 | varying vec2 tex_c; | ||
8 | void main() | ||
9 | { | ||
10 | gl_Position = mvp * vertex; | ||
11 | tex_c = tex_coord; | ||
12 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/tex_nomul_vert_bin_s3c6410.h b/libraries/evas/src/modules/engines/gl_common/shader/tex_nomul_vert_bin_s3c6410.h deleted file mode 100644 index 314b5f3..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/tex_nomul_vert_bin_s3c6410.h +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | 0x20205356, 0xffff0008, 0x00000048, 0x01020000, 0x00000006, 0x00000006, | ||
2 | 0x00000000, 0x00000000, 0x00000002, 0x00000002, 0x00000001, 0x00000000, | ||
3 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000027, 0x00000000, | ||
4 | 0x00000000, 0x02020000, 0x237820e4, 0x00000000, 0x00e40100, 0x02035500, | ||
5 | 0x2ef820e4, 0x00000000, 0x00e40100, 0x0204aa00, 0x2ef820e4, 0x00000000, | ||
6 | 0x00e40100, 0x0205ff00, 0x2ef800e4, 0x00000000, 0x00000000, 0x00010000, | ||
7 | 0x20980154, 0x00000000, 0x00000000, 0x00000000, 0x1e000000, 0x00000000, | ||
8 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, | ||
9 | 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, | ||
10 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, | ||
11 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, | ||
12 | 0x0000000c, 0x00000006, 0x00000009, 0x00000000, 0x00000000, 0x00000013, | ||
13 | 0x00000009, 0x00000003, 0x00000000, 0x00000004, 0x00000000, 0x0000000b, | ||
14 | 0x00000009, 0x00010004, 0x00000000, 0x00000021, 0x00000005, 0x00000003, | ||
15 | 0x00010004, 0x00000004, 0x0000001d, 0x00000003, 0x0000000e, 0x00020001, | ||
16 | 0x00000008, 0x505f6c67, 0x7469736f, 0x006e6f69, 0x74726576, 0x74007865, | ||
17 | 0x635f7865, 0x64726f6f, 0x70766d00, 0x78657400, 0x0000635f, | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/tex_vert.h b/libraries/evas/src/modules/engines/gl_common/shader/tex_vert.h deleted file mode 100644 index 8921d9d..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/tex_vert.h +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "precision highp float;\n" | ||
3 | "#endif\n" | ||
4 | "attribute vec4 vertex;\n" | ||
5 | "attribute vec4 color;\n" | ||
6 | "attribute vec2 tex_coord;\n" | ||
7 | "uniform mat4 mvp;\n" | ||
8 | "varying vec4 col;\n" | ||
9 | "varying vec2 tex_c;\n" | ||
10 | "void main()\n" | ||
11 | "{\n" | ||
12 | " gl_Position = mvp * vertex;\n" | ||
13 | " col = color;\n" | ||
14 | " tex_c = tex_coord;\n" | ||
15 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/tex_vert.shd b/libraries/evas/src/modules/engines/gl_common/shader/tex_vert.shd deleted file mode 100644 index 606c297..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/tex_vert.shd +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | precision highp float; | ||
3 | #endif | ||
4 | attribute vec4 vertex; | ||
5 | attribute vec4 color; | ||
6 | attribute vec2 tex_coord; | ||
7 | uniform mat4 mvp; | ||
8 | varying vec4 col; | ||
9 | varying vec2 tex_c; | ||
10 | void main() | ||
11 | { | ||
12 | gl_Position = mvp * vertex; | ||
13 | col = color; | ||
14 | tex_c = tex_coord; | ||
15 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/tex_vert_bin_s3c6410.h b/libraries/evas/src/modules/engines/gl_common/shader/tex_vert_bin_s3c6410.h deleted file mode 100644 index 1402448..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/tex_vert_bin_s3c6410.h +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | 0x20205356, 0xffff0008, 0x00000048, 0x01020000, 0x00000007, 0x00000006, | ||
2 | 0x00000000, 0x00000000, 0x00000003, 0x00000003, 0x00000001, 0x00000000, | ||
3 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000031, 0x00000000, | ||
4 | 0x00000000, 0x02020000, 0x237820e4, 0x00000000, 0x00e40100, 0x02035500, | ||
5 | 0x2ef820e4, 0x00000000, 0x00e40100, 0x0204aa00, 0x2ef820e4, 0x00000000, | ||
6 | 0x00e40100, 0x0205ff00, 0x2ef800e4, 0x00000000, 0x00000000, 0x00010000, | ||
7 | 0x20f801e4, 0x00000000, 0x00000000, 0x00020000, 0x20980254, 0x00000000, | ||
8 | 0x00000000, 0x00000000, 0x1e000000, 0x00000000, 0x00000000, 0x00000000, | ||
9 | 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x3f800000, | ||
10 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, | ||
11 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, | ||
12 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000c, 0x00000006, | ||
13 | 0x00000009, 0x00000000, 0x00000000, 0x00000013, 0x00000005, 0x00000009, | ||
14 | 0x00000000, 0x00000004, 0x00000019, 0x00000009, 0x00000003, 0x00000000, | ||
15 | 0x00000008, 0x00000000, 0x0000000b, 0x00000009, 0x00010004, 0x00000000, | ||
16 | 0x00000027, 0x00000003, 0x00000009, 0x00010004, 0x00000004, 0x0000002b, | ||
17 | 0x00000005, 0x00000003, 0x00010004, 0x00000008, 0x00000023, 0x00000003, | ||
18 | 0x0000000e, 0x00020001, 0x00000008, 0x505f6c67, 0x7469736f, 0x006e6f69, | ||
19 | 0x74726576, 0x63007865, 0x726f6c6f, 0x78657400, 0x6f6f635f, 0x6d006472, | ||
20 | 0x63007076, 0x74006c6f, 0x635f7865, 0x00000000, \ No newline at end of file | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag.h b/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag.h deleted file mode 100644 index 87f4095..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag.h +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex, texu, texv;\n" | ||
9 | "varying vec4 col;\n" | ||
10 | "varying vec2 tex_c, tex_c2, tex_c3;\n" | ||
11 | "void main()\n" | ||
12 | "{\n" | ||
13 | " float r, g, b, y, u, v;\n" | ||
14 | " y = texture2D(tex, tex_c.xy).r;\n" | ||
15 | " u = texture2D(texu, tex_c2.xy).r;\n" | ||
16 | " v = texture2D(texv, tex_c3.xy).r;\n" | ||
17 | " y = (y - 0.0625) * 1.164;\n" | ||
18 | " u = u - 0.5;\n" | ||
19 | " v = v - 0.5;\n" | ||
20 | " r = y + (1.402 * v);\n" | ||
21 | " g = y - (0.34414 * u) - (0.71414 * v);\n" | ||
22 | " b = y + (1.772 * u);\n" | ||
23 | " gl_FragColor = vec4(r, g, b, 1.0) * col;\n" | ||
24 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag.shd b/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag.shd deleted file mode 100644 index 367fb55..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag.shd +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex, texu, texv; | ||
9 | varying vec4 col; | ||
10 | varying vec2 tex_c, tex_c2, tex_c3; | ||
11 | void main() | ||
12 | { | ||
13 | float r, g, b, y, u, v; | ||
14 | y = texture2D(tex, tex_c.xy).r; | ||
15 | u = texture2D(texu, tex_c2.xy).r; | ||
16 | v = texture2D(texv, tex_c3.xy).r; | ||
17 | y = (y - 0.0625) * 1.164; | ||
18 | u = u - 0.5; | ||
19 | v = v - 0.5; | ||
20 | r = y + (1.402 * v); | ||
21 | g = y - (0.34414 * u) - (0.71414 * v); | ||
22 | b = y + (1.772 * u); | ||
23 | gl_FragColor = vec4(r, g, b, 1.0) * col; | ||
24 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag_bin_s3c6410.h b/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag_bin_s3c6410.h deleted file mode 100644 index cd301dc..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag_bin_s3c6410.h +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | 0x20205350, 0xffff0008, 0x00000048, 0x01020000, 0x0000000d, 0x00000007, | ||
2 | 0x00000000, 0x00000000, 0x00000004, 0x00000000, 0x00000000, 0x00000003, | ||
3 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000026, 0x00000000, | ||
4 | 0x00000000, 0x02065400, 0x23782050, 0x00000000, 0x00000000, 0x0100e407, | ||
5 | 0x307820e4, 0x00000000, 0x01000000, 0x02065400, 0x23782150, 0x00000000, | ||
6 | 0x01000000, 0x0101e407, 0x307821e4, 0x00000000, 0x02000000, 0x02065400, | ||
7 | 0x23782250, 0x00000000, 0x02000000, 0x0102e407, 0x307822e4, 0x00000000, | ||
8 | 0x00000000, 0x02020001, 0x237823e4, 0x00000000, 0x01e40103, 0x02030001, | ||
9 | 0x2ef823e4, 0x00000000, 0x02e40103, 0x02040001, 0x2ef823e4, 0x00000000, | ||
10 | 0x00000000, 0x02050000, 0x20f824e4, 0x00000000, 0x06e40103, 0x01040002, | ||
11 | 0x2ef823e4, 0x00000000, 0x03000000, 0x0103e400, 0x237a10e4, 0x00000000, | ||
12 | 0x00000000, 0x00000000, 0x1e000000, 0x00000000, 0x00000000, 0x00000000, | ||
13 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, | ||
14 | 0x3f94fdf4, 0x3f94fdf4, 0x3f94fdf4, 0x00000000, 0x00000000, 0xbeb02de0, | ||
15 | 0x3fe2d0e5, 0x00000000, 0x3fb374bc, 0xbf36cf42, 0x00000000, 0x00000000, | ||
16 | 0xbf4617c2, 0x3ee9a027, 0xbf7573eb, 0x3f800000, 0x3f800000, 0x00000000, | ||
17 | 0x00000000, 0x00000000, 0x0000000e, 0x00000003, 0x00000009, 0x00000000, | ||
18 | 0x0000000c, 0x00000012, 0x00000005, 0x00000003, 0x00000000, 0x00000000, | ||
19 | 0x00000018, 0x00000006, 0x00000003, 0x00000000, 0x00000004, 0x0000001f, | ||
20 | 0x00000006, 0x00000003, 0x00000000, 0x00000008, 0x00000000, 0x00000003, | ||
21 | 0x0000000f, 0x00030005, 0x00000000, 0x00000004, 0x00000004, 0x0000000f, | ||
22 | 0x00030005, 0x00000004, 0x00000009, 0x00000004, 0x0000000f, 0x00030005, | ||
23 | 0x00000008, 0x00786574, 0x75786574, 0x78657400, 0x6f630076, 0x6574006c, | ||
24 | 0x00635f78, 0x5f786574, 0x74003263, 0x635f7865, 0x00000033, | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag_s3c6410.asm b/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag_s3c6410.asm deleted file mode 100644 index 9a10bf0..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag_s3c6410.asm +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | |||
2 | #------------------------------------------------- | ||
3 | # ORION - OpenGL ES 2.0 Shading Language Compiler | ||
4 | # SAMSUNG INDIA SOFTWARE OPERATIONS PVT. LTD. | ||
5 | # Compiler Version : v04.00.09 | ||
6 | # Release Date : 19.01.2009 | ||
7 | # FIMG VERSION : FIMGv1.5 | ||
8 | # Optimizer Options : -O --nolodcalc | ||
9 | #------------------------------------------------- | ||
10 | |||
11 | # hand optimised - removed useless ops | ||
12 | |||
13 | ps_3_0 | ||
14 | |||
15 | fimg_version 0x01020000 | ||
16 | |||
17 | dcl_s2_tex s0 | ||
18 | dcl_s2_texu s1 | ||
19 | dcl_s2_texv s2 | ||
20 | dcl_f4_col v3.x | ||
21 | dcl_f2_tex_c v0.x | ||
22 | dcl_f2_tex_c2 v1.x | ||
23 | dcl_f2_tex_c3 v2.x | ||
24 | |||
25 | def c2, 1.164000, 1.164000, 1.164000, 0.000000 | ||
26 | def c3, 0.000000, -0.344100, 1.772000, 0.000000 | ||
27 | def c4, 1.402000, -0.714100, 0.000000, 0.000000 | ||
28 | def c5, -0.773800, 0.456300, -0.958800, 1.000000 | ||
29 | def c6, 1.000000, 0.000000, 0.000000, 0.000000 | ||
30 | |||
31 | label start | ||
32 | label main_ | ||
33 | mul r0.xyzw, c6.xxyy, v0.xyyy # tex_c=v0.xyyy | ||
34 | texld r0.xyzw, r0.xyzw, s0 # tex=s0 | ||
35 | mul r1.xyzw, c6.xxyy, v1.xyyy # tex_c2=v1.xyyy | ||
36 | texld r1.xyzw, r1.xyzw, s1 # texu=s1 | ||
37 | mul r2.xyzw, c6.xxyy, v2.xyyy # tex_c3=v2.xyyy | ||
38 | texld r2.xyzw, r2.xyzw, s2 # texv=s2 | ||
39 | mul r3.xyzw, c2.xyzw, r0.xxxx # yuv=r0.xxxx | ||
40 | mad r3.xyzw, c3.xyzw, r1.xxxx, r3.xyzw # yuv=r1.xxxx | ||
41 | mad r3.xyzw, c4.xyzw, r2.xxxx, r3.xyzw # yuv=r2.xxxx | ||
42 | mov r4.xyzw, c5.xyzw | ||
43 | mad r3.xyzw, r4.xyzw, c6.xxxx, r3.xyzw # yuv=c6.xxxx | ||
44 | mul_sat oColor.xyzw, r3.xyzw, v3.xyzw # gl_FragColor=oColor.xyzw, col=v3.xyzw | ||
45 | label main_end | ||
46 | ret | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_frag.h b/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_frag.h deleted file mode 100644 index 0df4b97..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_frag.h +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex, texu, texv;\n" | ||
9 | "varying vec2 tex_c, tex_c2, tex_c3;\n" | ||
10 | "void main()\n" | ||
11 | "{\n" | ||
12 | " float r, g, b, y, u, v;\n" | ||
13 | " y = texture2D(tex, tex_c.xy).r;\n" | ||
14 | " u = texture2D(texu, tex_c2.xy).r;\n" | ||
15 | " v = texture2D(texv, tex_c3.xy).r;\n" | ||
16 | " y = (y - 0.0625) * 1.164;\n" | ||
17 | " u = u - 0.5;\n" | ||
18 | " v = v - 0.5;\n" | ||
19 | " r = y + (1.402 * v);\n" | ||
20 | " g = y - (0.34414 * u) - (0.71414 * v);\n" | ||
21 | " b = y + (1.772 * u);\n" | ||
22 | " gl_FragColor = vec4(r, g, b, 1.0);\n" | ||
23 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_frag.shd b/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_frag.shd deleted file mode 100644 index ce24622..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_frag.shd +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex, texu, texv; | ||
9 | varying vec2 tex_c, tex_c2, tex_c3; | ||
10 | void main() | ||
11 | { | ||
12 | float r, g, b, y, u, v; | ||
13 | y = texture2D(tex, tex_c.xy).r; | ||
14 | u = texture2D(texu, tex_c2.xy).r; | ||
15 | v = texture2D(texv, tex_c3.xy).r; | ||
16 | y = (y - 0.0625) * 1.164; | ||
17 | u = u - 0.5; | ||
18 | v = v - 0.5; | ||
19 | r = y + (1.402 * v); | ||
20 | g = y - (0.34414 * u) - (0.71414 * v); | ||
21 | b = y + (1.772 * u); | ||
22 | gl_FragColor = vec4(r, g, b, 1.0); | ||
23 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_frag_bin_s3c6410.h b/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_frag_bin_s3c6410.h deleted file mode 100644 index 45aa66d..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_frag_bin_s3c6410.h +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | 0x20205350, 0xffff0008, 0x00000048, 0x01020000, 0x0000000c, 0x00000007, | ||
2 | 0x00000000, 0x00000000, 0x00000003, 0x00000000, 0x00000000, 0x00000003, | ||
3 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000022, 0x00000000, | ||
4 | 0x00000000, 0x02065400, 0x23782050, 0x00000000, 0x00000000, 0x0100e407, | ||
5 | 0x307820e4, 0x00000000, 0x01000000, 0x02065400, 0x23782150, 0x00000000, | ||
6 | 0x01000000, 0x0101e407, 0x307821e4, 0x00000000, 0x02000000, 0x02065400, | ||
7 | 0x23782250, 0x00000000, 0x02000000, 0x0102e407, 0x307822e4, 0x00000000, | ||
8 | 0x00000000, 0x02020001, 0x237823e4, 0x00000000, 0x01e40103, 0x02030001, | ||
9 | 0x2ef823e4, 0x00000000, 0x02e40103, 0x02040001, 0x2ef823e4, 0x00000000, | ||
10 | 0x00000000, 0x02050000, 0x20f824e4, 0x00000000, 0x06e40103, 0x01040002, | ||
11 | 0x2efa10e4, 0x00000000, 0x00000000, 0x00000000, 0x1e000000, 0x00000000, | ||
12 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, | ||
13 | 0x3f800000, 0x3f800000, 0x3f94fdf4, 0x3f94fdf4, 0x3f94fdf4, 0x00000000, | ||
14 | 0x00000000, 0xbeb02de0, 0x3fe2d0e5, 0x00000000, 0x3fb374bc, 0xbf36cf42, | ||
15 | 0x00000000, 0x00000000, 0xbf4617c2, 0x3ee9a027, 0xbf7573eb, 0x3f800000, | ||
16 | 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x0000000e, 0x00000005, | ||
17 | 0x00000003, 0x00000000, 0x00000000, 0x00000014, 0x00000006, 0x00000003, | ||
18 | 0x00000000, 0x00000004, 0x0000001b, 0x00000006, 0x00000003, 0x00000000, | ||
19 | 0x00000008, 0x00000000, 0x00000003, 0x0000000f, 0x00030005, 0x00000000, | ||
20 | 0x00000004, 0x00000004, 0x0000000f, 0x00030005, 0x00000004, 0x00000009, | ||
21 | 0x00000004, 0x0000000f, 0x00030005, 0x00000008, 0x00786574, 0x75786574, | ||
22 | 0x78657400, 0x65740076, 0x00635f78, 0x5f786574, 0x74003263, 0x635f7865, | ||
23 | 0x00000033, \ No newline at end of file | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_vert.h b/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_vert.h deleted file mode 100644 index c3f585f..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_vert.h +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "precision highp float;\n" | ||
3 | "#endif\n" | ||
4 | "attribute vec4 vertex;\n" | ||
5 | "attribute vec2 tex_coord, tex_coord2, tex_coord3;\n" | ||
6 | "uniform mat4 mvp;\n" | ||
7 | "varying vec2 tex_c, tex_c2, tex_c3;\n" | ||
8 | "void main()\n" | ||
9 | "{\n" | ||
10 | " gl_Position = mvp * vertex;\n" | ||
11 | " tex_c = tex_coord;\n" | ||
12 | " tex_c2 = tex_coord2;\n" | ||
13 | " tex_c3 = tex_coord3;\n" | ||
14 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_vert.shd b/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_vert.shd deleted file mode 100644 index a83d505..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_vert.shd +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | precision highp float; | ||
3 | #endif | ||
4 | attribute vec4 vertex; | ||
5 | attribute vec2 tex_coord, tex_coord2, tex_coord3; | ||
6 | uniform mat4 mvp; | ||
7 | varying vec2 tex_c, tex_c2, tex_c3; | ||
8 | void main() | ||
9 | { | ||
10 | gl_Position = mvp * vertex; | ||
11 | tex_c = tex_coord; | ||
12 | tex_c2 = tex_coord2; | ||
13 | tex_c3 = tex_coord3; | ||
14 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_vert_bin_s3c6410.h b/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_vert_bin_s3c6410.h deleted file mode 100644 index 5942b4b..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_vert_bin_s3c6410.h +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | 0x20205356, 0xffff0008, 0x00000048, 0x01020000, 0x00000008, 0x00000006, | ||
2 | 0x00000000, 0x00000000, 0x00000004, 0x00000004, 0x00000001, 0x00000000, | ||
3 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000004b, 0x00000000, | ||
4 | 0x00000000, 0x02020000, 0x237820e4, 0x00000000, 0x00e40100, 0x02035500, | ||
5 | 0x2ef820e4, 0x00000000, 0x00e40100, 0x0204aa00, 0x2ef820e4, 0x00000000, | ||
6 | 0x00e40100, 0x0205ff00, 0x2ef800e4, 0x00000000, 0x00000000, 0x00010000, | ||
7 | 0x20980154, 0x00000000, 0x00000000, 0x00020000, 0x20980254, 0x00000000, | ||
8 | 0x00000000, 0x00030000, 0x20980354, 0x00000000, 0x00000000, 0x00000000, | ||
9 | 0x1e000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, | ||
10 | 0x3f800000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, | ||
11 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, | ||
12 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, | ||
13 | 0x00000000, 0x00000000, 0x0000000c, 0x00000006, 0x00000009, 0x00000000, | ||
14 | 0x00000000, 0x00000013, 0x00000009, 0x00000003, 0x00000000, 0x00000004, | ||
15 | 0x0000001d, 0x0000000a, 0x00000003, 0x00000000, 0x00000008, 0x00000028, | ||
16 | 0x0000000a, 0x00000003, 0x00000000, 0x0000000c, 0x00000000, 0x0000000b, | ||
17 | 0x00000009, 0x00010004, 0x00000000, 0x00000037, 0x00000005, 0x00000003, | ||
18 | 0x00010004, 0x00000004, 0x0000003d, 0x00000006, 0x00000003, 0x00010004, | ||
19 | 0x00000008, 0x00000044, 0x00000006, 0x00000003, 0x00010004, 0x0000000c, | ||
20 | 0x00000033, 0x00000003, 0x0000000e, 0x00020001, 0x00000008, 0x505f6c67, | ||
21 | 0x7469736f, 0x006e6f69, 0x74726576, 0x74007865, 0x635f7865, 0x64726f6f, | ||
22 | 0x78657400, 0x6f6f635f, 0x00326472, 0x5f786574, 0x726f6f63, 0x6d003364, | ||
23 | 0x74007076, 0x635f7865, 0x78657400, 0x0032635f, 0x5f786574, 0x00003363, | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/yuv_vert.h b/libraries/evas/src/modules/engines/gl_common/shader/yuv_vert.h deleted file mode 100644 index 6ccf06d..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/yuv_vert.h +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "precision highp float;\n" | ||
3 | "#endif\n" | ||
4 | "attribute vec4 vertex;\n" | ||
5 | "attribute vec4 color;\n" | ||
6 | "attribute vec2 tex_coord, tex_coord2, tex_coord3;\n" | ||
7 | "uniform mat4 mvp;\n" | ||
8 | "varying vec4 col;\n" | ||
9 | "varying vec2 tex_c, tex_c2, tex_c3;\n" | ||
10 | "void main()\n" | ||
11 | "{\n" | ||
12 | " gl_Position = mvp * vertex;\n" | ||
13 | " col = color;\n" | ||
14 | " tex_c = tex_coord;\n" | ||
15 | " tex_c2 = tex_coord2;\n" | ||
16 | " tex_c3 = tex_coord3;\n" | ||
17 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/yuv_vert.shd b/libraries/evas/src/modules/engines/gl_common/shader/yuv_vert.shd deleted file mode 100644 index 0ea0b2f..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/yuv_vert.shd +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | precision highp float; | ||
3 | #endif | ||
4 | attribute vec4 vertex; | ||
5 | attribute vec4 color; | ||
6 | attribute vec2 tex_coord, tex_coord2, tex_coord3; | ||
7 | uniform mat4 mvp; | ||
8 | varying vec4 col; | ||
9 | varying vec2 tex_c, tex_c2, tex_c3; | ||
10 | void main() | ||
11 | { | ||
12 | gl_Position = mvp * vertex; | ||
13 | col = color; | ||
14 | tex_c = tex_coord; | ||
15 | tex_c2 = tex_coord2; | ||
16 | tex_c3 = tex_coord3; | ||
17 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/yuv_vert_bin_s3c6410.h b/libraries/evas/src/modules/engines/gl_common/shader/yuv_vert_bin_s3c6410.h deleted file mode 100644 index e757b6d..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/yuv_vert_bin_s3c6410.h +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | 0x20205356, 0xffff0008, 0x00000048, 0x01020000, 0x00000009, 0x00000006, | ||
2 | 0x00000000, 0x00000000, 0x00000005, 0x00000005, 0x00000001, 0x00000000, | ||
3 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000055, 0x00000000, | ||
4 | 0x00000000, 0x02020000, 0x237820e4, 0x00000000, 0x00e40100, 0x02035500, | ||
5 | 0x2ef820e4, 0x00000000, 0x00e40100, 0x0204aa00, 0x2ef820e4, 0x00000000, | ||
6 | 0x00e40100, 0x0205ff00, 0x2ef800e4, 0x00000000, 0x00000000, 0x00010000, | ||
7 | 0x20f801e4, 0x00000000, 0x00000000, 0x00020000, 0x20980254, 0x00000000, | ||
8 | 0x00000000, 0x00030000, 0x20980354, 0x00000000, 0x00000000, 0x00040000, | ||
9 | 0x20980454, 0x00000000, 0x00000000, 0x00000000, 0x1e000000, 0x00000000, | ||
10 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000, | ||
11 | 0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, | ||
12 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, | ||
13 | 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, | ||
14 | 0x0000000c, 0x00000006, 0x00000009, 0x00000000, 0x00000000, 0x00000013, | ||
15 | 0x00000005, 0x00000009, 0x00000000, 0x00000004, 0x00000019, 0x00000009, | ||
16 | 0x00000003, 0x00000000, 0x00000008, 0x00000023, 0x0000000a, 0x00000003, | ||
17 | 0x00000000, 0x0000000c, 0x0000002e, 0x0000000a, 0x00000003, 0x00000000, | ||
18 | 0x00000010, 0x00000000, 0x0000000b, 0x00000009, 0x00010004, 0x00000000, | ||
19 | 0x0000003d, 0x00000003, 0x00000009, 0x00010004, 0x00000004, 0x00000041, | ||
20 | 0x00000005, 0x00000003, 0x00010004, 0x00000008, 0x00000047, 0x00000006, | ||
21 | 0x00000003, 0x00010004, 0x0000000c, 0x0000004e, 0x00000006, 0x00000003, | ||
22 | 0x00010004, 0x00000010, 0x00000039, 0x00000003, 0x0000000e, 0x00020001, | ||
23 | 0x00000008, 0x505f6c67, 0x7469736f, 0x006e6f69, 0x74726576, 0x63007865, | ||
24 | 0x726f6c6f, 0x78657400, 0x6f6f635f, 0x74006472, 0x635f7865, 0x64726f6f, | ||
25 | 0x65740032, 0x6f635f78, 0x3364726f, 0x70766d00, 0x6c6f6300, 0x78657400, | ||
26 | 0x7400635f, 0x635f7865, 0x65740032, 0x33635f78, 0x00000000, | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/yuy2_frag.h b/libraries/evas/src/modules/engines/gl_common/shader/yuy2_frag.h deleted file mode 100644 index abe4b03..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/yuy2_frag.h +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex, texuv;\n" | ||
9 | "varying vec4 col;\n" | ||
10 | "varying vec2 tex_c, tex_cuv;\n" | ||
11 | "void main()\n" | ||
12 | "{\n" | ||
13 | " float y,u,v,vmu,r,g,b;\n" | ||
14 | " y=texture2D(tex,tex_c).r;\n" | ||
15 | " u=texture2D(texuv,tex_cuv).g;\n" | ||
16 | " v=texture2D(texuv,tex_cuv).a;\n" | ||
17 | "\n" | ||
18 | " u=u-0.5;\n" | ||
19 | " v=v-0.5;\n" | ||
20 | " vmu=v*0.813+u*0.391;\n" | ||
21 | " u=u*2.018;\n" | ||
22 | " v=v*1.596;\n" | ||
23 | "\n" | ||
24 | " r=y+v;\n" | ||
25 | " g=y-vmu;\n" | ||
26 | " b=y+u;\n" | ||
27 | "\n" | ||
28 | " gl_FragColor=vec4(r,g,b,1.0) * col;\n" | ||
29 | "}\n" | ||
30 | "\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/yuy2_frag.shd b/libraries/evas/src/modules/engines/gl_common/shader/yuy2_frag.shd deleted file mode 100644 index 98dd91b..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/yuy2_frag.shd +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex, texuv; | ||
9 | varying vec4 col; | ||
10 | varying vec2 tex_c, tex_cuv; | ||
11 | void main() | ||
12 | { | ||
13 | float y,u,v,vmu,r,g,b; | ||
14 | y=texture2D(tex,tex_c).r; | ||
15 | u=texture2D(texuv,tex_cuv).g; | ||
16 | v=texture2D(texuv,tex_cuv).a; | ||
17 | |||
18 | u=u-0.5; | ||
19 | v=v-0.5; | ||
20 | vmu=v*0.813+u*0.391; | ||
21 | u=u*2.018; | ||
22 | v=v*1.596; | ||
23 | |||
24 | r=y+v; | ||
25 | g=y-vmu; | ||
26 | b=y+u; | ||
27 | |||
28 | gl_FragColor=vec4(r,g,b,1.0) * col; | ||
29 | } | ||
30 | |||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/yuy2_nomul_frag.h b/libraries/evas/src/modules/engines/gl_common/shader/yuy2_nomul_frag.h deleted file mode 100644 index 618fa50..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/yuy2_nomul_frag.h +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "#ifdef GL_FRAGMENT_PRECISION_HIGH\n" | ||
3 | "precision highp float;\n" | ||
4 | "#else\n" | ||
5 | "precision mediump float;\n" | ||
6 | "#endif\n" | ||
7 | "#endif\n" | ||
8 | "uniform sampler2D tex, texuv;\n" | ||
9 | "varying vec2 tex_c, tex_cuv;\n" | ||
10 | "void main()\n" | ||
11 | "{\n" | ||
12 | " float y,u,v,vmu,r,g,b;\n" | ||
13 | " y=texture2D(tex,tex_c).r;\n" | ||
14 | " u=texture2D(texuv,tex_cuv).g;\n" | ||
15 | " v=texture2D(texuv,tex_cuv).a;\n" | ||
16 | "\n" | ||
17 | " u=u-0.5;\n" | ||
18 | " v=v-0.5;\n" | ||
19 | " vmu=v*0.813+u*0.391;\n" | ||
20 | " u=u*2.018;\n" | ||
21 | " v=v*1.596;\n" | ||
22 | " y=(y-0.062)*1.164;\n" | ||
23 | "\n" | ||
24 | " r=y+v;\n" | ||
25 | " g=y-vmu;\n" | ||
26 | " b=y+u;\n" | ||
27 | "\n" | ||
28 | " gl_FragColor=vec4(r,g,b,1.0);\n" | ||
29 | "}\n" | ||
30 | "\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/yuy2_nomul_frag.shd b/libraries/evas/src/modules/engines/gl_common/shader/yuy2_nomul_frag.shd deleted file mode 100644 index fd82e2a..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/yuy2_nomul_frag.shd +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex, texuv; | ||
9 | varying vec2 tex_c, tex_cuv; | ||
10 | void main() | ||
11 | { | ||
12 | float y,u,v,vmu,r,g,b; | ||
13 | y=texture2D(tex,tex_c).r; | ||
14 | u=texture2D(texuv,tex_cuv).g; | ||
15 | v=texture2D(texuv,tex_cuv).a; | ||
16 | |||
17 | u=u-0.5; | ||
18 | v=v-0.5; | ||
19 | vmu=v*0.813+u*0.391; | ||
20 | u=u*2.018; | ||
21 | v=v*1.596; | ||
22 | y=(y-0.062)*1.164; | ||
23 | |||
24 | r=y+v; | ||
25 | g=y-vmu; | ||
26 | b=y+u; | ||
27 | |||
28 | gl_FragColor=vec4(r,g,b,1.0); | ||
29 | } | ||
30 | |||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/yuy2_nomul_vert.h b/libraries/evas/src/modules/engines/gl_common/shader/yuy2_nomul_vert.h deleted file mode 100644 index 4620b66..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/yuy2_nomul_vert.h +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "precision highp float;\n" | ||
3 | "#endif\n" | ||
4 | "attribute vec4 vertex;\n" | ||
5 | "attribute vec2 tex_coord, tex_coord2;\n" | ||
6 | "uniform mat4 mvp;\n" | ||
7 | "varying vec2 tex_c, tex_cuv;\n" | ||
8 | "void main()\n" | ||
9 | "{\n" | ||
10 | " gl_Position = mvp * vertex;\n" | ||
11 | " tex_c = tex_coord;\n" | ||
12 | " tex_cuv = vec2(tex_coord2.x * 0.5, tex_coord2.y);\n" | ||
13 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/yuy2_nomul_vert.shd b/libraries/evas/src/modules/engines/gl_common/shader/yuy2_nomul_vert.shd deleted file mode 100644 index 05acc9c..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/yuy2_nomul_vert.shd +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | precision highp float; | ||
3 | #endif | ||
4 | attribute vec4 vertex; | ||
5 | attribute vec2 tex_coord, tex_coord2; | ||
6 | uniform mat4 mvp; | ||
7 | varying vec2 tex_c, tex_cuv; | ||
8 | void main() | ||
9 | { | ||
10 | gl_Position = mvp * vertex; | ||
11 | tex_c = tex_coord; | ||
12 | tex_cuv = vec2(tex_coord2.x * 0.5, tex_coord2.y); | ||
13 | } | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/yuy2_vert.h b/libraries/evas/src/modules/engines/gl_common/shader/yuy2_vert.h deleted file mode 100644 index 1e49018..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/yuy2_vert.h +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | "#ifdef GL_ES\n" | ||
2 | "precision highp float;\n" | ||
3 | "#endif\n" | ||
4 | "attribute vec4 vertex;\n" | ||
5 | "attribute vec4 color;\n" | ||
6 | "attribute vec2 tex_coord, tex_coord2;\n" | ||
7 | "uniform mat4 mvp;\n" | ||
8 | "varying vec4 col;\n" | ||
9 | "varying vec2 tex_c, tex_cuv;\n" | ||
10 | "void main()\n" | ||
11 | "{\n" | ||
12 | " gl_Position = mvp * vertex;\n" | ||
13 | " col = color;\n" | ||
14 | " tex_c = tex_coord;\n" | ||
15 | " tex_cuv = vec2(tex_coord2.x * 0.5, tex_coord2.y);\n" | ||
16 | "}\n" | ||
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/yuy2_vert.shd b/libraries/evas/src/modules/engines/gl_common/shader/yuy2_vert.shd deleted file mode 100644 index 54efb1e..0000000 --- a/libraries/evas/src/modules/engines/gl_common/shader/yuy2_vert.shd +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | #ifdef GL_ES | ||
2 | precision highp float; | ||
3 | #endif | ||
4 | attribute vec4 vertex; | ||
5 | attribute vec4 color; | ||
6 | attribute vec2 tex_coord, tex_coord2; | ||
7 | uniform mat4 mvp; | ||
8 | varying vec4 col; | ||
9 | varying vec2 tex_c, tex_cuv; | ||
10 | void main() | ||
11 | { | ||
12 | gl_Position = mvp * vertex; | ||
13 | col = color; | ||
14 | tex_c = tex_coord; | ||
15 | tex_cuv = vec2(tex_coord2.x * 0.5, tex_coord2.y); | ||
16 | } | ||