unsafe fn create_egl_display(display: *mut Display) -> *const c_void