FileDocCategorySizeDatePackage
EGLContextImpl.javaAPI DocAndroid 5.1 API1607Thu Mar 12 22:22:40 GMT 2015com.google.android.gles_jni

EGLContextImpl

public class EGLContextImpl extends EGLContext

Fields Summary
private GLImpl
mGLContext
long
mEGLContext
Constructors Summary
public EGLContextImpl(long ctx)

        mEGLContext = ctx;
        mGLContext = new GLImpl();
    
Methods Summary
public booleanequals(java.lang.Object o)

        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        EGLContextImpl that = (EGLContextImpl) o;

        return mEGLContext == that.mEGLContext;
    
public javax.microedition.khronos.opengles.GLgetGL()

        return mGLContext;
    
public inthashCode()

        /*
         * Based on the algorithm suggested in
         * http://developer.android.com/reference/java/lang/Object.html
         */
        int result = 17;
        result = 31 * result + (int) (mEGLContext ^ (mEGLContext >>> 32));
        return result;