!1494 对native_image sdk注释补充说明

Merge pull request !1494 from 马靖涛/20240926_1
This commit is contained in:
openharmony_ci 2024-09-26 11:10:00 +00:00 committed by Gitee
commit 3072f61ee5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -287,7 +287,11 @@ int32_t OH_NativeImage_ReleaseNativeWindowBuffer(OH_NativeImage* image,
/**
* @brief Create a <b>OH_NativeImage</b> as a consumerSurface. \n
* This interface is only used for memory rotation on the surface consumer,
* the <b>OH_NativeImage</b> will not actively perform memory rendering processing.\n
* This method can not be used at the same time with <b>OH_NativeImage_UpdateSurfaceImage</b>.\n
* This interface is used in conjunction with <b>OH_NativeImage_AcquireNativeWindowBuffer<\b> and
* <b>OH_NativeImage_ReleaseNativeWindowBuffer<\b>.\n
* This interface needs to be used in conjunction with <b>OH_NativeImage_Destroy<\b>,
* otherwise memory leaks will occur.\n
* This interface is a non-thread-safe type interface.\n