Merge "Expose SurfaceTexture(boolean) constructor"

This commit is contained in:
John Reck
2016-09-28 14:07:06 +00:00
committed by Android (Google) Code Review
4 changed files with 3 additions and 1 deletions

View File

@@ -12692,6 +12692,7 @@ package android.graphics {
public class SurfaceTexture {
ctor public SurfaceTexture(int);
ctor public SurfaceTexture(int, boolean);
ctor public SurfaceTexture(boolean);
method public void attachToGLContext(int);
method public void detachFromGLContext();
method public long getTimestamp();

View File

@@ -13140,6 +13140,7 @@ package android.graphics {
public class SurfaceTexture {
ctor public SurfaceTexture(int);
ctor public SurfaceTexture(int, boolean);
ctor public SurfaceTexture(boolean);
method public void attachToGLContext(int);
method public void detachFromGLContext();
method public long getTimestamp();

View File

@@ -12709,6 +12709,7 @@ package android.graphics {
public class SurfaceTexture {
ctor public SurfaceTexture(int);
ctor public SurfaceTexture(int, boolean);
ctor public SurfaceTexture(boolean);
method public void attachToGLContext(int);
method public void detachFromGLContext();
method public long getTimestamp();

View File

@@ -156,7 +156,6 @@ public class SurfaceTexture {
* @param singleBufferMode whether the SurfaceTexture will be in single buffered mode.
*
* @throws Surface.OutOfResourcesException If the SurfaceTexture cannot be created.
* @hide
*/
public SurfaceTexture(boolean singleBufferMode) {
mCreatorLooper = Looper.myLooper();