Merge lp:~vanvugt/nux/fix-1014610 into lp:nux
Proposed by
Daniel van Vugt
Status: | Merged |
---|---|
Approved by: | Tim Penhey |
Approved revision: | 624 |
Merged at revision: | 623 |
Proposed branch: | lp:~vanvugt/nux/fix-1014610 |
Merge into: | lp:nux |
Diff against target: |
35 lines (+14/-0) 2 files modified
Nux/View.cpp (+3/-0) tests/gtest-nux-view.cpp (+11/-0) |
To merge this branch: | bzr merge lp:~vanvugt/nux/fix-1014610 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tim Penhey (community) | Approve | ||
Review via email: mp+110794@code.launchpad.net |
Commit message
Don't allow a View to be queued multiple times on the draw list. It causes
unbounded list growth and the UI to freeze in some cases. (LP: #1014610)
Description of the change
This fix not only eliminates the pauses I experience, but also seems to improve the performance of Unity in general.
For example, opening the dash:
Before the fix: spikes to a DrawList size of around 300
After the fix: spikes to only 30
To post a comment you must log in.
Looks good.