Bug 1515823 - Disable Direct2D on Qualcomm devices. r=aosmond a=lizzard
authorJeff Muizelaar <jrmuizel@gmail.com>
Thu, 21 Feb 2019 13:27:04 -0500
changeset 516193 fb8a1b398f229ff4f7ce8b5d1234a08002ac8353
parent 516192 ccc6779c8e4866a8f6fb7b65b96b59ef4e40104a
child 516194 d2578f23e2f53775c1091ef4cfbe54c685bad32f
push id1953
push userffxbld-merge
push dateMon, 11 Mar 2019 12:10:20 +0000
treeherdermozilla-release@9c35dcbaa899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaosmond, lizzard
bugs1515823, 1515387
milestone66.0
Bug 1515823 - Disable Direct2D on Qualcomm devices. r=aosmond a=lizzard There seem to be a number of problems with Direct2D on the Qualcomm devices. This includes visual corruption from bug 1515823 and crashes in CHwRasterizer::RasterizeEdges from 1515387.
widget/windows/GfxInfo.cpp
--- a/widget/windows/GfxInfo.cpp
+++ b/widget/windows/GfxInfo.cpp
@@ -1327,16 +1327,25 @@ const nsTArray<GfxDriverInfo>& GfxInfo::
     APPEND_TO_DRIVER_BLOCKLIST2(
         OperatingSystem::Windows,
         (nsAString&)GfxDriverInfo::GetDeviceVendor(VendorIntel),
         (GfxDeviceFamily*)GfxDriverInfo::GetDeviceFamily(Bug1207665),
         nsIGfxInfo::FEATURE_DIRECT2D, nsIGfxInfo::FEATURE_BLOCKED_DEVICE,
         DRIVER_LESS_THAN, GfxDriverInfo::allDriverVersions,
         "FEATURE_FAILURE_BUG_1207665_2");
 
+    APPEND_TO_DRIVER_BLOCKLIST2(
+        OperatingSystem::Windows10,
+        (nsAString&)GfxDriverInfo::GetDeviceVendor(VendorQualcomm),
+        GfxDriverInfo::allDevices,
+        nsIGfxInfo::FEATURE_DIRECT2D,
+        nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION,
+        DRIVER_LESS_THAN, GfxDriverInfo::allDriverVersions,
+        "FEATURE_FAILURE_QUALCOMM");
+
     /* Disable D2D on AMD Catalyst 14.4 until 14.6
      * See bug 984488
      */
     APPEND_TO_DRIVER_BLOCKLIST_RANGE(
         OperatingSystem::Windows,
         (nsAString&)GfxDriverInfo::GetDeviceVendor(VendorATI),
         GfxDriverInfo::allDevices, nsIGfxInfo::FEATURE_DIRECT2D,
         nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION,