diff --git a/graphic/graphic_2d/native_image/native_image.h b/graphic/graphic_2d/native_image/native_image.h
index 77577ff3f6d342e5cee89f6568192dff2a487b08..cff0a7c8653931d6c14fb8d17f59d2c70b123bda 100644
--- a/graphic/graphic_2d/native_image/native_image.h
+++ b/graphic/graphic_2d/native_image/native_image.h
@@ -84,8 +84,7 @@ typedef struct OH_OnFrameAvailableListener {
OH_NativeImage* OH_NativeImage_Create(uint32_t textureId, uint32_t textureTarget);
/**
- * @brief Acquire the OHNativeWindow for the OH_NativeImage. This OHNativeWindow should be released by \n
- * OH_NativeWindow_DestroyNativeWindow when no longer needed.
+ * @brief Acquire the OHNativeWindow for the OH_NativeImage.
*
* @syscap SystemCapability.Graphic.Graphic2D.NativeImage
* @param image Indicates the pointer to a OH_NativeImage instance.
@@ -152,6 +151,7 @@ int64_t OH_NativeImage_GetTimestamp(OH_NativeImage* image);
* @return Returns an error code, 0 is success, otherwise, failed.
* @since 9
* @version 1.0
+ * @deprecated since 12
*/
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 46ad93b58515f38f6df1f13fcd5cea0cb172db53..1bb1c36fd1fdbfec644626fabb894f8b6fc0acf5 100644
--- a/graphic/graphic_2d/native_window/external_window.h
+++ b/graphic/graphic_2d/native_window/external_window.h
@@ -391,6 +391,7 @@ typedef enum {
* @return Returns the pointer to the OHNativeWindow instance created.
* @since 8
* @version 1.0
+ * @deprecated since 12
*/
OHNativeWindow* OH_NativeWindow_CreateNativeWindow(void* pSurface);
@@ -412,6 +413,7 @@ void OH_NativeWindow_DestroyNativeWindow(OHNativeWindow* window);
* @return Returns the pointer to the OHNativeWindowBuffer instance created.
* @since 8
* @version 1.0
+ * @deprecated since 12
*/
OHNativeWindowBuffer* OH_NativeWindow_CreateNativeWindowBufferFromSurfaceBuffer(void* pSurfaceBuffer);
@@ -477,6 +479,7 @@ int32_t OH_NativeWindow_NativeWindowFlushBuffer(OHNativeWindow *window, OHNative
* @return Returns an error code, 0 is success, otherwise, failed.
* @since 11
* @version 1.0
+ * @deprecated since 12
*/
int32_t OH_NativeWindow_GetLastFlushedBuffer(OHNativeWindow *window, OHNativeWindowBuffer **buffer,
int *fenceFd, float matrix[16]);