aboutsummaryrefslogtreecommitdiffstats
path: root/res/raw
diff options
context:
space:
mode:
authorJorge Ruesga <jorge@ruesga.com>2013-08-06 21:38:24 +0200
committerJorge Ruesga <jorge@ruesga.com>2013-08-06 21:38:24 +0200
commitab5b656128fb0a9c7770380d09734992231ed385 (patch)
treefd10e925f68f529301fd0b683cbf1b008a55d390 /res/raw
parentc1774d346631fbd1633cee638b6f46ad9707b65c (diff)
downloadandroid_packages_wallpapers_PhotoPhase-ab5b656128fb0a9c7770380d09734992231ed385.tar.gz
android_packages_wallpapers_PhotoPhase-ab5b656128fb0a9c7770380d09734992231ed385.tar.bz2
android_packages_wallpapers_PhotoPhase-ab5b656128fb0a9c7770380d09734992231ed385.zip
Fix color shape and fade transition (#11)
Remove unused shaders Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Diffstat (limited to 'res/raw')
-rw-r--r--res/raw/alpha_fragment_shader.glsl26
-rw-r--r--res/raw/alpha_vertex_shader.glsl30
-rw-r--r--res/raw/translate_fragment_shader.glsl24
-rw-r--r--res/raw/translate_vertex_shader.glsl27
4 files changed, 0 insertions, 107 deletions
diff --git a/res/raw/alpha_fragment_shader.glsl b/res/raw/alpha_fragment_shader.glsl
deleted file mode 100644
index 777f6a2..0000000
--- a/res/raw/alpha_fragment_shader.glsl
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Copyright (C) 2013 The CyanogenMod Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-precision mediump float;
-
-uniform sampler2D sTexture;
-
-varying vec2 vTextureCoord;
-varying float vAlpha;
-
-void main() {
- gl_FragColor = texture2D(sTexture, vTextureCoord);
-}
diff --git a/res/raw/alpha_vertex_shader.glsl b/res/raw/alpha_vertex_shader.glsl
deleted file mode 100644
index d411ad5..0000000
--- a/res/raw/alpha_vertex_shader.glsl
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Copyright (C) 2013 The CyanogenMod Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-uniform mat4 uMVPMatrix;
-
-attribute vec4 aPosition;
-attribute vec2 aTextureCoord;
-attribute float aAlpha;
-
-varying vec2 vTextureCoord;
-varying float vAlpha;
-
-void main() {
- gl_Position = uMVPMatrix * aPosition;
- vTextureCoord = aTextureCoord;
- vAlpha = aAlpha;
-}
diff --git a/res/raw/translate_fragment_shader.glsl b/res/raw/translate_fragment_shader.glsl
deleted file mode 100644
index 55cbf0b..0000000
--- a/res/raw/translate_fragment_shader.glsl
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Copyright (C) 2013 The CyanogenMod Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-precision mediump float;
-
-varying vec2 vTextureCoord;
-uniform sampler2D sTexture;
-
-void main() {
- gl_FragColor = texture2D(sTexture, vTextureCoord);
-}
diff --git a/res/raw/translate_vertex_shader.glsl b/res/raw/translate_vertex_shader.glsl
deleted file mode 100644
index 1229d64..0000000
--- a/res/raw/translate_vertex_shader.glsl
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Copyright (C) 2013 The CyanogenMod Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-uniform mat4 uMVPMatrix;
-
-attribute vec4 aPosition;
-attribute vec2 aTextureCoord;
-
-varying vec2 vTextureCoord;
-
-void main() {
- gl_Position = uMVPMatrix * aPosition;
- vTextureCoord = aTextureCoord;
-}