OSDN Git Service

Fix build break.
authorJason Sams <jsams@google.com>
Fri, 22 Feb 2013 21:57:36 +0000 (13:57 -0800)
committerJason Sams <jsams@google.com>
Fri, 22 Feb 2013 21:57:36 +0000 (13:57 -0800)
Change-Id: I362c96787482bc8daee7dd4a01817ab7ed79b730

graphics/java/android/renderscript/Allocation.java

index 2f3e48c..a99cdad 100644 (file)
@@ -1261,6 +1261,13 @@ public class Allocation extends BaseObj {
     }
 
     /**
+     * @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