• Bo Liu's avatar
    android: Frame token with presentation feedback · e7316d0a
    Bo Liu authored
    Send frame token from viz display with the presentation feedback. This
    is more inline with chrome's architecture where viz display service
    sends this update.
    
    There are other code paths that used to deliver CompositorFrameMetadata
    and they have to call the new path for delivering frame tokens.
    Eventually should remove CompositorFrameMetadata code paths.
    
    SynchronousCompositorHost has to ensure tokens are delivered in order.
    Previously this worked with metadata version. Now that it's independent,
    need to explicitly make sure it's delivered in order.
    
    For now, only call DidProcessFrame. Eventually should move devtools to
    frame token and RenderFrameMetadata.
    
    Bug: 881469
    Change-Id: Ie49e97255d45ba7a7267cce87b37c29fadb302a7
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1576428Reviewed-by: default avatarEric Karl <ericrk@chromium.org>
    Commit-Queue: Bo <boliu@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#652910}
    e7316d0a
render_thread_manager.cc 8.23 KB