summaryrefslogtreecommitdiffstats
path: root/rs/java
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2014-06-12 14:17:53 -0700
committerTim Murray <timmurray@google.com>2014-06-12 14:23:19 -0700
commit4154bbd69b6763a65cec384b9b0e98c43350d0e3 (patch)
treec7dbdfc34f6a99128e0f839356e8e3945e13ec41 /rs/java
parent1ef888e564926b78aeb02ef1085be2f72227b862 (diff)
downloadframeworks_base-4154bbd69b6763a65cec384b9b0e98c43350d0e3.zip
frameworks_base-4154bbd69b6763a65cec384b9b0e98c43350d0e3.tar.gz
frameworks_base-4154bbd69b6763a65cec384b9b0e98c43350d0e3.tar.bz2
Move FieldPacker over to use large objects on 64-bit.
Change-Id: I1d4d502a3f9d86c6cf0f516cc087b1457f86ac28
Diffstat (limited to 'rs/java')
-rw-r--r--rs/java/android/renderscript/FieldPacker.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/rs/java/android/renderscript/FieldPacker.java b/rs/java/android/renderscript/FieldPacker.java
index 2ff1c28..576a84d 100644
--- a/rs/java/android/renderscript/FieldPacker.java
+++ b/rs/java/android/renderscript/FieldPacker.java
@@ -234,6 +234,9 @@ public class FieldPacker {
if (obj != null) {
if (RenderScript.sPointerSize == 8) {
addI64(obj.getID(null));
+ addI64(0);
+ addI64(0);
+ addI64(0);
}
else {
addI32((int)obj.getID(null));
@@ -241,6 +244,9 @@ public class FieldPacker {
} else {
if (RenderScript.sPointerSize == 8) {
addI64(0);
+ addI64(0);
+ addI64(0);
+ addI64(0);
} else {
addI32(0);
}