-
liberato@chromium.org authored
This CL adds a new flag, UseSurfaceLayerForVideoPIP, which will switch to SurfaceLayer only when entering PIP mode. The player does not switch back when exiting PIP. When doing this, the VideoFrameCompositor, VFS, etc. all run on the compositor impl thread rather than a dedicated media thread. This is to simplify the switchover. This CL also changes the default from Use...Video to Use...PIP. This is based on https://chromium-review.googlesource.com/c/chromium/src/+/1219948 Bug: 883931 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Change-Id: Ibb612d83df721712929aeab42aba790e32c1a8ea Reviewed-on: https://chromium-review.googlesource.com/1220562Reviewed-by:
Fady Samuel <fsamuel@chromium.org> Reviewed-by:
François Doray <fdoray@chromium.org> Reviewed-by:
Bo <boliu@chromium.org> Reviewed-by:
Kenneth Russell <kbr@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Mounir Lamouri <mlamouri@chromium.org> Reviewed-by:
Dale Curtis <dalecurtis@chromium.org> Commit-Queue: Frank Liberato <liberato@chromium.org> Cr-Commit-Position: refs/heads/master@{#594459}
69db58ff