video: Update comp object after cleanup HWC resources 54/252454/3 accepted/tizen/unified/20210203.145557 submit/tizen/20210202.094427
authorSeunghun Lee <shiin.lee@samsung.com>
Thu, 28 Jan 2021 07:18:29 +0000 (16:18 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Tue, 2 Feb 2021 08:35:33 +0000 (08:35 +0000)
commitc0f0244331bd7f6bb86e1ead868a50882236e6bf
tree9c6b064bb9fed3970a4a320d7e4a1cd884810c7b
parent7d8b693ed9a5752c93bb89458067253366f8406f
video: Update comp object after cleanup HWC resources

It was discovered that abnormal frame was exposed when video render
backend got switch to SW compositing from HW due to the transformation
of 180 degree under no HW rotation support. This problem only occurred
on one frame at the very first try.

This change updates comp object (by calling e_comp_wl_surface_commit)
after cleanup HWC data. I couldn't figure out the root cause, but it
looked like HWC implementation affected updating efl object in some way.
Nonetheless, This change all makes sense on its own after all.

Change-Id: Ia99e5d626506d68128733b39b6f82cd763ee70c4
src/bin/video/e_client_video.c
src/bin/video/iface/e_video_hwc.c