diff options
author | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-12 02:02:05 +0000 |
---|---|---|
committer | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-12 02:02:05 +0000 |
commit | 6fb9d1746c67a70bc0a69053a32f3ba0667d9073 (patch) | |
tree | bbcb7c545682519038dfdb696af8c9be8aa0b5bd /content/gpu | |
parent | fa8e81e62fd329ee957e87255f9ee074b02f15a3 (diff) | |
download | chromium_src-6fb9d1746c67a70bc0a69053a32f3ba0667d9073.zip chromium_src-6fb9d1746c67a70bc0a69053a32f3ba0667d9073.tar.gz chromium_src-6fb9d1746c67a70bc0a69053a32f3ba0667d9073.tar.bz2 |
Windows: do not collect D3D11 stats if DisplayLink DLL is loaded.
D3D11 seems to crash when the device is created if dlumd32.dll is loaded.
BUG=175525
Review URL: https://codereview.chromium.org/12218101
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181820 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/gpu')
-rw-r--r-- | content/gpu/gpu_info_collector_win.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/content/gpu/gpu_info_collector_win.cc b/content/gpu/gpu_info_collector_win.cc index 2a6220a..506e098 100644 --- a/content/gpu/gpu_info_collector_win.cc +++ b/content/gpu/gpu_info_collector_win.cc @@ -204,6 +204,11 @@ void CollectD3D11Support() { if (base::win::GetVersion() <= base::win::VERSION_XP) return; + // Creating a D3D11 device when DisplayLink is installed causes D3D11 to + // crash. + if (GetModuleHandle(L"dlumd32.dll")) + return; + FeatureLevel feature_level = FEATURE_LEVEL_UNKNOWN; UINT bgra_support = 0; |