~compiz-team/compiz/0.9.8

Viewing all changes in revision 3223.

  • Committer: Daniel van Vugt
  • Author(s): smspillaz
  • Date: 2012-05-25 06:47:18 UTC
  • mfrom: (3221.2.1 compiz)
  • Revision ID: daniel.van.vugt@canonical.com-20120525064718-amyiohr0xif0mtok
Delay unbinding of pixmaps until then next rebind (so that they stay bound
until we are able to get the next one so you never actually lose the image of
the window) and added a callback mechanism to notify renderers just before
the pixmap is replaced (so they can do any necessary cleanup such as
unbinding textures).

The reason for this is because the nvidia driver seems to require that any
textures that are bound to the pixmap are unbound before the pixmap is
released. Otherwise it will cause any futher rebind operations to fail
silently.

(LP: #729979) (LP: #1002602)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: