• Fady Samuel's avatar
    Surface Synchronization: Simplify SurfaceDependencyTracker · 7dc41be6
    Fady Samuel authored
    Prior to this CL, SurfaceDependencyTracker read activation_dependencies
    from the pending CompositorFrame's CompositorFrameMetadata. This meant
    that it had to look up already resolved dependencies. It's more efficient
    to use the remaining dependencies set tracked in Surface directly. The code
    is also more compact and easier to read.
    
    Bug: 672962
    Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel
    Change-Id: I97acf5637fd92eaa6485f15601582dc75dd69c35
    Reviewed-on: https://chromium-review.googlesource.com/1148226Reviewed-by: default avatarSaman Sami <samans@chromium.org>
    Commit-Queue: Fady Samuel <fsamuel@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#577544}
    7dc41be6
surface_dependency_tracker.cc 6.49 KB