commit | c089c2fc00054d6dde24b98e78226923a5364564 | [log] [tgz] |
---|---|---|
author | Jason Sams <jsams@google.com> | Fri Feb 22 13:57:36 2013 -0800 |
committer | Jason Sams <jsams@google.com> | Fri Feb 22 13:57:36 2013 -0800 |
tree | 52f33defb1f135cf3d96e1ec3d5edbfa1b2494d6 | |
parent | 72226e0543461133b9e177a3e78ae50b0c65e797 [diff] |
Fix build break. Change-Id: I362c96787482bc8daee7dd4a01817ab7ed79b730
diff --git a/graphics/java/android/renderscript/Allocation.java b/graphics/java/android/renderscript/Allocation.java index 2f3e48c..a99cdad 100644 --- a/graphics/java/android/renderscript/Allocation.java +++ b/graphics/java/android/renderscript/Allocation.java
@@ -1261,6 +1261,13 @@ } /** + * @hide + */ + public void setSurfaceTexture(SurfaceTexture st) { + setSurface(new Surface(st)); + } + + /** * Associate a surface for io output with this allocation * * @param sur Surface to associate with allocation