Revert 124954 - Disable certain gpu feature tests for certain bots.

Canvas2D is not supported on XP.
Multisampling is not supported in Linux Intel.

BUG=
TEST=gpu waterfall, XP bots, Linux Intel bot
R=jbates
Review URL: https://chromiumcodereview.appspot.com/9582033

TBR=zmo@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9578019

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124960 0039d316-1c4b-4281-b951-d872f2087c98
parent d01e6ff9
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include "chrome/test/base/ui_test_utils.h" #include "chrome/test/base/ui_test_utils.h"
#include "content/public/browser/gpu_data_manager.h" #include "content/public/browser/gpu_data_manager.h"
#include "content/public/common/content_switches.h" #include "content/public/common/content_switches.h"
#include "content/test/gpu/gpu_test_config.h"
#include "net/base/net_util.h" #include "net/base/net_util.h"
#include "ui/gfx/gl/gl_switches.h" #include "ui/gfx/gl/gl_switches.h"
...@@ -225,15 +224,6 @@ IN_PROC_BROWSER_TEST_F(GpuFeatureTest, MultisamplingAllowed) { ...@@ -225,15 +224,6 @@ IN_PROC_BROWSER_TEST_F(GpuFeatureTest, MultisamplingAllowed) {
if (use_gl == gfx::kGLImplementationOSMesaName) if (use_gl == gfx::kGLImplementationOSMesaName)
return; return;
#if defined(OS_LINUX)
// Linux Intel uses mesa driver, where multisampling is not supported.
GPUTestBotConfig test_bot;
test_bot.LoadCurrentConfig(NULL);
const std::vector<uint32>& gpu_vendor = test_bot.gpu_vendor();
if (gpu_vendor.size() == 1 && gpu_vendor[0] == 0x8086)
return;
#endif
const FilePath url(FILE_PATH_LITERAL("feature_multisampling.html")); const FilePath url(FILE_PATH_LITERAL("feature_multisampling.html"));
RunTest(url, "\"TRUE\"", true); RunTest(url, "\"TRUE\"", true);
} }
...@@ -286,16 +276,7 @@ IN_PROC_BROWSER_TEST_F(Canvas2DEnabledTest, Canvas2DAllowed) { ...@@ -286,16 +276,7 @@ IN_PROC_BROWSER_TEST_F(Canvas2DEnabledTest, Canvas2DAllowed) {
EXPECT_EQ(type, 0); EXPECT_EQ(type, 0);
const FilePath url(FILE_PATH_LITERAL("feature_canvas2d.html")); const FilePath url(FILE_PATH_LITERAL("feature_canvas2d.html"));
RunTest(url, EXPECT_GPU_SWAP_BUFFERS);
GpuResultFlags expectations = EXPECT_GPU_SWAP_BUFFERS;
#if defined(OS_WIN)
// Accelerated canvas 2D is not supported on XP.
GPUTestBotConfig test_bot;
test_bot.LoadCurrentConfig(NULL);
if (test_bot.os() == GPUTestConfig::kOSWinXP)
expectations = EXPECT_NO_GPU_PROCESS;
#endif
RunTest(url, expectations);
} }
IN_PROC_BROWSER_TEST_F(Canvas2DEnabledTest, Canvas2DBlocked) { IN_PROC_BROWSER_TEST_F(Canvas2DEnabledTest, Canvas2DBlocked) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment