~compiz-team/compiz/compiz.fix_1030176

« back to all changes in this revision

Viewing changes to plugins/composite/src/pixmapbinding/include/pixmapbinding.h

Don't allow unbinds of textures kept around for animations in any case, not
just resizing. (LP: #1016366)

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
        virtual void allowFurtherRebindAttempts () = 0;
62
62
};
63
63
 
 
64
class PixmapFreezerInterface
 
65
{
 
66
    public:
 
67
 
 
68
        virtual ~PixmapFreezerInterface () {}
 
69
 
 
70
        virtual bool frozen () = 0;
 
71
};
 
72
 
64
73
class WindowAttributesGetInterface
65
74
{
66
75
    public:
163
172
        PixmapBinding (const NewPixmapReadyCallback &,
164
173
                        WindowPixmapGetInterface *,
165
174
                        WindowAttributesGetInterface *,
 
175
                        PixmapFreezerInterface *,
166
176
                        ServerGrabInterface *);
167
177
 
168
178
        ~PixmapBinding ();
184
194
 
185
195
        WindowPixmapGetInterface *windowPixmapRetreiver;
186
196
        WindowAttributesGetInterface *windowAttributesRetreiver;
 
197
        PixmapFreezerInterface        *pixmapFreezer;
187
198
        ServerGrabInterface *serverGrab;
188
199
 
189
200
};