Changeset View
Changeset View
Standalone View
Standalone View
scene.h
Show First 20 Lines • Show All 207 Lines • ▼ Show 20 Line(s) | 205 | public Q_SLOTS: | |||
---|---|---|---|---|---|
208 | // a window has been closed | 208 | // a window has been closed | ||
209 | void windowClosed(KWin::Toplevel* c, KWin::Deleted* deleted); | 209 | void windowClosed(KWin::Toplevel* c, KWin::Deleted* deleted); | ||
210 | protected: | 210 | protected: | ||
211 | virtual Window *createWindow(Toplevel *toplevel) = 0; | 211 | virtual Window *createWindow(Toplevel *toplevel) = 0; | ||
212 | void createStackingOrder(ToplevelList toplevels); | 212 | void createStackingOrder(ToplevelList toplevels); | ||
213 | void clearStackingOrder(); | 213 | void clearStackingOrder(); | ||
214 | // shared implementation, starts painting the screen | 214 | // shared implementation, starts painting the screen | ||
215 | void paintScreen(int *mask, const QRegion &damage, const QRegion &repaint, | 215 | void paintScreen(int *mask, const QRegion &damage, const QRegion &repaint, | ||
216 | QRegion *updateRegion, QRegion *validRegion, const QMatrix4x4 &projection = QMatrix4x4(), const QRect &outputGeometry = QRect()); | 216 | QRegion *updateRegion, QRegion *validRegion, int screenRotation, const QMatrix4x4 &projection = QMatrix4x4(), const QRect &outputGeometry = QRect()); | ||
217 | // Render cursor texture in case hardware cursor is disabled/non-applicable | 217 | // Render cursor texture in case hardware cursor is disabled/non-applicable | ||
218 | virtual void paintCursor() = 0; | 218 | virtual void paintCursor() = 0; | ||
219 | friend class EffectsHandlerImpl; | 219 | friend class EffectsHandlerImpl; | ||
220 | // called after all effects had their paintScreen() called | 220 | // called after all effects had their paintScreen() called | ||
221 | void finalPaintScreen(int mask, QRegion region, ScreenPaintData& data); | 221 | void finalPaintScreen(int mask, QRegion region, ScreenPaintData& data); | ||
222 | // shared implementation of painting the screen in the generic | 222 | // shared implementation of painting the screen in the generic | ||
223 | // (unoptimized) way | 223 | // (unoptimized) way | ||
224 | virtual void paintGenericScreen(int mask, ScreenPaintData data); | 224 | virtual void paintGenericScreen(int mask, ScreenPaintData data); | ||
▲ Show 20 Lines • Show All 465 Lines • Show Last 20 Lines |