e_hwc_windows: add the restriction of hwc 17/306217/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Tue, 23 Jan 2024 04:58:29 +0000 (13:58 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Mon, 19 Feb 2024 04:12:42 +0000 (13:12 +0900)
commit43c287e0df3ec0d85cbee529db05e083b9640b3d
tree321cc74af63d3d0cc44b426f9a11fa614a82b4a0
parent5af944e48cb7e374b6496dbef1f39eb16ea22f9a
e_hwc_windows: add the restriction of hwc

Previously, the device_state_available of hwc_window was updated in every idle time
if wait_commit is false.
For reducing usage of cpu, this patch makes the device_state_available is removed and
the restriction of hwc is added and updated when condition of the restriction is
changed.

Change-Id: Ieab8e2e70c7b93be4e6d02092a4a801234ceb947
src/bin/e_hwc.c
src/bin/e_hwc_windows.c
src/bin/e_hwc_windows_intern.h
src/include/e_hwc.h