Changeset View
Changeset View
Standalone View
Standalone View
scene_xrender.cpp
Show All 26 Lines | |||||
27 | 27 | | |||
28 | #include "toplevel.h" | 28 | #include "toplevel.h" | ||
29 | #include "client.h" | 29 | #include "client.h" | ||
30 | #include "composite.h" | 30 | #include "composite.h" | ||
31 | #include "deleted.h" | 31 | #include "deleted.h" | ||
32 | #include "effects.h" | 32 | #include "effects.h" | ||
33 | #include "main.h" | 33 | #include "main.h" | ||
34 | #include "overlaywindow.h" | 34 | #include "overlaywindow.h" | ||
35 | #include "platform.h" | ||||
35 | #include "xcbutils.h" | 36 | #include "xcbutils.h" | ||
36 | #include "kwinxrenderutils.h" | 37 | #include "kwinxrenderutils.h" | ||
37 | #include "decorations/decoratedclient.h" | 38 | #include "decorations/decoratedclient.h" | ||
38 | 39 | | |||
39 | #include <xcb/xfixes.h> | 40 | #include <xcb/xfixes.h> | ||
40 | 41 | | |||
41 | #include <QDebug> | 42 | #include <QDebug> | ||
42 | #include <QtGui/QPainter> | 43 | #include <QtGui/QPainter> | ||
▲ Show 20 Lines • Show All 61 Lines • ▼ Show 20 Line(s) | |||||
104 | } | 105 | } | ||
105 | 106 | | |||
106 | 107 | | |||
107 | //**************************************** | 108 | //**************************************** | ||
108 | // X11XRenderBackend | 109 | // X11XRenderBackend | ||
109 | //**************************************** | 110 | //**************************************** | ||
110 | X11XRenderBackend::X11XRenderBackend() | 111 | X11XRenderBackend::X11XRenderBackend() | ||
111 | : XRenderBackend() | 112 | : XRenderBackend() | ||
112 | , m_overlayWindow(new OverlayWindow()) | 113 | , m_overlayWindow(kwinApp()->platform()->createOverlayWindow()) | ||
113 | , m_front(XCB_RENDER_PICTURE_NONE) | 114 | , m_front(XCB_RENDER_PICTURE_NONE) | ||
114 | , m_format(0) | 115 | , m_format(0) | ||
115 | { | 116 | { | ||
116 | init(true); | 117 | init(true); | ||
117 | } | 118 | } | ||
118 | 119 | | |||
119 | X11XRenderBackend::~X11XRenderBackend() | 120 | X11XRenderBackend::~X11XRenderBackend() | ||
120 | { | 121 | { | ||
▲ Show 20 Lines • Show All 1183 Lines • Show Last 20 Lines |