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

EGLSurfaceImpl

public class EGLSurfaceImpl extends EGLSurface

Fields Summary
long
mEGLSurface
private long
mNativePixelRef
Constructors Summary
public EGLSurfaceImpl()

        mEGLSurface = 0;
        mNativePixelRef = 0;
    
public EGLSurfaceImpl(long surface)

        mEGLSurface = surface;
        mNativePixelRef = 0;
    
Methods Summary
public booleanequals(java.lang.Object o)

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

        EGLSurfaceImpl that = (EGLSurfaceImpl) o;

        return mEGLSurface == that.mEGLSurface;

    
public inthashCode()

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