mEGLSurface = 0; mNativePixelRef = 0;
mEGLSurface = surface; mNativePixelRef = 0;
if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; EGLSurfaceImpl that = (EGLSurfaceImpl) o; return mEGLSurface == that.mEGLSurface;
/* * 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;