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

Issue 2937663003: Ensure Dxgi duplicator works correctly in session 0 (Closed)

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

Description

Ensure Dxgi duplicator works correctly in session 0 A recent update of Windows 10 blocks IDXGIAdapter::EnumOutputs() in session 0, so ScreenCapturerWinDirectx::IsSupported() always returns false in session 0. We should ensure ScreenCapturerWinDirectx can respond correctly in session 0. Meanwhile, this change looses the requirement of DirectX capturer: it still works if some of the video adapters do not support DirectX 11 or IDXGIOutputDuplication. This issue usually happens when handling a virtual video adapter. BUG=webrtc:7809 Review-Url: https://codereview.webrtc.org/2937663003 Cr-Commit-Position: refs/heads/master@{#18797} Committed: https://chromium.googlesource.com/external/webrtc/+/3dd574ad31ce7eaba7d5901ffcd627367bce6b0f

Patch Set 1 #

Total comments: 8

Patch Set 2 : Resolve review comments #

Total comments: 4

Patch Set 3 : Update logs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -22 lines) Patch
M webrtc/modules/desktop_capture/win/d3d_device.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M webrtc/modules/desktop_capture/win/dxgi_adapter_duplicator.cc View 1 3 chunks +23 lines, -6 lines 0 comments Download
M webrtc/modules/desktop_capture/win/dxgi_duplicator_controller.h View 1 3 chunks +6 lines, -1 line 0 comments Download
M webrtc/modules/desktop_capture/win/dxgi_duplicator_controller.cc View 1 2 7 chunks +54 lines, -11 lines 0 comments Download
M webrtc/modules/desktop_capture/win/dxgi_frame.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M webrtc/modules/desktop_capture/win/screen_capturer_win_directx.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (29 generated)
Hzj_jie
3 years, 6 months ago (2017-06-19 21:30:58 UTC) #15
Hzj_jie
Ping.
3 years, 5 months ago (2017-06-26 20:54:27 UTC) #16
Sergey Ulanov
https://codereview.webrtc.org/2937663003/diff/40001/webrtc/modules/desktop_capture/win/dxgi_adapter_duplicator.cc File webrtc/modules/desktop_capture/win/dxgi_adapter_duplicator.cc (right): https://codereview.webrtc.org/2937663003/diff/40001/webrtc/modules/desktop_capture/win/dxgi_adapter_duplicator.cc#newcode57 webrtc/modules/desktop_capture/win/dxgi_adapter_duplicator.cc:57: "NOT_CURRENTLY_AVAILABLE. Is it running on session 0?"; Rephrase the ...
3 years, 5 months ago (2017-06-26 23:41:41 UTC) #17
Hzj_jie
https://codereview.webrtc.org/2937663003/diff/40001/webrtc/modules/desktop_capture/win/dxgi_adapter_duplicator.cc File webrtc/modules/desktop_capture/win/dxgi_adapter_duplicator.cc (right): https://codereview.webrtc.org/2937663003/diff/40001/webrtc/modules/desktop_capture/win/dxgi_adapter_duplicator.cc#newcode57 webrtc/modules/desktop_capture/win/dxgi_adapter_duplicator.cc:57: "NOT_CURRENTLY_AVAILABLE. Is it running on session 0?"; On 2017/06/26 ...
3 years, 5 months ago (2017-06-27 04:37:33 UTC) #22
Sergey Ulanov
lgtm https://codereview.webrtc.org/2937663003/diff/60001/webrtc/modules/desktop_capture/win/dxgi_duplicator_controller.cc File webrtc/modules/desktop_capture/win/dxgi_duplicator_controller.cc (right): https://codereview.webrtc.org/2937663003/diff/60001/webrtc/modules/desktop_capture/win/dxgi_duplicator_controller.cc#newcode227 webrtc/modules/desktop_capture/win/dxgi_duplicator_controller.cc:227: // There may be several video cards on ...
3 years, 5 months ago (2017-06-28 01:29:59 UTC) #25
Hzj_jie
https://codereview.webrtc.org/2937663003/diff/60001/webrtc/modules/desktop_capture/win/dxgi_duplicator_controller.cc File webrtc/modules/desktop_capture/win/dxgi_duplicator_controller.cc (right): https://codereview.webrtc.org/2937663003/diff/60001/webrtc/modules/desktop_capture/win/dxgi_duplicator_controller.cc#newcode227 webrtc/modules/desktop_capture/win/dxgi_duplicator_controller.cc:227: // There may be several video cards on the ...
3 years, 5 months ago (2017-06-28 05:01:58 UTC) #31
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/2937663003/80001
3 years, 5 months ago (2017-06-28 05:02:18 UTC) #34
commit-bot: I haz the power
3 years, 5 months ago (2017-06-28 05:04:30 UTC) #37
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as
https://chromium.googlesource.com/external/webrtc/+/3dd574ad31ce7eaba7d5901ff...

Powered by Google App Engine
This is Rietveld 408576698