diff options
author | Alex Sakhartchouk <alexst@google.com> | 2012-01-17 17:35:31 -0800 |
---|---|---|
committer | Alex Sakhartchouk <alexst@google.com> | 2012-01-17 17:35:31 -0800 |
commit | ce047cb47b761f00593f247a3901fe8155371d47 (patch) | |
tree | c726e286e0f4ce2fbf26f755ffb3ee909a811736 /tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/TextureParam.java | |
parent | 81aee81850a8213dfc10cc81e332063ae49d2bd1 (diff) | |
download | frameworks_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.java | 5 |
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; } |