Function gpu_display::gpu_display_android::create_android_surface
source · unsafe extern "C" fn create_android_surface(
ctx: *mut AndroidDisplayContext,
width: u32,
height: u32,
for_cursor: bool
) -> *mut AndroidDisplaySurface
Expand 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.