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

Unified Diff: content/browser/gpu/compositor_util.cc

Issue 74563002: AndroidVideoEncodeAccelerator is born! (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added blacklist-based disabling Created 7 years, 1 month 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/gpu/compositor_util.cc
diff --git a/content/browser/gpu/compositor_util.cc b/content/browser/gpu/compositor_util.cc
index 916fcdec541cae52c0a4ed9bb88fe6643100dd79..c4136085d70be39c0aac2c852fd8874ce4a131ed 100644
--- a/content/browser/gpu/compositor_util.cc
+++ b/content/browser/gpu/compositor_util.cc
@@ -141,6 +141,15 @@ const GpuFeatureInfo GetGpuFeatureInfo(size_t index) {
true
},
{
+ "video_encode",
+ manager->IsFeatureBlacklisted(
+ gpu::GPU_FEATURE_TYPE_ACCELERATED_VIDEO_ENCODE),
+ command_line.HasSwitch(switches::kDisableWebRtcHWEncoding),
+ "Accelerated video encode has been disabled, either via about:flags"
xhwang 2013/11/26 18:08:28 Shall we mention "RTC" in the description?
Ami GONE FROM CHROMIUM 2013/11/26 19:11:59 Thought about it but didn't see a natural phrasing
+ " or command line.",
+ true
+ },
+ {
"video",
manager->IsFeatureBlacklisted(
gpu::GPU_FEATURE_TYPE_ACCELERATED_VIDEO),

Powered by Google App Engine
This is Rietveld 408576698