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

Issue 1134663005: cc: Video layers without a frame should not occlude (Closed)

Created:
5 years, 7 months ago by hendrikw
Modified:
5 years, 7 months ago
Reviewers:
danakj, DaleCurtis, vmpstr
CC:
chromium-reviews, feature-media-reviews_chromium.org, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Video layers without a frame should not occlude Added VisibleContentOpaqueRegion() to the VideoLayerImpl, if a frame hasn't been set yet, then we don't have an opaque region. + test BUG=460612 Committed: https://crrev.com/e19cc6a61419d38f3ec658c5e74363d77e900c09 Cr-Commit-Position: refs/heads/master@{#330449}

Patch Set 1 #

Patch Set 2 : Cleanup test #

Total comments: 2

Patch Set 3 : Add HasCurrentFrame #

Total comments: 8

Patch Set 4 : Address review comments #

Patch Set 5 : Add brackets in comment #

Patch Set 6 : +locks #

Patch Set 7 : missed const on android #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -0 lines) Patch
M cc/layers/video_frame_provider.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M cc/layers/video_frame_provider_client_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/video_frame_provider_client_impl.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M cc/layers/video_layer_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/video_layer_impl.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M cc/layers/video_layer_impl_unittest.cc View 1 1 chunk +44 lines, -0 lines 0 comments Download
M cc/test/fake_video_frame_provider.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M cc/test/fake_video_frame_provider.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/media/android/webmediaplayer_android.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/android/webmediaplayer_android.cc View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/media/webmediaplayer_ms.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/webmediaplayer_ms.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M media/blink/video_frame_compositor.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M media/blink/video_frame_compositor.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (7 generated)
hendrikw
PTAL, thanks!
5 years, 7 months ago (2015-05-18 16:11:10 UTC) #3
danakj
https://codereview.chromium.org/1134663005/diff/20001/cc/layers/video_frame_provider_client_impl.cc File cc/layers/video_frame_provider_client_impl.cc (right): https://codereview.chromium.org/1134663005/diff/20001/cc/layers/video_frame_provider_client_impl.cc#newcode103 cc/layers/video_frame_provider_client_impl.cc:103: return provider_ && provider_->GetCurrentFrame(); You need to match calls ...
5 years, 7 months ago (2015-05-18 17:19:52 UTC) #5
hendrikw
https://codereview.chromium.org/1134663005/diff/20001/cc/layers/video_frame_provider_client_impl.cc File cc/layers/video_frame_provider_client_impl.cc (right): https://codereview.chromium.org/1134663005/diff/20001/cc/layers/video_frame_provider_client_impl.cc#newcode103 cc/layers/video_frame_provider_client_impl.cc:103: return provider_ && provider_->GetCurrentFrame(); On 2015/05/18 17:19:52, danakj wrote: ...
5 years, 7 months ago (2015-05-18 17:46:58 UTC) #6
hendrikw
Added HasCurrentFrame to VideoFrameProvider. PTAL
5 years, 7 months ago (2015-05-18 18:13:20 UTC) #7
danakj
https://codereview.chromium.org/1134663005/diff/40001/cc/layers/video_frame_provider.h File cc/layers/video_frame_provider.h (right): https://codereview.chromium.org/1134663005/diff/40001/cc/layers/video_frame_provider.h#newcode70 cc/layers/video_frame_provider.h:70: virtual bool HasCurrentFrame() const = 0; can you comment ...
5 years, 7 months ago (2015-05-18 18:15:46 UTC) #8
hendrikw
PTAL (+question) https://codereview.chromium.org/1134663005/diff/40001/cc/layers/video_frame_provider.h File cc/layers/video_frame_provider.h (right): https://codereview.chromium.org/1134663005/diff/40001/cc/layers/video_frame_provider.h#newcode70 cc/layers/video_frame_provider.h:70: virtual bool HasCurrentFrame() const = 0; On ...
5 years, 7 months ago (2015-05-18 18:34:00 UTC) #9
danakj
https://codereview.chromium.org/1134663005/diff/40001/content/renderer/media/android/webmediaplayer_android.cc File content/renderer/media/android/webmediaplayer_android.cc (right): https://codereview.chromium.org/1134663005/diff/40001/content/renderer/media/android/webmediaplayer_android.cc#newcode1284 content/renderer/media/android/webmediaplayer_android.cc:1284: return current_frame_; On 2015/05/18 18:33:59, hendrikw wrote: > On ...
5 years, 7 months ago (2015-05-18 18:44:57 UTC) #10
hendrikw
PTAL
5 years, 7 months ago (2015-05-18 19:59:23 UTC) #11
DaleCurtis
media/ usage lgtm though the Windows bots might complain about returning a scoped_refptr as bool.
5 years, 7 months ago (2015-05-18 20:32:58 UTC) #12
danakj
LGTM
5 years, 7 months ago (2015-05-18 21:04:56 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1134663005/100001
5 years, 7 months ago (2015-05-18 21:44:15 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/72706)
5 years, 7 months ago (2015-05-18 22:00:44 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1134663005/120001
5 years, 7 months ago (2015-05-18 22:06:30 UTC) #20
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 7 months ago (2015-05-18 23:14:23 UTC) #21
commit-bot: I haz the power
5 years, 7 months ago (2015-05-18 23:15:15 UTC) #22
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/e19cc6a61419d38f3ec658c5e74363d77e900c09
Cr-Commit-Position: refs/heads/master@{#330449}

Powered by Google App Engine
This is Rietveld 408576698