Additional parameter validation for EGL functions

Change-Id: I841d005647559799edbc2c4824c61ea5791cf893
Merge "Additional parameter validation for EGL functions"
Merge branch 'master' of https://android.googlesource.com/platform/frameworks/native