Skip to content

Commit dccf73a

Browse files
author
Romain Guy
committed
Hide ManagedEGLContext until we are sure this is the correct API.
Change-Id: If54942d342ca8ea348e10231b2aed3e5d3bd701b
1 parent e7005ec commit dccf73a

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

api/current.txt

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14243,13 +14243,6 @@ package android.opengl {
1424314243
method public static void texSubImage2D(int, int, int, int, android.graphics.Bitmap, int, int);
1424414244
}
1424514245

14246-
public abstract class ManagedEGLContext {
14247-
ctor public ManagedEGLContext(javax.microedition.khronos.egl.EGLContext);
14248-
method public javax.microedition.khronos.egl.EGLContext getContext();
14249-
method public abstract void onTerminate(javax.microedition.khronos.egl.EGLContext);
14250-
method public void terminate();
14251-
}
14252-
1425314246
public class Matrix {
1425414247
ctor public Matrix();
1425514248
method public static void frustumM(float[], int, float, float, float, float, float, float);
@@ -18432,14 +18425,14 @@ package android.renderscript {
1843218425
ctor public RSSurfaceView(android.content.Context);
1843318426
ctor public RSSurfaceView(android.content.Context, android.util.AttributeSet);
1843418427
method public android.renderscript.RenderScriptGL createRenderScriptGL(android.renderscript.RenderScriptGL.SurfaceConfig);
18435-
method public synchronized void destroyRenderScriptGL();
18428+
method public void destroyRenderScriptGL();
1843618429
method public android.renderscript.RenderScriptGL getRenderScriptGL();
1843718430
method public void pause();
1843818431
method public void resume();
1843918432
method public void setRenderScriptGL(android.renderscript.RenderScriptGL);
18440-
method public synchronized void surfaceChanged(android.view.SurfaceHolder, int, int, int);
18433+
method public void surfaceChanged(android.view.SurfaceHolder, int, int, int);
1844118434
method public void surfaceCreated(android.view.SurfaceHolder);
18442-
method public synchronized void surfaceDestroyed(android.view.SurfaceHolder);
18435+
method public void surfaceDestroyed(android.view.SurfaceHolder);
1844318436
}
1844418437

1844518438
public class RSTextureView extends android.view.TextureView implements android.view.TextureView.SurfaceTextureListener {

opengl/java/android/opengl/ManagedEGLContext.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
* of the currently created EGL contexts in the process are being managed
4444
* through this class, then they will all be asked to terminate through the
4545
* call to {@link #onTerminate}.
46+
*
47+
* @hide
4648
*/
4749
public abstract class ManagedEGLContext {
4850
static final String TAG = "ManagedEGLContext";

0 commit comments

Comments
 (0)