mirror of
https://gitee.com/openharmony/interface_sdk_c
synced 2025-02-17 15:28:10 +00:00
接口废弃 Signed-off-by: m00472246 <majingtao1@huawei.com>
Signed-off-by: m00472246 <majingtao1@huawei.com>
This commit is contained in:
parent
4a2810b870
commit
302c3a4042
@ -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]);
|
||||
|
||||
|
@ -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]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user