diff options
author | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-10 20:01:28 +0000 |
---|---|---|
committer | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-10 20:01:28 +0000 |
commit | 84c06f09f036cf76ba2af19ce3b79bb0fa34c517 (patch) | |
tree | d2896a6e1bb47ff109e3b75bb1fa0a3314d1cb97 /cc/test/tiled_layer_test_common.h | |
parent | c2a27b045c178857d925e8cc184b3c930391cfc0 (diff) | |
download | chromium_src-84c06f09f036cf76ba2af19ce3b79bb0fa34c517.zip chromium_src-84c06f09f036cf76ba2af19ce3b79bb0fa34c517.tar.gz chromium_src-84c06f09f036cf76ba2af19ce3b79bb0fa34c517.tar.bz2 |
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=fischman@chromium.org, piman@chromium.org, piman
BUG=270918
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244111
Review URL: https://codereview.chromium.org/132503002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244222 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/tiled_layer_test_common.h')
0 files changed, 0 insertions, 0 deletions