mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
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
This commit is contained in:
parent
1e28c18fd4
commit
9c13aa431d
@ -4904,7 +4904,7 @@
|
||||
# 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
|
||||
|
@ -8554,8 +8554,7 @@ void nsWindow::PickerClosed() {
|
||||
|
||||
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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user