Skip to content
Snippets Groups Projects
Commit 9e707613 authored by zmo@google.com's avatar zmo@google.com
Browse files

Merge r75130:

Blacklist GPU features on Windows XP.
Also, gpu blacklist is ignored if use-gl=osmesa; this is for chromium bots.

BUG=72975
TEST=on XP WebGL is disabled

Review URL: http://codereview.chromium.org/6526020

Review URL: http://codereview.chromium.org/6551023

git-svn-id: svn://svn.chromium.org/chrome/branches/648/src@75676 0039d316-1c4b-4281-b951-d872f2087c98
parent 8809f4b9
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,7 @@
#include "chrome/browser/gpu_process_host.h"
#include "app/app_switches.h"
#include "app/gfx/gl/gl_implementation.h"
#include "base/command_line.h"
#include "base/metrics/histogram.h"
#include "base/string_piece.h"
......@@ -403,6 +404,8 @@ bool GpuProcessHost::LoadGpuBlacklist() {
GpuBlacklist* blacklist = new GpuBlacklist();
const CommandLine& browser_command_line = *CommandLine::ForCurrentProcess();
if (browser_command_line.HasSwitch(switches::kIgnoreGpuBlacklist) ||
browser_command_line.GetSwitchValueASCII(
switches::kUseGL) == gfx::kGLImplementationOSMesaName ||
blacklist->LoadGpuBlacklist(gpu_blacklist_json.as_string(), true)) {
gpu_blacklist_.reset(blacklist);
return true;
......
......@@ -38,7 +38,7 @@
{
"name": "gpu blacklist",
// Please update the version number whenever you change this file.
"version": "0.8",
"version": "0.9",
"entries": [
{ // ATI Radeon X1900 on Mac, BUGWEBKIT=47028
"id": "1",
......@@ -138,6 +138,20 @@
"webgl",
"accelerated_compositing"
]
},
{ // Windows XP, BUG=72975
"id": "9",
"os": {
"type": "win",
"version": {
"op": "=",
"number": "5"
}
},
"blacklist": [
"webgl",
"accelerated_compositing"
]
}
]
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment