new folk from slimroms/frameworks/native and re-added old cm eglApi.cpp