summaryrefslogtreecommitdiff
path: root/graphics/java/android
diff options
context:
space:
mode:
author Jason Sams <jsams@google.com> 2012-03-29 17:58:15 -0700
committer Jason Sams <jsams@google.com> 2012-03-29 17:58:15 -0700
commitc5f519c5ec57400f04f1d0bdc69f7bfddf47f8cb (patch)
treecea2f997f444546030cb1826bf48b1454397491a /graphics/java/android
parent75ec67848c06c37ff545fffb8a02fcb23a71209d (diff)
Rename ioReceive and ioSend
First checkin of Allocation IO test Change-Id: I26379e442796caab95a089dbb42b02192f4cc563
Diffstat (limited to 'graphics/java/android')
-rw-r--r--graphics/java/android/renderscript/Allocation.java12
1 files changed, 10 insertions, 2 deletions
diff --git a/graphics/java/android/renderscript/Allocation.java b/graphics/java/android/renderscript/Allocation.java
index 6b59b106c699..18a0a0c468ba 100644
--- a/graphics/java/android/renderscript/Allocation.java
+++ b/graphics/java/android/renderscript/Allocation.java
@@ -365,7 +365,7 @@ public class Allocation extends BaseObj {
* @hide
*
*/
- public void ioSendOutput() {
+ public void ioSend() {
if ((mUsage & USAGE_IO_OUTPUT) == 0) {
throw new RSIllegalArgumentException(
"Can only send buffer if IO_OUTPUT usage specified.");
@@ -375,12 +375,20 @@ public class Allocation extends BaseObj {
}
/**
+ * Delete once code is updated.
+ * @hide
+ */
+ public void ioSendOutput() {
+ ioSend();
+ }
+
+ /**
* Receive the latest input into the Allocation.
*
* @hide
*
*/
- public void ioGetInput() {
+ public void ioReceive() {
if ((mUsage & USAGE_IO_INPUT) == 0) {
throw new RSIllegalArgumentException(
"Can only receive if IO_INPUT usage specified.");