mirror of
https://github.com/brl/mutter.git
synced 2025-02-25 01:04:10 +00:00

Testing points and rays against boxes is substantially cheaper - in fact, almost trivial - compared to triangles. Check if the actor's paint volume doesn't intersect with the current pick point / ray, and skip recursing altogether in those cases. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1520>