diff options
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; } |