Fix buffer queue swap size in landscape
Buffer queue may not change orientation on rotation, and the swap size would have the width and height swapped for code that expects the swap size to be in landscape. This fixes the surfaceRedrawNeededAsync timeout when rotating from portrait to landscape. This also fixes 1136033 where on initial launch in landscape, android side does not have a timeout for surfaceRedrawNeededAsync like it does for rotation. Bug: 1136033 Change-Id: I91b3d81252f3e02fb3d85bf1ac91d5d802544490 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2459569Reviewed-by:Peng Huang <penghuang@chromium.org> Reviewed-by:
Khushal <khushalsagar@chromium.org> Commit-Queue: Bo <boliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#815332}
Showing
Please register or sign in to comment