Closed #2417: Reconstruction of EGLView

Reconstruction of EGLView
Please don't merge
this branch will follow the main branch to update
Instead of extend from the normal getter, can we use a polyfill function to extend the original getter, so that different polyfills can be merged together.