diff options
author | ccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-10 03:50:05 +0000 |
---|---|---|
committer | ccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-10 03:50:05 +0000 |
commit | 3b886f41304b3dc1e4ecbee0be68561624d23d02 (patch) | |
tree | a456919afb9d5f737cca051bb27666920b2825be /gpu | |
parent | 1f2a8c73498108d7babcff9aa7d35a0481983b97 (diff) | |
download | chromium_src-3b886f41304b3dc1e4ecbee0be68561624d23d02.zip chromium_src-3b886f41304b3dc1e4ecbee0be68561624d23d02.tar.gz chromium_src-3b886f41304b3dc1e4ecbee0be68561624d23d02.tar.bz2 |
Update GPU feature tests to expect no GPU on Windows <=Vista
BUG=327430
Review URL: https://codereview.chromium.org/132403003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244077 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r-- | gpu/config/gpu_test_config.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gpu/config/gpu_test_config.cc b/gpu/config/gpu_test_config.cc index d99f71d..35a85ce 100644 --- a/gpu/config/gpu_test_config.cc +++ b/gpu/config/gpu_test_config.cc @@ -12,6 +12,8 @@ #if defined(OS_MACOSX) #include "base/mac/mac_util.h" +#elif defined(OS_WIN) +#include "base/win/windows_version.h" #endif namespace gpu { @@ -279,8 +281,12 @@ bool GPUTestBotConfig::GpuBlacklistedOnBot() { if (CurrentConfigMatches("MAC VMWARE") && base::mac::IsOSLionOrEarlier()) { return true; } +#elif defined(OS_WIN) + // Blacklist rule #79 disables all Gpu acceleration before Windows 7. + if (base::win::GetVersion() <= base::win::VERSION_VISTA) { + return true; + } #endif - // TODO(ccameron): This should be true on Windows XP as well. return false; } |