summaryrefslogtreecommitdiff
path: root/graphics/java
diff options
context:
space:
mode:
author Jamie Gennis <jgennis@google.com> 2012-04-13 16:15:20 -0700
committer Jamie Gennis <jgennis@google.com> 2012-04-13 18:33:38 -0700
commit33efb231cb92065c40c019319adae36abc413863 (patch)
treeae3941f3c2d81d4c86ad463daa48481f4b20d89f /graphics/java
parentdbed083ff07f4e6fa727ea22cdd7d758291630c1 (diff)
Unhide new SurfaceTexture & TextureView APIs
This change unhides the new SurfaceTexture and TextureView APIs that were added to allow transferring ownership of the SurfaceTexture from the UI framework to the application. Change-Id: Ic4b781d907a59e99ff1a5974009305c1f9aee36a
Diffstat (limited to 'graphics/java')
-rw-r--r--graphics/java/android/graphics/SurfaceTexture.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/graphics/java/android/graphics/SurfaceTexture.java b/graphics/java/android/graphics/SurfaceTexture.java
index 3fc20b5448c8..4beaecd1137b 100644
--- a/graphics/java/android/graphics/SurfaceTexture.java
+++ b/graphics/java/android/graphics/SurfaceTexture.java
@@ -159,7 +159,7 @@ public class SurfaceTexture {
* It will implicitly bind its texture to the GL_TEXTURE_EXTERNAL_OES texture target.
*/
public void updateTexImage() {
- nativeUpdateTexImage();
+ nativeUpdateTexImage();
}
/**
@@ -172,8 +172,6 @@ public class SurfaceTexture {
* This can be used to access the SurfaceTexture image contents from multiple OpenGL ES
* contexts. Note, however, that the image contents are only accessible from one OpenGL ES
* context at a time.
- *
- * @hide
*/
public void detachFromGLContext() {
int err = nativeDetachFromGLContext();
@@ -194,8 +192,6 @@ public class SurfaceTexture {
*
* @param texName The name of the OpenGL ES texture that will be created. This texture name
* must be unusued in the OpenGL ES context that is current on the calling thread.
- *
- * @hide
*/
public void attachToGLContext(int texName) {
int err = nativeAttachToGLContext(texName);