mirror of
https://gitee.com/openharmony/interface_sdk_c
synced 2024-11-27 00:41:01 +00:00
!1494 对native_image sdk注释补充说明
Merge pull request !1494 from 马靖涛/20240926_1
This commit is contained in:
commit
3072f61ee5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user