diff options
| author | 2011-11-21 18:24:23 -0800 | |
|---|---|---|
| committer | 2011-11-21 18:27:21 -0800 | |
| commit | dccf73a50cb2a219182e141bac1d9da82fdaf4d7 (patch) | |
| tree | 9b49d3a96584d84bc8453eec54ebd4dce6f1313e | |
| parent | e7005ec9582f11744fa74d9c5c9562f9e4be04dc (diff) | |
Hide ManagedEGLContext until we are sure this is the correct API.
Change-Id: If54942d342ca8ea348e10231b2aed3e5d3bd701b
| -rw-r--r-- | api/current.txt | 13 | ||||
| -rw-r--r-- | opengl/java/android/opengl/ManagedEGLContext.java | 2 |
2 files changed, 5 insertions, 10 deletions
diff --git a/api/current.txt b/api/current.txt index b302cf308851..23b441b776ef 100644 --- a/api/current.txt +++ b/api/current.txt @@ -14243,13 +14243,6 @@ package android.opengl { method public static void texSubImage2D(int, int, int, int, android.graphics.Bitmap, int, int); } - public abstract class ManagedEGLContext { - ctor public ManagedEGLContext(javax.microedition.khronos.egl.EGLContext); - method public javax.microedition.khronos.egl.EGLContext getContext(); - method public abstract void onTerminate(javax.microedition.khronos.egl.EGLContext); - method public void terminate(); - } - public class Matrix { ctor public Matrix(); method public static void frustumM(float[], int, float, float, float, float, float, float); @@ -18432,14 +18425,14 @@ package android.renderscript { ctor public RSSurfaceView(android.content.Context); ctor public RSSurfaceView(android.content.Context, android.util.AttributeSet); method public android.renderscript.RenderScriptGL createRenderScriptGL(android.renderscript.RenderScriptGL.SurfaceConfig); - method public synchronized void destroyRenderScriptGL(); + method public void destroyRenderScriptGL(); method public android.renderscript.RenderScriptGL getRenderScriptGL(); method public void pause(); method public void resume(); method public void setRenderScriptGL(android.renderscript.RenderScriptGL); - method public synchronized void surfaceChanged(android.view.SurfaceHolder, int, int, int); + method public void surfaceChanged(android.view.SurfaceHolder, int, int, int); method public void surfaceCreated(android.view.SurfaceHolder); - method public synchronized void surfaceDestroyed(android.view.SurfaceHolder); + method public void surfaceDestroyed(android.view.SurfaceHolder); } public class RSTextureView extends android.view.TextureView implements android.view.TextureView.SurfaceTextureListener { diff --git a/opengl/java/android/opengl/ManagedEGLContext.java b/opengl/java/android/opengl/ManagedEGLContext.java index 1eafbca183d7..61fa565a049c 100644 --- a/opengl/java/android/opengl/ManagedEGLContext.java +++ b/opengl/java/android/opengl/ManagedEGLContext.java @@ -43,6 +43,8 @@ import com.google.android.gles_jni.EGLImpl; * of the currently created EGL contexts in the process are being managed * through this class, then they will all be asked to terminate through the * call to {@link #onTerminate}. + * + * @hide */ public abstract class ManagedEGLContext { static final String TAG = "ManagedEGLContext"; |