Add GLES2 extension API bindings and some fixes.