ivi-layout have new feture to control type of transion when property of
surface happens. ivi-layout proposes the above api:
ivi_layout_surfaceSetTransition to change the type.
This api allows user to set type of transition per surface when
commitchange happens. Type of transtion is defined in enum
ivi_layout_transition_type.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
{
struct ivisurface *ivisurf = wl_resource_get_user_data(resource);
(void)client;
+
+ // TODO: create set transition type protocol
+ ivi_layout_surfaceSetTransition( ivisurf->layout_surface,
+ IVI_LAYOUT_TRANSITION_NONE,
+ 300); // ms
+
ivi_layout_surfaceSetDestinationRectangle(ivisurf->layout_surface,
(uint32_t)x, (uint32_t)y, (uint32_t)width, (uint32_t)height);
}