summaryrefslogtreecommitdiffstats
path: root/rs/java/android/renderscript/Allocation.java
diff options
context:
space:
mode:
authorJason Sams <jsams@google.com>2015-02-06 17:45:15 -0800
committerJason Sams <jsams@google.com>2015-02-06 17:45:15 -0800
commit46ba27e3fdcf1ce3b940e8b2ec90fcd2c9b7fe43 (patch)
tree9672f7c3f4df7641cfa6eee1ff0898a4bcd95c0e /rs/java/android/renderscript/Allocation.java
parent1269ff961000c726247d510762e42b21562b8c2b (diff)
downloadframeworks_base-46ba27e3fdcf1ce3b940e8b2ec90fcd2c9b7fe43.zip
frameworks_base-46ba27e3fdcf1ce3b940e8b2ec90fcd2c9b7fe43.tar.gz
frameworks_base-46ba27e3fdcf1ce3b940e8b2ec90fcd2c9b7fe43.tar.bz2
Implement array types
Change-Id: I1b83f21ea2aeaa4b9f5934aadcb69d4a1c1fea20
Diffstat (limited to 'rs/java/android/renderscript/Allocation.java')
-rw-r--r--rs/java/android/renderscript/Allocation.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/rs/java/android/renderscript/Allocation.java b/rs/java/android/renderscript/Allocation.java
index 69103e8..9fe30ae 100644
--- a/rs/java/android/renderscript/Allocation.java
+++ b/rs/java/android/renderscript/Allocation.java
@@ -58,15 +58,13 @@ public class Allocation extends BaseObj {
Allocation mAdaptedAllocation;
int mSize;
- boolean mConstrainedLOD;
- boolean mConstrainedFace;
- boolean mConstrainedY;
- boolean mConstrainedZ;
boolean mReadAllowed = true;
boolean mWriteAllowed = true;
+ int mSelectedX;
int mSelectedY;
int mSelectedZ;
int mSelectedLOD;
+ int mSelectedArray[];
Type.CubemapFace mSelectedFace = Type.CubemapFace.POSITIVE_X;
int mCurrentDimX;