~compiz-team/compiz/compiz.packaging.gles2

« back to all changes in this revision

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

  • Committer: Sam Spilsbury
  • Date: 2012-07-11 01:34:55 UTC
  • mfrom: (3273.1.2 compiz.packaging.gles)
  • Revision ID: sam.spilsbury@canonical.com-20120711013455-489y3e43oldfe395
[ Sam Spilsbury ]
Update patches for GLES2 support

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
        void donePaint ();
50
50
 
51
51
        bool glPaintOutput (const GLScreenPaintAttrib&, const GLMatrix&,
52
 
                            const CompRegion&, CompOutput *, unsigned int);
 
52
                            const CompRegion&, CompOutput *, unsigned int);
53
53
        void glPaintTransformedOutput (const GLScreenPaintAttrib&,
54
 
                                       const GLMatrix&, const CompRegion&,
55
 
                                       CompOutput *, unsigned int);
 
54
                                       const GLMatrix&, const CompRegion&,
 
55
                                       CompOutput*, unsigned int);
56
56
 
57
 
        bool dndInit (CompAction *, CompAction::State, CompOption::Vector&);
58
 
        bool dndFini (CompAction *, CompAction::State, CompOption::Vector&);
59
 
        bool doExpo (CompAction *, CompAction::State, CompOption::Vector&);
60
 
        bool exitExpo (CompAction *, CompAction::State, CompOption::Vector&);
61
 
        bool termExpo (CompAction *, CompAction::State, CompOption::Vector&);
62
 
        bool nextVp (CompAction *, CompAction::State, CompOption::Vector&);
63
 
        bool prevVp (CompAction *, CompAction::State, CompOption::Vector&);
 
57
        bool dndInit (CompAction*, CompAction::State, CompOption::Vector&);
 
58
        bool dndFini (CompAction*, CompAction::State, CompOption::Vector&);
 
59
        bool doExpo (CompAction*, CompAction::State, CompOption::Vector&);
 
60
        bool exitExpo (CompAction*, CompAction::State, CompOption::Vector&);
 
61
        bool termExpo (CompAction*, CompAction::State, CompOption::Vector&);
 
62
        bool nextVp (CompAction*, CompAction::State, CompOption::Vector&);
 
63
        bool prevVp (CompAction*, CompAction::State, CompOption::Vector&);
64
64
 
65
65
        typedef enum {
66
66
            DnDNone,
81
81
        bool  expoActive;
82
82
        bool  expoMode;
83
83
 
84
 
        DnDState   dndState;
 
84
        DnDState    dndState;
85
85
        CompWindow *dndWindow;
86
86
 
87
87
        CompPoint prevCursor;
119
119
        void updateWraps (bool);
120
120
 
121
121
        void invertTransformedVertex (const GLScreenPaintAttrib&,
122
 
                                      const GLMatrix&, CompOutput *, int[2]);
 
122
                                      const GLMatrix&, CompOutput *, int[2]);
123
123
        void paintWall (const GLScreenPaintAttrib&, const GLMatrix&,
124
 
                        const CompRegion&, CompOutput *, unsigned int, bool);
 
124
                        const CompRegion&, CompOutput *, unsigned int, bool);
125
125
 
126
126
        KeyCode leftKey;
127
127
        KeyCode rightKey;
141
141
 
142
142
        bool damageRect (bool, const CompRect&);
143
143
 
144
 
        bool glDraw (const GLMatrix&, GLFragment::Attrib&,
145
 
                     const CompRegion&, unsigned int);
 
144
        bool glDraw (const GLMatrix&, const GLWindowPaintAttrib&,
 
145
                     const CompRegion&, unsigned int);
146
146
        bool glPaint (const GLWindowPaintAttrib&, const GLMatrix&,
147
 
                      const CompRegion&, unsigned int);
 
147
                      const CompRegion&, unsigned int);
148
148
        void glAddGeometry (const GLTexture::MatrixList&,
149
 
                            const CompRegion&, const CompRegion&,
150
 
                            unsigned int, unsigned int);
151
 
        void glDrawTexture (GLTexture *, GLFragment::Attrib& attrib,
152
 
                            unsigned int);
 
149
                            const CompRegion&, const CompRegion&,
 
150
                            unsigned int, unsigned int);
 
151
        void glDrawTexture (GLTexture*, const GLMatrix&,
 
152
                            const GLWindowPaintAttrib&, unsigned int);
153
153
 
154
154
        CompWindow      *window;
155
155
        CompositeWindow *cWindow;