video: On ChromeOS don't assume GLX always.
Hardware video decode depends on GLX but we may be using OSMesa. In this case fallback to non-hardware video decode gracefully instead of static casting to an incorrect type. This allows us to remove flags forcing non-OSMesa for some tests, and they will test hardware decode on the ChromeOS VMs still. These flags must go in order to support browser tests running with a compositor instead of using legacy software mode, since GLX inside the bot Xvfb environment can not run the compositor. (This is a small piece of enabling us to test real code paths in browser tests https://codereview.chromium.org/120313002/ .) R=piman BUG=270918 Review URL: https://codereview.chromium.org/132503002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244111 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment