diff options
Diffstat (limited to 'src/plugins/waylandcompositors/brcm-egl/brcmeglintegration.h')
-rw-r--r-- | src/plugins/waylandcompositors/brcm-egl/brcmeglintegration.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/plugins/waylandcompositors/brcm-egl/brcmeglintegration.h b/src/plugins/waylandcompositors/brcm-egl/brcmeglintegration.h index 3fde839d8..8ed7f07a8 100644 --- a/src/plugins/waylandcompositors/brcm-egl/brcmeglintegration.h +++ b/src/plugins/waylandcompositors/brcm-egl/brcmeglintegration.h @@ -41,18 +41,20 @@ #ifndef BRCMEGLINTEGRATION_H #define BRCMEGLINTEGRATION_H -#include <QtCompositor/graphicshardwareintegration.h> +#include <QtCompositor/qwaylandgraphicshardwareintegration.h> #include <QtCore/QScopedPointer> +QT_BEGIN_NAMESPACE + class BrcmEglIntegrationPrivate; -class BrcmEglIntegration : public GraphicsHardwareIntegration +class BrcmEglIntegration : public QWaylandGraphicsHardwareIntegration { Q_DECLARE_PRIVATE(BrcmEglIntegration) public: BrcmEglIntegration(); - void initializeHardware(Wayland::Display *waylandDisplay); + void initializeHardware(QtWayland::Display *waylandDisplay); GLuint createTextureFromBuffer(wl_buffer *buffer, QOpenGLContext *context); bool isYInverted(struct wl_buffer *) const; @@ -71,5 +73,7 @@ private: QScopedPointer<BrcmEglIntegrationPrivate> d_ptr; }; +QT_END_NAMESPACE + #endif // BRCMEGLINTEGRATION_H |