Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e6a78866 authored by Jason Sams's avatar Jason Sams
Browse files

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
parent 477687c1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ public final class ScriptIntrinsicBlur extends ScriptIntrinsic {
     */
    public void setInput(Allocation ain) {
        mInput = ain;
        bindAllocation(ain, 1);
        setVar(1, ain);
    }

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

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

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

    /**