Bug 1700153 - Disable SW-WR for transparent popups on early beta and the Fission experiment. r=jrmuizel draft
authorAndrew Osmond <aosmond@mozilla.com>
Mon, 22 Mar 2021 13:17:07 -0400
changeset 3620278 81791e7e1b03830543f5ce8f3eda3e5dbacfee29
parent 3619876 729eaf579f2827239182db122d59e42730ea540f
child 3620279 4cc354210b6e38675a850d577e4b598bcb0a20b9
push id671475
push useraosmond@mozilla.com
push dateMon, 22 Mar 2021 18:21:53 +0000
treeherdertry@d8076c19ecc4 [default view] [failures only]
reviewersjrmuizel
bugs1700153
milestone88.0a1
Bug 1700153 - Disable SW-WR for transparent popups on early beta and the Fission experiment. r=jrmuizel Differential Revision: https://phabricator.services.mozilla.com/D109375
modules/libpref/init/StaticPrefList.yaml
widget/windows/nsWindow.cpp
--- a/modules/libpref/init/StaticPrefList.yaml
+++ b/modules/libpref/init/StaticPrefList.yaml
@@ -4899,17 +4899,17 @@
   type: RelaxedAtomicInt32
   value: 4
   mirror: always
 
 # Whether to allow widgets that don't support acceleration to use WebRender
 # software backend
 - name: gfx.webrender.software.unaccelerated-widget.allow
   type: RelaxedAtomicBool
-  value: @IS_EARLY_BETA_OR_EARLIER@
+  value: @IS_NIGHTLY_BUILD@
   mirror: always
 
 # Whether to force widgets that don't support acceleration to use WebRender
 # software backend
 - name: gfx.webrender.software.unaccelerated-widget.force
   type: RelaxedAtomicBool
   value: false
   mirror: always
--- a/widget/windows/nsWindow.cpp
+++ b/widget/windows/nsWindow.cpp
@@ -8549,18 +8549,17 @@ void nsWindow::PickerClosed() {
   mPickerDisplayCount--;
   if (!mPickerDisplayCount && mDestroyCalled) {
     Destroy();
   }
 }
 
 bool nsWindow::WidgetTypePrefersSoftwareWebRender() const {
   return (mTransparencyMode == eTransparencyTransparent &&
-          (StaticPrefs::gfx_webrender_software_unaccelerated_widget_allow() ||
-           gfxPlatform::DoesFissionForceWebRender())) ||
+          StaticPrefs::gfx_webrender_software_unaccelerated_widget_allow()) ||
          nsBaseWidget::WidgetTypePrefersSoftwareWebRender();
 }
 
 bool nsWindow::WidgetTypeSupportsAcceleration() {
   // We don't currently support using an accelerated layer manager with
   // transparent windows so don't even try. I'm also not sure if we even
   // want to support this case. See bug 593471.
   //