diff options
author | zmo@chromium.org <zmo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-21 01:08:17 +0000 |
---|---|---|
committer | zmo@chromium.org <zmo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-21 01:08:17 +0000 |
commit | 9615798e2784ff141856e7611582f9a674ce4e3d (patch) | |
tree | 6fd1705a11fe5437331bd514017afcf9cf4583aa /content/content_gpu.gypi | |
parent | 51d50f093404db2e755e738f2bd90b8cc96f617f (diff) | |
download | chromium_src-9615798e2784ff141856e7611582f9a674ce4e3d.zip chromium_src-9615798e2784ff141856e7611582f9a674ce4e3d.tar.gz chromium_src-9615798e2784ff141856e7611582f9a674ce4e3d.tar.bz2 |
Use nv contrl x extension to query nvidia driver version.
So we can do it in browser process, not wait until gpu process launches and a gl context is created.
This is tested on my linux box with NVIDIA driver.
We need to put more code to tell chrome (Linux/NVIDIA) that we have enough information for blacklisting, so at GPU launch time we don't need to collect GPUInfo.
Will do it in a followup CL.
BUG=122912
TEST=tree green
TBR=jam
Review URL: https://chromiumcodereview.appspot.com/10536232
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143323 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/content_gpu.gypi')
-rw-r--r-- | content/content_gpu.gypi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/content/content_gpu.gypi b/content/content_gpu.gypi index b98d991..6d9d587 100644 --- a/content/content_gpu.gypi +++ b/content/content_gpu.gypi @@ -90,5 +90,10 @@ }, ], }], + ['OS=="linux"', { + 'dependencies': [ + '../third_party/libXNVCtrl/libXNVCtrl.gyp:libXNVCtrl', + ], + }], ], } |