unsafe extern "C" fn create_android_surface(
ctx: *mut AndroidDisplayContext,
width: u32,
height: u32,
for_cursor: bool,
) -> *mut AndroidDisplaySurfaceExpand description
Creates an Android Surface (which is also called as Window) of given size. If the surface can’t be created for whatever reason, null pointer is returned, in which case we shouldn’t proceed further.