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

Issue 2468083002: Remove the requirement of D3D_FEATURE_LEVEL_11_0, but export the D3D_FEATURE_LEVEL through APIs (Closed)

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

Description

Remove the requirement of D3D_FEATURE_LEVEL_11_0, but export the D3D_FEATURE_LEVEL through APIs D3D_FEATURE_LEVEL_11_0 is not offically documented on MSDN to be a requirement of DXGI duplicator APIs. So instead of using D3D_FEATURE_LEVEL_11_0 as a requirement in D3dDevice::Initialize(), this change adds a ScreenCapturerWinDirectx::SupportedFeatureLevel() function to retrieves minimum and maximium for further reference (in HostTraits to control the experiment). BUG=314516 Committed: https://crrev.com/556f49d6b6009f4110872f06510e734fdde74a79 Cr-Commit-Position: refs/heads/master@{#14962}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Resolve review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -7 lines) Patch
M webrtc/modules/desktop_capture/win/d3d_device.cc View 2 chunks +7 lines, -4 lines 0 comments Download
M webrtc/modules/desktop_capture/win/dxgi_duplicator_controller.h View 1 4 chunks +24 lines, -0 lines 0 comments Download
M webrtc/modules/desktop_capture/win/dxgi_duplicator_controller.cc View 1 3 chunks +24 lines, -0 lines 0 comments Download
M webrtc/modules/desktop_capture/win/screen_capturer_win_directx.h View 1 2 chunks +15 lines, -2 lines 0 comments Download
M webrtc/modules/desktop_capture/win/screen_capturer_win_directx.cc View 1 1 chunk +8 lines, -1 line 0 comments Download

Messages

Total messages: 17 (11 generated)
Hzj_jie
4 years, 1 month ago (2016-11-02 00:00:15 UTC) #7
Sergey Ulanov
LGTM, but please see my suggesions https://codereview.webrtc.org/2468083002/diff/100001/webrtc/modules/desktop_capture/win/d3d_device.cc File webrtc/modules/desktop_capture/win/d3d_device.cc (right): https://codereview.webrtc.org/2468083002/diff/100001/webrtc/modules/desktop_capture/win/d3d_device.cc#newcode46 webrtc/modules/desktop_capture/win/d3d_device.cc:46: if (feature_level < ...
4 years, 1 month ago (2016-11-07 19:37:16 UTC) #8
Hzj_jie
https://codereview.webrtc.org/2468083002/diff/100001/webrtc/modules/desktop_capture/win/d3d_device.cc File webrtc/modules/desktop_capture/win/d3d_device.cc (right): https://codereview.webrtc.org/2468083002/diff/100001/webrtc/modules/desktop_capture/win/d3d_device.cc#newcode46 webrtc/modules/desktop_capture/win/d3d_device.cc:46: if (feature_level < D3D_FEATURE_LEVEL_11_0) { On 2016/11/07 19:37:16, Sergey ...
4 years, 1 month ago (2016-11-08 01:25:40 UTC) #11
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/2468083002/160001
4 years, 1 month ago (2016-11-08 02:14:52 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:160001)
4 years, 1 month ago (2016-11-08 02:35:19 UTC) #15
commit-bot: I haz the power
4 years, 1 month ago (2016-11-08 02:35:23 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/556f49d6b6009f4110872f06510e734fdde74a79
Cr-Commit-Position: refs/heads/master@{#14962}

Powered by Google App Engine
This is Rietveld 408576698