• Fady Samuel's avatar
    Surface synchronization: Auto-Resize on Impl thread · 4392abb9
    Fady Samuel authored
    This CL removes the ChildLocalSurfaceIdAllocator on the Blink
    main thread. Instead, RenderWidget::DidAutoResize requests a new
    LocalSurfaceId from the impl thread and continues to use the
    current LocalSurfaceId provided by the parent.
    
    A test was removed that was intended for the pre-child-allocation
    code path and another was simplified to verify that DidAutoResize
    requests a new LocalSurfaceId. A separate unit test verifies that
    the request goes from LayerTreeHost to LayerTreeFrameSink.
    
    Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;master.tryserver.blink:linux_trusty_blink_rel
    Change-Id: I8e11ac681aee1c5ea7fa6406d3c6cfd806b79986
    Reviewed-on: https://chromium-review.googlesource.com/1051868Reviewed-by: default avatarAntoine Labour <piman@chromium.org>
    Commit-Queue: Fady Samuel <fsamuel@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#557669}
    4392abb9
layer_tree_host.cc 55.8 KB