am c26e4d18: am 8cd39e3a: Merge "Notify views when EGL resources are about to be destroyed Bug #5639899" into ics-mr1

* commit 'c26e4d18a20ab0b3e769fb3e547994f1c27d6713':
  Notify views when EGL resources are about to be destroyed Bug #5639899
This commit is contained in:
Romain Guy
2011-11-21 21:08:42 -08:00
committed by Android Git Automerger
6 changed files with 92 additions and 27 deletions

View File

@@ -47,8 +47,7 @@ import com.google.android.gles_jni.EGLImpl;
public abstract class ManagedEGLContext {
static final String TAG = "ManagedEGLContext";
static final ArrayList<ManagedEGLContext> sActive
= new ArrayList<ManagedEGLContext>();
static final ArrayList<ManagedEGLContext> sActive = new ArrayList<ManagedEGLContext>();
final EGLContext mContext;
@@ -127,7 +126,7 @@ public abstract class ManagedEGLContext {
sActive.clear();
}
for (int i=0; i<active.size(); i++) {
for (int i = 0; i < active.size(); i++) {
active.get(i).execTerminate();
}