Merge lp:~mc-return/compiz/compiz.merge-fix-1075578-workspacenames-flickering-during-display into lp:compiz/0.9.9
| Status: | Superseded |
|---|---|
| Proposed branch: | lp:~mc-return/compiz/compiz.merge-fix-1075578-workspacenames-flickering-during-display |
| Merge into: | lp:compiz/0.9.9 |
| Diff against target: |
62 lines (+9/-17) 1 file modified
plugins/workspacenames/src/workspacenames.cpp (+9/-17) |
| To merge this branch: | bzr merge lp:~mc-return/compiz/compiz.merge-fix-1075578-workspacenames-flickering-during-display |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Daniel van Vugt | 2012-11-06 | Needs Fixing on 2012-11-07 | |
|
Review via email:
|
|||
This proposal has been superseded by a proposal from 2013-02-27.
Commit Message
Workspacenames Plug-in:
Call cScreen-
This fixes the flickering during display.
Other minor code refactoring.
(LP: #1075578)
Description of the Change
Note:
Sophisticated damage rectangle calculation and thus the FIXME is still missing.
| MC Return (mc-return) wrote : | # |
> I think we should fix the FIXME. damageScreen is too expensive in some cases,
> and always when unityshell is loaded.
>
I agree. Using the show repaint plug-in even shows that visually. This should be improved indeed.
> Please try using damageRegion instead. Similar to:
> https:/
I will try to do it.
| MC Return (mc-return) wrote : | # |
Somebody (Sam ? ;)) needs to help me with the implementation of the damage rectangle handling as I have no idea how to correctly implement it.
Nevertheless I would suggest to merge this branch for now as it fixes the flickering during display of the workspacename reliably.
Sophisticated damage handling can be implemented at a later stage as well, fixing the bug, every user of workspace naming experiences currently, should have priority.
- 3467. By Sam Spilsbury on 2013-03-30
-
Damage the text area correctly.
Extract the method used to determine where the text area was into a
separate function and use that to determine where our damage area should be.
Also fix a few errors that happened on the last frame of animation. - 3468. By MC Return on 2013-03-30
-
Merged latest lp:compiz
- 3469. By MC Return on 2013-03-30
-
Reduced TEXT_BORDER from 10.0f to 2 and changed
it's type from const float to const unsigned short


I think we should fix the FIXME. damageScreen is too expensive in some cases, and always when unityshell is loaded.
Please try using damageRegion instead. Similar to: /code.launchpad .net/~vanvugt/ compiz/ fix-1068518/ +merge/ 131552
https:/