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

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 width change in Texture::Capture 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..167c6b2a16eddd253047ecd8b335f978f078d877 100644
--- a/webrtc/modules/desktop_capture/desktop_capture_options.h
+++ b/webrtc/modules/desktop_capture/desktop_capture_options.h
@@ -83,6 +83,10 @@ class DesktopCaptureOptions {
void set_allow_use_magnification_api(bool allow) {
allow_use_magnification_api_ = allow;
}
+ bool use_directx_capturer() const { return use_directx_capturer_; }
Sergey Ulanov 2016/04/14 23:10:42 Maybe call it allow_directx_capturer? The new capt
Hzj_jie 2016/04/15 19:42:17 Done.
+ void set_use_directx_capturer(bool enabled) {
+ use_directx_capturer_ = enabled;
+ }
#endif
private:
@@ -98,6 +102,7 @@ class DesktopCaptureOptions {
#if defined(WEBRTC_WIN)
bool allow_use_magnification_api_;
+ bool use_directx_capturer_;
#endif
bool use_update_notifications_;
bool disable_effects_;

Powered by Google App Engine
This is Rietveld 408576698