From d171a970cf335b9f3e3b446f5e83f8841a7a365b Mon Sep 17 00:00:00 2001 From: m00472246 Date: Wed, 3 Jul 2024 11:09:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=BA=9F=E5=BC=83=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=9B=BF=E4=BB=A3=E6=8E=A5=E5=8F=A3=E8=AF=B4=E6=98=8E?= =?UTF-8?q?=20Signed-off-by:=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 | 1 + graphic/graphic_2d/native_window/external_window.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/graphic/graphic_2d/native_image/native_image.h b/graphic/graphic_2d/native_image/native_image.h index cff0a7c86..0f6fd61ea 100644 --- a/graphic/graphic_2d/native_image/native_image.h +++ b/graphic/graphic_2d/native_image/native_image.h @@ -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]); diff --git a/graphic/graphic_2d/native_window/external_window.h b/graphic/graphic_2d/native_window/external_window.h index 1bb1c36fd..323ebc96e 100644 --- a/graphic/graphic_2d/native_window/external_window.h +++ b/graphic/graphic_2d/native_window/external_window.h @@ -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]);