~kaihengfeng/unity/lp1292830

Viewing all changes in revision 4227.

  • Committer: Kai-Heng Feng
  • Date: 2017-03-29 06:50:44 UTC
  • Revision ID: kai.heng.feng@canonical.com-20170329065044-nd0f25aq5mdy35fm
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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: