summaryrefslogtreecommitdiffstats
path: root/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/TextureParam.java
diff options
context:
space:
mode:
authorAlex Sakhartchouk <alexst@google.com>2012-01-17 17:35:31 -0800
committerAlex Sakhartchouk <alexst@google.com>2012-01-17 17:35:31 -0800
commitce047cb47b761f00593f247a3901fe8155371d47 (patch)
treec726e286e0f4ce2fbf26f755ffb3ee909a811736 /tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/TextureParam.java
parent81aee81850a8213dfc10cc81e332063ae49d2bd1 (diff)
downloadframeworks_base-ce047cb47b761f00593f247a3901fe8155371d47.zip
frameworks_base-ce047cb47b761f00593f247a3901fe8155371d47.tar.gz
frameworks_base-ce047cb47b761f00593f247a3901fe8155371d47.tar.bz2
Fixing blur passes. Refactoring.
Change-Id: Ie511e7738e2cf259231f48250421b5e340d38565
Diffstat (limited to 'tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/TextureParam.java')
-rw-r--r--tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/TextureParam.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/TextureParam.java b/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/TextureParam.java
index af22201..df7147a 100644
--- a/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/TextureParam.java
+++ b/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/TextureParam.java
@@ -40,6 +40,11 @@ public class TextureParam extends ShaderParam {
super(name);
}
+ public TextureParam(String name, Texture2D t) {
+ super(name);
+ setTexture(t);
+ }
+
public void setTexture(Texture2D t) {
mTexture = t;
}