Actually I don't think we have a good solution for this yet. When it was last discussed (Den Haag?) and some times before I suggested we should just do shadow updates when the input area changes (or some other client-initiated call). What we shouldn't do is try to generate a new shaped shadow on every frame, unless there's reason to believe the shape has changed.
** Summary changed: - Too much shadow for shaped surfaces + Incorrect shadows for non-rectangular windows ** Changed in: mir Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unity8 in Ubuntu. https://bugs.launchpad.net/bugs/1662433 Title: Incorrect shadows for non-rectangular windows Status in Canonical System Image: New Status in Mir: Triaged Status in unity8 package in Ubuntu: New Bug description: There is too much (inappropriate) shadow rendered for non-rectangular surfaces. Test case: $ mir_demo_client_egltriangle -b0 -- --desktop_file_hint=unity8 Expected: Either a shaped shadow or none at all. Observed: In Unity8 there is a constant shadow over the background. In mir_proving_server there is a line of shadow around the invisible border. Both are wrong. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1662433/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp