Fix exo startup crash with OOPD
For OOPD, the display compositor is in the viz process. The LayerTreeFrameSinkLocal used by exo is for submitting frames to a local display compositor, so it will not work with OOPD. To make it work, we need use the AsyncLayerTreeFrameSink which can submit frames to the remote display compositor in viz process via mojo IPC. And the AsyncLayerTreeFrameSink also works with a local display compositor, so we will use it for non-OOPD case as well. Bug: 866898 Change-Id: I2003c8a6744547ee0c62c38667727c594ccb4537 Reviewed-on: https://chromium-review.googlesource.com/1153404Reviewed-by:Sadrul Chowdhury <sadrul@chromium.org> Reviewed-by:
Daniele Castagna <dcastagna@chromium.org> Reviewed-by:
Fady Samuel <fsamuel@chromium.org> Commit-Queue: Peng Huang <penghuang@chromium.org> Cr-Commit-Position: refs/heads/master@{#581311}
Showing
Please register or sign in to comment