summaryrefslogtreecommitdiffstats
path: root/blimp/client
diff options
context:
space:
mode:
authorkhushalsagar <khushalsagar@chromium.org>2016-03-08 14:46:15 -0800
committerCommit bot <commit-bot@chromium.org>2016-03-08 22:47:40 +0000
commit683c197c138288b04557257369b4ac15c5421f11 (patch)
treec786e92ce43a3652a168c1843100f8e17239bfd3 /blimp/client
parent15ab7da28b3d2e6391f58dda69b3407b4d207778 (diff)
downloadchromium_src-683c197c138288b04557257369b4ac15c5421f11.zip
chromium_src-683c197c138288b04557257369b4ac15c5421f11.tar.gz
chromium_src-683c197c138288b04557257369b4ac15c5421f11.tar.bz2
cc: Fix for releasing output surface during commit.
In the remote compositor we can get into a state where the LTH on the client requests a BeginMainFrame and then releases the output surface. The server will still send a commit but we can't push this commit till the client initializes a new output surface. At the same time the scheduler will not request a new output surface till it clears the pipeline of the previous commit. This change adds a setting to the Scheduler to allow it to request a new output surface, while there is a commit pending. The RemoteChannelImpl queues any protos received if the output is released and process them when a new output surface is initialized. BUG=586210 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1691143002 Cr-Commit-Position: refs/heads/master@{#379947}
Diffstat (limited to 'blimp/client')
-rw-r--r--blimp/client/feature/compositor/blimp_compositor_manager.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/blimp/client/feature/compositor/blimp_compositor_manager.cc b/blimp/client/feature/compositor/blimp_compositor_manager.cc
index f74a25f..4e5e67f 100644
--- a/blimp/client/feature/compositor/blimp_compositor_manager.cc
+++ b/blimp/client/feature/compositor/blimp_compositor_manager.cc
@@ -129,6 +129,8 @@ cc::LayerTreeSettings* BlimpCompositorManager::GetLayerTreeSettings() {
// client. Since it currently overrides all settings, ignore them.
// See crbug/577985.
GenerateLayerTreeSettings(settings_.get());
+ settings_
+ ->abort_commit_before_output_surface_creation = false;
}
return settings_.get();