|
|
Created:
3 years, 10 months ago by Hzj_jie Modified:
3 years, 10 months ago Reviewers:
Sergey Ulanov CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, Jamie, qiangchen Target Ref:
refs/heads/master Project:
webrtc Visibility:
Public. |
DescriptionUse FallbackDesktopCapturerWrapper in ScreenCapturerWinMagnifier
This is a trivial change to remove duplicate logic, i.e. fallback capturer, from
ScreenCapturerWinMagnifier.
BUG=webrtc:7215
Review-Url: https://codereview.webrtc.org/2704943002
Cr-Commit-Position: refs/heads/master@{#16781}
Committed: https://chromium.googlesource.com/external/webrtc/+/3fa87f782e0a11f1ce24e56a61f0b926e99670dc
Patch Set 1 #
Total comments: 4
Patch Set 2 : Resolve review comments #
Total comments: 1
Patch Set 3 : Update comments #
Messages
Total messages: 40 (31 generated)
The CQ bit was checked by zijiehe@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/13702)
The CQ bit was checked by zijiehe@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
Patchset #1 (id:1) has been deleted
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/13704)
The CQ bit was checked by zijiehe@chromium.org to run a CQ dry run
Patchset #1 (id:20001) has been deleted
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/13706)
Description was changed from ========== Use FallbackDesktopCapturerWrapper in ScreenCapturerWinMagnifier This is a trivial change to remove duplicate logic, i.e. fallback capturer, from ScreenCapturerWinMagnifier. BUG= ========== to ========== Use FallbackDesktopCapturerWrapper in ScreenCapturerWinMagnifier This is a trivial change to remove duplicate logic, i.e. fallback capturer, from ScreenCapturerWinMagnifier. BUG= ==========
zijiehe@chromium.org changed reviewers: + sergeyu@chromium.org
https://codereview.webrtc.org/2704943002/diff/40001/webrtc/modules/desktop_ca... File webrtc/modules/desktop_capture/screen_capturer_win.cc (right): https://codereview.webrtc.org/2704943002/diff/40001/webrtc/modules/desktop_ca... webrtc/modules/desktop_capture/screen_capturer_win.cc:35: capturer.reset(new FallbackDesktopCapturerWrapper( Please add a comment to explain why we need to use the fallback capturer here https://codereview.webrtc.org/2704943002/diff/40001/webrtc/modules/desktop_ca... File webrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.cc (right): https://codereview.webrtc.org/2704943002/diff/40001/webrtc/modules/desktop_ca... webrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.cc:72: if (!magnifier_initialized_) { Previously the capturer was always falling back to the gdi capturer when magnifier_capture_succeeded_ = false. I think we still need that check, or always return ERROR_PERMANENT.
The CQ bit was checked by zijiehe@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/13850)
https://codereview.webrtc.org/2704943002/diff/40001/webrtc/modules/desktop_ca... File webrtc/modules/desktop_capture/screen_capturer_win.cc (right): https://codereview.webrtc.org/2704943002/diff/40001/webrtc/modules/desktop_ca... webrtc/modules/desktop_capture/screen_capturer_win.cc:35: capturer.reset(new FallbackDesktopCapturerWrapper( On 2017/02/21 20:49:31, Sergey Ulanov wrote: > Please add a comment to explain why we need to use the fallback capturer here Done. https://codereview.webrtc.org/2704943002/diff/40001/webrtc/modules/desktop_ca... File webrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.cc (right): https://codereview.webrtc.org/2704943002/diff/40001/webrtc/modules/desktop_ca... webrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.cc:72: if (!magnifier_initialized_) { On 2017/02/21 20:49:31, Sergey Ulanov wrote: > Previously the capturer was always falling back to the gdi capturer when > magnifier_capture_succeeded_ = false. I think we still need that check, or > always return ERROR_PERMANENT. Done.
lgtm
The CQ bit was checked by zijiehe@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
https://codereview.webrtc.org/2704943002/diff/60001/webrtc/modules/desktop_ca... File webrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.cc (right): https://codereview.webrtc.org/2704943002/diff/60001/webrtc/modules/desktop_ca... webrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.cc:197: // Do not try to use the magnifier if it failed before and in multi-screen Sorry, I forgot to update this comment. Here "if it failed before" is not relative.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/13901)
The CQ bit was checked by zijiehe@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from sergeyu@chromium.org Link to the patchset: https://codereview.webrtc.org/2704943002/#ps80001 (title: "Update comments")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/13902)
Description was changed from ========== Use FallbackDesktopCapturerWrapper in ScreenCapturerWinMagnifier This is a trivial change to remove duplicate logic, i.e. fallback capturer, from ScreenCapturerWinMagnifier. BUG= ========== to ========== Use FallbackDesktopCapturerWrapper in ScreenCapturerWinMagnifier This is a trivial change to remove duplicate logic, i.e. fallback capturer, from ScreenCapturerWinMagnifier. BUG=webrtc:7215 ==========
The CQ bit was checked by zijiehe@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
CQ is committing da patch. Bot data: {"patchset_id": 80001, "attempt_start_ts": 1487799820431260, "parent_rev": "72694a04e4c7ba6e98b68111ca8665afd974f9cb", "commit_rev": "3fa87f782e0a11f1ce24e56a61f0b926e99670dc"}
Message was sent while issue was closed.
Description was changed from ========== Use FallbackDesktopCapturerWrapper in ScreenCapturerWinMagnifier This is a trivial change to remove duplicate logic, i.e. fallback capturer, from ScreenCapturerWinMagnifier. BUG=webrtc:7215 ========== to ========== Use FallbackDesktopCapturerWrapper in ScreenCapturerWinMagnifier This is a trivial change to remove duplicate logic, i.e. fallback capturer, from ScreenCapturerWinMagnifier. BUG=webrtc:7215 Review-Url: https://codereview.webrtc.org/2704943002 Cr-Commit-Position: refs/heads/master@{#16781} Committed: https://chromium.googlesource.com/external/webrtc/+/3fa87f782e0a11f1ce24e56a6... ==========
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as https://chromium.googlesource.com/external/webrtc/+/3fa87f782e0a11f1ce24e56a6... |