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

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

Issue 2781253002: ScreenCapturerWinDirectx flickers in Desktop Capturer Sample (Closed)
Patch Set: Resolve review comments 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..82f8be3658c5e3b5e5aa9971c312e60e895cb2dc 100644
--- a/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.h
+++ b/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.h
@@ -59,10 +59,11 @@ class ScreenCapturerWinDirectx : public DesktopCapturer {
// Returns desktop size of selected screen.
DesktopSize SelectedDesktopSize() const;
+ // TODO(zijiehe): Merge |frames_| and |contexts_| into a single object.
ScreenCaptureFrameQueue<SharedDesktopFrame> frames_;
+ ScreenCaptureFrameQueue<DxgiDuplicatorController::Context> contexts_;
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