• Vasiliy Telezhnikov's avatar
    aw: Submit frames in RootFrameSink for viz · 23729c4f
    Vasiliy Telezhnikov authored
    In some cases when we transit from one HardwareRenderer to another two
    of them can be alive simultaneously. This is incompatible with holding
    reference to CompositorFrameSinkSupport as only one can exist for
    specific FrameSinkId.
    
    This CL moves the logic of frame submission for viz from
    HardwareRendererViz::OnViz to RootFrameSink to avoid problems as there
    is always one RootFrameSink.
    
    Bug: 805739
    Change-Id: Ibe45227bf0e72ee4a39932345087ded448e3c506
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2028732
    Commit-Queue: Vasiliy Telezhnikov <vasilyt@chromium.org>
    Reviewed-by: default avatarBo <boliu@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#736555}
    23729c4f
root_frame_sink.h 3.92 KB