summaryrefslogtreecommitdiffstats
path: root/content/public
diff options
context:
space:
mode:
authorzmo@chromium.org <zmo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-22 01:07:21 +0000
committerzmo@chromium.org <zmo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-22 01:07:21 +0000
commit8114edfb2848264105f90b14d267df2d2c35d942 (patch)
treeda0a0dbede553f81b5b321ce100dbef60daca3a1 /content/public
parentc481bb685b669e1eeb83582c682ffa69d44cd21f (diff)
downloadchromium_src-8114edfb2848264105f90b14d267df2d2c35d942.zip
chromium_src-8114edfb2848264105f90b14d267df2d2c35d942.tar.gz
chromium_src-8114edfb2848264105f90b14d267df2d2c35d942.tar.bz2
Make full gpu info collection on Linux optional.
If we already have enough info to make blacklisting decisions from preliminary info collection, then we don't have to do full info collection at GPU process startup time. BUG= TEST=tree green Review URL: https://chromiumcodereview.appspot.com/10627010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143505 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public')
-rw-r--r--content/public/common/content_switches.cc3
-rw-r--r--content/public/common/content_switches.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index e825afb..0cc3e59 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -399,6 +399,9 @@ const char kForceRendererAccessibility[] = "force-renderer-accessibility";
// Passes gpu device_id from browser process to GPU process.
const char kGpuDeviceID[] = "gpu-device-id";
+// Passes gpu driver_vendor from browser process to GPU process.
+const char kGpuDriverVendor[] = "gpu-driver-vendor";
+
// Passes gpu driver_version from browser process to GPU process.
const char kGpuDriverVersion[] = "gpu-driver-version";
diff --git a/content/public/common/content_switches.h b/content/public/common/content_switches.h
index 3d2a63b..52ae02c 100644
--- a/content/public/common/content_switches.h
+++ b/content/public/common/content_switches.h
@@ -124,6 +124,7 @@ CONTENT_EXPORT extern const char kForceCompositingMode[];
extern const char kForceFieldTrials[];
CONTENT_EXPORT extern const char kForceRendererAccessibility[];
extern const char kGpuDeviceID[];
+extern const char kGpuDriverVendor[];
extern const char kGpuDriverVersion[];
extern const char kGpuLauncher[];
CONTENT_EXPORT extern const char kGpuProcess[];