From 61e4047dc7cf0c0418fd0cbe0f560d77f8394b12 Mon Sep 17 00:00:00 2001 From: lihui Date: Tue, 17 Dec 2024 12:02:23 +0800 Subject: [PATCH] vsyc get period interface describe fix Signed-off-by: lihui --- graphic/graphic_2d/native_vsync/native_vsync.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/graphic/graphic_2d/native_vsync/native_vsync.h b/graphic/graphic_2d/native_vsync/native_vsync.h index 7c2f123d6..38d77dab5 100644 --- a/graphic/graphic_2d/native_vsync/native_vsync.h +++ b/graphic/graphic_2d/native_vsync/native_vsync.h @@ -118,6 +118,8 @@ int OH_NativeVSync_RequestFrameWithMultiCallback( /** * @brief Get vsync period. + * This interface uses a prerequisite that the OH_NativeVSync object in the input parameter + * has called OH_NativeVSync_RequestFrame() and received a signal callback. * * @syscap SystemCapability.Graphic.Graphic2D.NativeVsync * @param nativeVsync Indicates the pointer to a NativeVsync. -- Gitee