public GlContext GetGlContext()
        {
            var glContextPtr = SafeNativeMethods.mp_GlCalculatorHelper__GetGlContext(mpPtr);

            GC.KeepAlive(this);
            return(new GlContext(glContextPtr, false));
        }