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 <etom@igel.co.jp>
This commit is contained in:
Tomohito Esaki 2023-05-12 11:33:49 +09:00 committed by Marius Vlad
parent 406e3d2ab9
commit c9866dea6c
1 changed files with 3 additions and 0 deletions

View File

@ -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);