diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-07 00:18:33 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-07 00:18:33 +0000 |
commit | 6013c798adabecc868d3e42da8404652507ad694 (patch) | |
tree | a758958c5383eb59071cb4de67891ded55ebbb95 /native_client_sdk/src/test_all.py | |
parent | 49f6cce89c8780a68acca444fd7cd19d411410cf (diff) | |
download | chromium_src-6013c798adabecc868d3e42da8404652507ad694.zip chromium_src-6013c798adabecc868d3e42da8404652507ad694.tar.gz chromium_src-6013c798adabecc868d3e42da8404652507ad694.tar.bz2 |
Ensure that pepper plugins honor the GPU H/W video decode blacklist and the disable-accelerated-video-decode switch
Pepper plugins like Flash should honor the GPU blacklist. Not doing that causes them to
try and use buggy video drivers for video decoding which does not end well.
This is done by adding a flag in the accelerated_video_decode_enabled in the WebPreferences structure
This is initialized along with the other preferences in the GpuDataManagerImplPrivate::UpdateRendererWebPrefs
function. This is also passed to PPAPI plugins via the ppapi::Preferences structure.
The flag defaults to false. The plugin process checks this flag and if it is false does
not attempt to create the video decoder.
BUG=348154
R=bbudge@chromium.org, cpu@chromium.org, jam@chromium.org, jamesr@chromium.org, jbauman@chromium.org, palmer@chromium.org, bbudge, cpu, jbauman
Review URL: https://codereview.chromium.org/188143003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255473 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'native_client_sdk/src/test_all.py')
0 files changed, 0 insertions, 0 deletions