Refactor to separate out EGL part.

Change-Id: I90c37b9e221a80f0d35e6e12ab8850078dc03622
4 files changed