Merge "Fix bugs in scriptGroup." into jb-mr1-dev

This commit is contained in:
Jason Sams
2012-10-16 10:50:18 -07:00
committed by Android (Google) Code Review
4 changed files with 4 additions and 4 deletions

View File

@@ -63,7 +63,7 @@ public final class ScriptIntrinsicBlur extends ScriptIntrinsic {
*/
public void setInput(Allocation ain) {
mInput = ain;
bindAllocation(ain, 1);
setVar(1, ain);
}
/**

View File

@@ -68,7 +68,7 @@ public final class ScriptIntrinsicConvolve3x3 extends ScriptIntrinsic {
*/
public void setInput(Allocation ain) {
mInput = ain;
bindAllocation(ain, 1);
setVar(1, ain);
}
/**

View File

@@ -61,7 +61,7 @@ public final class ScriptIntrinsicConvolve5x5 extends ScriptIntrinsic {
*/
public void setInput(Allocation ain) {
mInput = ain;
bindAllocation(ain, 1);
setVar(1, ain);
}
/**

View File

@@ -56,7 +56,7 @@ public final class ScriptIntrinsicYuvToRGB extends ScriptIntrinsic {
*/
public void setInput(Allocation ain) {
mInput = ain;
bindAllocation(ain, 0);
setVar(0, ain);
}
/**