Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/x11/windowed/x11windowed_backend.h
Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Line(s) | 45 | public: | |||
---|---|---|---|---|---|
65 | xcb_window_t rootWindow() const; | 65 | xcb_window_t rootWindow() const; | ||
66 | 66 | | |||
67 | Screens *createScreens(QObject *parent = nullptr) override; | 67 | Screens *createScreens(QObject *parent = nullptr) override; | ||
68 | OpenGLBackend *createOpenGLBackend() override; | 68 | OpenGLBackend *createOpenGLBackend() override; | ||
69 | QPainterBackend* createQPainterBackend() override; | 69 | QPainterBackend* createQPainterBackend() override; | ||
70 | void warpPointer(const QPointF &globalPos) override; | 70 | void warpPointer(const QPointF &globalPos) override; | ||
71 | 71 | | |||
72 | QVector<CompositingType> supportedCompositors() const override { | 72 | QVector<CompositingType> supportedCompositors() const override { | ||
73 | if (selectedCompositor() != NoCompositing) { | ||||
74 | return {selectedCompositor()}; | ||||
75 | } | ||||
73 | return QVector<CompositingType>{OpenGLCompositing, QPainterCompositing}; | 76 | return QVector<CompositingType>{OpenGLCompositing, QPainterCompositing}; | ||
74 | } | 77 | } | ||
75 | 78 | | |||
76 | Q_SIGNALS: | 79 | Q_SIGNALS: | ||
77 | void sizeChanged(); | 80 | void sizeChanged(); | ||
78 | 81 | | |||
79 | private: | 82 | private: | ||
80 | void createWindow(); | 83 | void createWindow(); | ||
Show All 40 Lines |