Changeset View
Changeset View
Standalone View
Standalone View
composite.cpp
Show All 25 Lines | |||||
26 | #include "workspace.h" | 26 | #include "workspace.h" | ||
27 | #include "client.h" | 27 | #include "client.h" | ||
28 | #include "unmanaged.h" | 28 | #include "unmanaged.h" | ||
29 | #include "deleted.h" | 29 | #include "deleted.h" | ||
30 | #include "effects.h" | 30 | #include "effects.h" | ||
31 | #include "overlaywindow.h" | 31 | #include "overlaywindow.h" | ||
32 | #include "scene.h" | 32 | #include "scene.h" | ||
33 | #include "scene_opengl.h" | 33 | #include "scene_opengl.h" | ||
34 | #include "scene_qpainter.h" | | |||
35 | #include "screens.h" | 34 | #include "screens.h" | ||
36 | #include "shadow.h" | 35 | #include "shadow.h" | ||
37 | #include "useractions.h" | 36 | #include "useractions.h" | ||
38 | #include "xcbutils.h" | 37 | #include "xcbutils.h" | ||
39 | #include "platform.h" | 38 | #include "platform.h" | ||
40 | #include "shell_client.h" | 39 | #include "shell_client.h" | ||
41 | #include "wayland_server.h" | 40 | #include "wayland_server.h" | ||
42 | #include "decorations/decoratedclient.h" | 41 | #include "decorations/decoratedclient.h" | ||
▲ Show 20 Lines • Show All 201 Lines • ▼ Show 20 Line(s) | 233 | else { | |||
244 | } | 243 | } | ||
245 | delete m_scene; | 244 | delete m_scene; | ||
246 | m_scene = NULL; | 245 | m_scene = NULL; | ||
247 | } | 246 | } | ||
248 | 247 | | |||
249 | // Do not Fall back to XRender - it causes problems when selfcheck fails during startup, but works later on | 248 | // Do not Fall back to XRender - it causes problems when selfcheck fails during startup, but works later on | ||
250 | break; | 249 | break; | ||
251 | } | 250 | } | ||
252 | case QPainterCompositing: | | |||
253 | qCDebug(KWIN_CORE) << "Initializing QPainter compositing"; | | |||
254 | m_scene = SceneQPainter::createScene(this); | | |||
255 | break; | | |||
256 | default: | 251 | default: | ||
257 | qCDebug(KWIN_CORE) << "No compositing enabled"; | 252 | qCDebug(KWIN_CORE) << "No compositing enabled"; | ||
258 | m_starting = false; | 253 | m_starting = false; | ||
259 | if (cm_selection) { | 254 | if (cm_selection) { | ||
260 | cm_selection->owning = false; | 255 | cm_selection->owning = false; | ||
261 | cm_selection->release(); | 256 | cm_selection->release(); | ||
262 | } | 257 | } | ||
263 | if (kwinApp()->platform()->requiresCompositing()) { | 258 | if (kwinApp()->platform()->requiresCompositing()) { | ||
▲ Show 20 Lines • Show All 980 Lines • Show Last 20 Lines |