Fix cc_unittests with surface sync enabled.
By default LayerTreeSettings::enable_surface_synchronization was false. Most cc_unittests were running with the default. This CL switches the default to true and fixes most tests. The primary change for tests is with regards to LocalSurfaceId allocation. With surface sync off LocalSurfaceIds would be allocated automatically. With surface sync on the test has to ensure new LocalSurfaceIds are allocated at the correct time. Bug: 985009 Change-Id: I9bd62da2b96f9eddb4ea85656c61364c0ee5ada8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1774309 Commit-Queue: kylechar <kylechar@chromium.org> Reviewed-by:Saman Sami <samans@chromium.org> Cr-Commit-Position: refs/heads/master@{#692220}
Showing
This diff is collapsed.
Please register or sign in to comment