commit | 31225b9c5f3f685d65f742dc129241c30c32157c | [log] [tgz] |
---|---|---|
author | Julien Isorce <julien.isorce@chromium.org> | Sat Dec 15 01:02:18 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Sat Dec 15 01:02:18 2018 |
tree | 31820d8dcb08b4ffe4588af38c53860b0c7c40ac | |
parent | 101d767d938a3b3a3b710d40ebd1c24895c6b1d3 [diff] |
Enable mojo video decoders by default on Linux desktop if use_vaapi is true Already the case for ChromeOS, Mac and Win. And run the service in the GPU process too. Except that here the gn arg use_vaapi has to be true as well. Note that this CL does not change the following: - the gn arg 'use_vaapi' is still false by default on Linux, see media/gpu/args.gni - 'accelerated_video_decode' is still black listed on Linux, see entry 48 in gpu/config/software_rendering_list.json - it is still not possible to enable hw video decode from about:flags, see chrome/browser/about_flags.cc Also note that with this CL the ffmpeg and libvpx video decoders are still selected thanks to media::DecoderSelector::SelectDecoder in case vaapi fails to initialize. Also see https://chromium-review.googlesource.com/c/chromium/src/+/1225275/ which was very similar but for ChromeOS. Tested on Linux desktop with gn args: - use_vaapi = true (default is false) ./out/release/chrome --ignore-gpu-blacklist --use-gl=desktop url_to_vp9_video ./out/release/chrome --ignore-gpu-blacklist --use-gl=egl url_to_vp9_video -> MojoVideoDecoder was in use and VaapiVideoDecodeAccelerator runing in the GPU process, through MojoVideoDecoderService Bug: 522298 Change-Id: Ia19f9f3edc0af488a477a16001b7de4f4818b3b2 Reviewed-on: https://chromium-review.googlesource.com/c/1370717 Reviewed-by: Dan Sanders <sandersd@chromium.org> Commit-Queue: Julien Isorce <julien.isorce@chromium.org> Cr-Commit-Position: refs/heads/master@{#616901}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .