EGL: add color space validation am: 15f79786e1
am: e175679b61

Change-Id: I447740c95434f84979a5d42faafd8f030e39789a