-
Thomas Guilbert authored
The compositor does not use an alpha channel on its surface when it does not need to, for power efficiency reasons. AndroidOverlays require the compositor's surface to not be opaque, in order to draw a transparent quad, through which the AO surface (and video) can be seen. We are calling this transparency mode 'overlay mode'. This CL adds the necessary plumbing to let WebContents embedders know when to enter overlay mode. It also adds overlay mode support to content shell and Chrome. Bug: 710186 Change-Id: Ib873b553e7cda8edafc535ed730c18d3e8d44b2a Reviewed-on: https://chromium-review.googlesource.com/567773 Commit-Queue: Thomas Guilbert <tguilbert@chromium.org> Reviewed-by:
Charlie Reis <creis@chromium.org> Reviewed-by:
Frank Liberato <liberato@chromium.org> Reviewed-by:
Bo Liu <boliu@chromium.org> Reviewed-by:
Ted Choc <tedchoc@chromium.org> Cr-Commit-Position: refs/heads/master@{#491307}
0267a42c