Home
last modified time | relevance | path

Searched refs:duplicators_ (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/modules/desktop_capture/win/
Ddxgi_adapter_duplicator.cc42 duplicators_.clear(); in Initialize()
91 duplicators_.push_back(std::move(duplicator)); in DoInitialize()
92 desktop_rect_.UnionWith(duplicators_.back().desktop_rect()); in DoInitialize()
107 if (duplicators_.empty()) { in DoInitialize()
112 return !duplicators_.empty(); in DoInitialize()
117 context->contexts.resize(duplicators_.size()); in Setup()
118 for (size_t i = 0; i < duplicators_.size(); i++) { in Setup()
119 duplicators_[i].Setup(&context->contexts[i]); in Setup()
124 RTC_DCHECK_EQ(context->contexts.size(), duplicators_.size()); in Unregister()
125 for (size_t i = 0; i < duplicators_.size(); i++) { in Unregister()
[all …]
Ddxgi_duplicator_controller.cc212 for (size_t i = 0; i < duplicators_.size(); i++) { in Unregister()
213 duplicators_[i].Unregister(&context->contexts[i]); in Unregister()
218 if (!duplicators_.empty()) { in Initialize()
231 RTC_DCHECK(duplicators_.empty()); in DoInitialize()
266 duplicators_.push_back(std::move(duplicator)); in DoInitialize()
268 desktop_rect_.UnionWith(duplicators_.back().desktop_rect()); in DoInitialize()
281 if (duplicators_.empty()) { in DoInitialize()
286 return !duplicators_.empty(); in DoInitialize()
291 duplicators_.clear(); in Deinitialize()
299 context->contexts.size() != duplicators_.size(); in ContextExpired()
[all …]
Ddxgi_adapter_duplicator.h86 std::vector<DxgiOutputDuplicator> duplicators_; variable
Ddxgi_duplicator_controller.h229 std::vector<DxgiAdapterDuplicator> duplicators_; variable