From 81ceb61328cad990bd6cdcb2992ed5836d4f2939 Mon Sep 17 00:00:00 2001 From: Jeongmo Yang Date: Tue, 22 Dec 2020 15:38:19 +0900 Subject: [PATCH] Add comments for evas rendering function [Version] 0.0.11 [Issue Type] Comment update Change-Id: I3243b301378b37791ca0552daa1a204b6f5d1bf4 Signed-off-by: Jeongmo Yang --- packaging/libmm-display.spec | 2 +- src/include/mm_display.h | 3 ++- src/include/mm_display_interface.h | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/packaging/libmm-display.spec b/packaging/libmm-display.spec index 341d742..b3c1468 100644 --- a/packaging/libmm-display.spec +++ b/packaging/libmm-display.spec @@ -1,6 +1,6 @@ Name: libmm-display Summary: Multimedia framework display library -Version: 0.0.10 +Version: 0.0.11 Release: 0 Group: Multimedia/Libraries License: Apache-2.0 diff --git a/src/include/mm_display.h b/src/include/mm_display.h index 65e8814..0d5821e 100644 --- a/src/include/mm_display.h +++ b/src/include/mm_display.h @@ -64,8 +64,9 @@ int mm_display_evas_get_mode(mm_display_h handle, int *mode); int mm_display_evas_set_roi_area(mm_display_h handle, int x, int y, int w, int h); int mm_display_evas_get_roi_area(mm_display_h handle, int *x, int *y, int *w, int *h); int mm_display_evas_set_rendered_cb(mm_display_h handle, mm_display_evas_rendered_cb rendered_cb, void *user_data); -int mm_display_evas_render(mm_display_h handle, media_packet_h packet); int mm_display_evas_flush(mm_display_h handle, bool keep_screen); +/* NOTE: This function takes ownership of the packet. */ +int mm_display_evas_render(mm_display_h handle, media_packet_h packet); #endif /* TIZEN_FEATURE_EVAS_RENDERER */ #ifdef __cplusplus diff --git a/src/include/mm_display_interface.h b/src/include/mm_display_interface.h index 6bd06cc..ec14d47 100644 --- a/src/include/mm_display_interface.h +++ b/src/include/mm_display_interface.h @@ -57,8 +57,9 @@ int mm_display_interface_evas_get_mode(mm_display_interface_h handle, int *mode) int mm_display_interface_evas_set_roi_area(mm_display_interface_h handle, int x, int y, int w, int h); int mm_display_interface_evas_get_roi_area(mm_display_interface_h handle, int *x, int *y, int *w, int *h); int mm_display_interface_evas_set_rendered_cb(mm_display_interface_h handle, mm_display_evas_rendered_cb rendered_cb, void *user_data); -int mm_display_interface_evas_render(mm_display_interface_h handle, media_packet_h packet); int mm_display_interface_evas_flush(mm_display_interface_h handle, bool keep_screen); +/* NOTE: This function takes ownership of the packet. */ +int mm_display_interface_evas_render(mm_display_interface_h handle, media_packet_h packet); #ifdef __cplusplus } -- 2.7.4