surface: Accumulate commit state on surface_state_move 92/294392/1
authorSeunghun Lee <shiin.lee@samsung.com>
Thu, 15 Jun 2023 00:51:44 +0000 (09:51 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Mon, 19 Jun 2023 00:43:46 +0000 (09:43 +0900)
commit33fdbbfc5baad3349b4114a331782d0b77c618c4
tree761e60fad13e2a69d5fdbc0eade433feaee3eb36
parent76a2630e4934dac79e1d8df267b41ba6b49c7fc3
surface: Accumulate commit state on surface_state_move

Instead of having replaced commit state with next one, this patch
accumulates commit state. Otherwise, cached state would be replaced by
the pending state.

If a state needs to be replaced, then caller can initialie the commit
state before the call to surface_state_move().

Change-Id: I92072b38989f14fa4db84d95329d058cab6614f2
src/compositor/surface.c