| Index: content/browser/gpu/compositor_util.cc
|
| diff --git a/content/browser/gpu/compositor_util.cc b/content/browser/gpu/compositor_util.cc
|
| index 8263e0f6508ddecdd2441949e96207ba37fff673..f7abcbeb72d39cfea6371474eb3c041434aef747 100644
|
| --- a/content/browser/gpu/compositor_util.cc
|
| +++ b/content/browser/gpu/compositor_util.cc
|
| @@ -137,6 +137,14 @@ const GpuFeatureInfo GetGpuFeatureInfo(size_t index, bool* eof) {
|
| "Native GpuMemoryBuffers have been disabled, either via about:flags"
|
| " or command line.",
|
| true},
|
| + {"vpx_decode", manager->IsFeatureBlacklisted(
|
| + gpu::GPU_FEATURE_TYPE_ACCELERATED_VPX_DECODE) ||
|
| + manager->IsFeatureBlacklisted(
|
| + gpu::GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE),
|
| + command_line.HasSwitch(switches::kDisableAcceleratedVideoDecode),
|
| + "Accelerated VPx video decode has been disabled, either via blacklist,"
|
| + " about:flags or the command line.",
|
| + true},
|
| };
|
| DCHECK(index < arraysize(kGpuFeatureInfo));
|
| *eof = (index == arraysize(kGpuFeatureInfo) - 1);
|
|
|