d3dvideosink: respect PAR in navigation coordinates
eglglessink: refactor egl function to a separate file

This is part of the changes required to make
eglglessink work with both EGL and Apple's EAGL
eglglessink: split egl implementation for EAGL x EGL differences
eagl: add ios window system option for eglgles
eglglessink: removing egl parts for common code
egladaptation: remove the egl display/window variables from main code

Keep it separated for egl/eagl as those use different data types for
displays/windows
eglglessink: moving more egl specific code to egl adaptation

Remove more egl specific code, so that the eagl can build the
common code
egladaptation: add missing gl include for ios
egladaptation: remove EGL_DISPLAY_SCALING from common code

This constant is EGL specific and is not present on EAGL
eglglessink: do not use EGL specific constants in common code

Common code shouldn't use EGL or EAGL specific code
eglglessink: remove more egl specific code

Remove platform wrapper code that should only be used for EGL, and
not for EAGL
egladaptation: removing unused struct
egladaptation: removing egl specific error handling

Move egl specific error handling to egl code
eagl: adds missing includes
eglglessink: use the same flags for Obj-C as we use for C
eglglessink: eagl: do not typedef the same struct twice
eglglessink: eagl: adding missing return to functions
eglglessink: eagl: fixing ios build issues
eglglessink: eagl: add missing functions for window set/get

Adds functions to allow eglglessink to set and get the window
for eagl backend
eglglessink: eagl: more build fixes