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

Commit 5af1729f authored by Jamie Gennis's avatar Jamie Gennis Committed by Android (Google) Code Review
Browse files

Merge "SurfaceTexture: disable sync-mode SurfaceTextures"

parents 0806d518 554366d1
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -8721,7 +8721,6 @@ package android.graphics {
  public class SurfaceTexture {
    ctor public SurfaceTexture(int);
    ctor public SurfaceTexture(int, boolean);
    method public long getTimestamp();
    method public void getTransformMatrix(float[]);
    method public void release();
+3 −1
Original line number Diff line number Diff line
@@ -93,7 +93,7 @@ public class SurfaceTexture {
     * @param texName the OpenGL texture object name (e.g. generated via glGenTextures)
     */
    public SurfaceTexture(int texName) {
        this(texName, true);
        this(texName, false);
    }

    /**
@@ -104,6 +104,8 @@ public class SurfaceTexture {
     *      When the image stream comes from OpenGL, SurfaceTexture may run in the synchronous
     *      mode where the producer side may be blocked to avoid skipping frames. To avoid the
     *      thread block, set allowSynchronousMode to false.
     *
     * @hide
     */
    public SurfaceTexture(int texName, boolean allowSynchronousMode) {
        Looper looper;