Changeset View
Changeset View
Standalone View
Standalone View
plugins/scenes/xrender/scene_xrender.h
- This file was moved from scene_xrender.h.
Show First 20 Lines • Show All 335 Lines • ▼ Show 20 Line(s) | |||||
336 | private: | 336 | private: | ||
337 | void resizePixmaps(); | 337 | void resizePixmaps(); | ||
338 | QSize m_sizes[int(DecorationPart::Count)]; | 338 | QSize m_sizes[int(DecorationPart::Count)]; | ||
339 | xcb_pixmap_t m_pixmaps[int(DecorationPart::Count)]; | 339 | xcb_pixmap_t m_pixmaps[int(DecorationPart::Count)]; | ||
340 | xcb_gcontext_t m_gc; | 340 | xcb_gcontext_t m_gc; | ||
341 | XRenderPicture* m_pictures[int(DecorationPart::Count)]; | 341 | XRenderPicture* m_pictures[int(DecorationPart::Count)]; | ||
342 | }; | 342 | }; | ||
343 | 343 | | |||
344 | class KWIN_EXPORT XRenderFactory : public SceneFactory | ||||
345 | { | ||||
346 | Q_OBJECT | ||||
347 | Q_INTERFACES(KWin::SceneFactory) | ||||
348 | Q_PLUGIN_METADATA(IID "org.kde.kwin.Scene" FILE "xrender.json") | ||||
349 | | ||||
350 | public: | ||||
351 | explicit XRenderFactory(QObject *parent = nullptr); | ||||
352 | ~XRenderFactory() override; | ||||
353 | | ||||
354 | Scene *create(QObject *parent = nullptr) const override; | ||||
355 | }; | ||||
356 | | ||||
344 | } // namespace | 357 | } // namespace | ||
345 | 358 | | |||
346 | #endif | 359 | #endif | ||
347 | 360 | | |||
348 | #endif | 361 | #endif |