43
44
ExpoScreen (CompScreen *);
46
47
void handleEvent (XEvent *);
48
49
void preparePaint (int);
49
void paint (CompOutput::ptrList&, unsigned int);
51
void paint (CompOutput::ptrList &,
52
bool glPaintOutput (const GLScreenPaintAttrib&, const GLMatrix&,
53
const CompRegion&, CompOutput *, unsigned int);
54
void glPaintTransformedOutput (const GLScreenPaintAttrib&,
55
const GLMatrix&, const CompRegion&,
56
CompOutput *, unsigned int);
56
bool glPaintOutput (const GLScreenPaintAttrib &,
62
void glPaintTransformedOutput (const GLScreenPaintAttrib &,
58
68
bool dndInit (CompAction *, CompAction::State, CompOption::Vector&);
59
69
bool dndFini (CompAction *, CompAction::State, CompOption::Vector&);
63
73
bool nextVp (CompAction *, CompAction::State, CompOption::Vector&);
64
74
bool prevVp (CompAction *, CompAction::State, CompOption::Vector&);
78
CompositeScreen *cScreen;
86
CompWindow *dndWindow;
90
CompPoint prevClickPoint;
94
CompPoint lastSelectedVp;
97
std::vector<float> vpActivity;
101
VPUpdateMode vpUpdateMode;
104
unsigned int clickTime;
107
CompRegion tmpRegion;
113
std::vector<GLfloat> vpNormals;
115
CompScreen::GrabHandle grabIndex;
117
GLTexture::List outline_texture;
118
CompSize outline_texture_size;
90
CompositeScreen *cScreen;
98
CompWindow *dndWindow;
100
CompPoint prevCursor;
102
CompPoint prevClickPoint;
105
CompPoint selectedVp;
106
CompPoint lastSelectedVp;
107
CompPoint paintingVp;
109
std::vector<float> vpActivity;
113
VPUpdateMode vpUpdateMode;
116
unsigned int clickTime;
119
CompRegion tmpRegion;
125
std::vector<GLfloat> vpNormals;
127
CompScreen::GrabHandle grabIndex;
129
GLTexture::List outline_texture;
130
CompSize outline_texture_size;
120
132
const GlowTextureProperties *mGlowTextureProperties;
123
136
void moveFocusViewport (int, int);
124
137
void finishWindowMovement ();
125
138
void updateWraps (bool);
127
void invertTransformedVertex (const GLScreenPaintAttrib&,
128
const GLMatrix&, CompOutput *, int[2]);
129
void paintWall (const GLScreenPaintAttrib&, const GLMatrix&,
130
const CompRegion&, CompOutput *, unsigned int, bool);
140
void invertTransformedVertex (const GLScreenPaintAttrib &,
145
void paintWall (const GLScreenPaintAttrib &,
133
153
KeyCode rightKey;
143
163
public PluginClassHandler<ExpoWindow, CompWindow>
146
167
ExpoWindow (CompWindow *);
149
bool damageRect (bool, const CompRect&);
151
bool glDraw (const GLMatrix&, const GLWindowPaintAttrib&,
152
const CompRegion&, unsigned int);
153
bool glPaint (const GLWindowPaintAttrib&, const GLMatrix&,
154
const CompRegion&, unsigned int);
155
void glAddGeometry (const GLTexture::MatrixList&,
156
const CompRegion&, const CompRegion&,
157
unsigned int, unsigned int);
158
void glDrawTexture (GLTexture*, const GLMatrix&,
159
const GLWindowPaintAttrib&, unsigned int);
170
bool damageRect (bool ,
173
bool glDraw (const GLMatrix &,
174
const GLWindowPaintAttrib &,
178
bool glPaint (const GLWindowPaintAttrib &,
183
void glAddGeometry (const GLTexture::MatrixList &,
189
void glDrawTexture (GLTexture *,
191
const GLWindowPaintAttrib &,
161
195
paintGlow (const GLMatrix &transform,
162
const GLWindowPaintAttrib &attrib,
163
const CompRegion &paintRegion,
196
const GLWindowPaintAttrib &attrib,
197
const CompRegion &paintRegion,
167
201
computeGlowQuads (GLTexture::Matrix *matrix);