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

Issue 2319383002: Several minor changes to ScreenCapturerWinMagnifier (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, jiayl
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Several minor changes to ScreenCapturerWinMagnifier 1. Remove legacy screen-saver-blocking logic 2. tls_index_ is not a good choice, we can use thread-static 3. ScreenCapturerHelper is not designed for this scenario 4. Disable this capturer on 2+ monitors system BUG=638802 Committed: https://crrev.com/05bba2be48f241e865675fdffb17fff8f9efb62d Cr-Commit-Position: refs/heads/master@{#14342}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Resolve review comments #

Patch Set 3 : Revert thread_local to tls_index #

Patch Set 4 : Add TODO to use include & regular function calls to replace dynamical loaded library #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -71 lines) Patch
M webrtc/modules/desktop_capture/screen_capturer_unittest.cc View 1 5 chunks +19 lines, -13 lines 0 comments Download
M webrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.h View 1 2 1 chunk +0 lines, -7 lines 0 comments Download
M webrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.cc View 1 2 3 11 chunks +43 lines, -51 lines 0 comments Download

Messages

Total messages: 43 (25 generated)
Hzj_jie
4 years, 3 months ago (2016-09-14 22:18:05 UTC) #13
qiangchen
On 2016/09/14 22:18:05, Hzj_jie wrote: I am not quite familiar with tls_index_. Can you let ...
4 years, 3 months ago (2016-09-14 23:06:24 UTC) #14
Hzj_jie
On 2016/09/14 23:06:24, qiangchenC wrote: > On 2016/09/14 22:18:05, Hzj_jie wrote: > > I am ...
4 years, 3 months ago (2016-09-15 18:33:34 UTC) #15
Sergey Ulanov
https://codereview.chromium.org/2319383002/diff/190001/webrtc/modules/desktop_capture/screen_capturer_unittest.cc File webrtc/modules/desktop_capture/screen_capturer_unittest.cc (right): https://codereview.chromium.org/2319383002/diff/190001/webrtc/modules/desktop_capture/screen_capturer_unittest.cc#newcode383 webrtc/modules/desktop_capture/screen_capturer_unittest.cc:383: // Disabled due to being flaky due to the ...
4 years, 3 months ago (2016-09-19 20:53:18 UTC) #17
Hzj_jie
https://codereview.chromium.org/2319383002/diff/190001/webrtc/modules/desktop_capture/screen_capturer_unittest.cc File webrtc/modules/desktop_capture/screen_capturer_unittest.cc (right): https://codereview.chromium.org/2319383002/diff/190001/webrtc/modules/desktop_capture/screen_capturer_unittest.cc#newcode383 webrtc/modules/desktop_capture/screen_capturer_unittest.cc:383: // Disabled due to being flaky due to the ...
4 years, 3 months ago (2016-09-19 22:05:23 UTC) #18
Sergey Ulanov
https://codereview.chromium.org/2319383002/diff/190001/webrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.cc File webrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.cc (right): https://codereview.chromium.org/2319383002/diff/190001/webrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.cc#newcode36 webrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.cc:36: thread_local static ScreenCapturerWinMagnifier* kCurrent; On 2016/09/19 22:05:23, Hzj_jie wrote: ...
4 years, 3 months ago (2016-09-19 22:21:25 UTC) #19
Hzj_jie
On 2016/09/19 22:21:25, Sergey Ulanov wrote: > https://codereview.chromium.org/2319383002/diff/190001/webrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.cc > File webrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.cc > (right): > > ...
4 years, 3 months ago (2016-09-19 22:29:42 UTC) #20
Sergey Ulanov
I'd still prefer to avoid __declspec(thread) as I'm not sure it's safe. E.g. does it ...
4 years, 3 months ago (2016-09-20 23:33:22 UTC) #21
Hzj_jie
4 years, 3 months ago (2016-09-21 00:47:26 UTC) #25
Sergey Ulanov
lgtm
4 years, 3 months ago (2016-09-21 20:34:29 UTC) #26
Hzj_jie
I have just realized these Mag* functions are available on Windows Vista or upper, since ...
4 years, 3 months ago (2016-09-21 21:18:46 UTC) #27
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/2319383002/310001
4 years, 3 months ago (2016-09-21 21:37:54 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/8609)
4 years, 3 months ago (2016-09-21 21:48:04 UTC) #32
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/2319383002/310001
4 years, 3 months ago (2016-09-21 21:49:35 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 3 months ago (2016-09-21 23:17:52 UTC) #37
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/2319383002/310001
4 years, 3 months ago (2016-09-22 00:10:25 UTC) #39
commit-bot: I haz the power
Committed patchset #4 (id:310001)
4 years, 3 months ago (2016-09-22 00:25:44 UTC) #41
commit-bot: I haz the power
4 years, 3 months ago (2016-09-22 00:25:55 UTC) #43
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/05bba2be48f241e865675fdffb17fff8f9efb62d
Cr-Commit-Position: refs/heads/master@{#14342}

Powered by Google App Engine
This is Rietveld 408576698