wrote WindowImplWinRT::TransformToOrientation based on CCEGLView