Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/x11/common/eglonxbackend.h
Show All 34 Lines | |||||
35 | public: | 35 | public: | ||
36 | EglOnXBackend(Display *display); | 36 | EglOnXBackend(Display *display); | ||
37 | explicit EglOnXBackend(xcb_connection_t *connection, Display *display, xcb_window_t rootWindow, int screenNumber, xcb_window_t renderingWindow); | 37 | explicit EglOnXBackend(xcb_connection_t *connection, Display *display, xcb_window_t rootWindow, int screenNumber, xcb_window_t renderingWindow); | ||
38 | ~EglOnXBackend() override; | 38 | ~EglOnXBackend() override; | ||
39 | void screenGeometryChanged(const QSize &size) override; | 39 | void screenGeometryChanged(const QSize &size) override; | ||
40 | SceneOpenGLTexturePrivate *createBackendTexture(SceneOpenGLTexture *texture) override; | 40 | SceneOpenGLTexturePrivate *createBackendTexture(SceneOpenGLTexture *texture) override; | ||
41 | QRegion prepareRenderingFrame() override; | 41 | QRegion prepareRenderingFrame() override; | ||
42 | void endRenderingFrame(const QRegion &damage, const QRegion &damagedRegion) override; | 42 | void endRenderingFrame(const QRegion &damage, const QRegion &damagedRegion) override; | ||
43 | OverlayWindow* overlayWindow() override; | 43 | OverlayWindow* overlayWindow() const override; | ||
44 | bool usesOverlayWindow() const override; | 44 | bool usesOverlayWindow() const override; | ||
45 | void init() override; | 45 | void init() override; | ||
46 | 46 | | |||
47 | bool isX11TextureFromPixmapSupported() const { | 47 | bool isX11TextureFromPixmapSupported() const { | ||
48 | return m_x11TextureFromPixmapSupported; | 48 | return m_x11TextureFromPixmapSupported; | ||
49 | } | 49 | } | ||
50 | 50 | | |||
51 | protected: | 51 | protected: | ||
▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines |