video: Keep video client from being resized by wl_surface::commit 84/252784/2
authorSeunghun Lee <shiin.lee@samsung.com>
Tue, 2 Feb 2021 07:44:52 +0000 (16:44 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Tue, 2 Feb 2021 08:19:15 +0000 (08:19 +0000)
commit7d8b693ed9a5752c93bb89458067253366f8406f
tree094ae4cd88592818a29872aa85b2adf40f4e66aa
parenta5d50f45e052b2c52980d6c0b30fba46b5251a87
video: Keep video client from being resized by wl_surface::commit

When video client is displayed on HW overlay, it is wasteful to resize
its evas object. It eventually causes evas rendering to run wastefully.

Plus, evas rendering normally run on idle enterer and
wl_display_flush_clients() which flush its messages for client is
handled on fd handler of ecore event loop.

So, if evas rendering happens because of resize of evas object, then
wl_surface::frame will be delayed depending on it,
even though video contents is not actually rendered by evas.

Change-Id: I44332acf5079a204f8e833f35fe2ef27255bb9dc
src/bin/e_comp_wl.c