Java Code Examples for android.opengl.EGLSurface#equals()

The following examples show how to use android.opengl.EGLSurface#equals() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: EglCore.java    From Fatigue-Detection with MIT License 4 votes vote down vote up
/**
 * Returns true if our context and the specified surface are current.
 */
public boolean isCurrent(EGLSurface eglSurface) {
    return mEGLContext.equals(EGL14.eglGetCurrentContext()) &&
        eglSurface.equals(EGL14.eglGetCurrentSurface(EGL14.EGL_DRAW));
}
 
Example 2
Source File: EglCore.java    From grafika with Apache License 2.0 4 votes vote down vote up
/**
 * Returns true if our context and the specified surface are current.
 */
public boolean isCurrent(EGLSurface eglSurface) {
    return mEGLContext.equals(EGL14.eglGetCurrentContext()) &&
        eglSurface.equals(EGL14.eglGetCurrentSurface(EGL14.EGL_DRAW));
}
 
Example 3
Source File: EglCore.java    From kickflip-android-sdk with Apache License 2.0 4 votes vote down vote up
/**
 * Returns true if our context and the specified surface are current.
 */
public boolean isCurrent(EGLSurface eglSurface) {
    return mEGLContext.equals(EGL14.eglGetCurrentContext()) &&
            eglSurface.equals(EGL14.eglGetCurrentSurface(EGL14.EGL_DRAW));
}
 
Example 4
Source File: EglCore.java    From cineio-broadcast-android with MIT License 4 votes vote down vote up
/**
 * Returns true if our context and the specified surface are current.
 */
public boolean isCurrent(EGLSurface eglSurface) {
    return mEGLContext.equals(EGL14.eglGetCurrentContext()) &&
            eglSurface.equals(EGL14.eglGetCurrentSurface(EGL14.EGL_DRAW));
}
 
Example 5
Source File: EglCore.java    From AndroidPlayground with MIT License 4 votes vote down vote up
/**
 * Returns true if our context and the specified surface are current.
 */
public boolean isCurrent(EGLSurface eglSurface) {
    return mEGLContext.equals(EGL14.eglGetCurrentContext()) &&
        eglSurface.equals(EGL14.eglGetCurrentSurface(EGL14.EGL_DRAW));
}
 
Example 6
Source File: EglCore.java    From pause-resume-video-recording with Apache License 2.0 4 votes vote down vote up
/**
 * Returns true if our context and the specified surface are current.
 */
public boolean isCurrent(EGLSurface eglSurface) {
    return mEGLContext.equals(EGL14.eglGetCurrentContext()) &&
        eglSurface.equals(EGL14.eglGetCurrentSurface(EGL14.EGL_DRAW));
}
 
Example 7
Source File: EglCore.java    From MockCamera with Apache License 2.0 4 votes vote down vote up
/**
 * Returns true if our context and the specified surface are current.
 */
public boolean isCurrent(EGLSurface eglSurface) {
    return eGLContext.equals(EGL14.eglGetCurrentContext()) &&
            eglSurface.equals(EGL14.eglGetCurrentSurface(EGL14.EGL_DRAW));
}
 
Example 8
Source File: EglCore.java    From IjkVRPlayer with Apache License 2.0 4 votes vote down vote up
/**
 * Returns true if our context and the specified surface are current.
 */
public boolean isCurrent(EGLSurface eglSurface) {
    return mEGLContext.equals(EGL14.eglGetCurrentContext()) &&
        eglSurface.equals(EGL14.eglGetCurrentSurface(EGL14.EGL_DRAW));
}
 
Example 9
Source File: EglCore.java    From LiveVideoBroadcaster with Apache License 2.0 4 votes vote down vote up
/**
 * Returns true if our activity and the specified surface are current.
 */
public boolean isCurrent(EGLSurface eglSurface) {
    return mEGLContext.equals(EGL14.eglGetCurrentContext()) &&
        eglSurface.equals(EGL14.eglGetCurrentSurface(EGL14.EGL_DRAW));
}
 
Example 10
Source File: EglCore.java    From FuAgoraDemoDroid with MIT License 4 votes vote down vote up
/**
 * Returns true if our context and the specified surface are current.
 */
public boolean isCurrent(EGLSurface eglSurface) {
    return mEGLContext.equals(EGL14.eglGetCurrentContext()) &&
            eglSurface.equals(EGL14.eglGetCurrentSurface(EGL14.EGL_DRAW));
}
 
Example 11
Source File: EglCore.java    From VIA-AI with MIT License 4 votes vote down vote up
/**
 * Returns true if our context and the specified surface are current.
 */
public boolean isCurrent(EGLSurface eglSurface) {
    return mEGLContext.equals(EGL14.eglGetCurrentContext()) &&
            eglSurface.equals(EGL14.eglGetCurrentSurface(EGL14.EGL_DRAW));
}
 
Example 12
Source File: EglCore.java    From PLDroidShortVideo with Apache License 2.0 4 votes vote down vote up
/**
 * Returns true if our context and the specified surface are current.
 */
public boolean isCurrent(EGLSurface eglSurface) {
    return mEGLContext.equals(EGL14.eglGetCurrentContext()) &&
            eglSurface.equals(EGL14.eglGetCurrentSurface(EGL14.EGL_DRAW));
}
 
Example 13
Source File: EglCore.java    From sealrtc-android with MIT License 4 votes vote down vote up
/** Returns true if our context and the specified surface are current. */
public boolean isCurrent(EGLSurface eglSurface) {
    return mEGLContext.equals(EGL14.eglGetCurrentContext())
            && eglSurface.equals(EGL14.eglGetCurrentSurface(EGL14.EGL_DRAW));
}
 
Example 14
Source File: EglCore.java    From VideoRecorder with Apache License 2.0 4 votes vote down vote up
/**
 * Returns true if our context and the specified surface are current.
 */
public boolean isCurrent(EGLSurface eglSurface) {
    return mEGLContext.equals(EGL14.eglGetCurrentContext()) &&
        eglSurface.equals(EGL14.eglGetCurrentSurface(EGL14.EGL_DRAW));
}
 
Example 15
Source File: EglCore.java    From TikTok with Apache License 2.0 4 votes vote down vote up
/**
 * Returns true if our context and the specified surface are current.
 */
public boolean isCurrent(EGLSurface eglSurface) {
    return mEGLContext.equals(EGL14.eglGetCurrentContext()) &&
        eglSurface.equals(EGL14.eglGetCurrentSurface(EGL14.EGL_DRAW));
}
 
Example 16
Source File: EglCore.java    From PhotoMovie with Apache License 2.0 4 votes vote down vote up
/**
 * Returns true if our context and the specified surface are current.
 */
public boolean isCurrent(EGLSurface eglSurface) {
    return mEGLContext.equals(EGL14.eglGetCurrentContext()) &&
        eglSurface.equals(EGL14.eglGetCurrentSurface(EGL14.EGL_DRAW));
}
 
Example 17
Source File: EglCore.java    From RtmpPublisher with Apache License 2.0 4 votes vote down vote up
/**
 * Returns true if our context and the specified surface are current.
 */
public boolean isCurrent(EGLSurface eglSurface) {
    return mEGLContext.equals(EGL14.eglGetCurrentContext()) &&
        eglSurface.equals(EGL14.eglGetCurrentSurface(EGL14.EGL_DRAW));
}
 
Example 18
Source File: EglCore.java    From mobile-ar-sensor-logger with GNU General Public License v3.0 4 votes vote down vote up
/**
 * Returns true if our context and the specified surface are current.
 */
public boolean isCurrent(EGLSurface eglSurface) {
    return mEGLContext.equals(EGL14.eglGetCurrentContext()) &&
        eglSurface.equals(EGL14.eglGetCurrentSurface(EGL14.EGL_DRAW));
}
 
Example 19
Source File: EglCore.java    From Lassi-Android with MIT License 4 votes vote down vote up
/**
 * Returns true if our context and the specified surface are current.
 */
public boolean isCurrent(EGLSurface eglSurface) {
    return mEGLContext.equals(EGL14.eglGetCurrentContext()) &&
            eglSurface.equals(EGL14.eglGetCurrentSurface(EGL14.EGL_DRAW));
}