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

Unified Diff: content/gpu/gpu_info_collector_mac.mm

Issue 10389051: Change GPUInfo to handle multiple GPUs. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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
Index: content/gpu/gpu_info_collector_mac.mm
===================================================================
--- content/gpu/gpu_info_collector_mac.mm (revision 136164)
+++ content/gpu/gpu_info_collector_mac.mm (working copy)
@@ -111,8 +111,8 @@
break;
}
if (found < video_card_list.size()) {
- gpu_info->vendor_id = video_card_list[found].vendor_id;
- gpu_info->device_id = video_card_list[found].device_id;
+ gpu_info->gpu.vendor_id = video_card_list[found].vendor_id;
+ gpu_info->gpu.device_id = video_card_list[found].device_id;
return true;
}
return false;
@@ -157,8 +157,8 @@
CFRelease(device_id_ref);
}
- gpu_info->vendor_id = vendor_id;
- gpu_info->device_id = device_id;
+ gpu_info->gpu.vendor_id = vendor_id;
+ gpu_info->gpu.device_id = device_id;
return true;
}

Powered by Google App Engine
This is Rietveld 408576698