Index: gpu/config/gpu_test_config.cc |
diff --git a/gpu/config/gpu_test_config.cc b/gpu/config/gpu_test_config.cc |
index d99f71dc45ee700bba01b10d5b0e659abebd9cb7..35a85ce068f2af1e841c1aaf783c688bd5e8645e 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; |
} |