From 33efb231cb92065c40c019319adae36abc413863 Mon Sep 17 00:00:00 2001 From: Jamie Gennis Date: Fri, 13 Apr 2012 16:15:20 -0700 Subject: 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 --- graphics/java/android/graphics/SurfaceTexture.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'graphics/java/android') 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); -- cgit v1.2.3-59-g8ed1b