From 0395709a71e2de84bb7f16d3b434b493c2f65485 Mon Sep 17 00:00:00 2001 From: huyx Date: Wed, 30 Jul 2025 15:26:52 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E6=B3=A8=E9=87=8A?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: huyx --- display/buffer/v1_3/IMapper.idl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/display/buffer/v1_3/IMapper.idl b/display/buffer/v1_3/IMapper.idl index 70bea65d..7fb2cec2 100644 --- a/display/buffer/v1_3/IMapper.idl +++ b/display/buffer/v1_3/IMapper.idl @@ -32,15 +32,15 @@ interface IMapper extends ohos.hdi.display.buffer.v1_2.IMapper { */ AllocMem([in] struct AllocInfo info, [out] NativeBuffer handle); /** - * @brief get iamge position + * @brief the function to alloc memory * - * @param handle The input buffer handle - * @param layout the iamge position data + * @param info describs the buffer to be alloced + * @param handle the allocated buffer handle * * @return Returns 0 if the operation is successful; returns an error code defined * in {@link DispErrCode} otherwise. * @since 6.0 - * @version 1.3 + * @version 1.0 */ ReAllocMem([in] struct AllocInfo info, [in] NativeBuffer inHandle, [out] NativeBuffer outHandle); IsSupportAllocPassthrough([in] struct AllocInfo info); -- Gitee From c9a8b7a4187285dde055bbcefcb1c47ed6db4b6f Mon Sep 17 00:00:00 2001 From: huyx Date: Wed, 30 Jul 2025 15:30:15 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: huyx --- display/buffer/v1_3/IMapper.idl | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/display/buffer/v1_3/IMapper.idl b/display/buffer/v1_3/IMapper.idl index 7fb2cec2..1a12ccec 100644 --- a/display/buffer/v1_3/IMapper.idl +++ b/display/buffer/v1_3/IMapper.idl @@ -43,5 +43,16 @@ interface IMapper extends ohos.hdi.display.buffer.v1_2.IMapper { * @version 1.0 */ ReAllocMem([in] struct AllocInfo info, [in] NativeBuffer inHandle, [out] NativeBuffer outHandle); + /** + * @brief the function to passthrough + * + * @param info describs the buffer to be alloced + * @param handle the allocated buffer handle + * + * @return Returns 0 if the operation is successful; returns an error code defined + * in {@link DispErrCode} otherwise. + * @since 6.0 + * @version 1.3 + */ IsSupportAllocPassthrough([in] struct AllocInfo info); } -- Gitee From f19917e9f08089b0dfce56f37d572d47810fe0df Mon Sep 17 00:00:00 2001 From: huyx Date: Thu, 31 Jul 2025 09:59:13 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: huyx --- display/buffer/v1_3/IMapper.idl | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/display/buffer/v1_3/IMapper.idl b/display/buffer/v1_3/IMapper.idl index 1a12ccec..5501cef2 100644 --- a/display/buffer/v1_3/IMapper.idl +++ b/display/buffer/v1_3/IMapper.idl @@ -44,15 +44,14 @@ interface IMapper extends ohos.hdi.display.buffer.v1_2.IMapper { */ ReAllocMem([in] struct AllocInfo info, [in] NativeBuffer inHandle, [out] NativeBuffer outHandle); /** - * @brief the function to passthrough + * @brief the function to passthrough. do not use ipc * - * @param info describs the buffer to be alloced - * @param handle the allocated buffer handle + * @param info describs the buffer to be passthrough * * @return Returns 0 if the operation is successful; returns an error code defined * in {@link DispErrCode} otherwise. * @since 6.0 - * @version 1.3 + * @version 1.0 */ IsSupportAllocPassthrough([in] struct AllocInfo info); } -- Gitee From 7bd7fbcb59df842c8b925e91e9c257631a13d52b Mon Sep 17 00:00:00 2001 From: huyx Date: Thu, 31 Jul 2025 10:40:17 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: huyx --- display/buffer/v1_3/IMapper.idl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/display/buffer/v1_3/IMapper.idl b/display/buffer/v1_3/IMapper.idl index 5501cef2..74a27138 100644 --- a/display/buffer/v1_3/IMapper.idl +++ b/display/buffer/v1_3/IMapper.idl @@ -44,7 +44,7 @@ interface IMapper extends ohos.hdi.display.buffer.v1_2.IMapper { */ ReAllocMem([in] struct AllocInfo info, [in] NativeBuffer inHandle, [out] NativeBuffer outHandle); /** - * @brief the function to passthrough. do not use ipc + * @brief the function to passthrough, do not use ipc * * @param info describs the buffer to be passthrough * -- Gitee