// ===========================================================
        // Methods
        // ===========================================================

        private int findConfigAttrib(EGL10 pEGL, EGLDisplay pEGLDisplay, EGLConfig pEGLConfig, int pAttribute, int pDefaultValue)
        {
            if (pEGL.EglGetConfigAttrib(pEGLDisplay, pEGLConfig, pAttribute, this.mValue))
            {
                return(this.mValue[0]);
            }
            return(pDefaultValue);
        }
        // ===========================================================
        // Methods
        // ===========================================================

        private int findConfigAttrib(EGL10 pEGL, EGLDisplay pEGLDisplay, EGLConfig pEGLConfig, int pAttribute, int pDefaultValue)
        {
            if (pEGL.EglGetConfigAttrib(pEGLDisplay, pEGLConfig, pAttribute, this.mValue))
            {
                return this.mValue[0];
            }
            return pDefaultValue;
        }