进入Adaptive Sync提前送显模式需要关闭vsync校准

Signed-off-by: 陶春龙 <taochunlong@huawei.com>
This commit is contained in:
陶春龙 2024-10-08 17:45:31 +08:00
parent 382e29af70
commit 16c76374fb

View File

@ -579,6 +579,8 @@ int32_t HdiOutput::UpdateInfosAfterCommit(sptr<SyncFence> fbFence)
void HdiOutput::SetVsyncSamplerEnabled(bool enabled)
{
ScopedBytrace func("HdiOutput::SetVsyncSamplerEnabled, enableVsyncSample_:" + std::to_string(enabled));
HLOGD("Change enableVsyncSample_, value is %{public}d", enabled);
enableVsyncSample_.store(enabled);
}