Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Unified Diff: webrtc/modules/desktop_capture/win/screen_capturer_win_directx.h

Issue 2781253002: ScreenCapturerWinDirectx flickers in Desktop Capturer Sample (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/modules/desktop_capture/win/screen_capturer_win_directx.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/desktop_capture/win/screen_capturer_win_directx.h
diff --git a/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.h b/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.h
index a48bda9954bd7e316474aa3701de33a03bf033f6..98283b6c37db9d8ebd4d80079c3fe34ea1754081 100644
--- a/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.h
+++ b/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.h
@@ -60,9 +60,9 @@ class ScreenCapturerWinDirectx : public DesktopCapturer {
DesktopSize SelectedDesktopSize() const;
ScreenCaptureFrameQueue<SharedDesktopFrame> frames_;
+ ScreenCaptureFrameQueue<DxgiDuplicatorController::Context> contexts_;
Sergey Ulanov 2017/03/30 17:59:41 Add a struct that holds a Context together with a
Hzj_jie 2017/03/30 18:11:18 I am happy to do so. But considering this change i
Sergey Ulanov 2017/03/31 19:28:53 Add a TODO?
Hzj_jie 2017/03/31 20:39:52 Definitely.
std::unique_ptr<SharedMemoryFactory> shared_memory_factory_;
Callback* callback_ = nullptr;
- DxgiDuplicatorController::Context context_;
SourceId current_screen_id_ = kFullDesktopScreenId;
ResolutionChangeDetector resolution_change_detector_;
« no previous file with comments | « no previous file | webrtc/modules/desktop_capture/win/screen_capturer_win_directx.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698