Index: content/public/common/content_switches.cc |
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc |
index 50dffe35c94194a46ea1a2f3f7367080cdbe7f90..4c713f80ece51edbf119e68ed0b036ba70f63d76 100644 |
--- a/content/public/common/content_switches.cc |
+++ b/content/public/common/content_switches.cc |
@@ -236,6 +236,9 @@ const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket"; |
// Enables HW decode acceleration for WebRTC. |
const char kEnableWebRtcHWDecoding[] = "enable-webrtc-hw-decoding"; |
+// Enables HW encode acceleration for WebRTC. |
+const char kEnableWebRtcHWEncoding[] = "enable-webrtc-hw-encoding"; |
+ |
// Enable CSS Transitions / Animations on the Web Animations model. |
const char kEnableWebAnimationsCSS[] = "enable-web-animations-css"; |
@@ -485,6 +488,10 @@ const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; |
const char kDisableAcceleratedVideoDecode[] = |
"disable-accelerated-video-decode"; |
+// Disables hardware acceleration of video encode, where available. |
+const char kDisableAcceleratedVideoEncode[] = |
+ "disable-accelerated-video-encode"; |
+ |
// Enables the use of the viewport meta tag, which allows |
// pages to control aspects of their own layout. This also turns on touch-screen |
// pinch gestures. |