[BZ395] Wrap additionnal glFunction
[BZ395] Function only applicable for TEXTURE2D. Add some debug.
[US100] fix eglTerminate
[US100][RC628] Add comments - remove debug