OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72226e0
)
Fix build break.
author
Jason Sams
<jsams@google.com>
Fri, 22 Feb 2013 21:57:36 +0000
(13:57 -0800)
committer
Jason Sams
<jsams@google.com>
Fri, 22 Feb 2013 21:57:36 +0000
(13:57 -0800)
Change-Id: I362c96787482bc8daee7dd4a01817ab7ed79b730
graphics/java/android/renderscript/Allocation.java
patch
|
blob
|
history
diff --git
a/graphics/java/android/renderscript/Allocation.java
b/graphics/java/android/renderscript/Allocation.java
index
2f3e48c
..
a99cdad
100644
(file)
--- a/
graphics/java/android/renderscript/Allocation.java
+++ b/
graphics/java/android/renderscript/Allocation.java
@@
-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