| 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..fcef14137ec3741f05170315ffa827f4a74b0645 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,17 @@ 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::RetrieveD3dInfo(D3dInfo* info) {
|
| + // Forwards SupportedFeatureLevels() function call to
|
| + // DxgiDuplicatorController.
|
| + return DxgiDuplicatorController::Instance()->RetrieveD3dInfo(info);
|
| +}
|
| +
|
| ScreenCapturerWinDirectx::ScreenCapturerWinDirectx(
|
| const DesktopCaptureOptions& options)
|
| : callback_(nullptr) {}
|
|
|