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 | virtual ~EglOnXBackend(); | 38 | virtual ~EglOnXBackend(); | ||
39 | virtual void screenGeometryChanged(const QSize &size); | 39 | virtual void screenGeometryChanged(const QSize &size); | ||
40 | virtual SceneOpenGLTexturePrivate *createBackendTexture(SceneOpenGLTexture *texture) override; | 40 | virtual SceneOpenGLTexturePrivate *createBackendTexture(SceneOpenGLTexture *texture) override; | ||
41 | virtual QRegion prepareRenderingFrame(); | 41 | virtual QRegion prepareRenderingFrame(); | ||
42 | virtual void endRenderingFrame(const QRegion &damage, const QRegion &damagedRegion); | 42 | virtual void endRenderingFrame(const QRegion &damage, const QRegion &damagedRegion); | ||
43 | virtual OverlayWindow* overlayWindow() override; | 43 | virtual OverlayWindow* overlayWindow() const override; | ||
44 | virtual bool usesOverlayWindow() const override; | 44 | virtual 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 |