Backed out changeset 0f8439284834

The bug number was wrong.
This commit is contained in:
Jeff Muizelaar
2012-04-05 11:27:02 -04:00
parent 966117f7f3
commit 098c50caf5
10 changed files with 201 additions and 105 deletions

View File

@@ -53,7 +53,7 @@ public class GLController {
private static final int EGL_CONTEXT_CLIENT_VERSION = 0x3098;
private static final String LOGTAG = "GeckoGLController";
private LayerView mView;
private FlexibleGLSurfaceView mView;
private int mGLVersion;
private boolean mSurfaceValid;
private int mWidth, mHeight;
@@ -77,7 +77,7 @@ public class GLController {
EGL10.EGL_NONE
};
public GLController(LayerView view) {
public GLController(FlexibleGLSurfaceView view) {
mView = view;
mGLVersion = 2;
mSurfaceValid = false;
@@ -92,7 +92,7 @@ public class GLController {
public EGLConfig getEGLConfig() { return mEGLConfig; }
public EGLContext getEGLContext() { return mEGLContext; }
public EGLSurface getEGLSurface() { return mEGLSurface; }
public LayerView getView() { return mView; }
public FlexibleGLSurfaceView getView() { return mView; }
public boolean hasSurface() {
return mEGLSurface != null;