Changeset View
Changeset View
Standalone View
Standalone View
plugins/scenes/xrender/scene_xrender.h
Show First 20 Lines • Show All 195 Lines • ▼ Show 20 Line(s) | 192 | public: | |||
---|---|---|---|---|---|
196 | QRegion transformedShape() const; | 196 | QRegion transformedShape() const; | ||
197 | void setTransformedShape(const QRegion& shape); | 197 | void setTransformedShape(const QRegion& shape); | ||
198 | static void cleanup(); | 198 | static void cleanup(); | ||
199 | protected: | 199 | protected: | ||
200 | WindowPixmap* createWindowPixmap() override; | 200 | WindowPixmap* createWindowPixmap() override; | ||
201 | private: | 201 | private: | ||
202 | QRect mapToScreen(int mask, const WindowPaintData &data, const QRect &rect) const; | 202 | QRect mapToScreen(int mask, const WindowPaintData &data, const QRect &rect) const; | ||
203 | QPoint mapToScreen(int mask, const WindowPaintData &data, const QPoint &point) const; | 203 | QPoint mapToScreen(int mask, const WindowPaintData &data, const QPoint &point) const; | ||
204 | QRect bufferToWindowRect(const QRect &rect) const; | ||||
205 | QRegion bufferToWindowRegion(const QRegion ®ion) const; | ||||
204 | void prepareTempPixmap(); | 206 | void prepareTempPixmap(); | ||
205 | void setPictureFilter(xcb_render_picture_t pic, ImageFilterType filter); | 207 | void setPictureFilter(xcb_render_picture_t pic, ImageFilterType filter); | ||
206 | SceneXrender *m_scene; | 208 | SceneXrender *m_scene; | ||
207 | xcb_render_pictformat_t format; | 209 | xcb_render_pictformat_t format; | ||
208 | QRegion transformed_shape; | 210 | QRegion transformed_shape; | ||
209 | static QRect temp_visibleRect; | 211 | static QRect temp_visibleRect; | ||
210 | static XRenderPicture *s_tempPicture; | 212 | static XRenderPicture *s_tempPicture; | ||
211 | static XRenderPicture *s_fadeAlphaPicture; | 213 | static XRenderPicture *s_fadeAlphaPicture; | ||
▲ Show 20 Lines • Show All 148 Lines • Show Last 20 Lines |