Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(433)

Unified Diff: gpu/config/gpu_test_config.cc

Issue 132403003: Update GPU feature tests to expect no GPU on Windows <=Vista (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/gpu/gpu_feature_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « chrome/test/gpu/gpu_feature_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698