summaryrefslogtreecommitdiff
path: root/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/FlexibleGLSurfaceView.java
diff options
context:
space:
mode:
Diffstat (limited to 'android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/FlexibleGLSurfaceView.java')
-rw-r--r--android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/FlexibleGLSurfaceView.java24
1 files changed, 1 insertions, 23 deletions
diff --git a/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/FlexibleGLSurfaceView.java b/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/FlexibleGLSurfaceView.java
index dc20077b0457..0f47524704e3 100644
--- a/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/FlexibleGLSurfaceView.java
+++ b/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/FlexibleGLSurfaceView.java
@@ -46,8 +46,6 @@ import android.util.Log;
import android.view.SurfaceHolder;
import android.view.SurfaceView;
-import org.libreoffice.LibreOfficeMainActivity;
-
public class FlexibleGLSurfaceView extends SurfaceView implements SurfaceHolder.Callback {
private static final String LOGTAG = "GeckoFlexibleGLSurfaceView";
@@ -151,8 +149,7 @@ public class FlexibleGLSurfaceView extends SurfaceView implements SurfaceHolder.
return mController;
}
- public synchronized void surfaceChanged(SurfaceHolder holder, int format, int width,
- int height) {
+ public synchronized void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
mController.sizeChanged(width, height);
if (mGLThread != null) {
mGLThread.surfaceChanged(width, height);
@@ -181,25 +178,6 @@ public class FlexibleGLSurfaceView extends SurfaceView implements SurfaceHolder.
}
}
- // Called from the compositor thread
- public static GLController registerCxxCompositor() {
- try {
- Log.e(LOGTAG, "### registerCxxCompositor point A");
- System.out.println("register layer comp");
- Log.e(LOGTAG, "### registerCxxCompositor point B");
- FlexibleGLSurfaceView flexView = (FlexibleGLSurfaceView) /*GeckoApp*/LibreOfficeMainActivity.mAppContext.getLayerController().getView();
- Log.e(LOGTAG, "### registerCxxCompositor point C: " + flexView);
- try {
- flexView.destroyGLThread().join();
- } catch (InterruptedException e) {}
- Log.e(LOGTAG, "### registerCxxCompositor point D: " + flexView.getGLController());
- return flexView.getGLController();
- } catch (Exception e) {
- Log.e(LOGTAG, "### Exception! " + e);
- return null;
- }
- }
-
public interface Listener {
void renderRequested();
void compositionPauseRequested();