mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
0bace8dbde
Before now it was assumed that the only negative local coordinates would be those introduced by `_clutter_actor_box_enlarge_for_effects`, and we used the difference for `fbo_offset_x/y`. But that was misguided (of me) because gnome-shell can give us paint volumes at negative coordinates too, like when rendering `box-shadow` on the top or left edge of an actor. The maximum extents of negative coordinates we might need to render are in fact the (enlarged) left and top edges of the paint volume. So use those as the FBO offset. This places the actor's local origin correctly within the FBO and thus also ensures it's not over-clipped at the edges of the FBO, which now line up with the enlarged extents of the paint volume. This fixes one third of https://gitlab.gnome.org/GNOME/gnome-shell/issues/1090 The other fixes required are !1053 and gnome-shell!1417. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1538> |
||
---|---|---|
.. | ||
clutter | ||
.gitignore | ||
meson.build |