Position overlay properly in AVDACodecImage::ScheduleOverlayPlane |
||
Issue descriptionAVDACodecImage::ScheduleOverlayPlane should notify the overlay of position changes.
,
May 17 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/95c9282a9c8b5773f4f25f78fe829479d40304fa commit 95c9282a9c8b5773f4f25f78fe829479d40304fa Author: liberato <liberato@chromium.org> Date: Wed May 17 22:36:21 2017 Position overlays in AVDACodecImage This CL adds a call to ScheduleLayout from AVDACodecImage. To get the overlay, AVDASharedState now holds a reference to the surface bundle. It registers for DestroyedCB notification from the overlay, and drops the reference if this happens. This will have the side-effect of keeping the overlay around even if the decoder is destroyed. For CVV, that's a no-op, since leaving fullscreen destroys the surface anyway, and the decoder is only destroyed when not in fullscreen. BUG= 722933 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/2889603005 Cr-Commit-Position: refs/heads/master@{#472590} [modify] https://crrev.com/95c9282a9c8b5773f4f25f78fe829479d40304fa/media/gpu/android_video_decode_accelerator.cc [modify] https://crrev.com/95c9282a9c8b5773f4f25f78fe829479d40304fa/media/gpu/avda_codec_image.cc [modify] https://crrev.com/95c9282a9c8b5773f4f25f78fe829479d40304fa/media/gpu/avda_codec_image.h [modify] https://crrev.com/95c9282a9c8b5773f4f25f78fe829479d40304fa/media/gpu/avda_picture_buffer_manager.cc [modify] https://crrev.com/95c9282a9c8b5773f4f25f78fe829479d40304fa/media/gpu/avda_picture_buffer_manager.h [modify] https://crrev.com/95c9282a9c8b5773f4f25f78fe829479d40304fa/media/gpu/avda_shared_state.cc [modify] https://crrev.com/95c9282a9c8b5773f4f25f78fe829479d40304fa/media/gpu/avda_shared_state.h [modify] https://crrev.com/95c9282a9c8b5773f4f25f78fe829479d40304fa/media/gpu/avda_surface_bundle.h [modify] https://crrev.com/95c9282a9c8b5773f4f25f78fe829479d40304fa/media/gpu/content_video_view_overlay.cc
,
Jun 27 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, May 17 2017