Merge lp:~vanvugt/nux/fix-1064834-3.0 into lp:nux/3.0
Proposed by
Daniel van Vugt
Status: | Merged |
---|---|
Approved by: | Timo Jyrinki |
Approved revision: | 664 |
Merged at revision: | 664 |
Proposed branch: | lp:~vanvugt/nux/fix-1064834-3.0 |
Merge into: | lp:nux/3.0 |
Diff against target: |
40 lines (+2/-7) 1 file modified
NuxGraphics/IOpenGLSurface.cpp (+2/-7) |
To merge this branch: | bzr merge lp:~vanvugt/nux/fix-1064834-3.0 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jay Taoko | Approve | ||
Timo Jyrinki (community) | Approve | ||
Review via email: mp+129091@code.launchpad.net |
Commit message
Remove a massive bottleneck, where almost all the CPU time was spent
loading a black image on texture creation. (LP: #1064834)
CPU time spent in glTexImage2D:
Before: 93.54%
After: 0.10%
Description of the change
Backported to Nux 3.x. Already committed to lp:nux.
To post a comment you must log in.
Tested and works fine. As discussed in the bug report, it does not fix the root cause for Dash / blur slowness (drawing the Dash content), so at least I'm not still seeing a really smooth dash fade in on sandy bridge yet. On llvmpipe the benefit would be seen very clearly, but we have low graphics mode without active blur there already.
Anyway, a very welcome fix that might help a lot on some combinations of hardware for nux 3.0 users as well.