Surface Synchronization: Simplify SurfaceDependencyTracker::OnSurfaceDiscarded
OnSurfaceDiscarded cosists of two operations: 1. Drop tracking of dependencies of the discarded surface. 2. Unblock surfaces blocked ont he discarded surface. 1. is equivalent to listing all activation dependencies as 'removed_dependencies' and calling OnSurfaceDependenciesChanged. This CL does just that, reducing the number of lines of code in SurfaceDependencyTracker further. Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel Change-Id: I8191f1be81d04cce0c2181ac4fc341ebb8e3cf3f Bug: 672962 Reviewed-on: https://chromium-review.googlesource.com/1163632 Commit-Queue: Fady Samuel <fsamuel@chromium.org> Reviewed-by:vmpstr <vmpstr@chromium.org> Cr-Commit-Position: refs/heads/master@{#581016}
Showing
Please register or sign in to comment