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

Issue 1814763002: Cleanup of webrtc::VideoRenderer (Closed)

Created:
4 years, 9 months ago by nisse-webrtc
Modified:
4 years, 9 months ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, peah-webrtc, the sun, pbos-webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

This is an initial cleanup step, aiming to delete the webrtc::VideoRenderer class, replacing it by rtc::VideoSinkInterface. The next step is to convert all places where a renderer is attached to rtc::VideoSourceInterface, and at that point, the SmoothsRenderedFrames method can be replaced by a flag rtc::VideoSinkWants::smoothed_frames. Delete unused method IsTextureSupported. Delete unused time argument to RenderFrame. Let webrtc::VideoRenderer inherit rtc::VideoSinkInterface. Rename RenderFrame --> OnFrame. TBR=kjellander@webrtc.org BUG=webrtc:5426 Committed: https://crrev.com/eb83a1a10fe7aa6b4b57ece4c7674ecf7f148f96 Cr-Commit-Position: refs/heads/master@{#12070}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Delete TODO comment. #

Patch Set 3 : Update MacOS and Windows renderers. #

Patch Set 4 : Rebase + white listing of webrtc/media include directory.' #

Total comments: 2

Patch Set 5 : Use a more specific DEPS rule. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -105 lines) Patch
M webrtc/DEPS View 1 2 3 4 1 chunk +3 lines, -0 lines 1 comment Download
M webrtc/call/call_perf_tests.cc View 4 chunks +2 lines, -8 lines 0 comments Download
M webrtc/media/engine/fakewebrtccall.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/media/engine/fakewebrtccall.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.h View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.cc View 1 2 3 2 chunks +2 lines, -7 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2_unittest.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/test/gl/gl_renderer.h View 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/test/gl/gl_renderer.cc View 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/test/linux/glx_renderer.h View 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/test/linux/glx_renderer.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M webrtc/test/mac/video_renderer_mac.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/test/mac/video_renderer_mac.mm View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/test/video_renderer.cc View 1 chunk +1 line, -3 lines 0 comments Download
M webrtc/test/win/d3d_renderer.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/test/win/d3d_renderer.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/video/end_to_end_tests.cc View 11 chunks +8 lines, -35 lines 0 comments Download
M webrtc/video/replay.cc View 2 chunks +2 lines, -5 lines 0 comments Download
M webrtc/video/video_capture_input.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/video/video_quality_test.cc View 2 chunks +1 line, -4 lines 0 comments Download
M webrtc/video/video_receive_stream.cc View 1 1 chunk +1 line, -7 lines 0 comments Download
M webrtc/video_renderer.h View 1 chunk +3 lines, -9 lines 0 comments Download

Messages

Total messages: 47 (23 generated)
nisse-webrtc
For the next step, it's not yet clear to me where VideoRenderer is used. We ...
4 years, 9 months ago (2016-03-17 09:54:38 UTC) #3
nisse-webrtc
4 years, 9 months ago (2016-03-17 10:18:48 UTC) #5
perkj_webrtc
On 2016/03/17 10:18:48, nisse-webrtc wrote: lgtm
4 years, 9 months ago (2016-03-17 12:05:49 UTC) #6
pbos-webrtc
lgtm https://codereview.webrtc.org/1814763002/diff/1/webrtc/video/video_receive_stream.cc File webrtc/video/video_receive_stream.cc (right): https://codereview.webrtc.org/1814763002/diff/1/webrtc/video/video_receive_stream.cc#newcode391 webrtc/video/video_receive_stream.cc:391: // TODO(pbos): Wire up config_.render->IsTextureSupported() and convert if ...
4 years, 9 months ago (2016-03-17 14:47:23 UTC) #7
pthatcher1
lgtm I think it makes sense to land this cleanup first.
4 years, 9 months ago (2016-03-17 18:24:45 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1814763002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1814763002/20001
4 years, 9 months ago (2016-03-18 08:05:57 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: mac_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_rel/builds/13621)
4 years, 9 months ago (2016-03-18 08:09:27 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1814763002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1814763002/40001
4 years, 9 months ago (2016-03-18 08:19:46 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/4237)
4 years, 9 months ago (2016-03-18 08:30:40 UTC) #18
nisse-webrtc
kjellander: Is it right to simply add "+webrtc/media" in webrtc/DEPS?
4 years, 9 months ago (2016-03-18 08:54:07 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1814763002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1814763002/60001
4 years, 9 months ago (2016-03-18 08:54:34 UTC) #22
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-18 10:41:44 UTC) #24
kjellander_webrtc
Replied regarding the DEPS rule https://codereview.webrtc.org/1814763002/diff/60001/webrtc/DEPS File webrtc/DEPS (right): https://codereview.webrtc.org/1814763002/diff/60001/webrtc/DEPS#newcode34 webrtc/DEPS:34: "+webrtc/media", Please don't add ...
4 years, 9 months ago (2016-03-18 10:51:33 UTC) #25
nisse-webrtc
https://codereview.webrtc.org/1814763002/diff/60001/webrtc/DEPS File webrtc/DEPS (right): https://codereview.webrtc.org/1814763002/diff/60001/webrtc/DEPS#newcode34 webrtc/DEPS:34: "+webrtc/media", On 2016/03/18 10:51:33, kjellander (webrtc) wrote: > Please ...
4 years, 9 months ago (2016-03-18 11:10:08 UTC) #26
nisse-webrtc
Now with a more limited rule in webrtc/DEPS.
4 years, 9 months ago (2016-03-18 13:31:00 UTC) #27
kjellander_webrtc
lgtm now. Let's move the header file out of here in future CL though. https://codereview.webrtc.org/1814763002/diff/80001/webrtc/DEPS ...
4 years, 9 months ago (2016-03-18 14:18:44 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1814763002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1814763002/80001
4 years, 9 months ago (2016-03-18 14:29:05 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/4260)
4 years, 9 months ago (2016-03-18 14:33:35 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1814763002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1814763002/80001
4 years, 9 months ago (2016-03-18 15:05:58 UTC) #36
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1814763002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1814763002/80001
4 years, 9 months ago (2016-03-18 16:05:14 UTC) #39
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) ...
4 years, 9 months ago (2016-03-18 16:29:38 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1814763002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1814763002/80001
4 years, 9 months ago (2016-03-21 07:20:26 UTC) #43
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 9 months ago (2016-03-21 08:28:02 UTC) #45
commit-bot: I haz the power
4 years, 9 months ago (2016-03-21 08:28:18 UTC) #47
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/eb83a1a10fe7aa6b4b57ece4c7674ecf7f148f96
Cr-Commit-Position: refs/heads/master@{#12070}

Powered by Google App Engine
This is Rietveld 408576698