接口废弃增加替代接口说明 Signed-off-by: m00472246 <majingtao1@huawei.com>

Signed-off-by: m00472246 <majingtao1@huawei.com>
This commit is contained in:
m00472246 2024-07-03 11:09:17 +08:00
parent 302c3a4042
commit d171a970cf
2 changed files with 3 additions and 0 deletions

View File

@ -152,6 +152,7 @@ int64_t OH_NativeImage_GetTimestamp(OH_NativeImage* image);
* @since 9
* @version 1.0
* @deprecated since 12
* @useinstead OH_NativeImage_GetTransformMatrixV2
*/
int32_t OH_NativeImage_GetTransformMatrix(OH_NativeImage* image, float matrix[16]);

View File

@ -414,6 +414,7 @@ void OH_NativeWindow_DestroyNativeWindow(OHNativeWindow* window);
* @since 8
* @version 1.0
* @deprecated since 12
* @useinstead OH_NativeWindow_CreateNativeWindowBufferFromNativeBuffer
*/
OHNativeWindowBuffer* OH_NativeWindow_CreateNativeWindowBufferFromSurfaceBuffer(void* pSurfaceBuffer);
@ -480,6 +481,7 @@ int32_t OH_NativeWindow_NativeWindowFlushBuffer(OHNativeWindow *window, OHNative
* @since 11
* @version 1.0
* @deprecated since 12
* @useinstead OH_NativeWindow_GetLastFlushedBufferV2
*/
int32_t OH_NativeWindow_GetLastFlushedBuffer(OHNativeWindow *window, OHNativeWindowBuffer **buffer,
int *fenceFd, float matrix[16]);