summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Allocation.java
diff options
context:
space:
mode:
authorMiao Wang <miaowang@google.com>2016-01-26 14:19:25 -0800
committerMiao Wang <miaowang@google.com>2016-01-27 14:42:03 -0800
commitc29bcd0dcd00225e0206d0ad7a374bc1766d2d5a (patch)
tree706dc0d0670d6a049bdddaf3ba4d29337e025326 /rs/java/android/renderscript/Allocation.java
parent1244ece2e345aea5a64c15c87b107c01dca3f9c9 (diff)
[RenderScript] Unhide new Allocation APIs
Bug: 23535524 - ByteBuffer getByteBuffer() - long getStride() - Allocation[] createAllocations(rs, type, usage, num) - long getTimeStamp() Change-Id: I0cad88c81f9f48c7aca59af159c49f506b234aee
Diffstat (limited to 'rs/java/android/renderscript/Allocation.java')
-rw-r--r--rs/java/android/renderscript/Allocation.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/rs/java/android/renderscript/Allocation.java b/rs/java/android/renderscript/Allocation.java
index 4bda87e918de..8c78a3ac2aad 100644
--- a/rs/java/android/renderscript/Allocation.java
+++ b/rs/java/android/renderscript/Allocation.java
@@ -2074,7 +2074,6 @@ public class Allocation extends BaseObj {
}
/**
- * @hide
* Gets or creates a ByteBuffer that contains the raw data of the current Allocation.
* If the Allocation is created with USAGE_IO_INPUT, the returned ByteBuffer
* would contain the up-to-date data as READ ONLY.
@@ -2109,7 +2108,6 @@ public class Allocation extends BaseObj {
}
/**
- * @hide
* Creates a new Allocation Array with the given {@link
* android.renderscript.Type}, and usage flags.
* Note: If the input allocation is of usage: USAGE_IO_INPUT,
@@ -2211,7 +2209,6 @@ public class Allocation extends BaseObj {
}
/**
- * @hide
* Gets the stride of the Allocation.
* For a 2D or 3D Allocation, the raw data maybe padded so that each row of
* the Allocation has certain alignment. The size of each row including such
@@ -2229,7 +2226,6 @@ public class Allocation extends BaseObj {
}
/**
- * @hide
* Get the timestamp for the most recent buffer held by this Allocation.
* The timestamp is guaranteed to be unique and monotonically increasing.
* Default value: -1. The timestamp will be updated after each {@link