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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 333253002: Add VaapiVideoEncodeAccelerator for HW-accelerated video encode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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: content/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index efe852b1a15f19743b1d06e6bdb6c29209d22558..8bd4a919f6cf1291bf24db62f2a0fd46f3826633 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -1249,6 +1249,9 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
switches::kDisableDirectWrite,
switches::kEnableHighResolutionTime,
#endif
+#if defined(OS_CHROMEOS)
+ switches::kEnableVaapiAcceleratedVideoEncode,
+#endif
piman 2014/06/20 17:10:22 I don't see where this is used in the renderer.
Pawel Osciak 2014/06/20 22:28:11 Yeah, this is a bit convoluted. We need a way to b
};
renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames,
arraysize(kSwitchNames));

Powered by Google App Engine
This is Rietveld 408576698