Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1448)

Issue 2916193002: Reset |most_recent_bounds_| on new Overlay (Closed)

Created:
3 years, 6 months ago by tguilbert
Modified:
3 years, 6 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, piman+watch_chromium.org, feature-media-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Reset |most_recent_bounds_| on new Overlay When overlays are enabled, on Nexus 5 devices, upon exiting and re-entering fullscreen, nothing is displayed on screen. This is caused by the fact that AVDACodecImage never resets |most_recent_bounds_| when a new overlay is received. This means AndroidOverlay::ScheduleLayout() is never called in AVDACodecImage::ScheduleOverlayPlane(), and new overlays retains their initial bounds of [0,0,1,1]. This CL fixes the issue by reseting the bounds when a new shared state (and therefore potential new Overlay) is set. BUG=728802 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2916193002 Cr-Commit-Position: refs/heads/master@{#476524} Committed: https://chromium.googlesource.com/chromium/src/+/d1fdad9d1437cad3bcdc373c02fbc10f7704252e

Patch Set 1 #

Patch Set 2 : Typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M media/gpu/avda_codec_image.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
tguilbert
PTAL!
3 years, 6 months ago (2017-06-01 21:49:37 UTC) #3
liberato (no reviews please)
lgtm
3 years, 6 months ago (2017-06-01 21:54:29 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2916193002/1
3 years, 6 months ago (2017-06-01 21:59:20 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_android on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/280910)
3 years, 6 months ago (2017-06-01 22:30:58 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2916193002/20001
3 years, 6 months ago (2017-06-01 23:08:24 UTC) #11
commit-bot: I haz the power
3 years, 6 months ago (2017-06-02 02:18:31 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/d1fdad9d1437cad3bcdc373c02fb...

Powered by Google App Engine
This is Rietveld 408576698