Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(858)

Unified Diff: content/gpu/gpu_info_collector_win.cc

Issue 12218101: Windows: do not collect D3D11 stats if DisplayLink DLL is loaded. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_info_collector_win.cc
===================================================================
--- content/gpu/gpu_info_collector_win.cc (revision 181786)
+++ content/gpu/gpu_info_collector_win.cc (working copy)
@@ -204,6 +204,11 @@
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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698