From a32e8156730975d66634c655655fdf68b56660fc Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Wed, 11 May 2016 12:35:50 -0500 Subject: [PATCH] intel_extreme: Shorten graphics family names --- .../accelerants/intel_extreme/accelerant.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/add-ons/accelerants/intel_extreme/accelerant.cpp b/src/add-ons/accelerants/intel_extreme/accelerant.cpp index 6510c8626a..f2adfe2e26 100644 --- a/src/add-ons/accelerants/intel_extreme/accelerant.cpp +++ b/src/add-ons/accelerants/intel_extreme/accelerant.cpp @@ -564,18 +564,18 @@ intel_get_accelerant_device_info(accelerant_device_info* info) DeviceType* type = &gInfo->shared_info->device_type; - if (type->InFamily(INTEL_FAMILY_7xx)) - strcpy(info->name, "Intel Extreme Graphics"); - else if (type->InFamily(INTEL_FAMILY_8xx)) - strcpy(info->name, "Intel Extreme Graphics 2"); + if (type->InFamily(INTEL_FAMILY_7xx) || type->InFamily(INTEL_FAMILY_8xx)) + strcpy(info->name, "Intel Extreme"); else if (type->InFamily(INTEL_FAMILY_9xx)) - strcpy(info->name, "Intel Graphics Media Accelerator"); - else if (type->InFamily(INTEL_FAMILY_SER5)) - strcpy(info->name, "Intel HD/Iris Graphics"); + strcpy(info->name, "Intel GMA"); else if (type->InFamily(INTEL_FAMILY_POVR)) - strcpy(info->name, "Intel PowerVR Graphics"); + strcpy(info->name, "Intel PowerVR"); else if (type->InFamily(INTEL_FAMILY_SOC0)) - strcpy(info->name, "Intel Atom Graphics"); + strcpy(info->name, "Intel Atom"); + else if (type->InFamily(INTEL_FAMILY_SER5)) + strcpy(info->name, "Intel HD/Iris"); + else + strcpy(info->name, "Intel"); strcpy(info->chipset, gInfo->shared_info->device_identifier); strcpy(info->serial_no, "None");