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

Issue 1705183002: Fix screen flickering for Windows platform… (Closed)

Created:
4 years, 10 months ago by GeorgeZ
Modified:
4 years, 10 months ago
Reviewers:
Sergey Ulanov
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Screen was flickering when the picker for desktop medias showed up in Windows platform. Keeping track of window size for each window so that BitBlt() instead of PrintWindow() will be called for windows with unchanged sizes. BUG=472857 Committed: https://crrev.com/77f3e0da5a2ad50dab6c1ebad490dad8a88a779a Cr-Commit-Position: refs/heads/master@{#11721}

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -1 line) Patch
M webrtc/modules/desktop_capture/window_capturer_win.cc View 1 2 3 5 chunks +17 lines, -1 line 0 comments Download

Messages

Total messages: 19 (8 generated)
Sergey Ulanov
https://codereview.chromium.org/1705183002/diff/1/webrtc/modules/desktop_capture/window_capturer_win.cc File webrtc/modules/desktop_capture/window_capturer_win.cc (right): https://codereview.chromium.org/1705183002/diff/1/webrtc/modules/desktop_capture/window_capturer_win.cc#newcode106 webrtc/modules/desktop_capture/window_capturer_win.cc:106: std::map<HWND, DesktopSize> window_size_map_; Add a comment to explain why ...
4 years, 10 months ago (2016-02-18 18:50:00 UTC) #2
GeorgeZ
Sergey, I updated code based on your comments. Thanks https://codereview.chromium.org/1705183002/diff/1/webrtc/modules/desktop_capture/window_capturer_win.cc File webrtc/modules/desktop_capture/window_capturer_win.cc (right): https://codereview.chromium.org/1705183002/diff/1/webrtc/modules/desktop_capture/window_capturer_win.cc#newcode106 webrtc/modules/desktop_capture/window_capturer_win.cc:106: ...
4 years, 10 months ago (2016-02-19 23:34:48 UTC) #4
Sergey Ulanov
https://codereview.chromium.org/1705183002/diff/20001/webrtc/modules/desktop_capture/window_capturer_win.cc File webrtc/modules/desktop_capture/window_capturer_win.cc (right): https://codereview.chromium.org/1705183002/diff/20001/webrtc/modules/desktop_capture/window_capturer_win.cc#newcode107 webrtc/modules/desktop_capture/window_capturer_win.cc:107: // JavaScript fucntion ChooseDesktopMedia() leads SelectWindow() and Capture() nit: ...
4 years, 10 months ago (2016-02-20 18:47:49 UTC) #5
GeorgeZ
Sergey, I updated code based on your comments. Thanks, https://codereview.chromium.org/1705183002/diff/20001/webrtc/modules/desktop_capture/window_capturer_win.cc File webrtc/modules/desktop_capture/window_capturer_win.cc (right): https://codereview.chromium.org/1705183002/diff/20001/webrtc/modules/desktop_capture/window_capturer_win.cc#newcode107 webrtc/modules/desktop_capture/window_capturer_win.cc:107: ...
4 years, 10 months ago (2016-02-22 17:08:46 UTC) #6
Sergey Ulanov
LGTM. Thanks for fixing it. https://codereview.chromium.org/1705183002/diff/40001/webrtc/modules/desktop_capture/window_capturer_win.cc File webrtc/modules/desktop_capture/window_capturer_win.cc (right): https://codereview.chromium.org/1705183002/diff/40001/webrtc/modules/desktop_capture/window_capturer_win.cc#newcode14 webrtc/modules/desktop_capture/window_capturer_win.cc:14: #include <set> don't need ...
4 years, 10 months ago (2016-02-22 17:49:54 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1705183002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1705183002/40001
4 years, 10 months ago (2016-02-22 18:40:49 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: ios64_sim_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios64_sim_dbg/builds/5313) ios_arm64_dbg on tryserver.webrtc (JOB_FAILED, ...
4 years, 10 months ago (2016-02-22 18:41:44 UTC) #11
GeorgeZ
Sergey, Updated based your comments. Thanks https://codereview.chromium.org/1705183002/diff/40001/webrtc/modules/desktop_capture/window_capturer_win.cc File webrtc/modules/desktop_capture/window_capturer_win.cc (right): https://codereview.chromium.org/1705183002/diff/40001/webrtc/modules/desktop_capture/window_capturer_win.cc#newcode14 webrtc/modules/desktop_capture/window_capturer_win.cc:14: #include <set> On ...
4 years, 10 months ago (2016-02-22 18:59:13 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1705183002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1705183002/60001
4 years, 10 months ago (2016-02-23 16:56:23 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 10 months ago (2016-02-23 16:57:50 UTC) #17
commit-bot: I haz the power
4 years, 10 months ago (2016-02-23 16:57:59 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/77f3e0da5a2ad50dab6c1ebad490dad8a88a779a
Cr-Commit-Position: refs/heads/master@{#11721}

Powered by Google App Engine
This is Rietveld 408576698