Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6c12392f authored by John Reck's avatar John Reck
Browse files

Expose SurfaceTexture(boolean) constructor

Fixes: 31709954
Test: 'cts-tradefed run singleCommand cts-dev --module CtsUiRenderingTestCases --test android.uirendering.cts.testclasses.TextureViewTests' passes

Change-Id: I358ae97aa90b27ee5757271d83c8a5b96a31a3f0
parent 4d44f2da
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -12692,6 +12692,7 @@ package android.graphics {
  public class SurfaceTexture {
  public class SurfaceTexture {
    ctor public SurfaceTexture(int);
    ctor public SurfaceTexture(int);
    ctor public SurfaceTexture(int, boolean);
    ctor public SurfaceTexture(int, boolean);
    ctor public SurfaceTexture(boolean);
    method public void attachToGLContext(int);
    method public void attachToGLContext(int);
    method public void detachFromGLContext();
    method public void detachFromGLContext();
    method public long getTimestamp();
    method public long getTimestamp();
+1 −0
Original line number Original line Diff line number Diff line
@@ -13140,6 +13140,7 @@ package android.graphics {
  public class SurfaceTexture {
  public class SurfaceTexture {
    ctor public SurfaceTexture(int);
    ctor public SurfaceTexture(int);
    ctor public SurfaceTexture(int, boolean);
    ctor public SurfaceTexture(int, boolean);
    ctor public SurfaceTexture(boolean);
    method public void attachToGLContext(int);
    method public void attachToGLContext(int);
    method public void detachFromGLContext();
    method public void detachFromGLContext();
    method public long getTimestamp();
    method public long getTimestamp();
+1 −0
Original line number Original line Diff line number Diff line
@@ -12708,6 +12708,7 @@ package android.graphics {
  public class SurfaceTexture {
  public class SurfaceTexture {
    ctor public SurfaceTexture(int);
    ctor public SurfaceTexture(int);
    ctor public SurfaceTexture(int, boolean);
    ctor public SurfaceTexture(int, boolean);
    ctor public SurfaceTexture(boolean);
    method public void attachToGLContext(int);
    method public void attachToGLContext(int);
    method public void detachFromGLContext();
    method public void detachFromGLContext();
    method public long getTimestamp();
    method public long getTimestamp();
+0 −1
Original line number Original line Diff line number Diff line
@@ -156,7 +156,6 @@ public class SurfaceTexture {
     * @param singleBufferMode whether the SurfaceTexture will be in single buffered mode.
     * @param singleBufferMode whether the SurfaceTexture will be in single buffered mode.
     *
     *
     * @throws Surface.OutOfResourcesException If the SurfaceTexture cannot be created.
     * @throws Surface.OutOfResourcesException If the SurfaceTexture cannot be created.
     * @hide
     */
     */
    public SurfaceTexture(boolean singleBufferMode) {
    public SurfaceTexture(boolean singleBufferMode) {
        mCreatorLooper = Looper.myLooper();
        mCreatorLooper = Looper.myLooper();