• Fady Samuel's avatar
    Surface Synchronization: Child Sync Immediately Activates if Deadline in Past · e525f7ca
    Fady Samuel authored
    Prior to this CL, if a child initiates a synchronization event and submits a
    CompositorFrame with a deadline in the past then the CompositorFrame will
    immediately activate, but the surface will not be marked and so future
    CompositorFrames to the same surface will result in blocking until embedding
    or deadline again and again.
    
    This could slow down activation and skew deadline duration reporting. This CL
    marks a surface such that additional CompositorFrames submitted to the surface
    will not block on embedding.
    
    Bug: 672962, 890767
    Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel
    Change-Id: Ia942e39266ac11dd20cea3f3ae4a087511a98c1d
    Reviewed-on: https://chromium-review.googlesource.com/c/1281885
    Commit-Queue: Fady Samuel <fsamuel@chromium.org>
    Reviewed-by: default avatarSaman Sami <samans@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#599983}
    e525f7ca
surface_dependency_tracker.cc 8.53 KB