summaryrefslogtreecommitdiffstats
path: root/content/browser/gpu_blacklist.h
diff options
context:
space:
mode:
authoramarinichev@chromium.org <amarinichev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-22 21:42:42 +0000
committeramarinichev@chromium.org <amarinichev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-22 21:42:42 +0000
commitf0db0ee76350fe3f157778c4bea604cff5fa123e (patch)
tree0a95566f594530068d43589de845a2c9e13b5da1 /content/browser/gpu_blacklist.h
parent3225aeb02d64058e7d30ffcfda69a68002e2af53 (diff)
downloadchromium_src-f0db0ee76350fe3f157778c4bea604cff5fa123e.zip
chromium_src-f0db0ee76350fe3f157778c4bea604cff5fa123e.tar.gz
chromium_src-f0db0ee76350fe3f157778c4bea604cff5fa123e.tar.bz2
Prevent blacklisting of Intel GPUs on ChromeOS
In software rendering list logic, ChromeOS is identified as Linux. Therefore, all the GPU drivers that are blacklisted in Linux are blacklisted in ChromeOS. This change identifies ChromeOS specifically and bypasses the software rendering list logic. BUG=chromium-os:13342 TEST=GPU acceleration restored in Chromium OS with Intel GPU. Review URL: http://codereview.chromium.org/6715030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79043 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/gpu_blacklist.h')
-rw-r--r--content/browser/gpu_blacklist.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/browser/gpu_blacklist.h b/content/browser/gpu_blacklist.h
index 6181178..77832cb 100644
--- a/content/browser/gpu_blacklist.h
+++ b/content/browser/gpu_blacklist.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -24,6 +24,7 @@ class GpuBlacklist {
kOsLinux,
kOsMacosx,
kOsWin,
+ kOsChromeOS,
kOsAny,
kOsUnknown
};