[Bug 2078774] Re: Fullscreen Firefox is not being rendered as direct scanout in GNOME 47
Daniel van Vugt
2078774 at bugs.launchpad.net
Wed Sep 11 11:12:00 UTC 2024
It's Mutter (introduced in 43.1):
909616b20876478bc56932cd18c8e85e982645f6 is the first bad commit
commit 909616b20876478bc56932cd18c8e85e982645f6 (HEAD)
Author: Sebastian Wick <sebastian.wick at redhat.com>
Date: Tue May 3 18:47:57 2022 +0200
window-actor/wayland: Draw black background for fullscreen windows
Fullscreen Wayland toplevel surfaces don't need to respect the
configured size in which case it should be shown centered on the monitor
with a black background. The black background becomes part of the window
geometry.
The surface container is responsible for correctly culling the surfaces
and making sure the surface actors are removed from the actor tree to
avoid destroying them.
The window actor culling implementation assumes all surfaces to be direct
children of said actor. The introduction of the surface_container actor
broke that assumption. This implements the culling interface in
MetaWindowActorWayland which is aware of the actor surface_container and
fullscreen state.
v2: Fix forwarding culling to surface even if there is a background.
v2: Don't alter passed geometry.
v2: Update window geometry code documentation to reflect these changes.
v2: Only use constrained rect if we're acked fullscreen.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2338>
src/compositor/meta-window-actor-private.h | 2 +
src/compositor/meta-window-actor-wayland.c | 308 +++++++++++++++++++++++++----
src/compositor/meta-window-actor-wayland.h | 6 +
src/compositor/meta-window-actor-x11.c | 11 ++
src/compositor/meta-window-actor.c | 19 +-
src/wayland/meta-window-wayland.c | 44 +++--
src/wayland/meta-window-wayland.h | 2 +
7 files changed, 328 insertions(+), 64 deletions(-)
** Changed in: firefox (Ubuntu)
Status: New => Invalid
** Bug watch added: gitlab.gnome.org/GNOME/mutter/-/issues #3669
https://gitlab.gnome.org/GNOME/mutter/-/issues/3669
--
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/2078774
Title:
Fullscreen Firefox is not being rendered as direct scanout in GNOME
46/47
To manage notifications about this bug go to:
https://bugs.launchpad.net/mutter/+bug/2078774/+subscriptions
More information about the Ubuntu-mozillateam-bugs
mailing list