Add older ATI/NVidia/Intel drivers in XP to software rendering list, and remove the original no-XP entry.BUG=74212TEST=none
Review URL: http://codereview.chromium.org/6594098
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76625 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/gpu/gpu_info_collector_win.cc b/chrome/gpu/gpu_info_collector_win.cc
index 6f5fa19..85be092b 100644
--- a/chrome/gpu/gpu_info_collector_win.cc
+++ b/chrome/gpu/gpu_info_collector_win.cc
@@ -91,7 +91,7 @@
bool CollectPreliminaryGraphicsInfo(GPUInfo* gpu_info) {
DCHECK(gpu_info);
- gpu_info->SetLevel(GPUInfo::kPartial);
+ gpu_info->SetLevel(GPUInfo::kPreliminary);
bool rt = true;
if (!CollectVideoCardInfo(gpu_info))
@@ -155,10 +155,8 @@
base::HexStringToInt(WideToASCII(vendor_id_string), &vendor_id);
base::HexStringToInt(WideToASCII(device_id_string), &device_id);
gpu_info->SetVideoCardInfo(vendor_id, device_id);
- // TODO(zmo): need a better way to identify if ANGLE is used.
- if (gfx::GetGLImplementation() == gfx::kGLImplementationEGLGLES2)
- return CollectDriverInfoD3D(id, gpu_info);
- return true;
+ // TODO(zmo): we only need to call CollectDriverInfoD3D() if we use ANGLE.
+ return CollectDriverInfoD3D(id, gpu_info);
}
return false;
}