~azzar1/unity/fix-839717

Viewing all changes in revision 2470.

  • Committer: Tarmac
  • Author(s): Daniel van Vugt
  • Date: 2012-07-04 02:37:23 UTC
  • mfrom: (2399.1.70 regionalDamage)
  • Revision ID: tarmac-20120704023723-0tim60e5a2lyub6v
Stop Unity from redrawing the shell on every frame (ie. when it doesn't need
to). It had a severe impact on graphics performance. (LP: #988079)

This especially improves OpenGL application performance and multi-monitor
desktop performance. Because unity was previously slowing down compiz
rendering by 20-40% for each monitor added to the system. This slowdown no
longer occurs as only damaged areas of the unity shell are repainted. Now
unity will not have any impact on compiz rendering performance for most
video frames.

Coincidentally, this fixes a number of other bugs (linked).. Fixes: https://bugs.launchpad.net/bugs/734908, https://bugs.launchpad.net/bugs/874619, https://bugs.launchpad.net/bugs/886605, https://bugs.launchpad.net/bugs/967112, https://bugs.launchpad.net/bugs/988079, https://bugs.launchpad.net/bugs/992516, https://bugs.launchpad.net/bugs/1016430. Approved by Tim Penhey, Sam Spilsbury, jenkins.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: