Changeset View
Changeset View
Standalone View
Standalone View
plugins/scenes/opengl/scene_opengl.h
Show First 20 Lines • Show All 84 Lines • ▼ Show 20 Line(s) | 44 | public: | |||
---|---|---|---|---|---|
85 | static SceneOpenGL *createScene(QObject *parent); | 85 | static SceneOpenGL *createScene(QObject *parent); | ||
86 | 86 | | |||
87 | protected: | 87 | protected: | ||
88 | SceneOpenGL(OpenGLBackend *backend, QObject *parent = nullptr); | 88 | SceneOpenGL(OpenGLBackend *backend, QObject *parent = nullptr); | ||
89 | void paintBackground(QRegion region) override; | 89 | void paintBackground(QRegion region) override; | ||
90 | void extendPaintRegion(QRegion ®ion, bool opaqueFullscreen) override; | 90 | void extendPaintRegion(QRegion ®ion, bool opaqueFullscreen) override; | ||
91 | QMatrix4x4 transformation(int mask, const ScreenPaintData &data) const; | 91 | QMatrix4x4 transformation(int mask, const ScreenPaintData &data) const; | ||
92 | void paintDesktop(int desktop, int mask, const QRegion ®ion, ScreenPaintData &data) override; | 92 | void paintDesktop(int desktop, int mask, const QRegion ®ion, ScreenPaintData &data) override; | ||
93 | void paintEffectQuickView(EffectQuickView *w) override; | ||||
93 | 94 | | |||
94 | void handleGraphicsReset(GLenum status); | 95 | void handleGraphicsReset(GLenum status); | ||
95 | 96 | | |||
96 | virtual void doPaintBackground(const QVector<float> &vertices) = 0; | 97 | virtual void doPaintBackground(const QVector<float> &vertices) = 0; | ||
97 | virtual void updateProjectionMatrix() = 0; | 98 | virtual void updateProjectionMatrix() = 0; | ||
98 | 99 | | |||
99 | protected: | 100 | protected: | ||
100 | bool init_ok; | 101 | bool init_ok; | ||
▲ Show 20 Lines • Show All 257 Lines • Show Last 20 Lines |