Surface Synchronization: Simplify Deadlines
This CL simplifies deadline setup in viz::Surface a bit in anticipation for throttling of child-initiated synchronization. Prior to this CL, a Surface did not always have a SurfaceDependencyDeadline object. One was only available if unlimited deadlines were not specified by command line. This made deadline logic a bit more difficult to read in Surface. Furthermore, UpdateActivationDependencies didn't just update dependencies, it also resolved the FrameDeadline into a wall time deadline. This CL splits up that responsibility into a separate object in anticipation of adding additional functionality in UpdateActivationDependencies in another CL. Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel Change-Id: Ib280a25922600a36265b705bac25a820043756bf Bug: 672962 Reviewed-on: https://chromium-review.googlesource.com/1240506 Commit-Queue: Fady Samuel <fsamuel@chromium.org> Reviewed-by:Saman Sami <samans@chromium.org> Cr-Commit-Position: refs/heads/master@{#594319}
Showing
Please register or sign in to comment