Merge lp://qastaging/~kaihengfeng/unity/lp1292830 into lp://qastaging/unity
Proposed by
Kai-Heng Feng
Status: | Rejected |
---|---|
Rejected by: | Marco Trevisan (Treviño) |
Proposed branch: | lp://qastaging/~kaihengfeng/unity/lp1292830 |
Merge into: | lp://qastaging/unity |
Diff against target: |
200 lines (+57/-7) 8 files modified
decorations/DecoratedWindow.cpp (+25/-2) decorations/DecorationsDataPool.h (+2/-2) decorations/DecorationsManager.cpp (+18/-0) decorations/DecorationsManager.h (+2/-0) decorations/DecorationsPriv.h (+4/-0) decorations/DecorationsTitle.h (+2/-1) decorations/DecorationsWindowButton.h (+2/-2) plugins/unityshell/src/unityshell.cpp (+2/-0) |
To merge this branch: | bzr merge lp://qastaging/~kaihengfeng/unity/lp1292830 |
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andrea Azzarone (community) | Needs Fixing | ||
Review via email:
|
To post a comment you must log in.
Unmerged revisions
- 4227. By Kai-Heng Feng
-
Updates textures after resume from suspend. (LP: #1292830)
The Nvidia driver does not make resources in video memory persistent across S3
[1], hence applications need to update texture in vram itself.Currently, these three decoration components require texture update:
1. Shadow.
2. Title.
3. Button.Fortunately, Nvidia intends to fix it in the future [1]. Once the issue is
addressed, this commit can be fully reverted.
The fix looks good to be but I would prefer to not use friends class and just expose a public method, e.g. just make WindowButton: :UpdateTexture public.