Function android_display_flip_to_imported

Source
unsafe extern "C" fn android_display_flip_to_imported(
    ctx: *mut AndroidDisplayContext,
    surface: *mut AndroidDisplaySurface,
    ahb: *mut AHardwareBuffer,
)
Expand description

Presents a buffer returned by android_display_import_buffer on the given surface. Presenting the same buffer object for the same guest resource lets the Android display stack reuse its per-buffer caches instead of re-importing the buffer on every flip.