接口废弃 Signed-off-by: m00472246 <majingtao1@huawei.com>

Signed-off-by: m00472246 <majingtao1@huawei.com>
This commit is contained in:
m00472246 2024-06-29 09:58:33 +08:00
parent 4a2810b870
commit 302c3a4042
2 changed files with 5 additions and 2 deletions

View File

@ -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 <b>OH_NativeImage</b> 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]);

View File

@ -391,6 +391,7 @@ typedef enum {
* @return Returns the pointer to the <b>OHNativeWindow</b> 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 <b>OHNativeWindowBuffer</b> 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]);