OSDN Git Service

Hide ManagedEGLContext until we are sure this is the correct API.
authorRomain Guy <romainguy@google.com>
Tue, 22 Nov 2011 02:24:23 +0000 (18:24 -0800)
committerRomain Guy <romainguy@google.com>
Tue, 22 Nov 2011 02:27:21 +0000 (18:27 -0800)
Change-Id: If54942d342ca8ea348e10231b2aed3e5d3bd701b

api/current.txt
opengl/java/android/opengl/ManagedEGLContext.java

index b302cf3..23b441b 100644 (file)
@@ -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 {
index 1eafbca..61fa565 100644 (file)
@@ -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";