| Index: webrtc/modules/desktop_capture/win/screen_capturer_win_directx.cc
|
| diff --git a/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.cc b/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.cc
|
| index 770cfa212c586da6d9009bb3f312bf6008d9a9c5..bff89b84ffe7c89893ce8464e9bcb6e3c306dc62 100644
|
| --- a/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.cc
|
| +++ b/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.cc
|
| @@ -23,10 +23,20 @@ using Microsoft::WRL::ComPtr;
|
|
|
| // static
|
| bool ScreenCapturerWinDirectx::IsSupported() {
|
| - // Forward IsSupported function call to DxgiDuplicatorController.
|
| + // Forwards IsSupported() function call to DxgiDuplicatorController.
|
| return DxgiDuplicatorController::Instance()->IsSupported();
|
| }
|
|
|
| +// static
|
| +bool ScreenCapturerWinDirectx::SupportedFeatureLevels(
|
| + D3D_FEATURE_LEVEL* min_feature_level,
|
| + D3D_FEATURE_LEVEL* max_feature_level) {
|
| + // Forwards SupportedFeatureLevels() function call to
|
| + // DxgiDuplicatorController.
|
| + return DxgiDuplicatorController::Instance()->SupportedFeatureLevels(
|
| + min_feature_level, max_feature_level);
|
| +}
|
| +
|
| ScreenCapturerWinDirectx::ScreenCapturerWinDirectx(
|
| const DesktopCaptureOptions& options)
|
| : callback_(nullptr) {}
|
|
|