-
Sunny Sachanandani authored
Reenable direct composition surface on devices without hardware overlays since it enables other power improvements like flip mode swap chain and disabling DWM redirection surface. To mitigate the original concerns about direct composition, this change makes DCLayerTree lazy initialize the video context and processor when a video layer is first used. On devices that don't support hardware overlays, the video context and processor will never be initialized. Bug: 894675, 900702 Change-Id: I8c9d5b78718de2620ca177410d4916390e7cb219 Reviewed-on: https://chromium-review.googlesource.com/c/1318808 Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org> Reviewed-by:
Zhenyao Mo <zmo@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Antoine Labour <piman@chromium.org> Cr-Commit-Position: refs/heads/master@{#606312}
eec86ff6