Commit 75cd895e authored by Eric Karl's avatar Eric Karl Committed by Commit Bot

Disable browser latency recovery for Viz on Android

We disabled this for the renderer in M73/M74. We missed the browser
component. Making these uniform.

Bug: 943186, 933846
Change-Id: I5098aca0189a66c3ce05df6c108af39cd2ca3fc1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1528915Reviewed-by: default avatarJonathan Ross <jonross@chromium.org>
Commit-Queue: Eric Karl <ericrk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#642187}
parent 7e8de286
......@@ -735,6 +735,13 @@ void CompositorImpl::CreateLayerTreeHost() {
settings.single_thread_proxy_scheduler = true;
settings.use_painted_device_scale_factor = true;
if (features::IsSurfaceSynchronizationEnabled()) {
// TODO(crbug.com/933846): LatencyRecovery is causing jank on Android.
// Disable in viz mode for now, with plan to disable more widely once
// viz launches.
settings.enable_latency_recovery = false;
}
animation_host_ = cc::AnimationHost::CreateMainInstance();
cc::LayerTreeHost::InitParams params;
......
......@@ -3122,7 +3122,7 @@ cc::LayerTreeSettings RenderWidget::GenerateLayerTreeSettings(
#if defined(OS_ANDROID)
if (features::IsSurfaceSynchronizationEnabled()) {
// TODO(crbug.com/933846): LatencyRecovery is causing jank on Android.
// Disable in viz mode for now, with plant o disable more widely once
// Disable in viz mode for now, with plan to disable more widely once
// viz launches.
settings.enable_latency_recovery = false;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment