mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-23 23:20:32 +00:00
进入Adaptive Sync提前送显模式需要关闭vsync校准
Signed-off-by: 陶春龙 <taochunlong@huawei.com>
This commit is contained in:
parent
382e29af70
commit
16c76374fb
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user