From c9866dea6c9f84e68ba1c65314a543e7d5b818c5 Mon Sep 17 00:00:00 2001 From: Tomohito Esaki Date: Fri, 12 May 2023 11:33:49 +0900 Subject: [PATCH] ivi-layout: add description for layer_add_surface The surface buffer must be committed before a ivi-controller adds ivi surface to a ivi layer. This constraint is necessary information for the ivi-controller. Signed-off-by: Tomohito Esaki --- ivi-shell/ivi-layout-export.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ivi-shell/ivi-layout-export.h b/ivi-shell/ivi-layout-export.h index 8f934608..395a9758 100644 --- a/ivi-shell/ivi-layout-export.h +++ b/ivi-shell/ivi-layout-export.h @@ -457,6 +457,9 @@ struct ivi_layout_interface { /** * \brief Add a ivi_surface to a ivi_layer which is currently managed by the service + * + * The surface buffer must be committed before the ivi-controller adds + * the ivi_surface to a ivi_layer */ void (*layer_add_surface)(struct ivi_layout_layer *ivilayer, struct ivi_layout_surface *addsurf);