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

Unified Diff: webrtc/modules/desktop_capture/desktop_capture_options.h

Issue 1845113002: DirectX based screen capturer logic (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Remove unrelated changes Created 4 years, 8 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
Index: webrtc/modules/desktop_capture/desktop_capture_options.h
diff --git a/webrtc/modules/desktop_capture/desktop_capture_options.h b/webrtc/modules/desktop_capture/desktop_capture_options.h
index 68bb5884459ea13fe569a8e0d10483091f1f0450..2bf995876297eda4fb962729217e2b242b09ac84 100644
--- a/webrtc/modules/desktop_capture/desktop_capture_options.h
+++ b/webrtc/modules/desktop_capture/desktop_capture_options.h
@@ -83,6 +83,14 @@ class DesktopCaptureOptions {
void set_allow_use_magnification_api(bool allow) {
allow_use_magnification_api_ = allow;
}
+ // Allowing directx based capturer or not, this capturer works on windows 7
+ // with platform update / windows 8 or upper.
+ bool allow_directx_capturer() const {
+ return allow_directx_capturer_;
+ }
+ void set_allow_directx_capturer(bool enabled) {
+ allow_directx_capturer_ = enabled;
+ }
#endif
private:
@@ -98,6 +106,7 @@ class DesktopCaptureOptions {
#if defined(WEBRTC_WIN)
bool allow_use_magnification_api_;
+ bool allow_directx_capturer_;
Sergey Ulanov 2016/05/13 19:38:10 = false; so the new capturer is disabled by defaul
Hzj_jie 2016/05/16 18:17:28 Done.
#endif
bool use_update_notifications_;
bool disable_effects_;

Powered by Google App Engine
This is Rietveld 408576698