diff options
Diffstat (limited to 'src/plugins/waylandcompositors/xcomposite-egl/xcompositeeglintegration.h')
-rw-r--r-- | src/plugins/waylandcompositors/xcomposite-egl/xcompositeeglintegration.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/waylandcompositors/xcomposite-egl/xcompositeeglintegration.h b/src/plugins/waylandcompositors/xcomposite-egl/xcompositeeglintegration.h index 7a9ac4499..562fce140 100644 --- a/src/plugins/waylandcompositors/xcomposite-egl/xcompositeeglintegration.h +++ b/src/plugins/waylandcompositors/xcomposite-egl/xcompositeeglintegration.h @@ -54,10 +54,12 @@ class XCompositeEglIntegration : public QWaylandGraphicsHardwareIntegration public: XCompositeEglIntegration(); - void initializeHardware(QtWayland::Display *waylandDisplay); + void initializeHardware(QtWayland::Display *waylandDisplay) Q_DECL_OVERRIDE; - GLuint createTextureFromBuffer(struct wl_buffer *buffer, QOpenGLContext *context); - bool isYInverted(wl_buffer *) const; + GLuint createTextureFromBuffer(struct ::wl_resource *buffer, QOpenGLContext *context) Q_DECL_OVERRIDE; + bool isYInverted(struct ::wl_resource *) const Q_DECL_OVERRIDE; + + QSize bufferSize(struct ::wl_resource *buffer) const Q_DECL_OVERRIDE; private: Display *mDisplay; |