Commit d391070f authored by Robert Mader's avatar Robert Mader
Browse files

Bug 1730822 - Disable HW-WR for child windows on X11/EGL,

Currently child windows do not show up in this configuration and it's
not clear yet what the root cause of the issue is.
As we want to ship X11/EGL by default in 94, work around the issue
for now.

Differential Revision: https://phabricator.services.mozilla.com/D127264
parent b23f06ef
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -939,6 +939,11 @@ bool nsWindow::WidgetTypeSupportsAcceleration() {
    }
    return HasRemoteContent() && mCompositedScreen;
  }
  // Workaround for Bug 1730822
  if (mWindowType == eWindowType_child && GdkIsX11Display() &&
      gfxVars::UseEGL()) {
    return false;
  }

  return true;
}