pub unsafe extern "C" fn OH_NativeWindow_GetLastFlushedBuffer(
window: *mut OHNativeWindow,
buffer: *mut *mut OHNativeWindowBuffer,
fenceFd: *mut c_int,
matrix: *mut f32,
) -> i32Expand description
@brief Get the last flushed OHNativeWindowBuffer from a OHNativeWindow instance.
@syscap SystemCapability.Graphic.Graphic2D.NativeWindow @param window Indicates the pointer to a OHNativeWindow instance. @param buffer Indicates the pointer to a OHNativeWindowBuffer pointer. @param fenceFd Indicates the pointer to a file descriptor handle. @param matrix Indicates the retrieved 4*4 transform matrix. @return Returns an error code, 0 is success, otherwise, failed. @since 11 @version 1.0 @deprecated since 12 @useinstead OH_NativeWindow_GetLastFlushedBufferV2