• Fady Samuel's avatar
    RELAND Surface sync: Late arriving CF should not activate if dependent CF dropped · e3eb21e2
    Fady Samuel authored
    A late arriving CompositorFrame should not activate if the dependent CF has
    been dropped. This can happen if a CompositorFrame is marked for destruction
    and then pulled out of the destruction queue ("surface resurrection").
    
    This CL ensures that when a surface is reset, a SurfaceDiscarded notification
    is sent to the SurfaceDependencyTracker followed by SurfaceCreated to mimic
    creating a new surface.
    
    Bug: 796602
    Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel
    Change-Id: I20d1e96526db6464f9a095d59ea9633f81ddd615
    TBR: samans@chromium.org
    Reviewed-on: https://chromium-review.googlesource.com/848633
    Commit-Queue: Fady Samuel <fsamuel@chromium.org>
    Reviewed-by: default avatarFady Samuel <fsamuel@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#526692}
    e3eb21e2
surface_manager.cc 25.3 KB