Surface Sychronization: Clean-up DelegatedFrameHostAndroid
This CL does two things: 1. It moves ParentLocalSurfaceIdAllocator from DelegatedFrameHostAndroid to RenderWidgetHostViewAndroid. 2. It makes DelegatedFrameHostAndroid::SynchronizeVisualProperties and DelegatedFrameHostAndroid::OnFirstSurfaceActivation better match their DelegatedFrameHost counterparts. 3. Creating and destroying SurfaceLayers is a relatively heavyweight operation. This CL avoids this when surface sync is on. Change-Id: Ia265489cc95494eb0ae0cf6ab9d5a300a79a53e3 Bug: 672962 Reviewed-on: https://chromium-review.googlesource.com/1067954Reviewed-by:Khushal <khushalsagar@chromium.org> Reviewed-by:
Bo <boliu@chromium.org> Reviewed-by:
Saman Sami <samans@chromium.org> Commit-Queue: Fady Samuel <fsamuel@chromium.org> Cr-Commit-Position: refs/heads/master@{#562737}
Showing
This diff is collapsed.
Please register or sign in to comment