CC: Rename performPaint to performPaintWindow and make it non-virtual

This commit is contained in:
Casian Andrei 2012-08-27 15:41:46 +03:00
parent c42797637b
commit 23f3b2a571
2 changed files with 4 additions and 4 deletions

View file

@ -219,14 +219,14 @@ void SceneOpenGL::finalDrawWindow(EffectWindowImpl* w, int mask, QRegion region,
regionForScreen = region.intersected(Workspace::self()->screenGeometry(screen));
data.setScreen(screen);
performPaint(w, mask, regionForScreen, data);
performPaintWindow(w, mask, regionForScreen, data);
}
} else {
performPaint(w, mask, region, data);
performPaintWindow(w, mask, region, data);
}
}
void SceneOpenGL::performPaint(EffectWindowImpl* w, int mask, QRegion region, WindowPaintData& data)
void SceneOpenGL::performPaintWindow(EffectWindowImpl* w, int mask, QRegion region, WindowPaintData& data)
{
if (mask & PAINT_WINDOW_LANCZOS) {
if (lanczos_filter.isNull()) {

View file

@ -57,7 +57,6 @@ protected:
virtual void paintGenericScreen(int mask, ScreenPaintData data);
virtual void paintBackground(QRegion region);
virtual void finalDrawWindow(EffectWindowImpl* w, int mask, QRegion region, WindowPaintData& data);
virtual void performPaint(EffectWindowImpl* w, int mask, QRegion region, WindowPaintData& data);
QMatrix4x4 transformation(int mask, const ScreenPaintData &data) const;
public Q_SLOTS:
virtual void windowOpacityChanged(KWin::Toplevel* c);
@ -75,6 +74,7 @@ private:
void setupModelViewProjectionMatrix();
#endif
void flushBuffer(int mask, QRegion damage);
void performPaintWindow(EffectWindowImpl* w, int mask, QRegion region, WindowPaintData& data);
GC gcroot;
class FBConfigInfo
{