diff options
author | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
commit | dd7595a3475407a7fa96a97393bae8c5220e8762 (patch) | |
tree | e341e911d7eb911a51684a7412ef7f7c7605d28e /libraries/evas/src/modules/engines/gl_common/shader/nv12_vert.h | |
parent | Add the skeleton. (diff) | |
download | SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.zip SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.gz SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.bz2 SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.xz |
Add the base Enlightenment Foundation Libraries - eina, eet, evas, ecore, embryo, and edje.
Note that embryo wont be used, but I'm not sure yet if you can build edje without it.
Diffstat (limited to 'libraries/evas/src/modules/engines/gl_common/shader/nv12_vert.h')
-rw-r--r-- | libraries/evas/src/modules/engines/gl_common/shader/nv12_vert.h | 16 |
1 files changed, 16 insertions, 0 deletions
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 new file mode 100644 index 0000000..38d6d9e --- /dev/null +++ b/libraries/evas/src/modules/engines/gl_common/shader/nv12_vert.h | |||
@@ -0,0 +1,16 @@ | |||
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" | ||