Bug 1551257. Enable WebRender by default on Broadwell GT2+. r=aosmond
authorJeff Muizelaar <jrmuizel@gmail.com>
Mon, 13 May 2019 16:43:52 +0000
changeset 532444 38242d8c9a083f03649a4a0cfc6d4fd42b164f2f
parent 532443 edd79d65116b36e10075a90726bb657f93daf26c
child 532445 e8a4f66d71d84aa624af0c19a3fe9b87f4891a73
push id11268
push usercsabou@mozilla.com
push dateTue, 14 May 2019 15:24:22 +0000
treeherdermozilla-beta@5fb7fcd568d6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaosmond
bugs1551257
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1551257. Enable WebRender by default on Broadwell GT2+. r=aosmond I think we just accidentally forgot these ids when we added more mobile chips. Differential Revision: https://phabricator.services.mozilla.com/D30940
gfx/thebes/gfxPlatform.cpp
--- a/gfx/thebes/gfxPlatform.cpp
+++ b/gfx/thebes/gfxPlatform.cpp
@@ -2658,32 +2658,53 @@ static FeatureState& WebRenderHardwareQu
               0x3ea0,
               0x3ea9,
               0x3ea2,
               0x3ea6,
               0x3ea7,
               0x3ea8,
               0x3ea5,
 
+              // broadwell gt2+
+              0x1612,
+              0x1616,
+              0x161a,
+              0x161b,
+              0x161d,
+              0x161e,
+              0x1622,
+              0x1626,
+              0x162a,
+              0x162b,
+              0x162d,
+              0x162e,
+              0x1632,
+              0x1636,
+              0x163a,
+              0x163b,
+              0x163d,
+              0x163e,
+
               // HD Graphics 4600
               0x0412,
               0x0416,
               0x041a,
               0x041b,
               0x041e,
               0x0a12,
               0x0a16,
               0x0a1a,
               0x0a1b,
               0x0a1e,
           };
           bool supported = false;
           for (uint16_t id : supportedDevices) {
             if (deviceID == id) {
               supported = true;
+              break;
             }
           }
           if (!supported) {
             featureWebRenderQualified.Disable(
                 FeatureStatus::BlockedDeviceTooOld, "Device too old",
                 NS_LITERAL_CSTRING("FEATURE_FAILURE_DEVICE_TOO_OLD"));
           }
 #  ifdef MOZ_WIDGET_GTK