| Index: webrtc/modules/desktop_capture/win/dxgi_adapter_duplicator.h
|
| diff --git a/webrtc/modules/desktop_capture/win/dxgi_adapter_duplicator.h b/webrtc/modules/desktop_capture/win/dxgi_adapter_duplicator.h
|
| index 0261105ea09c46ac8d9d2dd823000c1dd4da45fe..a1ef0438c6b9991723f4f63b012efa68ace21731 100644
|
| --- a/webrtc/modules/desktop_capture/win/dxgi_adapter_duplicator.h
|
| +++ b/webrtc/modules/desktop_capture/win/dxgi_adapter_duplicator.h
|
| @@ -70,17 +70,18 @@ class DxgiAdapterDuplicator {
|
| // Returns the count of screens owned by this DxgiAdapterDuplicator. These
|
| // screens can be retrieved by an interger in the range of
|
| // [0, screen_count()).
|
| - int screen_count() const { return static_cast<int>(duplicators_.size()); }
|
| -
|
| - private:
|
| - friend class DxgiDuplicatorController;
|
| -
|
| - bool DoInitialize();
|
| + int screen_count() const;
|
|
|
| void Setup(Context* context);
|
|
|
| void Unregister(const Context* const context);
|
|
|
| + // The minimum num_frames_captured() returned by |duplicators_|.
|
| + int64_t GetNumFramesCaptured() const;
|
| +
|
| + private:
|
| + bool DoInitialize();
|
| +
|
| const D3dDevice device_;
|
| std::vector<DxgiOutputDuplicator> duplicators_;
|
| DesktopRect desktop_rect_;
|
|
|