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

Unified Diff: gpu/config/gpu_info_collector_win.cc

Issue 2557513005: Fix a bug that GPU process may fail to launch in RDP sessions (Closed)
Patch Set: Created 4 years 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: gpu/config/gpu_info_collector_win.cc
diff --git a/gpu/config/gpu_info_collector_win.cc b/gpu/config/gpu_info_collector_win.cc
index 1354f3fe5bfea5330d62d8429c745db8c731760d..c8c4e7f7be1a2883487deea66e215ba82e6a2258 100644
--- a/gpu/config/gpu_info_collector_win.cc
+++ b/gpu/config/gpu_info_collector_win.cc
@@ -423,8 +423,11 @@ CollectInfoResult CollectBasicGraphicsInfo(GPUInfo* gpu_info) {
}
if (id.length() <= 20) {
- gpu_info->basic_info_state = kCollectInfoNonFatalFailure;
- return kCollectInfoNonFatalFailure;
+ // Check if it is the RDP mirror driver "RDPUDD Chained DD"
+ if (wcscmp(dd.DeviceString, L"RDPUDD Chained DD") != 0) {
+ gpu_info->basic_info_state = kCollectInfoNonFatalFailure;
+ return kCollectInfoNonFatalFailure;
+ }
}
DeviceIDToVendorAndDevice(id, &gpu_info->gpu.vendor_id,
« 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