diff options
| author | 2012-04-13 16:15:20 -0700 | |
|---|---|---|
| committer | 2012-04-13 18:33:38 -0700 | |
| commit | 33efb231cb92065c40c019319adae36abc413863 (patch) | |
| tree | ae3941f3c2d81d4c86ad463daa48481f4b20d89f /graphics/java/android | |
| parent | dbed083ff07f4e6fa727ea22cdd7d758291630c1 (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/android')
| -rw-r--r-- | graphics/java/android/graphics/SurfaceTexture.java | 6 |
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); |