type WlEglWindowResizeFun = unsafe extern "system" fn(window: *const c_void, width: c_int, height: c_int, dx: c_int, dy: c_int);