~sil2100/compiz-core/decor_bindtexture

« back to all changes in this revision

Viewing changes to plugins/decor/src/decor.h

  • Committer: Łukasz 'sil2100' Zemczak
  • Date: 2012-04-18 12:48:53 UTC
  • Revision ID: lukasz.zemczak@canonical.com-20120418124853-kra6nhhu0i9i9w7q
Export the process of DecorTexture pixmap binding to a seperate method.

This way we can call DecorTexture::bindTexture whenever we want to explicitly bind/rebind the texture (needed, for instance, for a fglrx texture bug workaround).

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
        DecorTexture (Pixmap pixmap);
80
80
        ~DecorTexture ();
81
81
 
 
82
        bool bindTexture (Pixmap src);
 
83
 
82
84
    public:
83
85
        bool            status;
84
86
        int             refCount;