[M108 Migration][VD] Avoid pending frame counter becoming negative 44/288644/2
authorlizhifan <lizhi.fan@samsung.com>
Tue, 21 Feb 2023 02:38:15 +0000 (10:38 +0800)
committerBot Blink <blinkbot@samsung.com>
Thu, 23 Feb 2023 02:52:54 +0000 (02:52 +0000)
commitcd97a838b15c5bbfe2f3714aaffa5cfe2d5a4ae3
tree1d9fc255bd22051abc7a71b41c45f8f51e446345
parent8a9f1476e67548fb103b51b30d4f0753554285d2
[M108 Migration][VD] Avoid pending frame counter becoming negative

There should be only one frame rendering at one time,
this counter help scheduler accomplish this task.

But sometimes this counter could be notified to decrease
more times than it should be, so it becomes negative,
then scheduler is not working properly,
the FPS will go sky high.

From:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/262951/

Change-Id: Icb7ef4ae0c206a8764581cccb078bb57bbc0c432
Signed-off-by: lizhifan <lizhi.fan@samsung.com>
cc/scheduler/scheduler_state_machine.cc