| Index: webrtc/modules/desktop_capture/win/dxgi_output_duplicator.h
|
| diff --git a/webrtc/modules/desktop_capture/win/dxgi_output_duplicator.h b/webrtc/modules/desktop_capture/win/dxgi_output_duplicator.h
|
| index 7d2c2edef605c72d91b7dcd76a024718d805208e..dfc19af61c3a004fd8cdc541c67dd894cc3a10e3 100644
|
| --- a/webrtc/modules/desktop_capture/win/dxgi_output_duplicator.h
|
| +++ b/webrtc/modules/desktop_capture/win/dxgi_output_duplicator.h
|
| @@ -75,6 +75,9 @@ class DxgiOutputDuplicator {
|
| // How many frames have been captured by this DxigOutputDuplicator.
|
| int64_t num_frames_captured() const;
|
|
|
| + // Moves |desktop_rect_|. See DxgiDuplicatorController::TranslateRect().
|
| + void TranslateRect(const DesktopVector& position);
|
| +
|
| private:
|
| // Calls DoDetectUpdatedRegion(). If it fails, this function sets the
|
| // |updated_region| as entire UntranslatedDesktopRect().
|
| @@ -109,7 +112,7 @@ class DxgiOutputDuplicator {
|
|
|
| const D3dDevice device_;
|
| const Microsoft::WRL::ComPtr<IDXGIOutput1> output_;
|
| - const DesktopRect desktop_rect_;
|
| + DesktopRect desktop_rect_;
|
| Microsoft::WRL::ComPtr<IDXGIOutputDuplication> duplication_;
|
| DXGI_OUTDUPL_DESC desc_;
|
| std::vector<uint8_t> metadata_;
|
|
|