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

Issue 2314323002: Wrap ScreenCapturer with ScreenCapturerDifferWrapper (Closed)

Created:
4 years, 3 months ago by Hzj_jie
Modified:
4 years, 3 months ago
Reviewers:
Sergey Ulanov
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, Jamie
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Wrap ScreenCapturer with ScreenCapturerDifferWrapper This change is to add an DesktopCapturerOptions accurate_updated_region() with default value as false to indicate whether a pixel-wise differentiation is required. And ScreenCapturer::Create() function will wrap the implementation with ScreenCapturerDifferWrapper. Chromoting will use this option to filter out unchanged frames. BUG=314516 Committed: https://crrev.com/e9a3c7f43c697c3c1e7c8956baebeaf2a1a867f6 Cr-Commit-Position: refs/heads/master@{#14248}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Resolve review comments #

Total comments: 2

Patch Set 3 : Resolve review comments #

Total comments: 4

Patch Set 4 : Resolve review comments #

Patch Set 5 : Add Maybe...WithDirectxCapturer test to ensure ScreenCapturer::Create works correctly #

Patch Set 6 : Remove debug flag, now tests should pass #

Total comments: 4

Patch Set 7 : Disable the new test case #

Patch Set 8 : Resolve review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -12 lines) Patch
M webrtc/modules/desktop_capture/desktop_capture_options.h View 1 2 3 4 5 6 7 2 chunks +11 lines, -0 lines 0 comments Download
M webrtc/modules/desktop_capture/screen_capturer_mac.mm View 1 2 3 chunks +11 lines, -3 lines 0 comments Download
M webrtc/modules/desktop_capture/screen_capturer_unittest.cc View 1 2 3 4 5 6 2 chunks +19 lines, -3 lines 0 comments Download
M webrtc/modules/desktop_capture/screen_capturer_win.cc View 1 2 3 5 2 chunks +8 lines, -2 lines 0 comments Download
M webrtc/modules/desktop_capture/screen_capturer_x11.cc View 1 2 3 chunks +11 lines, -3 lines 0 comments Download
M webrtc/modules/desktop_capture/win/screen_capturer_win_directx.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/modules/desktop_capture/win/screen_capturer_win_directx.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 29 (14 generated)
Hzj_jie
The android build breaks do not relate to this change. (gclient runhooks failed)
4 years, 3 months ago (2016-09-07 21:29:17 UTC) #4
Sergey Ulanov
I'm not sure we need to worry about narrowing updated_region() for Desktop Capture API. DesktopCaptureDevice ...
4 years, 3 months ago (2016-09-07 22:47:23 UTC) #5
Hzj_jie
On 2016/09/07 22:47:23, Sergey Ulanov wrote: > I'm not sure we need to worry about ...
4 years, 3 months ago (2016-09-07 23:33:15 UTC) #6
Hzj_jie
On 2016/09/07 23:33:15, Hzj_jie wrote: > On 2016/09/07 22:47:23, Sergey Ulanov wrote: > > I'm ...
4 years, 3 months ago (2016-09-08 23:18:22 UTC) #7
Sergey Ulanov
https://codereview.chromium.org/2314323002/diff/100001/webrtc/modules/desktop_capture/desktop_capture_options.h File webrtc/modules/desktop_capture/desktop_capture_options.h (right): https://codereview.chromium.org/2314323002/diff/100001/webrtc/modules/desktop_capture/desktop_capture_options.h#newcode76 webrtc/modules/desktop_capture/desktop_capture_options.h:76: // accurate updated region. This comment makes it sound ...
4 years, 3 months ago (2016-09-09 00:03:40 UTC) #12
Hzj_jie
4 years, 3 months ago (2016-09-09 02:21:43 UTC) #13
Sergey Ulanov
https://codereview.chromium.org/2314323002/diff/120001/webrtc/modules/desktop_capture/screen_capturer_win.cc File webrtc/modules/desktop_capture/screen_capturer_win.cc (right): https://codereview.chromium.org/2314323002/diff/120001/webrtc/modules/desktop_capture/screen_capturer_win.cc#newcode27 webrtc/modules/desktop_capture/screen_capturer_win.cc:27: if (options.allow_directx_capturer()) { Do you still need to check ...
4 years, 3 months ago (2016-09-09 17:33:51 UTC) #14
Hzj_jie
https://codereview.chromium.org/2314323002/diff/120001/webrtc/modules/desktop_capture/screen_capturer_win.cc File webrtc/modules/desktop_capture/screen_capturer_win.cc (right): https://codereview.chromium.org/2314323002/diff/120001/webrtc/modules/desktop_capture/screen_capturer_win.cc#newcode27 webrtc/modules/desktop_capture/screen_capturer_win.cc:27: if (options.allow_directx_capturer()) { On 2016/09/09 17:33:51, Sergey Ulanov wrote: ...
4 years, 3 months ago (2016-09-14 19:35:31 UTC) #16
Sergey Ulanov
lgtm when my comments are addressed https://codereview.chromium.org/2314323002/diff/180001/webrtc/modules/desktop_capture/desktop_capture_options.h File webrtc/modules/desktop_capture/desktop_capture_options.h (right): https://codereview.chromium.org/2314323002/diff/180001/webrtc/modules/desktop_capture/desktop_capture_options.h#newcode77 webrtc/modules/desktop_capture/desktop_capture_options.h:77: // generates (e.g. ...
4 years, 3 months ago (2016-09-15 23:51:36 UTC) #17
Hzj_jie
https://codereview.chromium.org/2314323002/diff/180001/webrtc/modules/desktop_capture/desktop_capture_options.h File webrtc/modules/desktop_capture/desktop_capture_options.h (right): https://codereview.chromium.org/2314323002/diff/180001/webrtc/modules/desktop_capture/desktop_capture_options.h#newcode77 webrtc/modules/desktop_capture/desktop_capture_options.h:77: // generates (e.g. by comparing each frame with the ...
4 years, 3 months ago (2016-09-16 00:31:18 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2314323002/220001
4 years, 3 months ago (2016-09-16 00:31:32 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 3 months ago (2016-09-16 02:31:19 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2314323002/220001
4 years, 3 months ago (2016-09-16 06:55:15 UTC) #25
commit-bot: I haz the power
Committed patchset #8 (id:220001)
4 years, 3 months ago (2016-09-16 07:03:17 UTC) #27
commit-bot: I haz the power
4 years, 3 months ago (2016-09-16 07:03:28 UTC) #29
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/e9a3c7f43c697c3c1e7c8956baebeaf2a1a867f6
Cr-Commit-Position: refs/heads/master@{#14248}

Powered by Google App Engine
This is Rietveld 408576698