Chromium Code Reviews
DescriptionTab/Desktop Capture: Use requests instead of timer-based refreshing.
Remove the long-standing, hacky timer-based frame capture mechanisms
from the tab (and Desktop-on-Aura) capture implementations. Instead,
downstream consumers will now make refresh frame requests when needed,
and at the desired frequency for their specific use cases.
This change depends on https://codereview.chromium.org/1849003002/.
Also: 1) Deleted support implementation for the timer mechanisms from
SmoothEventSampler, 2) updated WCVCD unit tests to only expect frames
when explicitly requested, and 3) the NotificationCenter mechanism was
removed from the WCVCD unit tests because it was removed from the impl
long ago (but the unit tests were erroneously passing due to the timer
refreshes).
BUG=486274
Committed: https://crrev.com/e3d466694d3a14958b478408577158c4c6804fe4
Cr-Commit-Position: refs/heads/master@{#385668}
Patch Set 1 #Patch Set 2 : Fix WCVCD unit tests that test resize policies. #
Total comments: 14
Patch Set 3 : Addressed comments from PS2, and sampling decision logic change w.r.t. recent animation. #
Total comments: 1
Depends on Patchset: Messages
Total messages: 23 (7 generated)
|