Changeset View
Changeset View
Standalone View
Standalone View
plugins/scenes/opengl/lanczosfilter.h
Show All 37 Lines | |||||
38 | class GLRenderTarget; | 38 | class GLRenderTarget; | ||
39 | class GLShader; | 39 | class GLShader; | ||
40 | 40 | | |||
41 | class LanczosFilter : public QObject | 41 | class LanczosFilter : public QObject | ||
42 | { | 42 | { | ||
43 | Q_OBJECT | 43 | Q_OBJECT | ||
44 | 44 | | |||
45 | public: | 45 | public: | ||
46 | explicit LanczosFilter(QObject* parent = 0); | 46 | explicit LanczosFilter(QObject* parent = nullptr); | ||
47 | ~LanczosFilter() override; | 47 | ~LanczosFilter() override; | ||
48 | void performPaint(EffectWindowImpl* w, int mask, QRegion region, WindowPaintData& data); | 48 | void performPaint(EffectWindowImpl* w, int mask, QRegion region, WindowPaintData& data); | ||
49 | 49 | | |||
50 | protected: | 50 | protected: | ||
51 | void timerEvent(QTimerEvent*) override; | 51 | void timerEvent(QTimerEvent*) override; | ||
52 | private: | 52 | private: | ||
53 | void init(); | 53 | void init(); | ||
54 | void updateOffscreenSurfaces(); | 54 | void updateOffscreenSurfaces(); | ||
Show All 19 Lines |