Adding egl api support.