summaryrefslogtreecommitdiffstats
path: root/src/plugins/waylandcompositors/wayland-egl/waylandeglintegration.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/waylandcompositors/wayland-egl/waylandeglintegration.h')
-rw-r--r--src/plugins/waylandcompositors/wayland-egl/waylandeglintegration.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/plugins/waylandcompositors/wayland-egl/waylandeglintegration.h b/src/plugins/waylandcompositors/wayland-egl/waylandeglintegration.h
index c22ff3158..ce3284291 100644
--- a/src/plugins/waylandcompositors/wayland-egl/waylandeglintegration.h
+++ b/src/plugins/waylandcompositors/wayland-egl/waylandeglintegration.h
@@ -54,15 +54,17 @@ class WaylandEglIntegration : public QWaylandGraphicsHardwareIntegration
public:
WaylandEglIntegration();
- void initializeHardware(QtWayland::Display *waylandDisplay);
+ void initializeHardware(QtWayland::Display *waylandDisplay) Q_DECL_OVERRIDE;
- GLuint createTextureFromBuffer(wl_buffer *buffer, QOpenGLContext *context);
- bool isYInverted(struct wl_buffer *) const;
+ GLuint createTextureFromBuffer(struct ::wl_resource *buffer, QOpenGLContext *context) Q_DECL_OVERRIDE;
+ bool isYInverted(struct ::wl_resource *) const Q_DECL_OVERRIDE;
- bool setDirectRenderSurface(QWaylandSurface *);
+ bool setDirectRenderSurface(QWaylandSurface *) Q_DECL_OVERRIDE;
- virtual void *lockNativeBuffer(struct wl_buffer *buffer, QOpenGLContext *context) const;
- virtual void unlockNativeBuffer(void *native_buffer, QOpenGLContext *context) const;
+ void *lockNativeBuffer(struct ::wl_resource *buffer, QOpenGLContext *context) const Q_DECL_OVERRIDE;
+ void unlockNativeBuffer(void *native_buffer, QOpenGLContext *context) const Q_DECL_OVERRIDE;
+
+ QSize bufferSize(struct ::wl_resource *buffer) const Q_DECL_OVERRIDE;
private:
Q_DISABLE_COPY(WaylandEglIntegration)