After calling eglMakeCurrent(m_display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT), the functions eglGetCurrentDisplay() returns EGL_NO_DISPLAY. Is this the correct behavior?
When using ANGLE eglGetCurrentDisplay returns m_display. This seems correct.
This is not a bug in our driver but mandated by the EGL specification.
See 3.7.4 Context Queries:
If there is no current context for the current rendering API, EGL_NO_DISPLAY is returned (this is not an error).
By calling eglMakeCurrent with EGL_NO_CONTEXT as last parameter you are leaving the current thread without a current context.