Closed #2417: Reconstruction of EGLView

Reconstruction of EGLView
Please don't merge
this branch will follow the main branch to update
Frame means the outer container of the game, its size equals to viewport size. We should name it as gameWidthPts / gameHeightPts