Changeset View
Changeset View
Standalone View
Standalone View
plugins/scenes/opengl/scene_opengl.h
Show First 20 Lines • Show All 152 Lines • ▼ Show 20 Line(s) | 148 | public: | |||
---|---|---|---|---|---|
153 | bool bindTexture(); | 153 | bool bindTexture(); | ||
154 | void setScene(SceneOpenGL *scene) { | 154 | void setScene(SceneOpenGL *scene) { | ||
155 | m_scene = scene; | 155 | m_scene = scene; | ||
156 | } | 156 | } | ||
157 | 157 | | |||
158 | protected: | 158 | protected: | ||
159 | WindowPixmap* createWindowPixmap() override; | 159 | WindowPixmap* createWindowPixmap() override; | ||
160 | Window(Toplevel* c); | 160 | Window(Toplevel* c); | ||
161 | enum TextureType { | | |||
162 | Content, | | |||
163 | Decoration, | | |||
164 | Shadow | | |||
165 | }; | | |||
166 | 161 | | |||
167 | QMatrix4x4 transformation(int mask, const WindowPaintData &data) const; | 162 | QMatrix4x4 transformation(int mask, const WindowPaintData &data) const; | ||
168 | GLTexture *getDecorationTexture() const; | 163 | GLTexture *getDecorationTexture() const; | ||
169 | 164 | | |||
170 | protected: | 165 | protected: | ||
171 | SceneOpenGL *m_scene; | 166 | SceneOpenGL *m_scene; | ||
172 | bool m_hardwareClipping; | 167 | bool m_hardwareClipping; | ||
173 | }; | 168 | }; | ||
▲ Show 20 Lines • Show All 183 Lines • Show Last 20 Lines |