Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/x11/standalone/glxbackend.h
Show All 15 Lines | |||||
16 | 16 | | |||
17 | You should have received a copy of the GNU General Public License | 17 | You should have received a copy of the GNU General Public License | ||
18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
19 | *********************************************************************/ | 19 | *********************************************************************/ | ||
20 | #ifndef KWIN_GLX_BACKEND_H | 20 | #ifndef KWIN_GLX_BACKEND_H | ||
21 | #define KWIN_GLX_BACKEND_H | 21 | #define KWIN_GLX_BACKEND_H | ||
22 | #include "backend.h" | 22 | #include "backend.h" | ||
23 | #include "texture.h" | 23 | #include "texture.h" | ||
24 | #include "swap_profiler.h" | | |||
25 | #include "x11eventfilter.h" | 24 | #include "x11eventfilter.h" | ||
26 | 25 | | |||
27 | #include <xcb/glx.h> | 26 | #include <xcb/glx.h> | ||
28 | #include <epoxy/glx.h> | 27 | #include <epoxy/glx.h> | ||
29 | #include <fixx11h.h> | 28 | #include <fixx11h.h> | ||
30 | #include <memory> | 29 | #include <memory> | ||
31 | 30 | | |||
32 | namespace KWin | 31 | namespace KWin | ||
▲ Show 20 Lines • Show All 81 Lines • ▼ Show 20 Line(s) | 85 | private: | |||
114 | bool m_haveMESACopySubBuffer = false; | 113 | bool m_haveMESACopySubBuffer = false; | ||
115 | bool m_haveMESASwapControl = false; | 114 | bool m_haveMESASwapControl = false; | ||
116 | bool m_haveEXTSwapControl = false; | 115 | bool m_haveEXTSwapControl = false; | ||
117 | bool m_haveSGISwapControl = false; | 116 | bool m_haveSGISwapControl = false; | ||
118 | bool m_haveINTELSwapEvent = false; | 117 | bool m_haveINTELSwapEvent = false; | ||
119 | bool haveSwapInterval = false; | 118 | bool haveSwapInterval = false; | ||
120 | bool haveWaitSync = false; | 119 | bool haveWaitSync = false; | ||
121 | Display *m_x11Display; | 120 | Display *m_x11Display; | ||
122 | SwapProfiler m_swapProfiler; | | |||
123 | friend class GlxTexture; | 121 | friend class GlxTexture; | ||
124 | }; | 122 | }; | ||
125 | 123 | | |||
126 | /** | 124 | /** | ||
127 | * @brief Texture using an GLXPixmap. | 125 | * @brief Texture using an GLXPixmap. | ||
128 | */ | 126 | */ | ||
129 | class GlxTexture : public SceneOpenGLTexturePrivate | 127 | class GlxTexture : public SceneOpenGLTexturePrivate | ||
130 | { | 128 | { | ||
Show All 20 Lines |