From 2fb9e99e16410d320c4c9415063befe027a3dac0 Mon Sep 17 00:00:00 2001 From: m00472246 Date: Thu, 26 Sep 2024 16:27:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9native=5Fimage=20=20sdk=E6=B3=A8?= =?UTF-8?q?=E9=87=8A=E8=A1=A5=E5=85=85=E8=AF=B4=E6=98=8E=20Signed-off-by:?= =?UTF-8?q?=20m00472246=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: m00472246 --- graphic/graphic_2d/native_image/native_image.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/graphic/graphic_2d/native_image/native_image.h b/graphic/graphic_2d/native_image/native_image.h index cc8653a64..25d335441 100644 --- a/graphic/graphic_2d/native_image/native_image.h +++ b/graphic/graphic_2d/native_image/native_image.h @@ -287,7 +287,11 @@ int32_t OH_NativeImage_ReleaseNativeWindowBuffer(OH_NativeImage* image, /** * @brief Create a OH_NativeImage as a consumerSurface. \n + * This interface is only used for memory rotation on the surface consumer, + * the OH_NativeImage will not actively perform memory rendering processing.\n * This method can not be used at the same time with OH_NativeImage_UpdateSurfaceImage.\n + * This interface is used in conjunction with OH_NativeImage_AcquireNativeWindowBuffer<\b> and + * OH_NativeImage_ReleaseNativeWindowBuffer<\b>.\n * This interface needs to be used in conjunction with OH_NativeImage_Destroy<\b>, * otherwise memory leaks will occur.\n * This interface is a non-thread-safe type interface.\n