diff options
| author | Tim Murray <timmurray@google.com> | 2013-11-19 12:45:54 -0800 |
|---|---|---|
| committer | Tim Murray <timmurray@google.com> | 2014-01-31 11:16:09 -0800 |
| commit | 7a629fac82f88126642081b4474879f6a883e313 (patch) | |
| tree | f14b9b18d27b21fb0eb73ae7ebbcc9b06f1a3661 /graphics/java/android/renderscript/ScriptIntrinsicConvolve5x5.java | |
| parent | a78e9adb864e27f54d82f325eb6148302cd03914 (diff) | |
| download | frameworks_base-7a629fac82f88126642081b4474879f6a883e313.zip frameworks_base-7a629fac82f88126642081b4474879f6a883e313.tar.gz frameworks_base-7a629fac82f88126642081b4474879f6a883e313.tar.bz2 | |
Convert Java/JNI to 64-bit, part 2.
This changes BaseObj to support 64-bit IDs. There are a few caveats:
1. Since it is deprecated, RSG will not support 64-bit.
2. Currently, methods that pass arrays of IDs to the driver are not supported in 64-bit. This will be fixed in a later CL.
bug 11332320
Change-Id: If0dbecc8b285e260f767e441e05088b6a1b749a2
Diffstat (limited to 'graphics/java/android/renderscript/ScriptIntrinsicConvolve5x5.java')
| -rw-r--r-- | graphics/java/android/renderscript/ScriptIntrinsicConvolve5x5.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/java/android/renderscript/ScriptIntrinsicConvolve5x5.java b/graphics/java/android/renderscript/ScriptIntrinsicConvolve5x5.java index ad09f95..71ea4cb 100644 --- a/graphics/java/android/renderscript/ScriptIntrinsicConvolve5x5.java +++ b/graphics/java/android/renderscript/ScriptIntrinsicConvolve5x5.java @@ -26,7 +26,7 @@ public final class ScriptIntrinsicConvolve5x5 extends ScriptIntrinsic { private final float[] mValues = new float[25]; private Allocation mInput; - private ScriptIntrinsicConvolve5x5(int id, RenderScript rs) { + private ScriptIntrinsicConvolve5x5(long id, RenderScript rs) { super(id, rs); } @@ -62,7 +62,7 @@ public final class ScriptIntrinsicConvolve5x5 extends ScriptIntrinsic { throw new RSIllegalArgumentException("Unsuported element type."); } - int id = rs.nScriptIntrinsicCreate(4, e.getID(rs)); + long id = rs.nScriptIntrinsicCreate(4, e.getID(rs)); return new ScriptIntrinsicConvolve5x5(id, rs); } |
