• Maksim Sisov's avatar
    Revert "[ozone/wayland] Ensure root_surface is committed last in a frame" · 875f6b08
    Maksim Sisov authored
    This reverts commit a489cfcd.
    
    Reason for revert: broke resizing and ui events. see
    https://crbug.com/1162867
    
    Original change's description:
    > [ozone/wayland] Ensure root_surface is committed last in a frame
    >
    > wl_surface.commits of a frame can happen asynchronously due to wl_buffer
    > import delay, frame callbacks, etc. This asynchrony can cause visual
    > glitches when the root_surface commits before its subsurfaces commit.
    >
    > This CL ensures that a root_surface commit always happens after other
    > commits in a frame.
    >
    > Change-Id: I7c83e122c4cdee42e6b8aca74875fa71b6c1ab5a
    > Bug: 1144179
    > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2547395
    > Commit-Queue: Kramer Ge <fangzhoug@chromium.org>
    > Reviewed-by: Robert Kroeger <rjkroege@chromium.org>
    > Reviewed-by: Maksim Sisov (GMT+2) <msisov@igalia.com>
    > Cr-Commit-Position: refs/heads/master@{#834327}
    
    TBR=rjkroege@chromium.org,edcourtney@chromium.org,msisov@igalia.com,chromium-scoped@luci-project-accounts.iam.gserviceaccount.com,fangzhoug@chromium.org
    
    # Not skipping CQ checks because original CL landed > 1 day ago.
    
    Bug: 1144179, 1162867
    Change-Id: I2cb8547d7953d30754360cc43f4461c1043da5d3
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2609138Reviewed-by: default avatarMaksim Sisov <msisov@igalia.com>
    Commit-Queue: Maksim Sisov <msisov@igalia.com>
    Cr-Commit-Position: refs/heads/master@{#840011}
    875f6b08
features.cc 600 Bytes