not sure if it is a bug or is there a configuration to flip it.
1. created MTLTexture with [MTLDevice newTextureWithDescriptor:]
2. under a surfaceless context get the EGLImage via eglCreateImageKHR
3. get the GL texture by glEGLImageTargetTexture2DOES
4. create a frame buffer backed by the texture
5. make draw calls
6. glFinish
7. render the MTLTexture in Metal
the resulting image is flipped. The black box is the metal texture that I render onto where I drew a upward triangle with ANGLE.
the frame buffer is only flipped with a window surface