Closed #2417: Reconstruction of EGLView

Reconstruction of EGLView
Please don't merge
this branch will follow the main branch to update
API inconsistence, adjustViewPort accept boolean value as parameter