Changeset View
Changeset View
Standalone View
Standalone View
composite.h
Show First 20 Lines • Show All 152 Lines • ▼ Show 20 Line(s) | 143 | private: | |||
---|---|---|---|---|---|
153 | 153 | | |||
154 | State m_state; | 154 | State m_state; | ||
155 | 155 | | |||
156 | QBasicTimer compositeTimer; | 156 | QBasicTimer compositeTimer; | ||
157 | CompositorSelectionOwner *m_selectionOwner; | 157 | CompositorSelectionOwner *m_selectionOwner; | ||
158 | QTimer m_releaseSelectionTimer; | 158 | QTimer m_releaseSelectionTimer; | ||
159 | QList<xcb_atom_t> m_unusedSupportProperties; | 159 | QList<xcb_atom_t> m_unusedSupportProperties; | ||
160 | QTimer m_unusedSupportPropertyTimer; | 160 | QTimer m_unusedSupportPropertyTimer; | ||
161 | qint64 vBlankInterval, fpsInterval; | | |||
162 | QRegion repaints_region; | 161 | QRegion repaints_region; | ||
163 | 162 | | |||
164 | qint64 m_timeSinceLastVBlank; | 163 | // Compositing pause decrease through paint duration (in ms). | ||
164 | qint64 m_timerOffset; | ||||
165 | bool m_bufferSwapPending; | ||||
165 | 166 | | |||
166 | Scene *m_scene; | 167 | Scene *m_scene; | ||
167 | 168 | | |||
168 | bool m_bufferSwapPending; | | |||
169 | bool m_composeAtSwapCompletion; | | |||
170 | | ||||
171 | int m_framesToTestForSafety = 3; | 169 | int m_framesToTestForSafety = 3; | ||
172 | QElapsedTimer m_monotonicClock; | 170 | QElapsedTimer m_monotonicClock; | ||
173 | }; | 171 | }; | ||
174 | 172 | | |||
175 | class KWIN_EXPORT WaylandCompositor : public Compositor | 173 | class KWIN_EXPORT WaylandCompositor : public Compositor | ||
176 | { | 174 | { | ||
177 | Q_OBJECT | 175 | Q_OBJECT | ||
178 | public: | 176 | public: | ||
▲ Show 20 Lines • Show All 99 Lines • Show Last 20 Lines |