This commit is contained in:
Benoit Girard 2012-02-03 10:26:54 -05:00
Родитель 08a46d3640
Коммит 196b19d9ea
1 изменённых файлов: 0 добавлений и 28 удалений

Просмотреть файл

@ -180,34 +180,6 @@ public class FlexibleGLSurfaceView extends SurfaceView implements SurfaceHolder.
Log.e(LOGTAG, "### Exception! " + e);
return null;
}
/*
synchronized (FlexibleGLSurfaceView.class) {
// Wait for the layer controller if by some miracle
// gecko beats the java thread here.
while (mLayerController == null) {
try {
OGLSurfaceView.class.wait();
} catch (InterruptedException e) {}
}
final LayerController controller = mLayerController;
GeckoApp.mAppContext.runOnUiThread(new Runnable() {
public void run() {
synchronized (OGLSurfaceView.class) {
OGLSurfaceView surfaceView =
new OGLSurfaceView(controller.getContext(), controller);
OGLSurfaceView.class.notifyAll();
}
}
});
// Wait for the compositor to be setup on the
// Java UI thread.
try {
OGLSurfaceView.class.wait();
} catch (InterruptedException e) {}
}
*/
}
public static class FlexibleGLSurfaceViewException extends RuntimeException {