Bug 1093694 - Don't allow any graphics features when there's a driver version mismatch. r=jrmuizel, a=sledru
authorBas Schouten <bschouten@mozilla.com>
Tue, 04 Nov 2014 21:58:59 +0100
changeset 218177 e1414483567c
parent 218174 3826afe2e1fb
child 218178 7496596b3075
push id570
push userryanvm@gmail.com
push date2014-11-05 17:11 +0000
treeherdermozilla-release@7496596b3075 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjrmuizel, sledru
bugs1093694
milestone33.1
Bug 1093694 - Don't allow any graphics features when there's a driver version mismatch. r=jrmuizel, a=sledru
widget/windows/GfxInfo.cpp
--- a/widget/windows/GfxInfo.cpp
+++ b/widget/windows/GfxInfo.cpp
@@ -1090,24 +1090,18 @@ GfxInfo::GetFeatureStatusImpl(int32_t aF
     }
 
     // Windows Server 2003 should be just like Windows XP for present purpose, but still has a different version number.
     // OTOH Windows Server 2008 R1 and R2 already have the same version numbers as Vista and Seven respectively
     if (os == DRIVER_OS_WINDOWS_SERVER_2003)
       os = DRIVER_OS_WINDOWS_XP;
 
     if (mHasDriverVersionMismatch) {
-      if (aFeature == nsIGfxInfo::FEATURE_DIRECT3D_10_LAYERS ||
-          aFeature == nsIGfxInfo::FEATURE_DIRECT3D_10_1_LAYERS ||
-          aFeature == nsIGfxInfo::FEATURE_DIRECT2D ||
-          aFeature == nsIGfxInfo::FEATURE_DIRECT3D_11_LAYERS)
-      {
-        *aStatus = nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION;
-        return NS_OK;
-      }
+      *aStatus = nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION;
+      return NS_OK;
     }
   }
 
   return GfxInfoBase::GetFeatureStatusImpl(aFeature, aStatus, aSuggestedDriverVersion, aDriverInfo, &os);
 }
 
 #ifdef DEBUG