Loading api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -13762,6 +13762,7 @@ package android.graphics { method public void detachFromGLContext(); method public long getTimestamp(); method public void getTransformMatrix(float[]); method public boolean isReleased(); method public void release(); method public void releaseTexImage(); method public void setDefaultBufferSize(int, int); api/system-current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -14540,6 +14540,7 @@ package android.graphics { method public void detachFromGLContext(); method public long getTimestamp(); method public void getTransformMatrix(float[]); method public boolean isReleased(); method public void release(); method public void releaseTexImage(); method public void setDefaultBufferSize(int, int); api/test-current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -13804,6 +13804,7 @@ package android.graphics { method public void detachFromGLContext(); method public long getTimestamp(); method public void getTransformMatrix(float[]); method public boolean isReleased(); method public void release(); method public void releaseTexImage(); method public void setDefaultBufferSize(int, int); graphics/java/android/graphics/SurfaceTexture.java +7 −5 Original line number Diff line number Diff line Loading @@ -16,14 +16,14 @@ package android.graphics; import java.lang.ref.WeakReference; import android.annotation.Nullable; import android.os.Handler; import android.os.Looper; import android.os.Message; import android.view.Surface; import java.lang.ref.WeakReference; /** * Captures frames from an image stream as an OpenGL ES texture. * Loading Loading @@ -345,14 +345,17 @@ public class SurfaceTexture { * Always call this method when you are done with SurfaceTexture. Failing * to do so may delay resource deallocation for a significant amount of * time. * * @see #isReleased() */ public void release() { nativeRelease(); } /** * Returns true if the SurfaceTexture was released * @hide * Returns true if the SurfaceTexture was released. * * @see #release() */ public boolean isReleased() { return nativeIsReleased(); Loading Loading @@ -400,7 +403,6 @@ public class SurfaceTexture { private native void nativeReleaseTexImage(); private native int nativeDetachFromGLContext(); private native int nativeAttachToGLContext(int texName); private native int nativeGetQueuedCount(); private native void nativeRelease(); private native boolean nativeIsReleased(); } Loading
api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -13762,6 +13762,7 @@ package android.graphics { method public void detachFromGLContext(); method public long getTimestamp(); method public void getTransformMatrix(float[]); method public boolean isReleased(); method public void release(); method public void releaseTexImage(); method public void setDefaultBufferSize(int, int);
api/system-current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -14540,6 +14540,7 @@ package android.graphics { method public void detachFromGLContext(); method public long getTimestamp(); method public void getTransformMatrix(float[]); method public boolean isReleased(); method public void release(); method public void releaseTexImage(); method public void setDefaultBufferSize(int, int);
api/test-current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -13804,6 +13804,7 @@ package android.graphics { method public void detachFromGLContext(); method public long getTimestamp(); method public void getTransformMatrix(float[]); method public boolean isReleased(); method public void release(); method public void releaseTexImage(); method public void setDefaultBufferSize(int, int);
graphics/java/android/graphics/SurfaceTexture.java +7 −5 Original line number Diff line number Diff line Loading @@ -16,14 +16,14 @@ package android.graphics; import java.lang.ref.WeakReference; import android.annotation.Nullable; import android.os.Handler; import android.os.Looper; import android.os.Message; import android.view.Surface; import java.lang.ref.WeakReference; /** * Captures frames from an image stream as an OpenGL ES texture. * Loading Loading @@ -345,14 +345,17 @@ public class SurfaceTexture { * Always call this method when you are done with SurfaceTexture. Failing * to do so may delay resource deallocation for a significant amount of * time. * * @see #isReleased() */ public void release() { nativeRelease(); } /** * Returns true if the SurfaceTexture was released * @hide * Returns true if the SurfaceTexture was released. * * @see #release() */ public boolean isReleased() { return nativeIsReleased(); Loading Loading @@ -400,7 +403,6 @@ public class SurfaceTexture { private native void nativeReleaseTexImage(); private native int nativeDetachFromGLContext(); private native int nativeAttachToGLContext(int texName); private native int nativeGetQueuedCount(); private native void nativeRelease(); private native boolean nativeIsReleased(); }