commit | e6a7886674c167b4e17f6dc72d41d5b9c604cdd1 | [log] [tgz] |
---|---|---|
author | Jason Sams <jsams@google.com> | Mon Oct 15 15:45:12 2012 -0700 |
committer | Jason Sams <jsams@google.com> | Mon Oct 15 15:52:22 2012 -0700 |
tree | ba9051e07c9eb56420eb72f286b8a0842f6a0415 | |
parent | 477687c1eb1919c54e2bffba2a740df3b4af6668 [diff] [blame] |
Fix bugs in scriptGroup. Intrinsics were treating inputs as fields rather than varObjs. This would generate a lot of extra work for the reflection layers. Also we would like to deprecate this path in the future. bug 7318821 Change-Id: I81e8c562ba05aae5d085d5c08e91e2c4877265c5
diff --git a/graphics/java/android/renderscript/ScriptIntrinsicBlur.java b/graphics/java/android/renderscript/ScriptIntrinsicBlur.java index 2a04b42..11164e3 100644 --- a/graphics/java/android/renderscript/ScriptIntrinsicBlur.java +++ b/graphics/java/android/renderscript/ScriptIntrinsicBlur.java
@@ -63,7 +63,7 @@ */ public void setInput(Allocation ain) { mInput = ain; - bindAllocation(ain, 1); + setVar(1, ain); } /**