summaryrefslogtreecommitdiffstats
path: root/content/content_gpu.gypi
diff options
context:
space:
mode:
authorzmo@chromium.org <zmo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-21 22:31:06 +0000
committerzmo@chromium.org <zmo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-21 22:31:06 +0000
commitba8a61c75fc97d72d94d93987eace01aaab7af8f (patch)
tree33c59f976e54b9e083b48d05b3de3cd8c23b72cd /content/content_gpu.gypi
parent2b03757e61c18172909e173cc71c05ec2e108246 (diff)
downloadchromium_src-ba8a61c75fc97d72d94d93987eace01aaab7af8f.zip
chromium_src-ba8a61c75fc97d72d94d93987eace01aaab7af8f.tar.gz
chromium_src-ba8a61c75fc97d72d94d93987eace01aaab7af8f.tar.bz2
Use nv contrl x extension to query nvidia driver version.
This is trying to reland the reverted CL http://codereview.chromium.org/10536232/. I added third_party/libXNVCtrl to content/gpu/DEPS. 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 R=jam@chromium.org TBR=kbr,piman Review URL: https://chromiumcodereview.appspot.com/10641006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143472 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/content_gpu.gypi')
-rw-r--r--content/content_gpu.gypi5
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',
+ ],
+ }],
],
}